1 2012-05-30 Jeff Law <law@redhat.com>
4 * manual/errno.texi (ESTALE): Update to account for more than
6 * sysdeps/gnu/errlist.c: Regenerated.
8 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11 * elf/Makefile (tests): Add tst-null-argv.
12 (modules-names): Add tst-null-argv-lib.
13 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14 (tst-null-argv-ENV): Set environment for tst-null-argv.
15 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16 (RTLD_PROGNAME): New macro.
17 * elf/tst-null-argv.c: New test case.
18 * elf/tst-null-argv-lib.c: Library for test case.
19 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23 * elf/dl-init.c (call_init): Likewise.
25 * elf/dl-load.c (print_search_path): Likewise.
26 (_dl_map_object): Likewise.
27 * elf/dl-lookup.c (do_lookup_x): Likewise.
28 (add_dependency): Likewise.
29 (_dl_lookup_symbol_x): Likewise.
30 (_dl_debug_bindings): Likewise.
31 * elf/dl-open.c (_dl_show_scope): Likewise.
32 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33 * elf/dl-version.c (match_symbol): Likewise.
34 (_dl_check_map_versions): Likewise.
35 * elf/rtld.c (dl_main): Likewise.
36 (print_unresolved): Use RTLD_PROGNAME.
37 (print_missing_version): Likewise.
38 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39 (elf_machine_rela): Likewise.
40 * sysdeps/powerpc/powerpc32/dl-machine.c
41 (__process_machine_rela): Likewise.
42 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55 2013-05-28 Carlos O'Donell <carlos@redhat.com>
57 * po/be.po: Add descriptive title.
58 * po/zh_CN.po: Likewise.
59 * po/header.pot: Likewise.
61 2013-05-28 Mike Frysinger <vapier@gentoo.org>
63 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65 (enlarge_archive): Likewise.
67 2013-05-28 Ben North <ben@redfrontdoor.org>
69 * manual/arith.texi (frexp): It is the magnitude of the return
70 value which lies in [0.5, 1), not the return value itself.
72 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
78 * stdio-common/bug26.c (main): Correct fscanf template.
80 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
81 declare _dl_skip_args.
83 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
86 * manual/platform.texi: Add missing @end deftypefun.
88 2013-05-24 Joseph Myers <joseph@codesourcery.com>
91 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
92 bit of mantissa of 2^16382.
93 * math/libm-test.inc (hypot_test_data): Add more tests.
95 * math/libm-test.inc: Add drem and pow10 to list of tested
97 (pow10_test): New function.
98 (drem_test): Likewise.
99 (drem_test_tonearest): Likewise.
100 (drem_test_towardzero): Likewise.
101 (drem_test_downward): Likewise.
102 (drem_test_upward): Likewise.
103 (main): Call the new functions.
105 * math/libm-test.inc (finite_test_data): Remove.
106 (finite_test): Run tests from isfinite_test_data.
107 (gamma_test_data): Remove.
108 (gamma_test): Run tests from lgamma_test_data.
109 * sysdeps/i386/fpu/libm-test-ulps: Update.
110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114 * manual/platform.texi: Add PowerPC PPR function set documentation.
115 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
118 2013-05-24 Carlos O'Donell <carlos@redhat.com>
120 * math/libm-test.inc (MAX_EXP): Define.
123 (check_float_internal): Use ULPDIFF.
124 (cpow_test): Disable failing test.
125 (check_ulp): Test ulp() implemetnation.
126 (main): Call check_ulp before starting tests.
128 2013-05-24 Joseph Myers <joseph@codesourcery.com>
130 * math/gen-libm-test.pl (generate_testfile): Do not handle
131 START_DATA and END_DATA.
132 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
134 (acos_tonearest_test_data): Likewise.
135 (acos_towardzero_test_data): Likewise.
136 (acos_downward_test_data): Likewise.
137 (acos_upward_test_data): Likewise.
138 (acosh_test_data): Likewise.
139 (asin_test_data): Likewise.
140 (asin_tonearest_test_data): Likewise.
141 (asin_towardzero_test_data): Likewise.
142 (asin_downward_test_data): Likewise.
143 (asin_upward_test_data): Likewise.
144 (asinh_test_data): Likewise.
145 (atan_test_data): Likewise.
146 (atanh_test_data): Likewise.
147 (atan2_test_data): Likewise.
148 (cabs_test_data): Likewise.
149 (cacos_test_data): Likewise.
150 (cacosh_test_data): Likewise.
151 (carg_test_data): Likewise.
152 (casin_test_data): Likewise.
153 (casinh_test_data): Likewise.
154 (catan_test_data): Likewise.
155 (catanh_test_data): Likewise.
156 (cbrt_test_data): Likewise.
157 (ccos_test_data): Likewise.
158 (ccosh_test_data): Likewise.
159 (ceil_test_data): Likewise.
160 (cexp_test_data): Likewise.
161 (cimag_test_data): Likewise.
162 (clog_test_data): Likewise.
163 (clog10_test_data): Likewise.
164 (conj_test_data): Likewise.
165 (copysign_test_data): Likewise.
166 (cos_test_data): Likewise.
167 (cos_tonearest_test_data): Likewise.
168 (cos_towardzero_test_data): Likewise.
169 (cos_downward_test_data): Likewise.
170 (cos_upward_test_data): Likewise.
171 (cosh_test_data): Likewise.
172 (cosh_tonearest_test_data): Likewise.
173 (cosh_towardzero_test_data): Likewise.
174 (cosh_downward_test_data): Likewise.
175 (cosh_upward_test_data): Likewise.
176 (cpow_test_data): Likewise.
177 (cproj_test_data): Likewise.
178 (creal_test_data): Likewise.
179 (csin_test_data): Likewise.
180 (csinh_test_data): Likewise.
181 (csqrt_test_data): Likewise.
182 (ctan_test_data): Likewise.
183 (ctan_tonearest_test_data): Likewise.
184 (ctan_towardzero_test_data): Likewise.
185 (ctan_downward_test_data): Likewise.
186 (ctan_upward_test_data): Likewise.
187 (ctanh_test_data): Likewise.
188 (ctanh_tonearest_test_data): Likewise.
189 (ctanh_towardzero_test_data): Likewise.
190 (ctanh_downward_test_data): Likewise.
191 (ctanh_upward_test_data): Likewise.
192 (erf_test_data): Likewise.
193 (erfc_test_data): Likewise.
194 (exp_test_data): Likewise.
195 (exp_tonearest_test_data): Likewise.
196 (exp_towardzero_test_data): Likewise.
197 (exp_downward_test_data): Likewise.
198 (exp_upward_test_data): Likewise.
199 (exp10_test_data): Likewise.
200 (exp2_test_data): Likewise.
201 (expm1_test_data): Likewise.
202 (fabs_test_data): Likewise.
203 (fdim_test_data): Likewise.
204 (finite_test_data): Likewise.
205 (floor_test_data): Likewise.
206 (fma_test_data): Likewise.
207 (fma_towardzero_test_data): Likewise.
208 (fma_downward_test_data): Likewise.
209 (fma_upward_test_data): Likewise.
210 (fmax_test_data): Likewise.
211 (fmin_test_data): Likewise.
212 (fmod_test_data): Likewise.
213 (fpclassify_test_data): Likewise.
214 (frexp_test_data): Likewise.
215 (gamma_test_data): Likewise.
216 (hypot_test_data): Likewise.
217 (ilogb_test_data): Likewise.
218 (isfinite_test_data): Likewise.
219 (isgreater_test_data): Likewise.
220 (isgreaterequal_test_data): Likewise.
221 (isinf_test_data): Likewise.
222 (isless_test_data): Likewise.
223 (islessequal_test_data): Likewise.
224 (islessgreater_test_data): Likewise.
225 (isnan_test_data): Likewise.
226 (isnormal_test_data): Likewise.
227 (issignaling_test_data): Likewise.
228 (isunordered_test_data): Likewise.
229 (j0_test_data): Likewise.
230 (j1_test_data): Likewise.
231 (jn_test_data): Likewise.
232 (ldexp_test_data): Likewise.
233 (lgamma_test_data): Likewise.
234 (lrint_test_data): Likewise.
235 (lrint_tonearest_test_data): Likewise.
236 (lrint_towardzero_test_data): Likewise.
237 (lrint_downward_test_data): Likewise.
238 (lrint_upward_test_data): Likewise.
239 (llrint_test_data): Likewise.
240 (llrint_tonearest_test_data): Likewise.
241 (llrint_towardzero_test_data): Likewise.
242 (llrint_downward_test_data): Likewise.
243 (llrint_upward_test_data): Likewise.
244 (log_test_data): Likewise.
245 (log10_test_data): Likewise.
246 (log1p_test_data): Likewise.
247 (log2_test_data): Likewise.
248 (logb_test_data): Likewise.
249 (logb_downward_test_data): Likewise.
250 (lround_test_data): Likewise.
251 (llround_test_data): Likewise.
252 (modf_test_data): Likewise.
253 (nearbyint_test_data): Likewise.
254 (nextafter_test_data): Likewise.
255 (nexttoward_test_data): Likewise.
256 (pow_test_data): Likewise.
257 (pow_tonearest_test_data): Likewise.
258 (pow_towardzero_test_data): Likewise.
259 (pow_downward_test_data): Likewise.
260 (pow_upward_test_data): Likewise.
261 (remainder_test_data): Likewise.
262 (remainder_tonearest_test_data): Likewise.
263 (remainder_towardzero_test_data): Likewise.
264 (remainder_downward_test_data): Likewise.
265 (remainder_upward_test_data): Likewise.
266 (remquo_test_data): Likewise.
267 (rint_test_data): Likewise.
268 (rint_tonearest_test_data): Likewise.
269 (rint_towardzero_test_data): Likewise.
270 (rint_downward_test_data): Likewise.
271 (rint_upward_test_data): Likewise.
272 (round_test_data): Likewise.
273 (scalb_test_data): Likewise.
274 (scalbn_test_data): Likewise.
275 (scalbln_test_data): Likewise.
276 (signbit_test_data): Likewise.
277 (sin_test_data): Likewise.
278 (sin_tonearest_test_data): Likewise.
279 (sin_towardzero_test_data): Likewise.
280 (sin_downward_test_data): Likewise.
281 (sin_upward_test_data): Likewise.
282 (sincos_test_data): Likewise.
283 (sinh_test_data): Likewise.
284 (sinh_tonearest_test_data): Likewise.
285 (sinh_towardzero_test_data): Likewise.
286 (sinh_downward_test_data): Likewise.
287 (sinh_upward_test_data): Likewise.
288 (sqrt_test_data): Likewise.
289 (tan_test_data): Likewise.
290 (tan_tonearest_test_data): Likewise.
291 (tan_towardzero_test_data): Likewise.
292 (tan_downward_test_data): Likewise.
293 (tan_upward_test_data): Likewise.
294 (tanh_test_data): Likewise.
295 (tgamma_test_data): Likewise.
296 (trunc_test_data): Likewise.
297 (y0_test_data): Likewise.
298 (y1_test_data): Likewise.
299 (yn_test_data): Likewise.
300 (significand_test_data): Likewise.
302 * math/gen-libm-test.pl (@functions): Remove variable.
303 (generate_testfile): Don't handle START and END lines.
304 * math/libm-test.inc (START): New macro.
306 (END_COMPLEX): Likewise.
307 (acos_test): Use END macro without arguments.
308 (acos_test_tonearest): Likewise.
309 (acos_test_towardzero): Likewise.
310 (acos_test_downward): Likewise.
311 (acos_test_upward): Likewise.
312 (acosh_test): Likewise.
313 (asin_test): Likewise.
314 (asin_test_tonearest): Likewise.
315 (asin_test_towardzero): Likewise.
316 (asin_test_downward): Likewise.
317 (asin_test_upward): Likewise.
318 (asinh_test): Likewise.
319 (atan_test): Likewise.
320 (atanh_test): Likewise.
321 (atan2_test): Likewise.
322 (cabs_test): Likewise.
323 (cacos_test): Use END_COMPLEX macro without arguments.
324 (cacosh_test): Likewise.
325 (carg_test): Use END macro without arguments.
326 (casin_test): Use END_COMPLEX macro without arguments.
327 (casinh_test): Likewise.
328 (catan_test): Likewise.
329 (catanh_test): Likewise.
330 (cbrt_test): Use END macro without arguments.
331 (ccos_test): Use END_COMPLEX macro without arguments.
332 (ccosh_test): Likewise.
333 (ceil_test): Use END macro without arguments.
334 (cexp_test): Use END_COMPLEX macro without arguments.
335 (cimag_test): Use END macro without arguments.
336 (clog_test): Use END_COMPLEX macro without arguments.
337 (clog10_test): Likewise.
338 (conj_test): Likewise.
339 (copysign_test): Use END macro without arguments.
340 (cos_test): Likewise.
341 (cos_test_tonearest): Likewise.
342 (cos_test_towardzero): Likewise.
343 (cos_test_downward): Likewise.
344 (cos_test_upward): Likewise.
345 (cosh_test): Likewise.
346 (cosh_test_tonearest): Likewise.
347 (cosh_test_towardzero): Likewise.
348 (cosh_test_downward): Likewise.
349 (cosh_test_upward): Likewise.
350 (cpow_test): Use END_COMPLEX macro without arguments.
351 (cproj_test): Likewise.
352 (creal_test): Use END macro without arguments.
353 (csin_test): Use END_COMPLEX macro without arguments.
354 (csinh_test): Likewise.
355 (csqrt_test): Likewise.
356 (ctan_test): Likewise.
357 (ctan_test_tonearest): Likewise.
358 (ctan_test_towardzero): Likewise.
359 (ctan_test_downward): Likewise.
360 (ctan_test_upward): Likewise.
361 (ctanh_test): Likewise.
362 (ctanh_test_tonearest): Likewise.
363 (ctanh_test_towardzero): Likewise.
364 (ctanh_test_downward): Likewise.
365 (ctanh_test_upward): Likewise.
366 (erf_test): Use END macro without arguments.
367 (erfc_test): Likewise.
368 (exp_test): Likewise.
369 (exp_test_tonearest): Likewise.
370 (exp_test_towardzero): Likewise.
371 (exp_test_downward): Likewise.
372 (exp_test_upward): Likewise.
373 (exp10_test): Likewise.
374 (exp2_test): Likewise.
375 (expm1_test): Likewise.
376 (fabs_test): Likewise.
377 (fdim_test): Likewise.
378 (finite_test): Likewise.
379 (floor_test): Likewise.
380 (fma_test): Likewise.
381 (fma_test_towardzero): Likewise.
382 (fma_test_downward): Likewise.
383 (fma_test_upward): Likewise.
384 (fmax_test): Likewise.
385 (fmin_test): Likewise.
386 (fmod_test): Likewise.
387 (fpclassify_test): Likewise.
388 (frexp_test): Likewise.
389 (gamma_test): Likewise.
390 (hypot_test): Likewise.
391 (ilogb_test): Likewise.
392 (isfinite_test): Likewise.
393 (isgreater_test): Likewise.
394 (isgreaterequal_test): Likewise.
395 (isinf_test): Likewise.
396 (isless_test): Likewise.
397 (islessequal_test): Likewise.
398 (islessgreater_test): Likewise.
399 (isnan_test): Likewise.
400 (isnormal_test): Likewise.
401 (issignaling_test): Likewise.
402 (isunordered_test): Likewise.
406 (ldexp_test): Likewise.
407 (lgamma_test): Likewise.
408 (lrint_test): Likewise.
409 (lrint_test_tonearest): Likewise.
410 (lrint_test_towardzero): Likewise.
411 (lrint_test_downward): Likewise.
412 (lrint_test_upward): Likewise.
413 (llrint_test): Likewise.
414 (llrint_test_tonearest): Likewise.
415 (llrint_test_towardzero): Likewise.
416 (llrint_test_downward): Likewise.
417 (llrint_test_upward): Likewise.
418 (log_test): Likewise.
419 (log10_test): Likewise.
420 (log1p_test): Likewise.
421 (log2_test): Likewise.
422 (logb_test): Likewise.
423 (logb_test_downward): Likewise.
424 (lround_test): Likewise.
425 (llround_test): Likewise.
426 (modf_test): Likewise.
427 (nearbyint_test): Likewise.
428 (nextafter_test): Likewise.
429 (nexttoward_test): Likewise.
430 (pow_test): Likewise.
431 (pow_test_tonearest): Likewise.
432 (pow_test_towardzero): Likewise.
433 (pow_test_downward): Likewise.
434 (pow_test_upward): Likewise.
435 (remainder_test): Likewise.
436 (remainder_test_tonearest): Likewise.
437 (remainder_test_towardzero): Likewise.
438 (remainder_test_downward): Likewise.
439 (remainder_test_upward): Likewise.
440 (remquo_test): Likewise.
441 (rint_test): Likewise.
442 (rint_test_tonearest): Likewise.
443 (rint_test_towardzero): Likewise.
444 (rint_test_downward): Likewise.
445 (rint_test_upward): Likewise.
446 (round_test): Likewise.
447 (scalb_test): Likewise.
448 (scalbn_test): Likewise.
449 (scalbln_test): Likewise.
450 (signbit_test): Likewise.
451 (sin_test): Likewise.
452 (sin_test_tonearest): Likewise.
453 (sin_test_towardzero): Likewise.
454 (sin_test_downward): Likewise.
455 (sin_test_upward): Likewise.
456 (sincos_test): Likewise.
457 (sinh_test): Likewise.
458 (sinh_test_tonearest): Likewise.
459 (sinh_test_towardzero): Likewise.
460 (sinh_test_downward): Likewise.
461 (sinh_test_upward): Likewise.
462 (sqrt_test): Likewise.
463 (tan_test): Likewise.
464 (tan_test_tonearest): Likewise.
465 (tan_test_towardzero): Likewise.
466 (tan_test_downward): Likewise.
467 (tan_test_upward): Likewise.
468 (tanh_test): Likewise.
469 (tgamma_test): Likewise.
470 (trunc_test): Likewise.
474 (significand_test): Likewise.
476 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
479 * libio/genops.c (_IO_no_init): Initialize wide struct info.
481 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
484 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
485 __ppc_mdoio and __ppc_mdoom.
486 * manual/platform.texi: Document new functions __ppc_yield,
487 __ppc_mdoio and __ppc_mdoom.
489 2013-05-22 Carlos O'Donell <carlos@redhat.com>
491 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
492 (main): Mention "tls" pseudo-hwcap is legacy.
493 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
495 2013-05-22 Joseph Myers <joseph@codesourcery.com>
497 * math/gen-libm-test.pl (parse_args): Output only string of
498 arguments as text for test name, not full call or descriptions of
499 tests for extra outputs.
500 (generate_testfile): Do not pass function name to parse_args.
501 Generate this_func variable from START.
502 * math/libm-test.inc (struct test_f_f_data): Rename test_name
504 (struct test_ff_f_data): Likewise.
505 (test_ff_f_data_nexttoward): Likewise.
506 (struct test_fi_f_data): Likewise.
507 (struct test_fl_f_data): Likewise.
508 (struct test_if_f_data): Likewise.
509 (struct test_fff_f_data): Likewise.
510 (struct test_c_f_data): Likewise.
511 (struct test_f_f1_data): Likewise. Remove field extra_name.
512 (struct test_fF_f1_data): Likewise.
513 (struct test_ffI_f1_data): Likewise.
514 (struct test_c_c_data): Rename test_name field to arg_str.
515 (struct test_cc_c_data): Likewise.
516 (struct test_f_i_data): Likewise.
517 (struct test_ff_i_data): Likewise.
518 (struct test_f_l_data): Likewise.
519 (struct test_f_L_data): Likewise.
520 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
522 (COMMON_TEST_SETUP): New macro.
523 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
524 (COMMON_TEST_CLEANUP): Likewise.
525 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
526 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
528 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
529 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
531 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
532 (RUN_TEST_fff_f): Take argument string. Call new setup and
534 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
535 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
537 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
538 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
540 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
541 (RUN_TEST_fF_f1): Take argument string. Call new setup and
543 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
544 (RUN_TEST_fI_f1): Take argument string. Call new setup and
546 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
547 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
549 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
550 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
552 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
553 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
555 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
556 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
558 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
559 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
561 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
562 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
564 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
565 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
567 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
568 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
570 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
571 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
573 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
574 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
576 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
577 (RUN_TEST_fFF_11): Take argument string. Call new setup and
579 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
581 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
583 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
584 to _sifields.sigfault.
585 (si_addr_lsb): Define new macro.
586 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
587 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
588 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
590 2013-05-03 Carlos O'Donell <carlos at redhat.com>
593 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
595 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
597 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
600 2013-05-22 Joseph Myers <joseph@codesourcery.com>
602 * math/gen-libm-test.pl (parse_args): Do not include expected
604 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
605 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
606 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
607 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
608 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
613 * benchtests/Makefile: Sort function entries.
615 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
616 tanh, asinh, acosh, atanh.
617 * benchtests/acos-inputs: New file.
618 * benchtests/acosh-inputs: New file.
619 * benchtests/asin-inputs: New file.
620 * benchtests/asinh-inputs: New file.
621 * benchtests/atanh-inputs: New file.
622 * benchtests/cosh-inputs: New file.
623 * benchtests/log-inputs: New file.
624 * benchtests/sinh-inputs: New file.
625 * benchtests/tanh-inputs: New file.
627 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
630 * posix/tst-getaddrinfo4.c: New test.
631 * posix/Makefile (tests): Add it.
633 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
636 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
637 when no services were used.
638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
639 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
641 2013-05-21 Andreas Schwab <schwab@suse.de>
644 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
645 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
647 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
648 redundant variable declarations and reallocation of buffer when
649 parsing as IPv6 address. Always set NSS status when called from
650 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
651 buffer too small. Correct computation of needed size.
652 * nss/Makefile (tests): Add test-digits-dots.
653 * nss/test-digits-dots.c: New test.
655 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
657 * benchtests/Makefile: Remove instructions for adding
659 * benchtests/README: New file to explain how to execute and
660 enhance the benchmark tests.
662 2013-05-21 Andreas Schwab <schwab@suse.de>
665 * setjmp/Makefile (tests): Add tst-sigsetjmp.
666 * setjmp/tst-sigsetjmp.c: New test.
668 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
670 * sysdeps/x86_64/memset.S (memset): New implementation.
672 (__memset_tail): New function.
674 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
676 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
677 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
678 __memcpy_sse2_unaligned ifunc selection.
679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
680 Add memcpy-sse2-unaligned.S.
681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
682 Add: __memcpy_sse2_unaligned.
684 2013-05-19 Joseph Myers <joseph@codesourcery.com>
687 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
688 math_force_eval before restoring floating-point envrionment.
689 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
690 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
694 (__nearbyintl): Use math_force_eval before restoring
695 floating-point environment.
696 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
698 * math/gen-libm-test.pl (special_functions): Remove.
699 (parse_args): Don't handle TEST_extra. Handle functions with no
701 * math/libm-test.inc (struct test_sincos_data): Replace with
702 struct test_fFF_11_data.
703 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
704 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
705 (sincos_test_data): Change element type to struct
706 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
707 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
708 RUN_TEST_LOOP_sincos.
709 * math/README.libm-test: Don't mention special handling of
710 individual functions.
711 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
712 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
714 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
715 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
718 * math/gen-libm-test.pl (get_variable): Remove function.
719 (parse_args): Don't show pointer parameters to call in test
720 names. Use "extra output N" in test names for extra outputs
721 rather than naming variables.
723 2013-05-18 Joseph Myers <joseph@codesourcery.com>
726 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
727 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
728 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
730 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
732 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
735 * math/gen-libm-test.pl (@tests): Remove variable.
737 (new_test): Remove function.
738 (show_exceptions): New function.
739 (special_functions): Use show_exceptions instead of new_test.
740 (parse_args): Likewise.
741 (generate_testfile): Pass only function name in generated call to
742 print_max_error or print_complex_max_error.
743 (get_ulps): Do not handle complex tests specially.
744 (output_test): Rename to ...
745 (get_all_ulps_for_test): ... this. Return a string rather than
746 printing to a file. Require ulps to be present.
747 (output_ulps): Generate arrays rather than #defines.
748 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
749 (struct ulp_data): New type.
750 (BUILD_COMPLEX_ULP): Remove macro.
751 (compare_ulp_data): New function.
752 (find_ulps): Likewise.
753 (find_test_ulps): Likewise.
754 (find_function_ulps): Likewise.
755 (find_complex_function_ulps): Likewise.
756 (print_max_error): Determine allowed ulps using
758 (print_complex_max_error): Determine allowed ulps using
759 find_complex_function_ulps.
760 (check_float_internal): Determine max ulps using find_test_ulps.
761 (check_float): Do not take max_ulp parameter. Update call to
762 check_float_internal.
763 (check_complex): Likewise.
764 (check_int): Do not take max_ulp parameter.
765 (check_long): Likewise.
766 (check_bool): Likewise.
767 (check_longlong): Likewise.
768 (struct test_f_f_data): Remove max_ulp field.
769 (struct test_ff_f_data): Likewise.
770 (struct test_ff_f_data_nexttoward): Likewise.
771 (struct test_fi_f_data): Likewise.
772 (struct test_fl_f_data): Likewise.
773 (struct test_if_f_data): Likewise.
774 (struct test_fff_f_data): Likewise.
775 (struct test_c_f_data): Likewise.
776 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
777 (struct test_fF_f1_data): Likewise.
778 (struct test_ffI_f1_data): Likewise.
779 (struct test_c_c_data): Remove max_ulp field.
780 (struct test_cc_c_data): Likewise.
781 (struct test_f_i_data): Likewise.
782 (struct test_ff_i_data): Likewise.
783 (struct test_f_l_data): Likewise.
784 (struct test_f_L_data): Likewise.
785 (struct test_sincos_data): Likewise.
786 (RUN_TEST_f_f): Do not handle ulps.
787 (RUN_TEST_LOOP_f_f): Likewise.
788 (RUN_TEST_2_f): Likewise.
789 (RUN_TEST_LOOP_2_f): Likewise.
790 (RUN_TEST_fff_f): Likewise.
791 (RUN_TEST_LOOP_fff_f): Likewise.
792 (RUN_TEST_c_f): Likewise.
793 (RUN_TEST_LOOP_c_f): Likewise.
794 (RUN_TEST_f_f1): Likewise.
795 (RUN_TEST_LOOP_f_f1): Likewise.
796 (RUN_TEST_fF_f1): Likewise.
797 (RUN_TEST_LOOP_fF_f1): Likewise.
798 (RUN_TEST_fI_f1): Likewise.
799 (RUN_TEST_LOOP_fI_f1): Likewise.
800 (RUN_TEST_ffI_f1): Likewise.
801 (RUN_TEST_LOOP_ffI_f1): Likewise.
802 (RUN_TEST_c_c): Likewise.
803 (RUN_TEST_LOOP_c_c): Likewise.
804 (RUN_TEST_cc_c): Likewise.
805 (RUN_TEST_LOOP_cc_c): Likewise.
806 (RUN_TEST_f_i): Likewise.
807 (RUN_TEST_LOOP_f_i): Likewise.
808 (RUN_TEST_f_i_tg): Likewise.
809 (RUN_TEST_LOOP_f_i_tg): Likewise.
810 (RUN_TEST_ff_i_tg): Likewise.
811 (RUN_TEST_LOOP_ff_i_tg): Likewise.
812 (RUN_TEST_f_b): Likewise.
813 (RUN_TEST_LOOP_f_b): Likewise.
814 (RUN_TEST_f_b_tg): Likewise.
815 (RUN_TEST_LOOP_f_b_tg): Likewise.
816 (RUN_TEST_f_l): Likewise.
817 (RUN_TEST_LOOP_f_l): Likewise.
818 (RUN_TEST_f_L): Likewise.
819 (RUN_TEST_LOOP_f_L): Likewise.
820 (RUN_TEST_sincos): Likewise.
821 (RUN_TEST_LOOP_sincos): Likewise.
823 2013-05-17 Joseph Myers <joseph@codesourcery.com>
827 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
828 main case of finite arguments, set rounding mode to FE_TONEAREST
829 and discard exceptions.
830 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
832 (remainder_tonearest_test_data): New variable.
833 (remainder_test_tonearest): New function.
834 (remainder_towardzero_test_data): New variable.
835 (remainder_test_towardzero): New function.
836 (remainder_downward_test_data): New variable.
837 (remainder_test_downward): New function.
838 (remainder_upward_test_data): New variable.
839 (remainder_test_upward): New function.
840 (main): Call the new test functions.
842 * math/libm-test.inc (struct test_f_f1_data): Remove field
844 (struct test_fF_f1_data): Likewise.
845 (struct test_ffI_f1_data): Likewise.
846 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
847 based on value of EXTRA_EXPECTED.
848 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
849 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
850 EXTRA_VAR based on value of EXTRA_EXPECTED.
851 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
852 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
853 EXTRA_VAR based on value of EXTRA_EXPECTED.
854 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
855 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
856 EXTRA_VAR based on value of EXTRA_EXPECTED.
857 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
858 * math/gen-libm-test.pl (parse_args): Don't output initializers
859 for extra output values.
861 * math/libm-test.inc (check_int): Expect result to be exactly
862 equal to expected value and do not handle ulps.
863 (check_long): Likewise.
864 (check_longlong): Likewise.
866 * math/libm-test.inc (ceil_test_data): Test for "inexact"
868 (cimag_test_data): Likewise.
869 (conj_test_data): Likewise.
870 (copysign_test_data): Likewise.
871 (cproj_test_data): Likewise.
872 (creal_test_data): Likewise.
873 (fabs_test_data): Likewise.
874 (fdim_test_data): Likewise.
875 (finite_test_data): Likewise.
876 (floor_test_data): Likewise.
877 (fmax_test_data): Likewise.
878 (fmin_test_data): Likewise.
879 (fmod_test_data): Likewise.
880 (fpclassify_test_data): Likewise.
881 (frexp_test_data): Likewise.
882 (ilogb_test_data): Likewise.
883 (isfinite_test_data): Likewise.
884 (isgreater_test_data): Likewise.
885 (isgreaterequal_test_data): Likewise.
886 (isinf_test_data): Likewise.
887 (isless_test_data): Likewise.
888 (islessequal_test_data): Likewise.
889 (islessgreater_test_data): Likewise.
890 (isnan_test_data): Likewise.
891 (isnormal_test_data): Likewise.
892 (issignaling_test_data): Likewise.
893 (isunordered_test_data): Likewise.
894 (ldexp_test_data): Likewise.
895 (lrint_test_data): Likewise.
896 (lrint_test_data) [TEST_FLOAT]: Disable one test.
897 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
898 (lrint_tonearest_test_data): Test for "inexact" exceptions.
899 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
900 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
901 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
903 (lrint_towardzero_test_data): Test for "inexact" exceptions.
904 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
905 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
906 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
908 (lrint_downward_test_data): Test for "inexact" exceptions.
909 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
910 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
911 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
913 (lrint_upward_test_data): Test for "inexact" exceptions.
914 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
916 (llrint_test_data): Test for "inexact" exceptions.
917 (llrint_test_data) [TEST_FLOAT]: Disable one test.
918 (llrint_tonearest_test_data): Test for "inexact" exceptions.
919 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
920 (llrint_towardzero_test_data): Test for "inexact" exceptions.
921 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
922 (llrint_downward_test_data): Test for "inexact" exceptions.
923 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
924 (llrint_upward_test_data): Test for "inexact" exceptions.
925 (logb_test_data): Likewise.
926 (logb_downward_test_data): Likewise.
927 (nextafter_test_data): Likewise.
928 (nexttoward_test_data): Likewise.
929 (remainder_test_data): Likewise.
930 (remquo_test_data): Likewise.
931 (scalbn_test_data): Likewise.
932 (scalbln_test_data): Likewise.
933 (signbit_test_data): Likewise.
934 (sqrt_test_data): Likewise.
935 (significand_test_data): Likewise.
937 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
940 * benchtests/bench-modf.c (struct args): Mark arg0 as
942 * scripts/bench.pl: Mark members of struct args as volatile.
944 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
948 negative infinity on POWER6 or lower.
949 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
951 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
954 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
955 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
956 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
957 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
958 (_FP_SETQNAN): New macro.
959 (_FP_SETQNAN_SEMIRAW): Likewise.
960 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
961 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
962 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
963 (FP_EXTEND): Use _FP_FRAC_SNANP.
964 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
965 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
967 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
969 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
972 2013-05-16 Joseph Myers <joseph@codesourcery.com>
974 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
975 with DIVIDE_BY_ZERO_EXCEPTION.
976 (gamma_test_data): Likewise.
977 (lgamma_test_data): Likewise.
978 (log_test_data): Likewise.
979 (log10_test_data): Likewise.
980 (log2_test_data): Likewise.
981 (tgamma_test_data): Likewise.
983 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
984 (acos_test_tonearest): Likewise.
985 (acos_test_towardzero): Likewise.
986 (acos_test_downward): Likewise.
987 (acos_test_upward): Likewise.
988 (acosh_test): Likewise.
989 (asin_test): Likewise.
990 (asin_test_tonearest): Likewise.
991 (asin_test_towardzero): Likewise.
992 (asin_test_downward): Likewise.
993 (asin_test_upward): Likewise.
994 (asinh_test): Likewise.
995 (atan_test): Likewise.
996 (atanh_test): Likewise.
997 (atan2_test): Likewise.
998 (cabs_test): Likewise.
999 (cacos_test): Likewise.
1000 (cacosh_test): Likewise.
1001 (casin_test): Likewise.
1002 (casinh_test): Likewise.
1003 (catan_test): Likewise.
1004 (catanh_test): Likewise.
1005 (cbrt_test): Likewise.
1006 (ccos_test): Likewise.
1007 (ccosh_test): Likewise.
1008 (cexp_test): Likewise.
1009 (clog_test): Likewise.
1010 (clog10_test): Likewise.
1011 (cos_test): Likewise.
1012 (cos_test_tonearest): Likewise.
1013 (cos_test_towardzero): Likewise.
1014 (cos_test_downward): Likewise.
1015 (cos_test_upward): Likewise.
1016 (cosh_test): Likewise.
1017 (cosh_test_tonearest): Likewise.
1018 (cosh_test_towardzero): Likewise.
1019 (cosh_test_downward): Likewise.
1020 (cosh_test_upward): Likewise.
1021 (cpow_test): Likewise.
1022 (csin_test): Likewise.
1023 (csinh_test): Likewise.
1024 (csqrt_test): Likewise.
1025 (ctan_test): Likewise.
1026 (ctan_test_tonearest): Likewise.
1027 (ctan_test_towardzero): Likewise.
1028 (ctan_test_downward): Likewise.
1029 (ctan_test_upward): Likewise.
1030 (ctanh_test): Likewise.
1031 (ctanh_test_tonearest): Likewise.
1032 (ctanh_test_towardzero): Likewise.
1033 (ctanh_test_downward): Likewise.
1034 (ctanh_test_upward): Likewise.
1035 (erf_test): Likewise.
1036 (erfc_test): Likewise.
1037 (exp_test): Likewise.
1038 (exp_test_tonearest): Likewise.
1039 (exp_test_towardzero): Likewise.
1040 (exp_test_downward): Likewise.
1041 (exp_test_upward): Likewise.
1042 (exp10_test): Likewise.
1043 (exp2_test): Likewise.
1044 (expm1_test): Likewise.
1045 (fmod_test): Likewise.
1046 (gamma_test): Likewise.
1047 (hypot_test): Likewise.
1048 (j0_test): Likewise.
1049 (j1_test): Likewise.
1050 (jn_test): Likewise.
1051 (lgamma_test): Likewise.
1052 (log_test): Likewise.
1053 (log10_test): Likewise.
1054 (log1p_test): Likewise.
1055 (log2_test): Likewise.
1056 (logb_test_downward): Likewise.
1057 (pow_test): Likewise.
1058 (pow_test_tonearest): Likewise.
1059 (pow_test_towardzero): Likewise.
1060 (pow_test_downward): Likewise.
1061 (pow_test_upward): Likewise.
1062 (remainder_test): Likewise.
1063 (remquo_test): Likewise.
1064 (sin_test): Likewise.
1065 (sin_test_tonearest): Likewise.
1066 (sin_test_towardzero): Likewise.
1067 (sin_test_downward): Likewise.
1068 (sin_test_upward): Likewise.
1069 (sincos_test): Likewise.
1070 (sinh_test): Likewise.
1071 (sinh_test_tonearest): Likewise.
1072 (sinh_test_towardzero): Likewise.
1073 (sinh_test_downward): Likewise.
1074 (sinh_test_upward): Likewise.
1075 (sqrt_test): Likewise.
1076 (tan_test): Likewise.
1077 (tan_test_tonearest): Likewise.
1078 (tan_test_towardzero): Likewise.
1079 (tan_test_downward): Likewise.
1080 (tan_test_upward): Likewise.
1081 (tanh_test): Likewise.
1082 (tgamma_test): Likewise.
1083 (y0_test): Likewise.
1084 (y1_test): Likewise.
1085 (yn_test): Likewise.
1087 * math/gen-libm-test.pl (adjust_arg): Remove function.
1088 (special_function): Remove argument $in_func. Only handle
1089 generating output for tables of tests, not inside functions.
1090 (parse_args): Likewise.
1091 (generate_testfile): Remove variable $in_func. Update call to
1093 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1094 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1095 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1096 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1097 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1098 (MAX_VALUE_INIT): Rename macro to max_value.
1099 (MIN_VALUE_INIT): Rename macro to min_value.
1100 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1101 (plus_zero): Remove variable.
1102 (minus_zero): Likewise.
1103 (plus_infty): Likewise.
1104 (minus_infty): Likewise.
1105 (qnan_value): Likewise.
1106 (max_value): Likewise.
1107 (min_value): Likewise.
1108 (min_subnorm_value): Likewise.
1110 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1112 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1113 uint64_t or uint32_t usage.
1114 * crypt/sha256-block.c: Likewise.
1115 * crypt/sha256-crypt.c: Likewise.
1116 * crypt/sha256.c: Likewise.
1117 * crypt/sha512-block.c: Likewise.
1118 * crypt/sha512-crypt.c: Likewise.
1119 * crypt/sha512.c: Likewise.
1120 * debug/backtrace-tst.c: Likewise.
1121 * debug/pcprofiledump.c: Likewise.
1122 * elf/cache.c: Likewise.
1123 * elf/dl-cache.c: Likewise.
1124 * elf/dl-misc.c: Likewise.
1125 * elf/dl-profile.c: Likewise.
1126 * elf/dl-support.c: Likewise.
1127 * elf/ldconfig.c: Likewise.
1128 * elf/sprof.c: Likewise.
1129 * iconv/dummy-repertoire.c: Likewise.
1130 * iconv/iconv_charmap.c: Likewise.
1131 * iconv/skeleton.c: Likewise.
1132 * iconvdata/8bit-generic.c: Likewise.
1133 * iconvdata/cp737.h: Likewise.
1134 * iconvdata/cp775.h: Likewise.
1135 * iconvdata/ibm1008.h: Likewise.
1136 * iconvdata/ibm1025.h: Likewise.
1137 * iconvdata/ibm1046.h: Likewise.
1138 * iconvdata/ibm1097.h: Likewise.
1139 * iconvdata/ibm1112.h: Likewise.
1140 * iconvdata/ibm1122.h: Likewise.
1141 * iconvdata/ibm1123.h: Likewise.
1142 * iconvdata/ibm1124.h: Likewise.
1143 * iconvdata/ibm1129.h: Likewise.
1144 * iconvdata/ibm1130.h: Likewise.
1145 * iconvdata/ibm1132.h: Likewise.
1146 * iconvdata/ibm1133.h: Likewise.
1147 * iconvdata/ibm1137.h: Likewise.
1148 * iconvdata/ibm1140.h: Likewise.
1149 * iconvdata/ibm1141.h: Likewise.
1150 * iconvdata/ibm1142.h: Likewise.
1151 * iconvdata/ibm1143.h: Likewise.
1152 * iconvdata/ibm1144.h: Likewise.
1153 * iconvdata/ibm1145.h: Likewise.
1154 * iconvdata/ibm1146.h: Likewise.
1155 * iconvdata/ibm1147.h: Likewise.
1156 * iconvdata/ibm1148.h: Likewise.
1157 * iconvdata/ibm1149.h: Likewise.
1158 * iconvdata/ibm1153.h: Likewise.
1159 * iconvdata/ibm1154.h: Likewise.
1160 * iconvdata/ibm1155.h: Likewise.
1161 * iconvdata/ibm1156.h: Likewise.
1162 * iconvdata/ibm1157.h: Likewise.
1163 * iconvdata/ibm1158.h: Likewise.
1164 * iconvdata/ibm1160.h: Likewise.
1165 * iconvdata/ibm1161.h: Likewise.
1166 * iconvdata/ibm1162.h: Likewise.
1167 * iconvdata/ibm1163.h: Likewise.
1168 * iconvdata/ibm1164.h: Likewise.
1169 * iconvdata/ibm1166.h: Likewise.
1170 * iconvdata/ibm1167.h: Likewise.
1171 * iconvdata/ibm12712.h: Likewise.
1172 * iconvdata/ibm1390.h: Likewise.
1173 * iconvdata/ibm1399.h: Likewise.
1174 * iconvdata/ibm16804.h: Likewise.
1175 * iconvdata/ibm4517.h: Likewise.
1176 * iconvdata/ibm4899.h: Likewise.
1177 * iconvdata/ibm4909.h: Likewise.
1178 * iconvdata/ibm4971.h: Likewise.
1179 * iconvdata/ibm5347.h: Likewise.
1180 * iconvdata/ibm803.h: Likewise.
1181 * iconvdata/ibm856.h: Likewise.
1182 * iconvdata/ibm901.h: Likewise.
1183 * iconvdata/ibm902.h: Likewise.
1184 * iconvdata/ibm9030.h: Likewise.
1185 * iconvdata/ibm9066.h: Likewise.
1186 * iconvdata/ibm921.h: Likewise.
1187 * iconvdata/ibm922.h: Likewise.
1188 * iconvdata/ibm9448.h: Likewise.
1189 * iconvdata/isiri-3342.h: Likewise.
1190 * iconvdata/jis0201.h: Likewise.
1191 * include/link.h: Likewise.
1192 * include/netdb.h: Likewise.
1193 * inet/check_native.c: Likewise.
1194 * inet/check_pf.c: Likewise.
1195 * inet/getipv4sourcefilter.c: Likewise.
1196 * inet/getnameinfo.c: Likewise.
1197 * inet/getsourcefilter.c: Likewise.
1198 * inet/htonl.c: Likewise.
1199 * inet/setipv4sourcefilter.c: Likewise.
1200 * inet/setsourcefilter.c: Likewise.
1201 * inet/test-inet6_opt.c: Likewise.
1202 * inet/tst-network.c: Likewise.
1203 * locale/C-collate.c: Likewise.
1204 * locale/C-ctype.c: Likewise.
1205 * locale/C-time.c: Likewise.
1206 * locale/C-translit.h: Likewise.
1207 * locale/loadarchive.c: Likewise.
1208 * locale/programs/3level.h: Likewise.
1209 * locale/programs/charmap.c: Likewise.
1210 * locale/programs/charmap.h: Likewise.
1211 * locale/programs/ld-address.c: Likewise.
1212 * locale/programs/ld-collate.c: Likewise.
1213 * locale/programs/ld-ctype.c: Likewise.
1214 * locale/programs/ld-identification.c: Likewise.
1215 * locale/programs/ld-measurement.c: Likewise.
1216 * locale/programs/ld-messages.c: Likewise.
1217 * locale/programs/ld-monetary.c: Likewise.
1218 * locale/programs/ld-name.c: Likewise.
1219 * locale/programs/ld-numeric.c: Likewise.
1220 * locale/programs/ld-paper.c: Likewise.
1221 * locale/programs/ld-telephone.c: Likewise.
1222 * locale/programs/ld-time.c: Likewise.
1223 * locale/programs/linereader.c: Likewise.
1224 * locale/programs/locale.c: Likewise.
1225 * locale/programs/locarchive.c: Likewise.
1226 * locale/programs/locfile.h: Likewise.
1227 * locale/programs/repertoire.c: Likewise.
1228 * locale/programs/simple-hash.c: Likewise.
1229 * locale/programs/simple-hash.h: Likewise.
1230 * malloc/memusage.c: Likewise.
1231 * malloc/memusagestat.c: Likewise.
1232 * nis/nis_defaults.c: Likewise.
1233 * nis/nis_hash.c: Likewise.
1234 * nis/nis_print.c: Likewise.
1235 * nis/nis_xdr.c: Likewise.
1236 * nscd/connections.c: Likewise.
1237 * nscd/hstcache.c: Likewise.
1238 * nscd/nscd_gethst_r.c: Likewise.
1239 * nscd/nscd_getserv_r.c: Likewise.
1240 * nscd/nscd_helper.c: Likewise.
1241 * nscd/servicescache.c: Likewise.
1242 * nss/makedb.c: Likewise.
1243 * nss/nss_db/db-XXX.c: Likewise.
1244 * nss/nss_db/db-initgroups.c: Likewise.
1245 * nss/nss_db/db-netgrp.c: Likewise.
1246 * nss/nss_files/files-network.c: Likewise.
1247 * nss/nss_files/files-parse.c: Likewise.
1248 * posix/bug-regex5.c: Likewise.
1249 * posix/fnmatch_loop.c: Likewise.
1250 * posix/regcomp.c: Likewise.
1251 * posix/regexec.c: Likewise.
1252 * posix/tst-rfc3484-2.c: Likewise.
1253 * posix/tst-rfc3484-3.c: Likewise.
1254 * posix/tst-rfc3484.c: Likewise.
1255 * resolv/nss_dns/dns-canon.c: Likewise.
1256 * resolv/nss_dns/dns-network.c: Likewise.
1257 * resolv/res_init.c: Likewise.
1258 * resolv/res_mkquery.c: Likewise.
1259 * resolv/tst-aton.c: Likewise.
1260 * stdlib/cxa_atexit.c: Likewise.
1261 * stdlib/cxa_finalize.c: Likewise.
1262 * stdlib/gen-fpioconst.c: Likewise.
1263 * stdlib/strtol_l.c: Likewise.
1264 * string/tst-endian.c: Likewise.
1265 * sunrpc/auth_des.c: Likewise.
1266 * sunrpc/clnt_udp.c: Likewise.
1267 * sunrpc/rtime.c: Likewise.
1268 * sunrpc/svcauth_des.c: Likewise.
1269 * sunrpc/xdr.c: Likewise.
1270 * sunrpc/xdr_intXX_t.c: Likewise.
1271 * sunrpc/xdr_rec.c: Likewise.
1272 * sysdeps/generic/ldconfig.h: Likewise.
1273 * sysdeps/generic/ldsodefs.h: Likewise.
1274 * sysdeps/generic/memusage.h: Likewise.
1275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1281 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1282 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1283 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1285 * sysdeps/posix/getaddrinfo.c: Likewise.
1286 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1287 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1288 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1289 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1290 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1291 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1292 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1293 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1294 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1295 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1296 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1297 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1298 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1299 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1300 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1301 * sysdeps/x86_64/dl-tls.h: Likewise.
1302 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1303 * time/alt_digit.c: Likewise.
1304 * time/era.c: Likewise.
1305 * wcsmbs/tst-c16c32-1.c: Likewise.
1307 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1309 * math/libm-test.inc (struct test_sincos_data): New type.
1310 (RUN_TEST_LOOP_sincos): New macro.
1311 (sincos_test_data): New variable.
1312 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1314 2013-05-16 Richard Henderson <rth@redhat.com>
1316 * math/atest-exp2.c (LIMB64): New macro.
1317 (CONSTSZ): New macro.
1318 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1320 (print_mpn_fp): ... to function scope.
1321 (read_mpn_hex): Remove.
1323 (exp2_mpn): Use mp_log2.
1324 (main): Use mp_exp1.
1326 2013-05-16 Joseph Myers <joseph@codesourcery.com>
1328 * math/libm-test.inc: Remove comment about not testing "inexact"
1330 (INEXACT_EXCEPTION): New macro.
1331 (NO_INEXACT_EXCEPTION): Likewise.
1332 (INVALID_EXCEPTION_OK): Update value.
1333 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1334 (OVERFLOW_EXCEPTION_OK): Likewise.
1335 (UNDERFLOW_EXCEPTION_OK): Likewise.
1336 (IGNORE_ZERO_INF_SIGN): Likewise.
1337 (ERRNO_UNCHANGED): Likewise.
1338 (ERRNO_EDOM): Likewise.
1339 (ERRNO_ERANGE): Likewise.
1340 (test_exceptions): Handle testing "inexact" exceptions.
1341 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1342 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1343 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1344 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1346 (rint_towardzero_test_data): Likewise.
1347 (rint_downward_test_data): Likewise.
1348 (rint_upward_test_data): Likewise.
1350 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1351 with OVERFLOW_EXCEPTION.
1352 (exp10_test_data): Likewise.
1353 (exp2_test_data): Likewise.
1354 (expm1_test_data): Likewise.
1355 (lgamma_test_data): Likewise.
1356 (pow_test_data): Likewise.
1357 (tgamma_test_data): Likewise.
1358 (yn_test_data): Remove duplicate test of overflow.
1360 * math/libm-test.inc (struct test_cc_c_data): New type.
1361 (RUN_TEST_LOOP_cc_c): New macro.
1362 (cpow_test_data): New variable.
1363 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1365 * math/libm-test.inc (struct test_f_L_data): New type.
1366 (RUN_TEST_LOOP_f_L): New macro.
1367 (llrint_test_data): New variable.
1368 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1369 (llrint_tonearest_test_data): New variable.
1370 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1371 (llrint_towardzero_test_data): New variable.
1372 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1373 (llrint_downward_test_data): New variable.
1374 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1375 (llrint_upward_test_data): New variable.
1376 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1377 (llround_test_data): New variable.
1378 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1380 2013-05-13 Peter Collingbourne <pcc@google.com>
1382 * math/atest-exp2.c (get_log2): Remove const attribute.
1384 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1386 * math/libm-test.inc (struct test_f_l_data): New type.
1387 (RUN_TEST_LOOP_f_l): New macro.
1388 (lrint_test_data): New variable.
1389 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1390 (lrint_tonearest_test_data): New variable.
1391 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1392 (lrint_towardzero_test_data): New variable.
1393 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1394 (lrint_downward_test_data): New variable.
1395 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1396 (lrint_upward_test_data): New variable.
1397 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1398 (lround_test_data): New variable.
1399 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1401 2013-05-15 Peter Collingbourne <pcc@google.com>
1403 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1404 (EXTRACT_WORDS64) Use where appropriate.
1405 (INSERT_WORDS64) Likewise.
1407 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1408 constraints with x constraints.
1409 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1411 * malloc/obstack.c (_obstack_compat): Add initializer.
1413 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1416 si_trapno and add si_addr_lsb to _sifields.sigfault.
1417 (si_trapno): Remove macro.
1418 (si_addr_lsb): Define new macro.
1419 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1421 2013-05-15 Joseph Myers <joseph@codesourcery.com>
1423 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1424 instead of TEST_f_l.
1425 (llrint_test_tonearest): Likewise.
1426 (llrint_test_towardzero): Likewise.
1427 (llrint_test_downward): Likewise.
1428 (llrint_test_upward): Likewise.
1429 (llround_test): Likewise.
1431 * math/libm-test.inc (struct test_f_i_data): Add comment.
1432 (RUN_TEST_LOOP_f_b): New macro.
1433 (RUN_TEST_LOOP_f_b_tg): Likewise.
1434 (finite_test_data): New variable.
1435 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1436 (isfinite_test_data): New variable.
1437 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1438 (isinf_test_data): New variable.
1439 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1440 (isnan_test_data): New variable.
1441 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1442 (isnormal_test_data): New variable.
1443 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1444 (issignaling_test_data): New variable.
1445 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1446 (signbit_test_data): New variable.
1447 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1449 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1450 with INVALID_EXCEPTION.
1451 (acosh_test_data): Likewise.
1452 (asin_test_data): Likewise.
1453 (atanh_test_data): Likewise.
1454 (fmod_test_data): Likewise.
1455 (log_test_data): Likewise.
1456 (log10_test_data): Likewise.
1457 (log2_test_data): Likewise.
1458 (pow_test_data): Likewise.
1459 (sqrt_test_data): Likewise.
1460 (y0_test_data): Likewise.
1461 (y1_test_data): Likewise.
1462 (yn_test_data): Likewise.
1464 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1467 * math/libm-test.inc (struct test_ff_i_data): New type.
1468 (RUN_TEST_LOOP_ff_i_tg): New macro.
1469 (isgreater_test_data): New variable.
1470 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1471 (isgreaterequal_test_data): New variable.
1472 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1473 (isless_test_data): New variable.
1474 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1475 (islessequal_test_data): New variable.
1476 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1477 (islessgreater_test_data): New variable.
1478 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1479 (isunordered_test_data): New variable.
1480 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1482 2013-05-14 David S. Miller <davem@davemloft.net>
1484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1486 2013-05-14 Joseph Myers <joseph@codesourcery.com>
1488 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1490 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1492 (struct test_f_i_data): Change type of max_ulp to int.
1494 * math/libm-test.inc (test_ffI_f1_data): New type.
1495 (RUN_TEST_LOOP_ffI_f1): New macro.
1496 (remquo_test_data): New variable.
1497 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1499 * setjmp/tst-setjmp-fp.c: New file.
1500 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1501 (link-libm): New variable.
1502 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1504 * math/libm-test.inc (struct test_f_i_data): New type.
1505 (RUN_TEST_LOOP_f_i): New macro.
1506 (RUN_TEST_LOOP_f_i_tg): Likewise.
1507 (fpclassify_test_data): New variable.
1508 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1509 (ilogb_test_data): New variable.
1510 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1512 * math/libm-test.inc (scalbln_test): Correct function name in END
1515 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1516 (RUN_TEST_LOOP_fI_f1): New macro.
1517 (frexp_test_data): New variable.
1518 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1520 * math/libm-test.inc (struct test_fF_f1_data): New type.
1521 (RUN_TEST_LOOP_fF_f1): New macro.
1522 (modf_test_data): New variable.
1523 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1525 * math/libm-test.inc (struct test_f_f1_data): New type.
1526 (RUN_TEST_LOOP_f_f1): New macro.
1527 (gamma_test_data): New variable.
1528 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1529 (lgamma_test_data): New variable.
1530 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1532 2013-05-13 Carlos O'Donell <carlos@redhat.com>
1534 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1535 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1536 (main): Comment "tls" pseudo-hwcap.
1538 2013-05-13 Joseph Myers <joseph@codesourcery.com>
1540 * math/libm-test.inc (struct test_fl_f_data): New type.
1541 (RUN_TEST_LOOP_fl_f): New variable.
1542 (scalbln_test_data): New variable.
1543 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1545 * math/libm-test.inc (struct test_fi_f_data): New type.
1546 (RUN_TEST_LOOP_fi_f): New macro.
1547 (ldexp_test_data): New variable.
1548 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1549 (scalbn_test_data): New variable.
1550 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1552 * math/libm-test.inc (struct test_c_f_data): New type.
1553 (RUN_TEST_LOOP_c_f): New macro.
1554 (cabs_test_data): New variable.
1555 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1556 (carg_test_data): New variable.
1557 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1558 (cimag_test_data): New variable.
1559 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1560 (creal_test_data): New variable.
1561 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1563 * math/libm-test.inc (struct test_if_f_data): New type.
1564 (RUN_TEST_LOOP_if_f): New macro.
1565 (jn_test_data): New variable.
1566 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1567 (yn_test_data): New variable.
1568 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1570 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1572 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1574 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1575 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1577 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1579 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1580 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1581 (bench-deps): Add bench-timing.h.
1582 * benchtests-bench-skeleton.c: Include bench-timing.h.
1583 (main): Use TIMING_* macros instead of clock_gettime.
1584 * benchtests/bench-timing.h: New file.
1587 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1588 Renamed from _LIB_VERSION.
1589 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1591 2013-05-12 Joseph Myers <joseph@codesourcery.com>
1593 * math/libm-test.inc (struct test_fff_f_data): New type.
1594 (RUN_TEST_LOOP_fff_f): New macro.
1595 (fma_test_data): New variable.
1596 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1597 (fma_towardzero_test_data): New variable.
1598 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1599 (fma_downward_test_data): New variable.
1600 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1601 (fma_upward_test_data): New variable.
1602 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1604 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1605 (struct test_c_c_data): New type.
1606 (RUN_TEST_LOOP_c_c): New macro.
1607 (cacos_test_data): New variable.
1608 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1609 (cacosh_test_data): New variable.
1610 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1611 (casin_test_data): New variable.
1612 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1613 (casinh_test_data): New variable.
1614 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1615 (catan_test_data): New variable.
1616 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1617 (catanh_test_data): New variable.
1618 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1619 (ccos_test_data): New variable.
1620 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1621 (ccosh_test_data): New variable.
1622 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1623 (cexp_test_data): New variable.
1624 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1625 (clog_test_data): New variable.
1626 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1627 (clog10_test_data): New variable.
1628 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1629 (conj_test_data): New variable.
1630 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1631 (cproj_test_data): New variable.
1632 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1633 (csin_test_data): New variable.
1634 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1635 (csinh_test_data): New variable.
1636 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1637 (csqrt_test_data): New variable.
1638 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1639 (ctan_test_data): New variable.
1640 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1641 (ctan_tonearest_test_data): New variable.
1642 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1643 (ctan_towardzero_test_data): New variable.
1644 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1645 (ctan_downward_test_data): New variable.
1646 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1647 (ctan_upward_test_data): New variable.
1648 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1649 (ctanh_test_data): New variable.
1650 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1651 (ctanh_tonearest_test_data): New variable.
1652 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1653 (ctanh_towardzero_test_data): New variable.
1654 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1655 (ctanh_downward_test_data): New variable.
1656 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1657 (ctanh_upward_test_data): New variable.
1658 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1659 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1662 * math/libm-test.inc (struct test_ff_f_data): New type.
1663 (struct test_ff_f_data_nexttoward): Likewise.
1664 (RUN_TEST_LOOP_2_f): New macro.
1665 (RUN_TEST_LOOP_ff_f): Likewise.
1666 (atan2_test_data): New variable.
1667 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1668 (copysign_test_data): New variable.
1669 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1670 (fdim_test_data): New variable.
1671 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1672 (fmax_test_data): New variable.
1673 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1674 (fmin_test_data): New variable.
1675 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1676 (fmod_test_data): New variable.
1677 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1678 (hypot_test_data): New variable.
1679 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1680 (nextafter_test_data): New variable.
1681 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1682 (nexttoward_test_data): New variable.
1683 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1684 (pow_test_data): New variable.
1685 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1686 (pow_tonearest_test_data): New variable.
1687 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1688 (pow_towardzero_test_data): New variable.
1689 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1690 (pow_downward_test_data): New variable.
1691 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1692 (pow_upward_test_data): New variable.
1693 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1694 (remainder_test_data): New variable.
1695 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
1696 (scalb_test_data): New variable.
1697 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
1698 * sysdeps/i386/fpu/libm-test-ulps: Update.
1700 2013-05-11 Joseph Myers <joseph@codesourcery.com>
1702 * math/libm-test.inc (fma_test): Use max_value instead of local
1704 (nextafter_test): Likewise.
1706 * math/libm-test.inc (acos_towardzero_test_data): New variable.
1707 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1708 (acos_downward_test_data): New variable.
1709 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1710 (acos_upward_test_data): New variable.
1711 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1712 (acosh_test_data): New variable.
1713 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
1714 (asin_test_data): New variable.
1715 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
1716 (asin_tonearest_test_data): New variable.
1717 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1718 (asin_towardzero_test_data): New variable.
1719 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1720 (asin_downward_test_data): New variable.
1721 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1722 (asin_upward_test_data): New variable.
1723 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1724 (asinh_test_data): New variable.
1725 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
1726 (atan_test_data): New variable.
1727 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
1728 (atanh_test_data): New variable.
1729 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
1730 (cbrt_test_data): New variable.
1731 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
1732 (ceil_test_data): New variable.
1733 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
1734 (cos_test_data): New variable.
1735 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
1736 (cos_tonearest_test_data): New variable.
1737 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1738 (cos_towardzero_test_data): New variable.
1739 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1740 (cos_downward_test_data): New variable.
1741 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1742 (cos_upward_test_data): New variable.
1743 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1744 (cosh_test_data): New variable.
1745 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
1746 (cosh_tonearest_test_data): New variable.
1747 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1748 (cosh_towardzero_test_data): New variable.
1749 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1750 (cosh_downward_test_data): New variable.
1751 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1752 (cosh_upward_test_data): New variable.
1753 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1754 (erf_test_data): New variable.
1755 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
1756 (erfc_test_data): New variable.
1757 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
1758 (exp_test_data): New variable.
1759 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
1760 (exp_tonearest_test_data): New variable.
1761 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1762 (exp_towardzero_test_data): New variable.
1763 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1764 (exp_downward_test_data): New variable.
1765 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1766 (exp_upward_test_data): New variable.
1767 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1768 (exp10_test_data): New variable.
1769 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
1770 (exp2_test_data): New variable.
1771 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
1772 (expm1_test_data): New variable.
1773 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
1774 (fabs_test_data): New variable.
1775 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
1776 (floor_test_data): New variable.
1777 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
1778 (j0_test_data): New variable.
1779 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
1780 (j1_test_data): New variable.
1781 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
1782 (log_test_data): New variable.
1783 (log_test): Run tests with RUN_TEST_LOOP_f_f.
1784 (log10_test_data): New variable.
1785 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
1786 (log1p_test_data): New variable.
1787 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
1788 (log2_test_data): New variable.
1789 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
1790 (logb_test_data): New variable.
1791 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
1792 (logb_downward_test_data): New variable.
1793 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1794 (nearbyint_test_data): New variable.
1795 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
1796 (rint_test_data): New variable.
1797 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
1798 (rint_tonearest_test_data): New variable.
1799 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1800 (rint_towardzero_test_data): New variable.
1801 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1802 (rint_downward_test_data): New variable.
1803 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1804 (rint_upward_test_data): New variable.
1805 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1806 (round_test_data): New variable.
1807 (round_test): Run tests with RUN_TEST_LOOP_f_f.
1808 (sin_test_data): New variable.
1809 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
1810 (sin_tonearest_test_data): New variable.
1811 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1812 (sin_towardzero_test_data): New variable.
1813 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1814 (sin_downward_test_data): New variable.
1815 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1816 (sin_upward_test_data): New variable.
1817 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1818 (sinh_test_data): New variable.
1819 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
1820 (sinh_tonearest_test_data): New variable.
1821 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1822 (sinh_towardzero_test_data): New variable.
1823 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1824 (sinh_downward_test_data): New variable.
1825 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1826 (sinh_upward_test_data): New variable.
1827 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1828 (sqrt_test_data): New variable.
1829 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
1830 (tan_test_data): New variable.
1831 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
1832 (tan_tonearest_test_data): New variable.
1833 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1834 (tan_towardzero_test_data): New variable.
1835 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
1836 (tan_downward_test_data): New variable.
1837 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
1838 (tan_upward_test_data): New variable.
1839 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
1840 (tanh_test_data): New variable.
1841 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
1842 (tgamma_test_data): New variable.
1843 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
1844 (trunc_test_data): New variable.
1845 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
1846 (y0_test_data): New variable.
1847 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
1848 (y1_test_data): New variable.
1849 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
1850 (significand_test_data): New variable.
1851 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
1853 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1856 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1858 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1860 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1862 2013-05-10 Andreas Jaeger <aj@suse.de>
1865 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1866 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1868 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1870 * math/gen-libm-test.pl (adjust_arg): New function.
1871 (special_functions): Handle generating output in both functions
1873 (parse_args): Likewise.
1874 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
1875 $in_func argument to parse_args.
1876 * math/libm-test.inc (struct test_f_f_data): New type.
1877 (IF_ROUND_INIT_): New macro.
1878 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1879 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1880 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1881 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1882 (ROUND_RESTORE_): Likewise.
1883 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1884 (ROUND_RESTORE_FE_TONEAREST): Likewise.
1885 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1886 (ROUND_RESTORE_FE_UPWARD): Likewise.
1887 (RUN_TEST_LOOP_f_f): New macro.
1888 (acos_test_data): New variable.
1889 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
1890 (acos_tonearest_test_data): New variable.
1891 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
1893 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1895 * benchtests/bench-skeleton.c (startup): Fix coding style.
1897 2013-05-10 Joseph Myers <joseph@codesourcery.com>
1900 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
1901 negative infinity argument.
1902 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
1903 negative infinity argument.
1904 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
1905 negative infinity argument.
1906 * math/libm-test.inc (tgamma_test): Expect errno to be set for
1909 2013-05-10 Florian Weimer <fweimer@redhat.com>
1911 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
1912 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
1913 * iconv/iconv_prog.c (main): Likewise.
1914 * locale/programs/charmap-dir.c (charmap_readdir)
1915 (fopen_uncompressed): Likewise.
1916 * locale/programs/locfile.c (siblings_uncached)
1917 (write_locale_data): Use lstat64 instead of lstat.
1918 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
1921 2013-05-10 Andreas Jaeger <aj@suse.de>
1924 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1928 2013-05-09 Carlos O'Donell <carlos@redhat.com>
1930 * elf/dl-close.c (_dl_close_worker): Add comments.
1932 2013-05-09 Joseph Myers <joseph@codesourcery.com>
1935 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1937 (__ieee754_rem_pio2l): Update comments.
1940 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1942 (__ieee754_rem_pio2l): Update comments.
1944 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1945 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1947 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1950 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
1951 (M_PI_34_LOG10El): Likewise.
1952 (M_PI2_LOG10El): Likewise.
1953 (M_PI4_LOG10El): Likewise.
1954 (M_PI_LOG10El): Likewise.
1956 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1960 2013-05-08 Joseph Myers <joseph@codesourcery.com>
1962 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
1963 (MINUS_ZERO_INIT): Likewise.
1964 (PLUS_INFTY_INIT): Likewise.
1965 (MINUS_INFTY_INIT): Likewise.
1966 (QNAN_VALUE_INIT): Likewise.
1967 (MAX_VALUE_INIT): Likewise.
1968 (MIN_VALUE_INIT): Likewise.
1969 (MIN_SUBNORM_VALUE_INIT): Likewise.
1970 (plus_zero): Initialize with PLUS_ZERO_INIT.
1971 (minus_zero): Initialize with MINUS_ZERO_INIT.
1972 (plus_infty): Initialize with PLUS_INFTY_INIT.
1973 (minus_infty): Initialize with MINUS_INFTY_INIT.
1974 (qnan_value): Initialize with QNAN_VALUE_INIT.
1975 (max_value): Initialize with MAX_VALUE_INIT.
1976 (min_value): Initialize with MIN_VALUE_INIT.
1977 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
1979 * math/libm-test.inc (RUN_TEST_if_f): New macro.
1980 (jn_test): Use TEST_if_f instead of TEST_ff_f.
1981 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
1982 (yn_test): Use TEST_if_f instead of TEST_ff_f.
1984 * math/libm-test.inc (RUN_TEST_f_f): New macro.
1985 (RUN_TEST_2_f): Likewise.
1986 (RUN_TEST_ff_f): Likewise.
1987 (RUN_TEST_fi_f): Likewise.
1988 (RUN_TEST_fl_f): Likewise.
1989 (RUN_TEST_fff_f): Likewise.
1990 (RUN_TEST_c_f): Likewise.
1991 (RUN_TEST_f_f1): Likewise.
1992 (RUN_TEST_fF_f1): Likewise.
1993 (RUN_TEST_fI_f1): Likewise.
1994 (RUN_TEST_ffI_f1): Likewise.
1995 (RUN_TEST_c_c): Likewise.
1996 (RUN_TEST_cc_c): Likewise.
1997 (RUN_TEST_f_i): Likewise.
1998 (RUN_TEST_f_i_tg): Likewise.
1999 (RUN_TEST_ff_i_tg): Likewise.
2000 (RUN_TEST_f_b): Likewise.
2001 (RUN_TEST_f_b_tg): Likewise.
2002 (RUN_TEST_f_l): Likewise.
2003 (RUN_TEST_f_L): Likewise.
2004 (RUN_TEST_sincos): Likewise.
2005 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2006 whether to show exceptions. Do not include ");\n" in return
2008 (special_functions): Output call to RUN_TEST_sincos instead of
2009 check_float calls. Update calls to new_test.
2010 (parse_args): Output call to single RUN_TEST_* macro instead of
2011 check_* calls and other assignments. Update calls to new_test.
2017 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2018 input to result for tgamma overflow.
2019 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2020 (gamma_coeff): New variable.
2021 (NCOEFF): New macro.
2022 (gamma_positive): New function.
2023 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2024 underflow here. Use gamma_positive instead of exp (lgamma) for
2026 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2027 (gamma_coeff): New variable.
2028 (NCOEFF): New macro.
2029 (gammaf_positive): New function.
2030 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2031 underflow here. Use gamma_positive instead of exp (lgamma) for
2033 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2034 (gamma_coeff): New variable.
2035 (NCOEFF): New macro.
2036 (gammal_positive): New function.
2037 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2038 underflow here. Use gamma_positive instead of exp (lgamma) for
2040 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2041 (gamma_coeff): New variable.
2042 (NCOEFF): New macro.
2043 (gammal_positive): New function.
2044 (__ieee754_gammal_r): Handle positive infinity, overflow and
2045 underflow here. Handle NaN the same as positive infinity. Remove
2046 check x < 0xffffffff for negative integers. Use gamma_positive
2047 instead of exp (lgamma) for other arguments.
2048 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2049 (gamma_coeff): New variable.
2050 (NCOEFF): New macro.
2051 (gammal_positive): New function.
2052 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2053 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2057 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2058 * sysdeps/generic/math_private.h (__gamma_productf): New
2060 (__gamma_product): Likewise.
2061 (__gamma_productl): Likewise.
2062 * math/Makefile (libm-calls): Add gamma_product.
2063 * math/libm-test.inc (tgamma_test): Add more tests.
2064 * sysdeps/i386/fpu/libm-test-ulps: Update.
2065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2067 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
2069 * benchtests/bench-skeleton.c (main): Preheat CPU.
2071 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2073 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2075 2013-05-07 Roland McGrath <roland@hack.frob.com>
2077 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2078 and _dl_skip_args_internal.
2080 2013-05-07 Carlos O'Donell <carlos@redhat.com>
2082 * manual/message.texi (Message Translation): Talk about users.
2083 Message to key mapping impacts design.
2085 2013-05-06 Roland McGrath <roland@hack.frob.com>
2087 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2089 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2091 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2092 * sysdeps/wordsize-64/glob64.c: ... here.
2094 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2095 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2098 * debug/getlogin_r_chk.c: Moved to ...
2099 * login/getlogin_r_chk.c: ... here.
2100 * debug/Makefile (routines): Move getlogin_r_chk to ...
2101 * login/Makefile (routines): ... here.
2102 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2103 * login/Versions (libc: GLIBC_2.4): ... here.
2105 * io/poll.c (__poll): Renamed from poll.
2106 Add libc_hidden_def.
2107 (poll): Define as weak alias.
2109 * debug/ptsname_r_chk.c: Moved to ...
2110 * login/ptsname_r_chk.c: ... here.
2111 * debug/Makefile (routines): Move ptsname_r_chk to ...
2112 * login/Makefile (routines): ... here.
2113 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2114 * login/Versions (libc: GLIBC_2.4): ... here.
2116 * posix/getlogin.c: Moved to ...
2117 * login/getlogin.c: ... here.
2118 * posix/getlogin_r.c: Moved to ...
2119 * login/getlogin_r.c: ... here.
2120 * posix/getlogin_r.c: Moved to ...
2121 * login/getlogin_r.c: ... here.
2122 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2123 * login/Makefile (routines): ... here.
2124 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2125 * login/Versions (libc: GLIBC_2.0): ... here.
2127 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2128 (setrlimit): Define as weak alias.
2130 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2131 Call __ names for open, ftruncate, and close.
2132 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2133 (truncate): Define as weak alias.
2135 2013-05-06 Joseph Myers <joseph@codesourcery.com>
2137 * math/gen-libm-test.pl (parse_args): Initialize x before each
2138 test of frexp, modf and remquo.
2140 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2143 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2151 2013-05-06 Roland McGrath <roland@hack.frob.com>
2153 * elf/dl-writev.h: New file.
2154 * elf/dl-misc.c: Include it.
2155 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2156 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2158 2013-05-04 Joseph Myers <joseph@codesourcery.com>
2160 * math/libm-test.inc (noXFails): Remove variable.
2161 (noXPasses): Likewise.
2162 (BUILD_COMPLEX_INT): Remove macro.
2163 (print_screen): Remove xfail argument.
2164 (print_screen_max_error): Likewise.
2165 (update_stats): Likewise.
2166 (print_max_error): Likewise. Update calls to other affected
2168 (print_complex_max_error): Likewise.
2169 (test_single_exception): Update calls to print_screen.
2170 (test_single_errno): Likewise.
2171 (check_float_internal): Remove xfail argument. Update calls to
2172 other affected functions.
2173 (check_float): Likewise.
2174 (check_complex): Likewise.
2175 (check_int): Likewise.
2176 (check_long): Likewise.
2177 (check_bool): Likewise.
2178 (check_longlong): Likewise.
2179 (main): Don't print noXFails and noXPasses.
2180 * math/gen-libm-test.pl (top level): Don't mention expected
2181 failure handling in comment.
2182 (new_test): Don't handle expected failures.
2183 (parse_args): Don't mention expected failure handling in comment.
2184 (generate_testfile): Don't handle expected failures.
2185 (parse_ulps): Likewise.
2186 (print_ulps_file): Likewise.
2187 (get_failure): Remove function.
2188 (output_test): Don't handle expected failures.
2189 * make/README.libm-test: Don't mention expected failure handling.
2191 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2192 (minus_zero): Likewise.
2193 (plus_infty): Likewise.
2194 (minus_infty): Likewise.
2195 (qnan_value): Likewise.
2196 (max_value): Likewise.
2197 (min_value): Likewise.
2198 (min_subnorm_value): Likewise.
2199 (initialize): Do not initialize those variables dynamically.
2201 2013-05-03 Roland McGrath <roland@hack.frob.com>
2203 * io/open.c (__open_2): Moved to ...
2204 * io/open_2.c: ... this new file.
2205 * io/open64.c (__open64_2): Moved to ...
2206 * io/open64_2.c: ... this new file.
2207 * io/openat.c (__openat_2): Moved to ...
2208 * io/openat_2.c: ... this new file.
2209 * io/openat64.c (__openat64_2): Moved to ...
2210 * io/openat64_2.c: ... this new file.
2211 * io/Makefile (routines): Add them.
2212 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2213 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2214 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2215 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2216 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2217 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2218 (__openat64): Add hidden_ver.
2219 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2220 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2222 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2223 Separately conditionalize setting of GLRO(dl_sysinfo) so
2224 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2225 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2227 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2229 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2230 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2232 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2233 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2234 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2235 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2236 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2238 2013-05-03 Joseph Myers <joseph@codesourcery.com>
2240 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2243 * math/libm-test.inc (hypot_test): Do not use
2244 IGNORE_ZERO_INF_SIGN.
2246 2013-05-03 Andreas Jaeger <aj@suse.de>
2248 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2250 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2251 (PF_MAX): Adjust for VSOCK change.
2253 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2257 2013-05-02 Carlos O'Donell <carlos@redhat.com>
2260 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2261 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2262 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2264 2013-05-02 David S. Miller <davem@davemloft.net>
2266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2268 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
2270 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2272 2013-05-01 Roland McGrath <roland@hack.frob.com>
2274 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2276 2013-05-01 Richard Smith <richard@metafoo.co.uk>
2279 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2280 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2281 Use __attribute__ ((__gnu_inline__)).
2282 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2283 Don't use __attribute__ ((__gnu_inline__)).
2285 2013-05-01 Joseph Myers <joseph@codesourcery.com>
2288 * math/s_catan.c (__catan): Handle small real or imaginary part of
2289 input specially to avoid spurious underflow.
2290 * math/s_catanf.c (__catanf): Likewise.
2291 * math/s_catanh.c (__catanh): Likewise.
2292 * math/s_catanhf.c (__catanhf): Likewise.
2293 * math/s_catanhl.c (__catanhl): Likewise.
2294 * math/s_catanl.c (__catanl): Likewise.
2295 * math/libm-test.inc (catan_test): Add more tests.
2296 (catanh_test): Likewise.
2297 * sysdeps/i386/fpu/libm-test-ulps: Update.
2298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2300 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2304 2013-04-30 Joseph Myers <joseph@codesourcery.com>
2307 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2308 accurately for denominator in atan2.
2309 * math/s_catanf.c (__catanf): Likewise.
2310 * math/s_catanh.c (__catanh): Likewise.
2311 * math/s_catanhf.c (__catanhf): Likewise.
2312 * math/s_catanhl.c (__catanhl): Likewise.
2313 * math/s_catanl.c (__catanl): Likewise.
2314 * math/libm-test.inc (catan_test): Add more tests.
2315 (catanh_test): Likewise.
2316 * sysdeps/i386/fpu/libm-test-ulps: Update.
2317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2319 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2321 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2323 * benchtests/Makefile (bench): Remove slow benchmarks.
2324 * benchtests/atan-inputs: Add slow benchmark inputs.
2325 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2326 (BENCH_FUNC): Accept variant offset.
2328 * benchtests/bench-skeleton.c (main): Run benchmark for each
2330 * benchtests/cos-inputs: Add slow benchmark inputs.
2331 * benchtests/exp-inputs: Likewise.
2332 * benchtests/pow-inputs: Likewise.
2333 * benchtests/sin-inputs: Likewise.
2334 * benchtests/slowatan-inputs: Remove.
2335 * benchtests/slowatan.c: Remove.
2336 * benchtests/slowcos-inputs: Remove.
2337 * benchtests/slowcos.c: Remove.
2338 * benchtests/slowexp-inputs: Remove.
2339 * benchtests/slowexp.c: Remove.
2340 * benchtests/slowpow-inputs: Remove.
2341 * benchtests/slowpow.c: Remove.
2342 * benchtests/slowsin-inputs: Remove.
2343 * benchtests/slowsin.c: Remove.
2344 * benchtests/slowtan-inputs: Remove.
2345 * benchtests/slowtan.c: Remove.
2346 * benchtests/tan-inputs: Add slow benchmark inputs.
2347 * scripts/bench.pl: Parse comments and directives.
2349 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2351 ($(objpfx)bench-%.c): Remove *-ITER.
2352 * benchtests/bench-modf.c: Remove definition of ITER.
2353 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2354 (main): Loop for DURATION seconds instead of fixed number of
2356 * scripts/bench.pl: Don't expect iterations in parameters.
2358 2013-04-29 Roland McGrath <roland@hack.frob.com>
2360 * io/fchdir.c (__fchdir): Renamed from fchdir.
2361 (fchdir): Define as weak alias.
2363 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2365 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2366 (ERRNO_EDOM): Likewise.
2367 (ERRNO_ERANGE): Likewise.
2368 (noErrnoTests): New variable.
2369 (init_max_error): Set errno to 0.
2370 (test_single_errno): New function.
2371 (test_errno): Likewise.
2372 (check_float_internal): Call test_errno. Set errno to 0.
2373 (check_complex): Refer to errno tests in comment.
2374 (check_int): Call test_errno. Set errno to 0.
2375 (check_long): Likewise.
2376 (check_bool): Likewise.
2377 (check_longlong): Likewise.
2378 (cos_test): Use ERRNO_* flags for errno tests instead of
2380 (expm1_test): Likewise.
2381 (fmod_test): Likewise.
2382 (ilogb_test): Likewise.
2383 (lgamma_test): Likewise.
2384 (pow_test): Likewise.
2385 (remainder_test): Likewise.
2386 (sin_test): Likewise.
2387 (tan_test): Likewise.
2388 (yn_test): Likewise.
2389 (initialize): Set errno to 0.
2390 (main): Print number of errno tests.
2391 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2393 2013-04-29 Andreas Jaeger <aj@suse.de>
2396 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2400 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2401 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2405 * stdlib/random.c (__initstate): Return NULL if
2409 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2410 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2413 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2417 2013-04-29 Joseph Myers <joseph@codesourcery.com>
2419 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2420 of individual tests.
2421 (casin_test): Likewise.
2422 (casinh_test): Likewise.
2424 2013-04-27 Joseph Myers <joseph@codesourcery.com>
2427 * math/s_catan.c (__catan): Handle arguments with large real or
2428 imaginary part separately without squaring.
2429 * math/s_catanf.c (__catanf): Likewise.
2430 * math/s_catanh.c (__catanh): Likewise.
2431 * math/s_catanhf.c (__catanhf): Likewise.
2432 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2434 (__catanhl): Handle arguments with large real or imaginary part
2435 separately without squaring.
2436 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2438 (__catanl): Handle arguments with large real or imaginary part
2439 separately without squaring.
2440 * math/libm-test.inc (catan_test): Add more tests.
2441 (catanh_test): Likewise.
2442 * sysdeps/i386/fpu/libm-test-ulps: Update.
2443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2445 2013-04-27 Andreas Jaeger <aj@suse.de>
2448 * stdlib/stdlib.h: Update guards for qecvt.
2449 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2452 2013-04-27 Allan McRae <allan@archlinux.org>
2454 * sysdeps/i386/fpu/libm-test-ulps: Update.
2456 2013-04-26 Joseph Myers <joseph@codesourcery.com>
2459 * math/s_catan.c: Include <float.h>.
2460 (__catan): Ensure underflow exception occurs for underflowed
2462 * math/s_catanf.c: Include <float.h>.
2463 (__catanf): Ensure underflow exception occurs for underflowed
2465 * math/s_catanh.c: Include <float.h>.
2466 (__catanh): Ensure underflow exception occurs for underflowed
2468 * math/s_catanhf.c: Include <float.h>.
2469 (__catanhf): Ensure underflow exception occurs for underflowed
2471 * math/s_catanhl.c: Include <float.h>.
2472 (__catanhl): Ensure underflow exception occurs for underflowed
2474 * math/s_catanl.c: Include <float.h>.
2475 (__catanl): Ensure underflow exception occurs for underflowed
2477 * math/libm-test.inc (catan_test): Add more tests.
2478 (catanh_test): Likewise.
2481 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2483 * math/s_ccoshf.c (__ccoshf): Likewise.
2484 * math/s_ccoshl.c (__ccoshl): Likewise.
2485 * math/s_csin.c (__csin): Likewise.
2486 * math/s_csinf.c (__csinf): Likewise.
2487 * math/s_csinh.c (__csinh): Likewise.
2488 * math/s_csinhf.c (__csinhf): Likewise.
2489 * math/s_csinhl.c (__csinhl): Likewise.
2490 * math/s_csinl.c (__csinl): Likewise.
2491 * math/libm-test.inc (ccos_test): Add more tests.
2492 (ccosh_test): Likewise.
2493 (csin_test): Likewise.
2494 (csinh_test): Likewise.
2496 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2499 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2500 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2501 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2502 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2503 powerpc/power5+/fpu folders.
2504 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2507 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2511 2013-04-25 Joseph Myers <joseph@codesourcery.com>
2513 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2514 additions to variable.
2515 [$(config-machine) = x86_64] (modules-names): Likewise.
2516 ($(objpfx)tst-audit3): Remove dependency.
2517 ($(objpfx)tst-audit3.out): Likewise.
2518 ($(objpfx)tst-audit4): Likewise.
2519 ($(objpfx)tst-audit4.out): Likewise.
2520 ($(objpfx)tst-audit5): Likewise.
2521 ($(objpfx)tst-audit5.out): Likewise.
2522 ($(objpfx)tst-audit6): Likewise.
2523 ($(objpfx)tst-audit6.out): Likewise.
2524 ($(objpfx)tst-audit7): Likewise.
2525 ($(objpfx)tst-audit7.out): Likewise.
2526 (tst-audit3-ENV): Remove variable.
2527 (tst-audit4-ENV): Likewise.
2528 (tst-audit5-ENV): Likewise.
2529 (tst-audit6-ENV): Likewise.
2530 (tst-audit7-ENV): Likewise.
2531 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2532 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2533 addition to variable.
2534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2538 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2539 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2540 tst-audit3, tst-audit4 and tst-audit5.
2541 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2542 tst-audit6 and tst-audit7.
2543 [$(subdir) = elf] (modules-names): Add audit modules for those
2545 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2546 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2547 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2548 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2549 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2550 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2551 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2552 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2553 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2554 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2555 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2556 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2557 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2558 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2559 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2560 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2562 [$(subdir) = elf && $(config-cflags-avx) = yes]
2563 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2564 [$(subdir) = elf && $(config-cflags-avx) = yes]
2565 (CFLAGS-tst-auditmod4a.c): Likewise.
2566 [$(subdir) = elf && $(config-cflags-avx) = yes]
2567 (CFLAGS-tst-auditmod4b.c): Likewise.
2568 [$(subdir) = elf && $(config-cflags-avx) = yes]
2569 (CFLAGS-tst-auditmod6b.c): Likewise.
2570 [$(subdir) = elf && $(config-cflags-avx) = yes]
2571 (CFLAGS-tst-auditmod6c.c): Likewise.
2572 [$(subdir) = elf && $(config-cflags-avx) = yes]
2573 (CFLAGS-tst-auditmod7b.c): Likewise.
2574 * elf/tst-audit3.c: Move to ...
2575 * sysdeps/x86_64/tst-audit3.c: ... here.
2576 * elf/tst-audit4.c: Move to ...
2577 * sysdeps/x86_64/tst-audit4.c: ... here.
2578 * elf/tst-audit5.c: Move to ...
2579 * sysdeps/x86_64/tst-audit5.c: ... here.
2580 * elf/tst-audit6.c: Move to ...
2581 * sysdeps/x86_64/tst-audit6.c: ... here.
2582 * elf/tst-audit7.c: Move to ...
2583 * sysdeps/x86_64/tst-audit7.c: ... here.
2584 * elf/tst-auditmod3a.c: Move to ...
2585 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2586 * elf/tst-auditmod3b.c: Move to ...
2587 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2588 * elf/tst-auditmod4a.c: Move to ...
2589 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2590 * elf/tst-auditmod4b.c: Move to ...
2591 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2592 * elf/tst-auditmod5a.c: Move to ...
2593 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2594 * elf/tst-auditmod5b.c: Move to ...
2595 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2596 * elf/tst-auditmod6a.c: Move to ...
2597 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2598 * elf/tst-auditmod6b.c: Move to ...
2599 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2600 * elf/tst-auditmod6c.c: Move to ...
2601 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2602 * elf/tst-auditmod7a.c: Move to ...
2603 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2604 * elf/tst-auditmod7b.c: Move to ...
2605 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2607 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2610 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2611 define unconditionally.
2612 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2613 define unconditionally.
2614 (INT8_C, INT16_C, etc.): Likewise.
2616 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2618 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2619 __ehdr_start with hidden visibility.
2621 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2623 2013-04-24 Carlos O'Donell <carlos@redhat.com>
2625 * math/libm-test.inc (cos_test): Use accurate hex constants.
2626 (sincost_test): Likewise.
2628 2013-04-24 Joseph Myers <joseph@codesourcery.com>
2630 * math/libm-test.inc (catan_test): Add more tests.
2631 (catanh_test): Likewise.
2633 * math/s_catanf.c (__catanf): Use suffixed floating-point
2635 * math/s_catanhf.c (__catanhf): Likewise.
2636 * math/s_catanhl.c (__catanhl): Likewise.
2637 * math/s_catanl.c (__catanl): Likewise.
2640 * math/s_catan.c (__catan): Calculate imaginary part of result
2641 with log1p not log unless computing log of number close to 0.
2642 * math/s_catanf.c (__catanf): Likewise.
2643 * math/s_catanl.c (__catanl): Likewise.
2644 * math/s_catanh.c (__catanh): Calculate real part of result with
2645 log1p not log unless computing log of number close to 0.
2646 * math/s_catanhf.c (__catanhf): Likewise.
2647 * math/s_catanhl.c (__catanhl): Likewise.
2648 * math/libm-test.inc (catan_test): Add more tests.
2649 (catanh_test): Likewise.
2650 * sysdeps/i386/fpu/libm-test-ulps: Update.
2651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2653 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2655 * benchtests/Makefile: Mention files in which fast and slow
2656 paths of math functions are implemented.
2658 2013-04-23 Roland McGrath <roland@hack.frob.com>
2660 * sysdeps/posix/timespec_get.c: New file.
2662 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2664 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2666 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2668 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2669 powerpc/power5/fpu folders.
2670 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2671 * benchtests/Makefile: Add modf testcase.
2672 * benchtests/bench-modf.c: New file: Benchmark test for mo
2674 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2677 * time/Makefile (tests): Add tst-strptime-whitespace.
2678 * time/strptime_l.c (get_number): Use ISSPACE.
2679 (__strptime_internal): Likewise.
2680 * time/tst-strptime-whitespace.c: New test case.
2682 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2684 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2686 (_nss_files_init): Set it here.
2688 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2690 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2691 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2694 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2696 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2698 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2703 2013-04-21 David S. Miller <davem@davemloft.net>
2705 * po/ru.po: Update Russion translation from translation project.
2707 2013-04-17 Adam Conrad <adconrad@0c3.net>
2709 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2712 2013-04-17 Carlos O'Donell <carlos@redhat.com>
2714 * configure.in: Remove i386 configure warning. Remove i386 case.
2715 * configure: Regenerate.
2716 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
2717 Add example to error message.
2718 * sysdeps/i386/configure: Regenerate.
2720 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2722 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2724 * benchtests/cos-inputs: New file.
2725 * benchtests/slowcos-inputs: New file.
2726 * benchtests/slowcos.c: New file.
2727 * benchtests/slowtan-inputs: New file.
2728 * benchtests/slowtan.c: New file.
2729 * benchtests/tan-inputs: New file.
2731 2013-04-16 Roland McGrath <roland@hack.frob.com>
2733 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2736 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2738 * benchtests/Makefile: Include cppflags-iterator.mk to add
2739 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2741 * Makefile.in (bench-clean): New target.
2742 * benchtests/Makefile (bench-clean): Likewise.
2744 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2746 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2748 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2750 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2752 2013-04-15 Andreas Schwab <schwab@suse.de>
2754 * nscd/grpcache.c (cache_addgr): Properly check for short write.
2755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2756 * nscd/pwdcache.c (cache_addpw): Likewise.
2757 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
2760 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2762 * benchtests/Makefile (bench): Write all output to
2763 bench-out.tmp together.
2765 2013-04-15 Andreas Schwab <schwab@suse.de>
2767 * nscd/nscd.c (main): Don't fork again after closing files.
2769 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2771 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2773 * benchtests/Rules (bench-deps): Collect dependencies into a
2774 single variable. Add Makefile to dependencies.
2775 ($(objpfx)bench-%.c): Depend on bench-deps.
2777 2013-04-12 Roland McGrath <roland@hack.frob.com>
2778 Xavier Roche <roche+kml2@exalead.com>
2781 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
2782 just that it's a file descriptor.
2783 * manual/llio.texi (Synchronizing AIO Operations): Update description
2784 for EBADF error from aio_fsync.
2786 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2788 * Rules (bench): Move target definition...
2789 * benchtests/Makefile: ... here.
2791 2013-04-11 Carlos O'Donell <carlos@redhat.com>
2793 * math/libm-test.inc (cos_test): Fix PI/2 test.
2794 (sincos_test): Likewise.
2795 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2796 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2798 2013-04-11 Andreas Schwab <schwab@suse.de>
2801 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
2802 accept exponent character only when digits were seen.
2803 * stdio-common/Makefile (tests): Add bug26.
2804 * stdio-common/bug26.c: New file.
2807 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2810 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2812 * Makeconfig (rtld-prefix): Define built linker prefix.
2813 * Rules (run-bench): Use it.
2814 * math/Makefile (run-regen-ulps): Likewise.
2816 * Rules (bench): Remove eval.
2818 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2819 Roland McGrath <roland@hack.frob.com>
2820 Ondrej Bilka <neleai@seznam.cz>
2823 * time/getdate.c: Include ctype.h and alloca.h.
2824 (__getdate_r): Trim leading and trailing spaces of input.
2825 * time/tst-getdate.c (tests): Add tests with leading and
2828 2013-04-08 Roland McGrath <roland@hack.frob.com>
2831 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2832 when computing value.
2834 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2836 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2837 Use testrun.sh to run libm tests.
2840 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2842 2013-04-06 Marko Myllynen <myllynen@redhat.com>
2845 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2847 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2849 * Makefile.in (regen-ulps): New target.
2850 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
2851 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
2852 [ifneq (no,$(PERL)] (regen-ulps): New target.
2853 [ifeq (no,$(PERL)] (regen-ulps): New target.
2854 * math/libm-test.inc (ulps_file_name): Define.
2855 (output_dir): New variable.
2856 (options): Add "output-dir" option.
2857 (parse_opt): Handle 'o' case.
2858 (main): If output_dir is non-NULL use it as a prefix
2860 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2862 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2865 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
2866 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
2867 fail configure if __sync_val_compare_and_swap is not inlined.
2868 * sysdeps/i386/configure: Regenerate.
2869 * configure.in: Build for i686 when configured for i386.
2870 * configure: Regenerate.
2871 * README: Remove i386 reference.
2873 2013-04-06 Carlos O'Donell <carlos@redhat.com>
2875 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2878 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2880 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
2881 (lmsnanval): New variables.
2882 (F): Add conversion tests.
2883 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
2884 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
2886 * stdio-common/tstdiomisc.c (F): Properly collect individual
2890 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
2891 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2892 Instead, use input NaN values or generate a qNaN by arithmetic
2893 operation. Also fix bugs to comply with the standard.
2894 * math/libm-test.inc (remainder_test): Add more tests.
2897 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
2898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
2899 input NaN values or generate a qNaN by arithmetic operation.
2901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2904 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2907 2013-04-03 Joseph Myers <joseph@codesourcery.com>
2910 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2912 * math/s_cexpf.c (__cexpf): Likewise.
2913 * math/s_cexpl.c (__cexpl): Likewise.
2914 * math/libm-test.inc (cexp_test): Add more tests.
2916 2013-04-03 Andreas Schwab <schwab@suse.de>
2919 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2920 order arrays from heap if bigger than alloca cutoff.
2922 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2924 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
2925 (SNAN_TESTS_double): Refer to GCC PR56831.
2926 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
2929 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2931 * Rules (bench): Move bench.out after the run is complete.
2933 * Rules (bench): Echo currently running benchmark.
2935 * benchtests/Makefile (bench): Add atan and slowatan.
2936 * benchtests/atan-inputs: New file.
2937 * benchtests/slowatan-inputs: New file.
2938 * benchtests/slowatan.c: New file.
2940 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2941 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2945 * sysdeps/unix/sysv/linux/kernel-features.h
2946 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
2947 __ASSUME_XFS_RESTRICTED_CHOWN.
2948 * sysdeps/unix/sysv/linux/pathconf.c
2949 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2950 Save and restore errno.
2952 2013-04-02 Joseph Myers <joseph@codesourcery.com>
2955 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
2956 arguments using __kernel_casinh.
2957 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
2958 arguments using __kernel_casinhf.
2959 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
2960 arguments using __kernel_casinhl.
2961 * math/libm-test.inc (cacosh_test): Add more tests.
2962 * sysdeps/i386/fpu/libm-test-ulps: Update.
2963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2965 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2967 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2970 * bench/Makefile (bench): Add sin and slowsin.
2971 * benchtests/sin-inputs: New file.
2972 * benchtests/slowsin-inputs: New file.
2973 * benchtests/slowsin.c: New file.
2975 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
2976 (bench): Add slowexp and slowpow.
2977 (exp-ITER): Increase iterations.
2978 (pow-ITER): Likewise.
2979 * benchtests/exp-inputs: Change input.
2980 * benchtests/pow-inputs: Likewise.
2981 * benchtests/slowexp-inputs: New file.
2982 * benchtests/slowexp.c: New file.
2983 * benchtests/slowpow-inputs: New file.
2984 * benchtests/slowpow.c: New file.
2986 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2990 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2991 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2992 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2993 * benchtests/Makefile: Add rint benchtest.
2994 * benchtests/rint-inputs: Input for rint benchtest.
2996 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2998 * Versions.def (libm): Add GLIBC_2.18.
2999 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3000 hidden libm prototypes.
3001 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3002 * math/Makefile (libm-calls): Add s_issignaling.
3003 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3004 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3005 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3007 * math/math.h [__USE_GNU] (issignaling): New macro.
3008 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3009 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3011 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3013 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3014 * manual/arith.texi (issignaling): New section.
3015 * manual/libm-err-tab.pl (@all_functions): Update comment.
3016 * math/gen-libm-test.pl (parse_args): Apply special handling for
3018 * math/libm-test.inc (print_float, issignaling_test): New
3020 (check_float_internal): Add issignaling checks.
3021 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3023 * sysdeps/powerpc/math-tests.h: New file.
3024 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3026 * math/test-snan.c (TEST_FUNC): Likewise.
3028 2013-03-30 David S. Miller <davem@davemloft.net>
3030 * po/de.po: Update from translation team.
3032 2013-03-30 Joseph Myers <joseph@codesourcery.com>
3035 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3036 imaginary part less than 1.0 and real part less than 0.5
3038 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3039 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3040 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3041 (cacos_test): Add more tests.
3042 (casin_test): Likewise.
3043 (casinh_test): Likewise.
3044 * sysdeps/i386/fpu/libm-test-ulps: Update.
3045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3047 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3049 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3052 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3053 (__pow_mp): Replace ONE and MONE with their values.
3054 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3055 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3056 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3057 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3058 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3059 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3061 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3063 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3064 (__pow_mp): Replace ZERO and MZERO with their values.
3065 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3067 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3069 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3070 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3073 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3075 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3077 2013-03-28 Roland McGrath <roland@hack.frob.com>
3079 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3080 Declare with __attribute__ ((weak)).
3081 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3082 Call __call_tls_dtors only if it's not NULL.
3084 2013-03-28 Roland McGrath <roland@hack.frob.com>
3086 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3087 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3088 magic __ehdr_start linker symbol if it's defined.
3089 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3090 them up here if it was already done.
3092 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3093 (_dl_aux_init): Use const in cast when setting it.
3094 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3095 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3096 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3098 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3100 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3101 * csu/libc-tls.c: Nor here.
3102 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3104 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3105 (__libc_message): Never call vsyslog.
3107 2013-03-28 Alan Modra <amodra@gmail.com>
3109 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3111 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3114 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3117 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3121 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3124 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3125 Don't add gid passed as argument.
3127 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3129 2013-03-27 Joseph Myers <joseph@codesourcery.com>
3132 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3133 imaginary part between 1.0 and 1.5 and real part less than 0.5
3135 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3136 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3137 * math/libm-test.inc (cacos_test): Add more tests.
3138 (casin_test): Likewise.
3139 (casinh_test): Likewise.
3140 * sysdeps/i386/fpu/libm-test-ulps: Update.
3141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3143 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3145 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3149 (__dbl_mp): Likewise.
3150 (add_magnitudes): Likewise.
3151 (sub_magnitudes): Likewise.
3159 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3161 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3162 (__dubcos): Likewise.
3163 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3164 (__ieee754_acos): Likewise.
3165 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3166 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3168 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3171 (my_log2): Likewise.
3172 (checkint): Likewise.
3173 * sysdeps/ieee754/dbl-64/e_remainder.c
3174 (__ieee754_remainder): Likewise.
3175 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3178 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3180 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3181 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3182 MANTISSA_STORE_T to store computations on mantissa. Use
3183 macros for rounding and division.
3185 (__dbl_mp): Likewise.
3186 (add_magnitudes): Likewise.
3187 (sub_magnitudes): Likewise.
3190 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3191 powers of two in terms of TWOPOW macro.
3192 (mp_no): Make type of mantissa as MANTISSA_T.
3193 [!RADIXI]: Define RADIXI.
3194 [!TWO52]: Define TWO52.
3195 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3197 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3200 llroundl symbol when building for PPC32.
3202 2013-03-24 Mark H Weaver <mhw@netris.org>
3204 * manual/arith.texi (Normalization Functions): Fix prototypes for
3205 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3207 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3211 high value to check if expl overflow.
3212 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3213 to check for underflow and overflow.
3214 * math/libm-test.inc: Add exp test.
3216 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3219 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3222 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3224 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3227 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3229 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3230 wrap blocks consisting of several statements.
3232 * sysdeps/generic/math-tests.h: New file.
3233 * sysdeps/i386/fpu/math-tests.h: Likewise.
3234 * math/test-snan.c: Include it.
3235 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3237 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3240 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3241 (__ieee754_j0l): Do not improve calculations using cos of twice
3242 input for inputs above LDBL_MAX / 2.0L.
3243 (__ieee754_y0l): Likewise.
3244 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3245 (__ieee754_j1l): Do not improve calculations using cos of twice
3246 input for inputs above LDBL_MAX / 2.0L.
3247 (__ieee754_y1l): Likewise.
3248 * math/libm-test.inc (j0_test): Add another test.
3249 (j1_test): Likewise.
3250 (y0_test): Likewise.
3251 (y1_test): Likewise.
3252 * sysdeps/i386/fpu/libm-test-ulps: Update.
3254 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3256 * Rules ($(objpfx)bench-%.c): Include code from a C source
3259 2013-03-21 Joseph Myers <joseph@codesourcery.com>
3262 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3263 imaginary part 1.0 and real part less than 0.5 specially.
3264 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3265 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3266 * math/libm-test.inc (cacos_test): Add more tests.
3267 (casin_test): Likewise.
3268 (casinh_test): Likewise.
3269 * sysdeps/i386/fpu/libm-test-ulps: Update.
3270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3272 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3275 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3277 2013-03-20 Joseph Myers <joseph@codesourcery.com>
3279 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3280 * config.make.in (config-cflags-sse4): Remove variable.
3281 (config-cflags-avx): Likewise.
3282 (config-cflags-sse2avx): Likewise.
3283 (config-cflags-novzeroupper): Likewise.
3284 (config-asflags-i686): Likewise.
3285 (have-mfma4): Likewise.
3286 (have-as-vis3): Likewise.
3288 * configure.in (MIG): Do not AC_SUBST.
3289 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3290 (libc_cv_cc_sse4): Do not AC_SUBST.
3291 (libc_cv_cc_avx): Likewise.
3292 (libc_cv_cc_sse2avx): Likewise.
3293 (libc_cv_cc_novzeroupper): Likewise.
3294 (libc_cv_cc_fma4): Likewise.
3295 (libc_cv_as_i686): Likewise.
3296 (libc_cv_sparc_as_vis3): Likewise.
3297 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3299 (config-asflags-i686): Likewise.
3300 (config-cflags-avx): Likewise.
3301 (config-cflags-sse2avx): Likewise.
3302 (have-mfma4): Likewise.
3303 (config-cflags-novzeroupper): Likewise.
3304 * sysdeps/mach/configure.in (MIG): Likewise.
3305 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3306 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3308 (config-cflags-avx): Likewise.
3309 (config-cflags-sse2avx): Likewise.
3310 (have-mfma4): Likewise.
3311 (config-cflags-novzeroupper): Likewise.
3312 * configure: Regenerated.
3313 * sysdeps/i386/configure: Likewise.
3314 * sysdeps/mach/configure: Likewise.
3315 * sysdeps/sparc/configure: Likewise.
3316 * sysdeps/x86_64/configure: Likewise.
3318 2013-03-20 Roland McGrath <roland@hack.frob.com>
3321 * locale/programs/localedef.c (options): Put N_ translation marker
3322 on argument names, not just descriptions.
3324 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3326 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3328 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
3331 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3333 2013-03-19 Roland McGrath <roland@hack.frob.com>
3335 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3336 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3337 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3338 [!BEFORE_ABORT] (before_abort): New function.
3339 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3340 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3341 (writev_for_fatal): New function.
3342 (WRITEV_FOR_FATAL): New macro; call that.
3343 (backtrace_and_maps): New function.
3344 (BEFORE_ABORT): New macro; call that.
3345 (struct str_list): Type removed.
3346 (__libc_message, __libc_fatal): Functions removed.
3347 Include <sysdeps/posix/libc_fatal.c> instead.
3349 2013-03-19 Joseph Myers <joseph@codesourcery.com>
3351 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3353 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3356 2013-03-19 Andreas Schwab <schwab@suse.de>
3358 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3359 * sysdeps/gnu/configure: Regenerate.
3361 * configure.in: Substitute libc_cv_rtlddir.
3362 * configure: Regenerate.
3363 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3364 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3365 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3366 * elf/Makefile (install-others, CFLAGS-interp.c)
3367 (ldso_install, common-ldd-rewrite): Likewise.
3368 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3369 $(inst_slibdir)/$(rtld-installed-name).
3370 * scripts/rellns-sh: Add -p option.
3371 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3374 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3376 * manual/nptl.texi: Renamed to ...
3377 * manual/threads.texi: ... this.
3378 * manual/Makefile (chapters): Update.
3380 2013-03-18 Roland McGrath <roland@hack.frob.com>
3383 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3384 on argument names, not just descriptions.
3385 * malloc/memusagestat.c (options): Likewise.
3386 * nss/getent.c (options): Likewise.
3388 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
3391 * iconv/iconv_prog.c (options): Put N_ translation marker
3392 on argument names, not just descriptions.
3393 * iconv/iconvconfig.c (options): Likewise.
3395 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
3397 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3398 implementation which is faster on all x86_64 architectures.
3399 Tested on AMD, Intel Nehalem, SNB, IVB.
3400 * sysdeps/x86_64/strnlen.S: Likewise.
3402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3403 Remove all multiarch strlen and strnlen versions.
3404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3405 Remove strlen and strnlen related parts.
3407 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3409 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3411 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3412 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3413 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3414 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3415 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3416 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3418 2013-03-17 Carlos O'Donell <carlos@redhat.com>
3420 * manual/memory.texi (Malloc Tunable Parameters):
3421 Sort parameters alphabetically. Add comments for missing entries.
3423 2013-03-17 David S. Miller <davem@davemloft.net>
3425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3427 2013-03-16 Joseph Myers <joseph@codesourcery.com>
3430 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3431 for arguments at most half maximum finite value.
3432 * math/libm-test.inc (j0_test): Add more tests.
3433 (j1_test): Likewise.
3434 (y0_test): Likewise.
3435 (y1_test): Likewise.
3436 * sysdeps/i386/fpu/libm-test-ulps: Update.
3437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3440 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3441 1 / x and functions P and Q for arguments above 0x1p256L.
3442 (__ieee754_y0l): Likewise.
3443 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3444 (__ieee754_y1l): Likewise.
3445 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3446 (j1_test): Likewise.
3447 (y0_test): Likewise.
3448 (y1_test): Likewise.
3450 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3452 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3455 2013-03-15 Roland McGrath <roland@hack.frob.com>
3457 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3458 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3459 zero since it's initialized to EXEC_PAGESIZE.
3461 * sysdeps/unix/sysv/linux/ldsodefs.h
3462 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3463 * sysdeps/generic/ldsodefs.h: ... here.
3465 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3467 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3469 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3471 * math/test-snan.c: Renamed from
3472 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3473 * math/Makefile (tests): Add test-snan.
3474 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3477 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3478 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3480 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3481 __builtin_nan family of functions.
3482 * math/libm-test.inc (initialize): Initialize qnan_value with
3483 __builtin_nan family of functions.
3484 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3486 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3488 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3489 storage class. Initialize qNaN_var and sNaN_var with
3490 __builtin_nan and __builtin_nans families of functions,
3493 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3494 (sqrt_test): Remove duplicate test with qNaN input.
3495 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3496 (round_test, signbit_test, significand_test): Note missing +/-Inf
3497 as well as qNaN tests.
3499 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3500 qNaN_var. Fix a few strings, too.
3501 * math/libm-test.inc (nan_value): Rename to qnan_value.
3502 * math/gen-libm-test.pl (%beautify): Adjust to that.
3503 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3504 * math/test-misc.c (main): Likewise.
3505 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3506 to __qnan_bytes, and __qnan_union, respectively.
3507 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3509 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3510 and lqnanval, respectively.
3511 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3512 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3513 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3514 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3516 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3517 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3520 * math/test-misc.c (main): Fix copy'n'pastos.
3521 * misc/tst-efgcvt.c (special): Likewise.
3523 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3524 Remove declarations.
3526 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3528 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3529 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3530 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3531 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3533 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3536 macro to return vdso values correctly in IFUNC implementations.
3537 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3538 Optimization by using IFUNC.
3540 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3541 Richard Henderson <rth@redhat.com>
3542 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3544 * Makefile.in (bench): New target.
3545 * NEWS: Mention the benchmark framework.
3546 * Rules (bench): Likewise.
3547 (binaries-bench): Generate binaries for functions to
3549 * benchtests/Makefile: New makefile for benchmark tests.
3550 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3552 * benchtests/exp-inputs: New input file for EXP function.
3553 * benchtests/pow-inputs: New input file for POW function.
3554 * scripts/bench.pl: New script to generate source files for
3557 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3559 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3560 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3561 computations on mantissa. Use macros for rounding and
3564 (__dbl_mp): Likewise.
3565 (add_magnitudes): Likewise.
3566 (sub_magnitudes): Likewise.
3569 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3570 powers of two in terms of TWOPOW macro.
3571 (mp_no): Make type of mantissa as MANTISSA_T.
3572 [!RADIXI]: Define RADIXI.
3573 [!TWO52]: Define TWO52.
3574 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3576 * manual/nptl.texi (cindex): Modify threads to pthreads.
3578 2013-03-15 Joseph Myers <joseph@codesourcery.com>
3580 * sysdeps/x86_64/preconfigure: Regenerated.
3582 2013-03-14 Joseph Myers <joseph@codesourcery.com>
3585 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3587 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3588 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3590 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3591 * math/libm-test.inc (j0_test): Do not allow one spurious
3592 underflow exception.
3593 (y1_test): Likewise.
3595 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3597 * manual/Makefile (chapters): Add nptl.
3598 * manual/debug.texi (Debugging Support): Add link to Threads
3600 * manual/nptl.texi: New file.
3602 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3604 2013-03-14 Petr Baudis <pasky@ucw.cz>
3606 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3607 for non-NULL pointer before the memory validity test. Pointed
3608 out by Holger Brunck <holger.brunck@keymile.com>.
3610 2013-03-13 Andreas Schwab <schwab@suse.de>
3612 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3615 2013-03-13 Joseph Myers <joseph@codesourcery.com>
3617 * timezone/zic.c: Update from tzcode 2013b.
3619 2013-03-12 Carlos O'Donell <carlos@redhat.com>
3621 * manual/install.texi (Configuring and compiling):
3622 Mention i686 and i586.
3623 * INSTALL: Regenerate.
3625 2013-03-12 Roland McGrath <roland@hack.frob.com>
3627 * sysdeps/init_array/elf-init.c: New file.
3629 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3630 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3632 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3633 __gmon_start__ as global, but as static with a .preinit_array pointer.
3634 * sysdeps/init_array/gmon-start.c: New file. Use that.
3635 * sysdeps/init_array/crti.S: New file, empty except for comments.
3636 * sysdeps/init_array/crtn.S: Likewise.
3638 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
3640 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3643 Remove Prefer_SSE_for_memop.
3644 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3645 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3646 HAS_PREFER_SSE_FOR_MEMOP.
3647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3650 Remove bzero, memset ifunc support.
3651 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3652 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3653 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3654 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3656 2013-03-11 Andreas Schwab <schwab@suse.de>
3659 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3662 (GLIBC_2.16): Remove pthread_atfork.
3664 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3666 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3667 (ptestcases.h): Likewise.
3669 2013-03-08 Roland McGrath <roland@hack.frob.com>
3671 * Makeconfig ($(common-objpfx)config.status): Depend on
3672 sysdeps/*/preconfigure{,.in} too.
3674 2013-03-08 Joseph Myers <joseph@codesourcery.com>
3676 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3677 (__free_hook): Use void * instead of __malloc_ptr_t.
3678 (__malloc_hook): Likewise.
3679 (__realloc_hook): Likewise.
3680 (__memalign_hook): Likewise.
3681 (__after_morecore_hook): Likewise.
3682 * malloc/arena.c (save_malloc_hook): Likewise.
3683 (save_free_hook): Likewise.
3684 * malloc/hooks.c (malloc_hook_ini): Likewise.
3685 (realloc_hook_ini): Likewise.
3686 (memalign_hook_ini): Likewise.
3687 * malloc/malloc.c (malloc_hook_ini): Likewise.
3688 (realloc_hook_ini): Likewise.
3689 (memalign_hook_ini): Likewise.
3690 (__free_hook): Likewise.
3691 (__malloc_hook): Likewise.
3692 (__realloc_hook): Likewise.
3693 (__memalign_hook): Likewise.
3694 (__libc_malloc): Likewise.
3695 (__libc_free): Likewise.
3696 (__libc_realloc): Likewise.
3697 (__libc_memalign): Likewise.
3698 (__libc_valloc): Likewise.
3699 (__libc_pvalloc): Likewise.
3700 (__libc_calloc): Likewise.
3701 (__posix_memalign): Likewise.
3702 * malloc/morecore.c (__sbrk): Likewise.
3703 (__default_morecore): Likewise.
3705 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3707 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3708 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3711 * malloc/malloc.h (__malloc_size_t): Remove macro.
3712 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3714 (old_memalign_hook): Likewise.
3715 (old_realloc_hook): Likewise.
3716 (struct hdr): Likewise.
3718 (mallochook): Likewise.
3719 (memalignhook): Likewise.
3720 (reallochook): Likewise.
3721 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
3722 (tr_old_realloc_hook): Likewise.
3723 (tr_old_memalign_hook): Likewise.
3724 (tr_mallochook): Likewise.
3725 (tr_reallochook): Likewise.
3726 (tr_memalignhook): Likewise.
3728 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
3731 default_ldbl_pack and using as default implementation.
3732 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
3734 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
3735 redundant definition.
3736 (ldbl_insert_mantissa): Likewise.
3737 (ldbl_canonicalize): Likewise.
3738 (ldbl_nearbyint): Likewise.
3739 (ldbl_pack): Rename to ldbl_pack_ppc.
3740 (ldbl_unpack): Rename to ldbl_unpack_ppc.
3741 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
3742 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
3744 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
3747 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
3748 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
3749 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
3750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
3751 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
3752 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
3753 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
3755 2013-03-07 Andreas Jaeger <aj@suse.de>
3757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3760 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3762 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
3763 Include mpa.h and declare __MPEXP.
3764 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
3765 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3766 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3767 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
3768 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3769 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
3770 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
3772 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3773 (__slowpow): Use long double EXPL and LOGL functions to
3775 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
3776 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3777 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
3778 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
3779 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
3780 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
3782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3783 intermediate variable to calculate exponent.
3785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3789 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
3790 [!NO__SQR]: Define __sqr.
3791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
3792 and NO__SQR. Remove all code except __mul and __sqr. Include
3793 sysdeps/ieee754/dbl-64/mpa.c.
3794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3797 * posix/Makefile (tests): Add tst-pathconf.
3798 * posix/tst-pathconf.c: New test case.
3799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3801 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3803 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
3805 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3807 2013-03-06 Andreas Jaeger <aj@suse.de>
3809 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3810 definition via __MAP_ANONYMOUS.
3812 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3813 it's not part of Linux headers.
3815 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3816 (MAP_HUGE_MASK): Define.
3818 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3824 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3829 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3831 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
3832 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
3833 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
3834 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
3835 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
3836 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
3838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3842 Handle f2fs and efivarfs.
3844 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3847 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3848 (EFIVARFS_MAGIC): Add.
3849 (F2FS_LINK_MAX): Add.
3851 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3853 * stdio-common/vfprintf.c: Replace __builtin_expect with
3856 2013-03-06 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/generic/bp-sym.h: Remove file.
3860 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
3861 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
3862 <bp-sym.h> and <bp-asm.h>.
3863 (__longjmp): Don't use BP_SYM.
3864 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
3866 (memcpy): Don't use BP_SYM.
3867 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
3868 <bp-sym.h> and <bp-asm.h>.
3869 (memcpy): Don't use BP_SYM.
3870 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
3872 (memcpy): Don't use BP_SYM.
3873 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3875 (memset): Don't use BP_SYM.
3876 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3877 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3878 (__bzero): Don't use BP_SYM.
3879 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3880 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3881 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
3882 <bp-sym.h> and <bp-asm.h>.
3883 (memcmp): Don't use BP_SYM. Remove comment about bounded
3885 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
3886 <bp-sym.h> and <bp-asm.h>.
3887 (memcpy): Don't use BP_SYM.
3888 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
3889 <bp-sym.h> and <bp-asm.h>.
3890 (memset): Don't use BP_SYM.
3891 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3892 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3893 (__bzero): Don't use BP_SYM.
3894 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3895 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3896 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
3897 <bp-sym.h> and <bp-asm.h>.
3898 (strncmp): Don't use BP_SYM. Remove comment about bounded
3900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
3901 <bp-sym.h> and <bp-asm.h>.
3902 (memcpy): Don't use BP_SYM.
3903 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
3904 <bp-sym.h> and <bp-asm.h>.
3905 (memset): Don't use BP_SYM.
3906 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
3907 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
3908 (__bzero): Don't use BP_SYM.
3909 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
3910 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
3911 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
3912 <bp-sym.h> and <bp-asm.h>.
3913 (__memchr): Don't use BP_SYM.
3914 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
3915 <bp-sym.h> and <bp-asm.h>.
3916 (memcmp): Don't use BP_SYM. Remove comment about bounded
3918 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
3919 <bp-sym.h> and <bp-asm.h>.
3920 (memcpy): Don't use BP_SYM.
3921 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
3922 <bp-sym.h> and <bp-asm.h>.
3923 (__mempcpy): Don't use BP_SYM.
3924 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
3925 <bp-sym.h> and <bp-asm.h>.
3926 (__memrchr): Don't use BP_SYM.
3927 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
3928 <bp-sym.h> and <bp-asm.h>.
3929 (memset): Don't use BP_SYM.
3930 (__bzero): Likewise.
3931 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
3932 <bp-sym.h> and <bp-asm.h>.
3933 (__rawmemchr): Don't use BP_SYM.
3934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
3935 <bp-sym.h> and <bp-asm.h>.
3936 (__STRCMP): Don't use BP_SYM.
3937 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
3938 <bp-sym.h> and <bp-asm.h>.
3939 (strchr): Don't use BP_SYM.
3940 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
3941 <bp-sym.h> and <bp-asm.h>.
3942 (__strchrnul): Don't use BP_SYM.
3943 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
3944 <bp-sym.h> and <bp-asm.h>.
3945 (strlen): Don't use BP_SYM.
3946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
3947 <bp-sym.h> and <bp-asm.h>.
3948 (strncmp): Don't use BP_SYM. Remove comment about bounded
3950 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
3951 <bp-sym.h> and <bp-asm.h>.
3952 (__strnlen): Don't use BP_SYM.
3953 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
3954 <bp-sym.h> and <bp-asm.h>.
3955 (__GI__setjmp): Don't use BP_SYM.
3956 (_setjmp): Likewise.
3957 (__sigsetjmp): Likewise.
3958 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
3959 (L(start_addresses)): Don't use BP_SYM.
3961 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3963 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
3964 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
3965 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3966 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3967 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
3969 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
3970 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
3971 about bounded pointers.
3972 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3973 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3974 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
3976 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3977 about bounded pointers. Remove GKM FIXME comments.
3978 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3979 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
3981 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
3982 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
3983 Remove GKM FIXME comments.
3984 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3985 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
3986 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
3988 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
3989 about bounded pointers. Remove GKM FIXME comment.
3990 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
3992 (strncmp): Don't use BP_SYM. Remove comment about bounded
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
3995 <bp-sym.h> and <bp-asm.h>.
3996 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
3998 <bp-sym.h> and <bp-asm.h>.
3999 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4002 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4004 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4007 2013-03-05 David S. Miller <davem@davemloft.net>
4009 * po/es.po: Update from translation team.
4011 2013-03-05 Andreas Jaeger <aj@suse.de>
4013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4014 <bits/mman-linux.h>.
4015 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4018 <bits/mman-linux.h> to end of file.
4019 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4021 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4022 <bits/mman-linux.h> to end of file.
4023 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4026 <bits/mman-linux.h> to end of file.
4028 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4029 (MCL_CURRENT, MCL_FUTURE): Define here.
4031 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4034 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4036 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4038 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4040 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4041 fourth parameter needed for rt_sigprocmask syscall.
4042 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4043 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4044 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4045 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4046 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4047 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4049 2013-03-04 Joseph Myers <joseph@codesourcery.com>
4052 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4053 comment about bounded pointers.
4054 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4055 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4057 2013-03-04 Andreas Jaeger <aj@suse.de>
4059 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4062 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4063 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4064 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4069 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4073 __ieee754_sqrl instead of __sqrl.
4075 2013-03-01 Joseph Myers <joseph@codesourcery.com>
4077 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4078 * sysdeps/powerpc/fpu_control.h: ... here.
4079 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4080 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4081 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4082 * sysdeps/powerpc/bits/mathinline.h: ... here.
4084 2013-03-01 Roland McGrath <roland@hack.frob.com>
4086 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4087 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4088 to just [NEED_DL_SYSINFO_DSO].
4089 * elf/dl-support.c: Likewise.
4090 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4091 * elf/rtld.c (dl_main): Likewise.
4092 * elf/setup-vdso.h (setup_vdso): Likewise.
4093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4094 * sysdeps/unix/sysv/linux/dl-sysdep.c
4095 (_dl_discover_osversion): Likewise.
4097 2013-03-01 Carlos O'Donell <carlos@redhat.com>
4099 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4100 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4102 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4104 * NEWS: Mention libm performance improvements and non-x86 PI
4107 * csu/libc-start.c (__pthread_initialize_minimal): Change
4109 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4111 2013-02-28 Joseph Myers <joseph@codesourcery.com>
4114 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4115 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4116 <bp-sym.h> and <bp-asm.h>.
4117 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4120 (memcpy): Don't use BP_SYM.
4121 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4123 (__mpn_add_n): Don't use BP_SYM.
4124 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4125 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4127 (__mpn_addmul_1): Don't use BP_SYM.
4128 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4129 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4131 (_setjmp): Don't use BP_SYM.
4132 (__novmx_setjmp): Likewise.
4133 (__GI__setjmp): Likewise.
4134 (__vmx_setjmp): Likewise.
4135 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4137 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4138 (__bzero): Don't use BP_SYM.
4139 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4140 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4141 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4142 <bp-sym.h> and <bp-asm.h>.
4143 (memcpy): Don't use BP_SYM.
4144 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4145 <bp-sym.h> and <bp-asm.h>.
4146 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4147 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4148 <bp-sym.h> and <bp-asm.h>.
4149 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4150 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4152 (__mpn_lshift): Don't use BP_SYM.
4153 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4154 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4156 (memset): Don't use BP_SYM.
4157 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4158 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4159 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4161 (__mpn_mul_1): Don't use BP_SYM.
4162 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4163 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4164 <bp-sym.h> and <bp-asm.h>.
4165 (memcmp): Don't use BP_SYM.
4166 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4167 <bp-sym.h> and <bp-asm.h>.
4168 (memcpy): Don't use BP_SYM.
4169 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4170 <bp-sym.h> and <bp-asm.h>.
4171 (memset): Don't use BP_SYM.
4172 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4173 <bp-sym.h> and <bp-asm.h>.
4174 (strncmp): Don't use BP_SYM.
4175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4176 <bp-sym.h> and <bp-asm.h>.
4177 (memcpy): Don't use BP_SYM.
4178 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4179 <bp-sym.h> and <bp-asm.h>.
4180 (memset): Don't use BP_SYM.
4181 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4182 <bp-sym.h> and <bp-asm.h>.
4183 (__memchr): Don't use BP_SYM.
4184 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4185 <bp-sym.h> and <bp-asm.h>.
4186 (memcmp): Don't use BP_SYM.
4187 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4188 <bp-sym.h> and <bp-asm.h>.
4189 (memcpy): Don't use BP_SYM.
4190 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4191 <bp-sym.h> and <bp-asm.h>.
4192 (__mempcpy): Don't use BP_SYM.
4193 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4194 <bp-sym.h> and <bp-asm.h>.
4195 (__memrchr): Don't use BP_SYM.
4196 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4197 <bp-sym.h> and <bp-asm.h>.
4198 (memset): Don't use BP_SYM.
4199 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4200 <bp-sym.h> and <bp-asm.h>.
4201 (__rawmemchr): Don't use BP_SYM.
4202 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4203 <bp-sym.h> and <bp-asm.h>.
4204 (__STRCMP): Don't use BP_SYM.
4205 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4206 <bp-sym.h> and <bp-asm.h>.
4207 (strchr): Don't use BP_SYM.
4208 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4209 <bp-sym.h> and <bp-asm.h>.
4210 (__strchrnul): Don't use BP_SYM.
4211 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4212 <bp-sym.h> and <bp-asm.h>.
4213 (strlen): Don't use BP_SYM.
4214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4215 <bp-sym.h> and <bp-asm.h>.
4216 (strncmp): Don't use BP_SYM.
4217 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4218 <bp-sym.h> and <bp-asm.h>.
4219 (__strnlen): Don't use BP_SYM.
4220 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4222 (__mpn_rshift): Don't use BP_SYM.
4223 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4224 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4225 <bp-sym.h> and <bp-asm.h>.
4226 (__sigsetjmp): Don't use BP_SYM.
4227 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4228 (L(start_addresses)): Don't use BP_SYM.
4230 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4232 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4233 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4234 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4235 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4237 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4238 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4239 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4240 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4242 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4244 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4245 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4247 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4249 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4250 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4251 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4253 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4255 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4257 (strncmp): Don't use BP_SYM,
4258 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4260 (__mpn_sub_n): Don't use BP_SYM.
4261 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4262 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4264 (__mpn_submul_1): Don't use BP_SYM.
4265 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4267 <bp-sym.h> and <bp-asm.h>.
4268 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4270 <bp-sym.h> and <bp-asm.h>.
4271 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4274 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4277 Use ZK to minimize writes to Z.
4278 (sub_magnitudes): Simplify code a bit.
4279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4280 Use ZK to minimize writes to Z.
4281 (sub_magnitudes): Simplify code a bit.
4283 2013-02-27 Roland McGrath <roland@hack.frob.com>
4285 * csu/gmon-start.c: Add special exception to license text.
4287 2013-02-27 Richard Henderson <rth@redhat.com>
4289 * scripts/config.guess: Update from config.git.
4290 * scripts/config.sub: Likewise.
4292 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4294 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4296 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4298 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4300 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4302 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4304 2013-02-26 Roland McGrath <roland@hack.frob.com>
4306 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4307 [$(build-shared = yes].
4309 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4311 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4312 (__mul): Reduce iterations for calculating mantissa.
4314 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4316 (__mpranred): Likewise.
4319 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4320 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4322 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4324 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4325 Define __attribute__.
4327 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4329 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4331 * posix/regex_internal.h (__attribute): Remove.
4332 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4333 (re_string_context_at): Likewise.
4334 (bitset_not): Use __attribute__ and mark function as possibly
4336 (bitset_merge): Likewise.
4337 (bitset_mask): Likewise.
4338 (re_string_char_size_at): Likewise.
4339 (re_string_wchar_at): Likewise.
4340 (re_string_elem_size_at): Likewise.
4342 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4344 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4348 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4353 (__dbl_mp): Likewise.
4354 (add_magnitudes): Likewise.
4355 (sub_magnitudes): Likewise.
4359 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4362 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4365 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4369 up changes with default code.
4370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4373 2013-02-24 Allan McRae <allan@archlinux.org>
4375 * manual/socket.texi (The Internet Namespace): Order menu items
4376 to match that in the file.
4378 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4379 node listing of the info page menu.
4381 2013-02-21 Joseph Myers <joseph@codesourcery.com>
4384 * sysdeps/i386/bp-asm.h: Remove file.
4385 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4386 (PARMS): Do not use macros from bp-asm.h.
4390 (__mpn_add_n): Do not use BP_SYM
4391 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4393 (PARMS): Do not use macros from bp-asm.h.
4396 (__mpn_addmul_1): Do not use BP_SYM
4397 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4399 (PARMS): Do not use macros from bp-asm.h.
4401 (_setjmp): Likewise. Do not use BP_SYM.
4402 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4404 (PARMS): Do not use macros from bp-asm.h.
4406 (setjmp): Likewise. Do not use BP_SYM.
4407 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4409 (PARMS): Do not use macros from bp-asm.h.
4410 (__frexp): Do not use BP_SYM.
4412 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4414 (PARMS): Do not use macros from bp-asm.h.
4415 (__frexpf): Do not use BP_SYM.
4417 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4419 (PARMS): Do not use macros from bp-asm.h.
4420 (__frexpl): Do not use BP_SYM.
4422 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4424 (PARMS): Do not use macros from bp-asm.h.
4425 (__remquo): Do not use BP_SYM.
4427 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4429 (PARMS): Do not use macros from bp-asm.h.
4430 (__remquof): Do not use BP_SYM.
4431 (remquof): Likewise.
4432 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4434 (PARMS): Do not use macros from bp-asm.h.
4435 (__remquol): Do not use BP_SYM.
4436 (remquol): Likewise.
4437 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4439 (PARMS): Do not use macros from bp-asm.h.
4442 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4443 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4445 (PARMS): Do not use macros from bp-asm.h.
4446 (strlen): Do not use BP_SYM.
4447 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4449 (PARMS): Do not use macros from bp-asm.h.
4453 (__mpn_add_n): Do not use BP_SYM.
4454 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4456 (PARMS): Do not use macros from bp-asm.h.
4459 (__mpn_addmul_1): Do not use BP_SYM.
4460 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4463 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4465 (PARMS): Do not use macros from bp-asm.h.
4468 (__mpn_lshift): Do not use BP_SYM.
4469 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4471 (PARMS): Do not use macros from bp-asm.h.
4475 (memcpy): Likewise. Do not use BP_SYM.
4476 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4477 libc_hidden_def and weak_alias.
4478 (mempcpy): Do not use BP_SYM in weak_alias.
4479 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4481 (PARMS): Do not use macros from bp-asm.h.
4484 [!BZERO_P] (CHR): Likewise.
4485 (memset): Likewise. Do not use BP_SYM.
4486 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4488 (PARMS): Do not use macros from bp-asm.h.
4491 (__mpn_mul_1): Do not use BP_SYM.
4492 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4494 (PARMS): Do not use macros from bp-asm.h.
4497 (__mpn_rshift): Do not use BP_SYM.
4498 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4500 (PARMS): Do not use macros from bp-asm.h.
4503 (strchr): Likewise. Do not use BP_SYM.
4504 (index): Do not use BP_SYM in weak_alias.
4505 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4507 (PARMS): Do not use macros from bp-asm.h.
4510 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4511 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4513 (PARMS): Do not use macros from bp-asm.h.
4514 (strlen): Do not use BP_SYM.
4515 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4517 (PARMS): Do not use macros from bp-asm.h.
4521 (__mpn_sub_n): Do not use BP_SYM.
4522 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4524 (PARMS): Do not use macros from bp-asm.h.
4527 (__mpn_submul_1): Do not use BP_SYM.
4528 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4530 (PARMS): Do not use macros from bp-asm.h.
4534 (__mpn_add_n): Do not use BP_SYM.
4535 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4538 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4540 (PARMS): Do not use macros from bp-asm.h.
4543 (memcmp): Do not use BP_SYM.
4544 (bcmp): Do not use BP_SYM in weak_alias.
4545 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4547 (PARMS): Do not use macros from bp-asm.h.
4551 (memcpy): Likewise. Do not use BP_SYM.
4552 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4554 (PARMS): Do not use macros from bp-asm.h.
4558 (memmove): Likewise. Do not use BP_SYM.
4559 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4561 (PARMS): Do not use macros from bp-asm.h.
4565 (__mempcpy): Likewise. Do not use BP_SYM.
4566 (mempcpy): Do not use BP_SYM in weak_alias.
4567 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4569 (PARMS): Do not use macros from bp-asm.h.
4572 [!BZERO_P] (CHR): Likewise.
4573 (memset): Likewise. Do not use BP_SYM.
4574 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4576 (PARMS): Do not use macros from bp-asm.h.
4578 (strcmp): Do not use BP_SYM.
4579 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4581 (PARMS): Do not use macros from bp-asm.h.
4584 [USE_AS_STRTOK_R] (SAVE): Likewise.
4585 (FUNCTION): Likewise. Do not use BP_SYM.
4586 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4588 (strtok_r): Likewise.
4589 (__GI___strtok_r): Likewise.
4590 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4591 (PARMS): Do not use macros from bp-asm.h.
4594 (__mpn_lshift): Do not use BP_SYM.
4595 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4596 (PARMS): Do not use macros from bp-asm.h.
4599 (__memchr): Do not use BP_SYM.
4600 (memchr): Do not use BP_SYM in weak_alias.
4601 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4602 (PARMS): Do not use macros from bp-asm.h.
4605 (memcmp): Do not use BP_SYM.
4606 (bcmp): Do not use BP_SYM in weak_alias.
4607 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4608 (PARMS): Do not use macros from bp-asm.h.
4611 (__mpn_mul_1): Do not use BP_SYM.
4612 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4614 (PARMS): Do not use macros from bp-asm.h.
4617 (__rawmemchr): Do not use BP_SYM.
4618 (rawmemchr): Do not use BP_SYM in weak_alias.
4619 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4620 (PARMS): Do not use macros from bp-asm.h.
4623 (__mpn_rshift): Do not use BP_SYM.
4624 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4625 (PARMS): Do not use macros from bp-asm.h.
4627 (__sigsetjmp): Likewise. Do not use BP_SYM.
4628 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4629 (_start): Do not use BP_SYM.
4630 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4631 (PARMS): Do not use macros from bp-asm.h.
4634 (__stpcpy): Likewise. Do not use BP_SYM.
4635 (stpcpy): Do not use BP_SYM in weak_alias.
4636 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4638 (PARMS): Do not use macros from bp-asm.h.
4642 (__stpncpy): Likewise. Do not use BP_SYM.
4643 (stpncpy): Do not use BP_SYM in weak_alias.
4644 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4645 (PARMS): Do not use macros from bp-asm.h.
4648 (strchr): Likewise. Do not use BP_SYM.
4649 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4651 (PARMS): Do not use macros from bp-asm.h.
4654 (__strchrnul): Likewise. Do not use BP_SYM.
4655 (strchrnul): Do not use BP_SYM in weak_alias.
4656 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4658 (PARMS): Do not use macros from bp-asm.h.
4660 (strcspn): Do not use BP_SYM.
4661 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4663 (PARMS): Do not use macros from bp-asm.h.
4666 (strpbrk): Likewise. Do not use BP_SYM.
4667 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4669 (PARMS): Do not use macros from bp-asm.h.
4672 (strrchr): Likewise. Do not use BP_SYM.
4673 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4674 (PARMS): Do not use macros from bp-asm.h.
4676 (strspn): Do not use BP_SYM.
4677 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4678 (PARMS): Do not use macros from bp-asm.h.
4682 (FUNCTION): Likewise. Do not use BP_SYM.
4683 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4685 (strtok_r): Likewise.
4686 (__GI___strtok_r): Likewise.
4687 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4688 (PARMS): Do not use macros from bp-asm.h.
4692 (__mpn_sub_n): Do not use BP_SYM.
4693 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4695 (PARMS): Do not use macros from bp-asm.h.
4698 (__mpn_submul_1): Do not use BP_SYM.
4699 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4701 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4703 (PARMS): Do not use macros from bp-asm.h.
4708 (__clone): Do not use BP_SYM.
4709 (clone): Do not use BP_SYM in weak_alias.
4710 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
4712 (PARMS): Do not use macros from bp-asm.h.
4714 (__mmap64): Do not use BP_SYM.
4715 (mmap64): Do not use BP_SYM in weak_alias.
4716 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4717 <bp-sym.h> and <bp-asm.h>.
4718 (PARMS): Do not use macros from bp-asm.h.
4719 (__posix_fadvise64_l64): Do not use BP_SYM.
4720 * sysdeps/unix/sysv/linux/i386/semtimedop.S
4721 (PARMS): Do not use macros from bp-asm.h.
4723 (semtimedop): Do not use BP_SYM.
4724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4727 2013-02-21 Allan McRae <allan@archlinux.org>
4729 * manual/message.texi (Charset conversion in gettext):
4730 Move @end statement to beginning of line.
4732 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4744 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4746 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
4747 tail-call to the resolved function if pltexit isn't needed.
4749 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
4752 or Y being zero as being unlikely.
4753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4756 2013-02-20 Carlos O'Donell <carlos@redhat.com>
4758 * manual/nss.texi (System Databases and Name Service Switch):
4759 Remove frobnicate @pxref.
4761 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4763 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4764 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4766 2013-02-20 Petr Machata <pmachata@redhat.com>
4768 * elf/elf.h (R_ARM_TARGET1): New macro.
4769 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
4770 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
4771 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
4772 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
4773 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
4774 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
4775 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
4776 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
4777 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
4778 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
4779 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
4780 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
4781 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
4782 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
4783 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
4784 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
4785 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
4786 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
4787 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
4788 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
4789 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
4790 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
4791 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
4792 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
4793 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
4794 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
4795 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
4796 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
4797 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
4798 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
4799 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
4800 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
4801 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
4802 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
4803 (R_ARM_THM_GOT_BREL12): Likewise.
4804 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
4805 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
4806 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
4807 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
4808 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
4809 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
4810 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
4811 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
4812 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
4814 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4816 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4817 __attribute_used__ to __attribute__ ((unused)).
4819 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4821 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4827 2013-02-19 Joseph Myers <joseph@codesourcery.com>
4830 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4832 (ENTER): Remove both macro definitions.
4834 (CHECK_BOUNDS_LOW): Likewise.
4835 (CHECK_BOUNDS_HIGH): Likewise.
4836 (CHECK_BOUNDS_BOTH): Likewise.
4837 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
4838 (RETURN_BOUNDED_POINTER): Likewise.
4839 (RETURN_NULL_BOUNDED_POINTER): Likewise.
4840 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
4841 (POP_ERRNO_LOCATION_RETURN): Likewise.
4842 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
4843 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4844 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
4846 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4847 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
4848 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
4849 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
4850 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
4851 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
4852 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
4853 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
4854 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
4855 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
4856 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
4857 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
4858 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4859 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
4861 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4862 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4864 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4865 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
4866 * sysdeps/i386/i586/memset.S (memset): Likewise.
4867 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
4868 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4869 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
4871 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4872 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
4873 Change uses of L(2) to L(out).
4874 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
4875 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
4876 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
4877 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4878 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
4880 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4881 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4883 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4884 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
4885 (RETURN): Do not use macro LEAVE.
4886 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
4887 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
4888 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
4889 * sysdeps/i386/i686/memset.S (memset): Likewise.
4890 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
4891 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
4892 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4893 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
4895 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4896 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
4897 L(1_2) and L(1_3) into L(1).
4898 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4899 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
4900 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4901 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
4902 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4903 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
4904 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
4905 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4906 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
4908 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
4909 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4910 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
4911 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
4912 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
4913 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4914 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
4915 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
4916 * sysdeps/i386/strcspn.S (strcspn): Likewise.
4917 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
4918 * sysdeps/i386/strrchr.S (strrchr): Likewise.
4919 * sysdeps/i386/strspn.S (strspn): Likewise.
4920 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
4922 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4923 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
4924 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
4925 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
4927 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
4928 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4929 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
4931 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4933 2013-02-19 Jakub Jelinek <jakub@redhat.com>
4935 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4938 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4940 * math/atest-exp.c (exp_mpn): Remove ROUND.
4941 * math/atest-exp2.c (exp_mpn): Likewise.
4942 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
4944 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
4945 * stdlib/tst-tls-atexit-lib.c: Likewise.
4946 * stdlib/tst-tls-atexit.c: Likewise.
4948 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4950 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4951 and __attribute_alloc_size__.
4953 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4955 * include/programs/xmalloc.h: Change __attribute_alloc_size to
4956 __attribute_alloc_size__.
4957 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
4958 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
4960 2013-02-18 Mike Frysinger <vapier@gentoo.org>
4962 * include/programs/xmalloc.h: New file.
4963 * catgets/gencat.c: Include it.
4964 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
4965 * elf/pldd.c: Likewise.
4966 * iconv/iconv_charmap.c: Likewise.
4967 * iconv/iconvconfig.c: Likewise.
4968 * iconv/strtab.c: Likewise.
4969 * locale/programs/locale.c: Likewise.
4970 * locale/programs/localedef.h: Likewise.
4971 * locale/programs/simple-hash.c: Likewise.
4972 * nscd/nscd.h: Likewise.
4973 * nss/makedb.c: Likewise.
4974 * sysdeps/generic/ldconfig.h: Likewise.
4976 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4978 * Versions.def: Add GLIBC_2.18.
4979 * include/link.h (struct link_map): New member l_tls_dtor_count.
4980 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
4981 (__call_tls_dtors): Likewise.
4982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
4983 __cxa_thread_atexit_impl.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5000 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5001 (tests): Add test case tst-tls-atexit.
5002 (modules-names): Add shared library for tst-tls-atexit.
5003 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5004 (GLIBC_PRIVATE): Add __call_tls_dtors.
5005 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5007 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5008 * stdlib/tst-tls-atexit.c: New test case.
5009 * stdlib/tst-tls-atexit-lib.c: New test case.
5011 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
5013 * elf/Versions (ld): Add _dl_find_dso_for_object.
5014 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5015 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5016 (dl_open_worker): Use _dl_find_dso_for_object.
5017 * elf/dl-sym.c (do_sym): Likewise.
5018 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5020 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5022 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5023 Syntactic changes only.
5024 (_dl_runtime_profile): Do a tail-call to the resolved function.
5026 2013-02-17 Joseph Myers <joseph@codesourcery.com>
5029 * sysdeps/x86_64/bp-asm.h: Remove file.
5030 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5031 <bp-sym.h> and <bp-asm.h>.
5032 (__clone): Do not use BP_SYM.
5033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5034 <bp-sym.h> and <bp-asm.h>.
5035 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5036 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5038 (_setjmp): Do not use BP_SYM.
5039 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5041 (setjmp): Do not use BP_SYM.
5042 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5044 (mempcpy): Do not use BP_SYM in weak_alias.
5045 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5047 (strchr): Do not use BP_SYM.
5048 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5050 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5051 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5052 (_start): Do not use BP_SYM.
5053 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5055 (strcat): Do not use BP_SYM.
5056 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5058 (STRCMP): Do not use BP_SYM.
5059 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5061 (STRCPY): Do not use BP_SYM.
5062 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5064 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5066 (FUNCTION): Do not use BP_SYM.
5067 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5069 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5071 2013-02-17 Andreas Jaeger <aj@suse.de>
5073 * time/Versions: Sort entries.
5074 * string/Versions: Likewise.
5075 * resolv/Versions: Likewise.
5076 * posix/Versions: Likewise.
5077 * iconv/Versions: Likewise.
5078 * elf/Versions: Likewise.
5079 * wcsmbs/Versions: Likewise.
5081 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5083 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5084 loop termination condition.
5086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5087 variable to calculate EZ.
5090 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5091 the lower precision input.
5093 2013-02-15 Joseph Myers <joseph@codesourcery.com>
5096 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5097 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5098 (run-via-rtld-prefix): Do not handle %-bp tests.
5099 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5100 (all-object-suffixes): Remove .ob.
5101 (bppfx): Remove variable.
5102 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5103 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5104 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5105 [$(build-bounded) = yes] (libtype.ob): Likewise.
5106 * Makerules (elide-routines.ob): Remove variable.
5107 (do-tests-clean): Do not handle *-bp.out.
5108 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5109 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5110 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5111 (tests): Do not include $(tests-bp.out).
5112 (xtests): Do not include $(xtests-bp.out).
5113 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5114 [$(build-bounded) = yes] ($(addprefix
5115 $(objpfx),$(binaries-bounded))): Remove rule.
5116 ($(objpfx)%-bp.out): Remove rule.
5117 * config.make.in (build-bounded): Remove variable.
5118 * crypt/Makefile [$(build-bounded) = yes]
5119 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5120 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5122 [$(build-bounded) = yes] (install-lib): Likewise.
5123 [$(build-bounded) = yes] (generated): Likewise.
5124 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5126 * intl/Makefile [$(build-bounded) = yes]
5127 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5128 * math/Makefile [$(build-bounded) = yes]
5129 ($(tests:%=$(objpfx)%-bp): Likewise.
5130 * misc/Makefile [$(build-bounded) = yes]
5131 ($(objpfx)tst-tsearch-bp): Likewise.
5132 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5133 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5135 * string/Makefile (o-objects.ob): Remove variable.
5136 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5137 (CFLAGS-.ob): Remove variable.
5138 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5139 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5140 both definitions of variable.
5141 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5142 (ASFLAGS-.ob): Remove variable.
5144 2013-02-14 Joseph Myers <joseph@codesourcery.com>
5147 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5148 Remove __BOUNDED_POINTERS__ from condition.
5149 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5150 * string/bits/string2.h [!__NO_STRING_INLINES &&
5151 !__BOUNDED_POINTERS__]: Likewise.
5152 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5154 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5155 Remove conditional code.
5156 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5157 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5158 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5162 * csu/libc-start.c: Do not include <bp-sym.h>.
5163 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5164 * elf/dl-open.c: Do not include <bp-sym.h>.
5165 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5166 * math/fegetenv.c: Do not include <bp-sym.h>.
5167 (fegetenv): Do not use BP_SYM in versioned symbols.
5168 * nptl/sysdeps/pthread/bits/libc-lockP.h
5169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5172 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5174 (__pthread_mutex_destroy): Likewise.
5175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5176 (__pthread_mutex_lock): Likewise.
5177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5178 (__pthread_mutex_trylock): Likewise.
5179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5180 (__pthread_mutex_unlock): Likewise.
5181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5182 (__pthread_mutexattr_init): Likewise.
5183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5184 (__pthread_mutexattr_destroy): Likewise.
5185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5186 (__pthread_mutexattr_settype): Likewise.
5187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5188 (__pthread_rwlock_init): Likewise.
5189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5190 (__pthread_rwlock_destroy): Likewise.
5191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5192 (__pthread_rwlock_rdlock): Likewise.
5193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5194 (__pthread_rwlock_tryrdlock): Likewise.
5195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5196 (__pthread_rwlock_wrlock): Likewise.
5197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5198 (__pthread_rwlock_trywrlock): Likewise.
5199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5200 (__pthread_rwlock_unlock): Likewise.
5201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5202 (__pthread_key_create): Likewise.
5203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5204 (__pthread_setspecific): Likewise.
5205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5206 (__pthread_getspecific): Likewise.
5207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5210 (_pthread_cleanup_push_defer): Likewise.
5211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5212 (_pthread_cleanup_pop_restore): Likewise.
5213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5214 (pthread_setcancelstate): Likewise.
5215 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5217 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5218 (memchr): Do not use BP_SYM in weak_alias.
5219 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5220 (fegetenv): Do not use BP_SYM in versioned symbols.
5221 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5222 (fesetenv): Do not use BP_SYM in versioned symbols.
5223 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5224 (feupdateenv): Do not use BP_SYM in versioned symbols.
5225 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5226 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5227 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5228 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5229 (open64): Do not use BP_SYM in weak_alias.
5230 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5231 (fegetenv): Do not use BP_SYM in versioned symbols.
5232 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5233 (fesetenv): Do not use BP_SYM in versioned symbols.
5234 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5235 (feupdateenv): Do not use BP_SYM in versioned symbols.
5236 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5237 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5238 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5239 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5240 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5241 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5242 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5244 (__libc_start_main): Do not use BP_SYM.
5246 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5249 redundant return line.
5253 (sub_magnitudes): Likewise.
5259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5263 (sub_magnitudes): Likewise.
5270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5273 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5276 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5277 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5279 of __mul for squares.
5280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5285 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5287 2013-02-13 Joseph Myers <joseph@codesourcery.com>
5290 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5292 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5293 prototype or function definition. Rename ubp_* variables and
5294 parameters. Remove argv definitions conditional on
5295 [__BOUNDED_POINTERS__].
5296 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5297 * elf/dl-runtime.c (_dl_fixup): Likewise.
5298 * include/set-hooks.h (RUN_HOOK): Likewise.
5299 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5301 * string/strcpy.c (strcpy): Do not use __unbounded.
5302 * sysdeps/generic/frame.h (struct layout): Likewise.
5303 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5304 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5305 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5306 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5307 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5308 (__backtrace): Likewise.
5309 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5311 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5312 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5313 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5315 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5316 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5317 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5318 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5319 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5320 Do not use __unbounded.
5321 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5322 Rename __unboundedrlimits parameter to rlimits in prototype.
5323 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5324 Do not use __unbounded.
5325 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5327 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5328 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5329 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5331 __ptrvalue or __unbounded.
5332 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5333 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5335 (__new_msgctl): Do not use __ptrvalue.
5336 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5338 (__libc_msgrcv): Do not use __ptrvalue.
5339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5340 startup_info): Do not use __unbounded.
5341 (__libc_start_main): Likewise. Rename ubp_* variables and
5342 parameters. Remove argv definitions conditional on
5343 [__BOUNDED_POINTERS__].
5344 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5346 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5350 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5352 (__new_shmctl): Do not use __ptrvalue.
5353 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5354 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5356 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5358 (__libc_sigaction): Likewise.
5359 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5360 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5362 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5364 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
5366 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
5368 * string/mempcpy.c: Implement by calling memcpy.
5370 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5377 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5378 values in the mantissa.
5380 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5381 minimize writes to Z.
5382 (sub_magnitudes): Simplify code a bit.
5384 2013-02-12 Roland McGrath <roland@hack.frob.com>
5386 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5387 from the message. The linker prefixes all warnings with that already.
5389 2013-02-12 Andreas Schwab <schwab@suse.de>
5392 * posix/regexec.c (extend_buffers): Add parameter min_len.
5393 (check_matching): Pass minimum needed length.
5394 (clean_state_log_if_needed): Likewise.
5395 (get_subexp): Likewise.
5396 * posix/Makefile (tests): Add bug-regex34.
5397 (bug-regex34-ENV): Define.
5398 * posix/bug-regex34.c: New file.
5401 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5402 elements compare against the byte sequence of it, not its name.
5403 * posix/Makefile (tests): Add bug-regex35.
5404 (bug-regex35-ENV): Define.
5405 * posix/bug-regex35.c: New file.
5407 2013-02-11 Tom de Vries <tom@codesourcery.com>
5409 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5411 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5412 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5413 (CHECK_EOL): Add undef.
5415 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
5417 * bits/stdlib-bsearch.h: New file.
5418 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
5419 * stdlib/stdlib.h: Likewise.
5421 2013-02-11 Roland McGrath <roland@hack.frob.com>
5423 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5424 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5426 * manual/search.texi (Array Search Function): Add missing const in
5428 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5429 declaration to use rlim_t.
5430 (Basic Scheduling Functions): Remove erroneous const from
5431 sched_getparam prototype. Remove erroneous * from
5432 sched_get_priority_max and sched_get_priority_min prototypes.
5433 (Resource Usage): Fix summary @comment on vtimes to refer to
5434 sys/vtimes.h rather than vtimes.h.
5435 Add missing *s in vtimes prototype.
5436 (Limits on Resources): Fix ulimit prototype to return long int.
5437 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5438 prototypes to use long int rather than double.
5439 (BSD Random): Fix initstate and setstate to use char *, not void *.
5440 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5441 prototype to make second argument 'struct aiocb64 *const[]'.
5442 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5443 (Status of AIO Operations): Remove erroneous const in aio_return and
5444 aio_return64 prototypes.
5445 (Synchronizing I/O): Fix sync prototype to return void.
5446 * manual/startup.texi (Suboptions): Remove an erroneous const in
5447 getsubopt prototype.
5448 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5449 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5450 use size_t rather than int.
5451 (Scanning All Users): Likewise for getpwent_r.
5452 (Setting Groups): Add missing const to setgroups prototype.
5453 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5454 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5455 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5456 'const void *' rather than 'const char *'.
5457 (Host Address Functions): Likewise for inet_ntop.
5458 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5459 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5460 ssize_t for return value.
5461 (Sending Data): Likewise for send, sendto, sendmsg.
5462 (Socket Option Functions): Add a missing const in setsockopt prototype.
5463 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5464 use wchar_t for the argument.
5465 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5466 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5468 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5469 double/float/long double for second argument.
5470 Fix return types of significand, significandf, significandl.
5471 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5472 argument in fchmod prototype.
5473 (File Owner): Use uid_t and gid_t in fchown prototype.
5474 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5475 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5476 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5477 use 'const struct dirent **' as argument types to CMP function pointer
5479 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5480 (File Times): Fix summary magic @comment for struct utimbuf and utime
5481 to refer to utime.h, not time.h.
5482 * manual/string.texi (Argz Functions): Add missing const in
5483 argz_extract and argz_next prototypes.
5484 (Finding Tokens in a String): Likewise for basename.
5485 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5486 (Copying and Concatenation): Fix typo in wmemmove prototype.
5487 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5488 (Signal Stack): Remove erroneous const in sigstack prototype.
5489 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5491 (Simple Calendar Time): Likewise for stime.
5492 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5494 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5495 say sys/sysctl.h instead.
5496 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5497 and vsyslog prototypes.
5499 2013-02-11 Tom de Vries <tom@codesourcery.com>
5501 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5504 2013-02-11 Roland McGrath <roland@hack.frob.com>
5506 * misc/sys/mman.h: Fix typo in mremap comment.
5508 2013-02-08 Roland McGrath <roland@hack.frob.com>
5510 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5511 the '\0' terminator.
5513 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5516 * debug/segfault.c: Don't include <bp-checks.h>.
5517 * sysdeps/generic/bp-checks.h: Remove file.
5518 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5519 (__GETDENTS): Don't use CHECK_N.
5520 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5522 (__getgroups): Don't use CHECK_N.
5523 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5524 (setgroups): Don't use CHECK_N.
5525 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5526 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5527 (__libc_msgrcv): Don't use CHECK_N.
5528 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5529 (__libc_msgsnd): Don't use CHECK_N.
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5532 (__libc_pread): Don't use CHECK_N.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5534 include <bp-checks.h>.
5535 (__libc_pread64): Don't use CHECK_N.
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5537 include <bp-checks.h>.
5538 (__libc_pwrite): Don't use CHECK_N.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5540 include <bp-checks.h>.
5541 (__libc_pwrite64): Don't use CHECK_N.
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5544 (__libc_pread): Don't use CHECK_N.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5546 include <bp-checks.h>.
5547 (__libc_pread64): Don't use CHECK_N.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5549 include <bp-checks.h>.
5550 (__libc_pwrite): Don't use CHECK_N.
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5552 include <bp-checks.h>.
5553 (__libc_pwrite64): Don't use CHECK_N.
5554 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5555 (do_pread): Don't use CHECK_N.
5556 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5557 (do_pread64): Don't use CHECK_N.
5558 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5559 (do_pwrite): Don't use CHECK_N.
5560 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5561 (do_pwrite64): Don't use CHECK_N.
5562 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5563 (__libc_readv): Don't use CHECK_N.
5564 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5565 (semop): Don't use CHECK_N.
5566 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5568 (semtimedop): Don't use CHECK_N.
5569 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5570 (__libc_pread): Don't use CHECK_N.
5571 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5573 (__libc_pread64): Don't use CHECK_N.
5574 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5576 (__libc_pwrite): Don't use CHECK_N.
5577 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5579 (__libc_pwrite64): Don't use CHECK_N.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5582 (__libc_msgrcv): Don't use CHECK_N.
5583 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5584 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5585 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5586 (__libc_writev): Don't use CHECK_N.
5588 2013-02-08 Roland McGrath <roland@hack.frob.com>
5590 * string/strcpy.c: Removed unused variable.
5592 * Makeconfig (+sysdep-includes): Define with := rather than =.
5593 Use an existing include/ subdir of each sysdeps dir before it.
5595 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5597 * nscd/connection.c (register_traced_file): Comment function.
5598 [HAVE_INOTIFY] (union __inev): Define.
5599 [HAVE_INOTIFY] (inotify_check_files): New function.
5600 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5601 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5603 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5605 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5607 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5608 loaded if not already and that a failure is permanent.
5610 2013-02-08 Carlos O'Donell <carlos@redhat.com>
5613 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5614 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5616 2013-02-08 Joseph Myers <joseph@codesourcery.com>
5619 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5620 (CHECK_1_NULL_OK): Likewise.
5621 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5622 (__fxstat): Do not use CHECK_1.
5623 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5625 (___fxstat64): Do not use CHECK_1.
5626 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5628 (__fxstatat): Do not use CHECK_1.
5629 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5631 (__fxstatat64): Do not use CHECK_1.
5632 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5634 (__fxstat): Do not use CHECK_1.
5635 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5637 (__fxstatat): Do not use CHECK_1.
5638 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5640 (__getresgid): Do not use CHECK_1.
5641 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5643 (__getresuid): Do not use CHECK_1.
5644 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5646 (__lxstat): Do not use CHECK_1.
5647 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5649 (__old_msgctl): Do not use CHECK_1.
5650 (__new_msgctl): Likewise.
5651 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5653 (__new_setrlimit): Do not use CHECK_1.
5654 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5656 (__old_shmctl): Do not use CHECK_1.
5657 (__new_shmctl): Likewise.
5658 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5660 (__xstat): Do not use CHECK_1.
5661 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5662 (__lxstat): Do not use CHECK_1.
5663 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5665 (___lxstat64): Do not use CHECK_1.
5666 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5667 (__old_msgctl): Do not use CHECK_1.
5668 (__new_msgctl): Likewise.
5669 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5671 (__gettimeofday): Do not use CHECK_1.
5672 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5673 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5674 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5676 (__gettimeofday): Do not use CHECK_1.
5677 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5678 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5679 (__new_shmctl): Do not use CHECK_1.
5680 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5682 (do_sigtimedwait): Do not use CHECK_1.
5683 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5685 (do_sigwaitinfo): Do not use CHECK_1.
5686 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5688 (msgctl): Do not use CHECK_1.
5689 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5691 (shmctl): Do not use CHECK_1.
5692 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5693 (ustat): Do not use CHECK_1.
5694 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5696 (__fxstat): Do not use CHECK_1.
5697 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5699 (__fxstatat): Do not use CHECK_1.
5700 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5702 (__lxstat): Do not use CHECK_1.
5703 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5705 (__xstat): Do not use CHECK_1.
5706 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
5707 (__xstat): Do not use CHECK_1.
5708 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
5709 (___xstat64): Do not use CHECK_1.
5712 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5714 (CHECK_BOUNDS_HIGH): Likewise.
5715 * string/strcpy.c: Do not include <bp-checks.h>.
5716 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
5718 2013-02-07 Roland McGrath <roland@hack.frob.com>
5720 * nscd/nscd-client.h (__nscd_drop_map_ref):
5721 Add __attribute__ ((unused)).
5722 * nis/nss-nisplus.h (niserr2nss): Likewise.
5724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5725 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5727 * csu/libc-tls.c (init_static_tls, init_slotinfo):
5728 Remove inline keyword.
5729 * include/rounding-mode.h (round_away): Likewise.
5730 * libio/wfileops.c (adjust_wide_data): Likewise.
5731 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
5732 (__m128i_strloadu_tolower): Likewise.
5733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
5734 (__m128i_strloadu_tolower): Likewise.
5735 * time/mktime.c (ydhms_diff): Likewise.
5736 * locale/elem-hash.h (elem_hash): Likewise.
5737 * locale/setlocale.c (setdata): Likewise.
5738 * posix/regex_internal.h (re_string_char_size_at): Likewise.
5739 (re_string_wchar_at): Likewise.
5740 (bitset_not, bitset_merge, bitset_mask): Likewise.
5741 [!(__GNUC__ > 3)] (inline): Remove macro.
5742 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
5743 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
5744 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5745 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
5746 * string/memcmp.c (memcmp_bytes): Likewise.
5747 * locale/programs/locarchive.c (compute_hashval): Likewise.
5748 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
5749 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
5750 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
5751 * nss/getent.c (print_rpc, print_protocols): Likewise.
5752 (print_passwd, print_group, print_aliases): Likewise.
5753 * nis/nss-nisplus.h (niserr2nss): Likewise.
5754 * nscd/connections.c (restart_p): Likewise.
5755 Change return type to bool.
5757 2013-02-05 Roland McGrath <roland@hack.frob.com>
5759 * Makeconfig (all-Depend-files): Add existing
5760 $(sorted-subdirs:=/Depend) files.
5761 (all-subdirs): Remove nss.
5762 * sysdeps/unix/inet/Subdirs: Add it here instead.
5763 * hesiod/Depend: New file.
5765 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5766 instead of calling alloca.
5768 * io/lseek.c (__lseek): Rename to __libc_lseek.
5769 Define __lseek as an alias.
5771 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5773 2013-02-04 Carlos O'Donell <carlos@redhat.com>
5775 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5776 else clause and remove check for non-standard endianness.
5778 2013-02-04 David S. Miller <davem@davemloft.net>
5780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5782 2013-02-04 Joseph Myers <joseph@codesourcery.com>
5785 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
5786 (__ubp_memchr): Remove prototype.
5787 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
5788 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5789 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
5790 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
5791 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5793 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
5794 (__ubp_memchr): Likewise.
5795 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
5796 (__ubp_memchr): Likewise.
5797 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
5798 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
5799 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
5800 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
5802 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5803 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
5804 (__getcwd): Do not use CHECK_STRING.
5805 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5807 (__real_chown): Do not use CHECK_STRING.
5808 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5810 (fchownat): Do not use CHECK_STRING.
5811 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5813 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5815 (__lchown): Do not use CHECK_STRING.
5816 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5817 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5818 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5819 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5821 include <bp-checks.h>.
5822 (truncate64): Do not use CHECK_STRING.
5823 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5825 (__real_chown): Do not use CHECK_STRING.
5826 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5828 (__lchown): Do not use CHECK_STRING.
5829 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5831 (__chown): Do not use CHECK_STRING.
5832 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5834 (truncate64): Do not use CHECK_STRING.
5835 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5837 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
5838 (__xmknod): Do not use CHECK_STRING.
5839 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5841 (__xmknodat): Do not use CHECK_STRING.
5842 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5843 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5845 2013-02-04 Andreas Schwab <schwab@suse.de>
5848 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
5849 * include/netdb.h: Likewise for h_errno.
5850 * elf/tst-stackguard1.c: Include <tls.h>.
5852 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5854 * elf/link.h (struct link_map): Extend the l_addr comment.
5855 * include/link.h (struct link_map): Likewise.
5857 2013-02-01 Joseph Myers <joseph@codesourcery.com>
5860 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5861 (BOUNDED_1): Remove macro.
5862 * debug/backtrace.c: Don't include <bp-checks.h>.
5863 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
5864 (__backtrace): Likewise.
5865 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
5867 (__backtrace): Don't use BOUNDED_1.
5868 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5870 (__backtrace): Don't use BOUNDED_1.
5871 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
5872 (__backtrace): Don't use BOUNDED_1.
5873 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
5874 (shmat): Don't use BOUNDED_N.
5876 2013-01-31 Joseph Myers <joseph@codesourcery.com>
5879 * sysdeps/generic/bp-start.h: Remove file.
5880 * csu/libc-start.c: Don't include <bp-start.h>.
5881 (LIBC_START_MAIN): Set up __environ directly instead of using
5882 INIT_ARGV_and_ENVIRON.
5883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
5887 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5889 (CHECK_FCNTL): Likewise.
5890 (CHECK_N_PAGES): Likewise.
5893 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5895 (CHECK_SIGSET_NULL_OK): Likewise.
5896 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5898 (sigpending): Don't use CHECK_SIGSET.
5899 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5901 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5902 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5904 (do_sigsuspend): Don't use CHECK_SIGSET.
5905 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5907 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
5908 (do_sigwait): Don't use CHECK_SIGSET.
5909 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
5911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
5912 include <bp-checks.h>.
5913 (sigpending): Don't use CHECK_SIGSET.
5914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
5915 include <bp-checks.h>.
5916 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5917 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
5919 (sigpending): Don't use CHECK_SIGSET.
5920 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5922 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5925 * sysdeps/generic/bp-semctl.h: Remove file.
5926 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
5927 <bp-checks.h> and <bp-semctl.h>.
5928 (__old_semctl): Don't use CHECK_SEMCTL.
5929 (__new_semctl): Likewise.
5930 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
5932 (__old_semctl): Don't use CHECK_SEMCTL.
5933 (__new_semctl): Likewise.
5934 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
5935 <bp-checks.h> and <bp-semctl.h>.
5936 (__old_semctl): Don't use CHECK_SEMCTL.
5937 (__new_semctl): Likewise.
5938 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
5939 <bp-checks.h> and <bp-semctl.h>.
5940 (semctl): Don't use CHECK_SEMCTL.
5943 * Makerules (elide-bp-thunks): Remove variable.
5944 (elide-routines.oS): Don't use $(elide-bp-thunks).
5945 (elide-routines.os): Likewise.
5946 (elide-routines.o): Likewise.
5947 (elide-routines.op): Likewise.
5948 (elide-routines.og): Likewise.
5949 (objects): Don't use $(bp-thunks).
5950 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
5952 (common-generated): Do not add s-proto-bp.d.
5953 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5956 Do not generate makefile rules for bounded-pointer thunks.
5957 * sysdeps/generic/bp-thunks.h: Remove file.
5958 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
5959 * sysdeps/unix/s-proto-bp.S: Likewise.
5962 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
5963 parts of result separately when argument is not close to line from
5964 -i to i and one part of argument is small.
5965 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5966 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5967 * math/libm-test.inc (cacos_test): Add more tests.
5968 (casin_test): Likewise.
5969 (casinh_test): Likewise.
5970 * sysdeps/i386/fpu/libm-test-ulps: Update.
5971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5973 2013-01-31 David S. Miller <davem@davemloft.net>
5975 * po/de.po: Update from translation team.
5977 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5979 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5981 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5983 * configure.in (_AC_PROG_CC_C89): New definition.
5984 * configure: Regenerate.
5986 * configure.in (AC_PROG_CPP): New definition.
5987 * configure: Regenerate.
5989 2013-01-23 Joseph Myers <joseph@codesourcery.com>
5991 * debug/tst-backtrace.h: New file.
5992 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5993 (ret): Remove variable.
5995 (FAIL): Remove macro.
5996 (NO_INLINE): Likewise.
5997 (fn1): Use match function instead of strstr.
5998 * debug/tst-backtrace3.c: Include tst-backtrace.h.
5999 (ret): Remove variable.
6001 (FAIL): Remove macro.
6002 (NO_INLINE): Likewise.
6003 (fn): Use match function instead of strstr.
6004 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6005 (ret): Remove variable.
6007 (FAIL): Remove macro.
6008 (NO_INLINE): Likewise.
6009 (handle_signal): Use match function instead of strstr.
6010 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6011 (ret): Remove variable.
6013 (FAIL): Remove macro.
6014 (NO_INLINE): Likewise.
6015 (handle_signal): Use match function instead of strstr.
6017 2013-01-23 Roland McGrath <roland@hack.frob.com>
6019 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6021 2013-01-23 David S. Miller <davem@davemloft.net>
6023 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6024 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6025 argument of CAS if possible.
6026 * sysdeps/sparc/sparc64/bits/atomic.h
6027 (__arch_compare_and_exchange_val_32_acq): Likewise.
6028 (__arch_compare_and_exchange_val_64_acq): Likewise.
6030 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6032 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6033 * sysdeps/posix/ulimit.c: ... this.
6035 * sysdeps/unix/bsd/ulimit.c: Remove file.
6037 2013-01-23 Adam Conrad <adconrad@0c3.net>
6039 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6040 (LDFLAGS-tst-array5): Likewise.
6042 2013-01-23 Joseph Myers <joseph@codesourcery.com>
6045 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6046 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6047 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6048 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6050 2013-01-21 David S. Miller <davem@davemloft.net>
6052 * sysdeps/sparc/backtrace.c: New file.
6053 * sysdeps/sparc/sparc32/backtrace.h: New file.
6054 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6055 * sysdeps/sparc/sparc64/backtrace.h: New file.
6056 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6057 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6060 2013-01-21 Andreas Schwab <schwab@suse.de>
6063 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6066 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6072 2013-01-18 Joseph Myers <joseph@codesourcery.com>
6073 Mark Mitchell <mark@codesourcery.com>
6074 Tom de Vries <tom@codesourcery.com>
6075 Paul Pluzhnikov <ppluzhnikov@google.com>
6077 * debug/tst-backtrace2.c: New file.
6078 * debug/tst-backtrace3.c: Likewise.
6079 * debug/tst-backtrace4.c: Likewise.
6080 * debug/tst-backtrace5.c: Likewise.
6081 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6082 (CFLAGS-tst-backtrace3.c): Likewise.
6083 (CFLAGS-tst-backtrace4.c): Likewise.
6084 (CFLAGS-tst-backtrace5.c): Likewise.
6085 (LDFLAGS-tst-backtrace2): Likewise.
6086 (LDFLAGS-tst-backtrace3): Likewise.
6087 (LDFLAGS-tst-backtrace4): Likewise.
6088 (LDFLAGS-tst-backtrace5): Likewise.
6089 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6090 tst-backtrace4 and tst-backtrace5.
6092 2013-01-18 Anton Blanchard <anton@samba.org>
6093 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6095 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6096 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6097 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6098 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6100 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6101 "+r" and remove output regs list as redundant. Add explicit inline
6102 asm to specify register of return val to work around compiler codegen
6103 bug. Remove (int) cast on return value. Add return type parameter to
6104 use in macro so that this macro does not truncate return value for
6106 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6107 pass to INTERNAL_VSYSCALL_NCS.
6108 (INLINE_VSYSCALL): Add 'long int' as return type to
6109 INTERNAL_VSYSCALL_NCS macro invocation.
6110 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6111 INTERNAL_VSYSCALL_NCS macro invocation.
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6114 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6117 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6118 Fix application of SIMD FP exception mask.
6120 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6121 mp_no from a power of two.
6122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6123 __mpexp_twomm1. Use __pow_mp.
6125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6128 2013-01-17 David S. Miller <davem@davemloft.net>
6130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6132 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6135 * include/complex.h: Condition contents on [!_COMPLEX_H].
6136 (__kernel_casinhf): New prototype.
6137 (__kernel_casinh): Likewise.
6138 (__kernel_casinhl): Likewise.
6139 * math/Makefile (libm_calls): Add k_casinh.
6140 * math/k_casinh.c: New file.
6141 * math/k_casinhf.c: Likewise.
6142 * math/k_casinhl.c: Likewise.
6143 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6144 finite nonzero arguments.
6145 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6146 finite nonzero arguments.
6147 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6148 finite nonzero arguments.
6149 * math/s_casinh.c: Do not include <float.h>.
6150 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6151 * math/s_casinhf.c: Do not include <float.h>.
6152 (__casinhf): Move code for finite nonzero arguments to
6154 * math/s_casinhl.c: Do not include <float.h>.
6155 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6157 (__casinhl): Move code for finite nonzero arguments to
6159 * math/libm-test.inc (cacos_test): Add more tests.
6160 * sysdeps/i386/fpu/libm-test-ulps: Update.
6161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6165 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6166 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6167 [!HAVE_MREMAP]: Remove [defined linux] case.
6168 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6170 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6172 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6174 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
6176 * elf/elf.h (R_386_SIZE32): New relocation.
6177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6179 (elf_machine_rela): Likewise.
6180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6181 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6183 2013-01-17 Joseph Myers <joseph@codesourcery.com>
6185 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6186 (FP_FAST_FMA): Do not define.
6187 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6188 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6189 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6190 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6191 !_SOFT_FLOAT]: Likewise.
6192 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6193 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6196 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6197 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6198 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6199 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6200 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6203 2013-01-16 Andreas Schwab <schwab@suse.de>
6206 * include/stdlib.h (__mktemp): Add declaration.
6207 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6208 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6210 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6212 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6214 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6215 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6216 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6218 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6219 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6221 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6223 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6224 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6225 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6227 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6228 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6230 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
6232 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6234 2013-01-15 David S. Miller <davem@davemloft.net>
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6237 trunc{,f} to libm-sysdep_routes.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6249 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6251 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6252 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6253 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6256 nearbyint{,f} to libm-sysdep_routes.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6274 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6275 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6277 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6278 libc_feholdexcept and libc_fesetenv.
6280 2013-01-15 Mike Frysinger <vapier@gentoo.org>
6282 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6284 2013-01-14 David S. Miller <davem@davemloft.net>
6286 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6287 (SPARC_ASM_VIS2_IFUNC): Likewise.
6288 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6290 use of 'siam' instruction.
6291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6324 routines to libm-sysdep_routines.
6325 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6328 fdim/fdimf to libm-sysdep_routines.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6337 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6338 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6339 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6340 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6342 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6344 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6347 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6352 local variable MPTWO.
6353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6356 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6358 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6361 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6363 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6365 2013-01-13 Mike Frysinger <vapier@gentoo.org>
6367 * manual/pattern.texi (glob_t): Document gl_flags.
6368 (glob64_t): Likewise.
6370 2013-01-11 David S. Miller <davem@davemloft.net>
6372 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6373 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6374 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
6375 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6376 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6377 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6378 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6379 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6380 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6381 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6382 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6383 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6384 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6386 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6387 sparc V9 rather than using V8 code.
6388 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6389 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6391 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6393 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6396 2013-01-11 Roland McGrath <roland@hack.frob.com>
6398 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6399 not in the main loop.
6400 * configure: Regenerated.
6402 2013-01-11 Joseph Myers <joseph@codesourcery.com>
6404 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6405 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6407 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6408 [!__GLIBC_HAVE_LONG_LONG] case.
6409 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6410 condition to just #else.
6411 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6412 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6413 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6414 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6416 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6417 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6418 #elif condition to just #else.
6419 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6420 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6421 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6422 #elif condition to just #else.
6424 2013-01-11 Steve Ellcey <sellcey@mips.com>
6426 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6427 (EF_MIPS_ARCH_64): Fix value.
6428 (EF_MIPS_ARCH_32R2): New.
6429 (EF_MIPS_ARCH_64R2): New.
6431 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6433 * Makeconfig (+link-pie-before-libc): New.
6434 (+link-pie-after-libc): Likewise.
6435 (+link-pie-tests): Likewise.
6436 (+link-pie): Rewritten.
6437 (link-before-libc): Remove $(config-LDFLAGS).
6438 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6439 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6440 (config-LDFLAGS): Renamed to ...
6441 (rtld-LDFLAGS): This.
6442 (rtld-tests-LDFLAGS): New macro.
6443 (link-libc-rpath-link): Likewise.
6444 (link-libc-tests-rpath-link): Likewise.
6445 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6446 (link-libc): Prepand $(link-libc-rpath-link).
6447 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6448 (test-program-prefix): New macro.
6449 (test-via-rtld-prefix): Likewise.
6450 (test-program-cmd): Likewise.
6451 (host-test-program-cmd): Likewise.
6452 * Makefile ($(common-objpfx)testrun.sh): Replace
6453 $(run-program-prefix) with $(test-program-prefix).
6454 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6456 ($(common-objpfx)shlib.lds): Likewise.
6457 (build-module-helper): Likewise.
6458 ($(common-objpfx)format.lds): Likewise.
6459 * Rules (binaries-pie-tests): New.
6460 (binaries-pie-notests): Likewise.
6461 (binaries-pie): Rewritten.
6462 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6463 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6464 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6465 (make-test-out): Replace $(host-built-program-cmd) with
6466 $(host-test-program-cmd).
6467 * config.make.in (build-hardcoded-path-in-tests): New variable.
6468 * configure.in (--enable-hardcoded-path-in-tests): New configure
6470 (hardcoded_path_in_tests): New AC_SUBST.
6471 * configure: Regenerated.
6472 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6473 $(built-program-cmd) with $(test-program-cmd).
6474 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6475 (test_program_cmd): This.
6476 * elf/Makefile ($(objpfx)order.out): Run test with
6477 $(test-program-prefix).
6478 ($(objpfx)order2.out): Likewise.
6479 ($(objpfx)tst-initorder.out): Likewise.
6480 ($(objpfx)tst-initorder2.out): Likewise.
6481 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6482 $(test-program-cmd).
6483 ($(objpfx)tst-array1-static.out): Likewise.
6484 ($(objpfx)tst-array2.out): Likewise.
6485 ($(objpfx)tst-array3.out): Likewise.
6486 ($(objpfx)tst-array4.out): Likewise.
6487 ($(objpfx)tst-array5.out): Likewise.
6488 ($(objpfx)tst-array5-static.out): Likewise.
6489 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6490 $(test-program-cmd).
6491 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6492 $(run-program-prefix) with $(test-program-prefix).
6493 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6494 (test_program_prefix): This.
6495 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6496 $(run-program-prefix) with $(test-program-prefix).
6497 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6498 (test_program_prefix): This.
6499 * iconvdata/tst-tables.sh: Likewise.
6500 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6501 $(run-program-prefix) with $(test-program-prefix).
6502 ($(objpfx)tst-translit.out): Likewise.
6503 ($(objpfx)tst-gettext2.out): Likewise.
6504 ($(objpfx)tst-gettext4.out): Likewise.
6505 ($(objpfx)tst-gettext6.out): Likewise.
6506 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6507 (test_program_prefix): This.
6508 * intl/tst-gettext2.sh: Likewise.
6509 * intl/tst-gettext4.sh Likewise.
6510 * intl/tst-gettext6.sh: Likewise.
6511 * intl/tst-translit.sh: Likewise.
6512 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6513 with $(test-program-cmd).
6514 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6515 $(run-program-prefix) with $(test-program-prefix).
6516 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6517 (test_program_prefix): This.
6518 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6519 $(run-program-prefix) with $(test-program-prefix).
6520 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6521 (test_program_prefix): This.
6522 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6523 * posix/Makefile ($(objpfx)globtest.out): Replace
6524 $(run-via-rtld-prefix) and $(test-wrapper) with
6525 $(test-program-prefix) and $(test-via-rtld-prefix).
6526 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6527 $(test-program-prefix).
6528 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6529 $(host-test-program-cmd).
6530 (tst-spawn-ARGS): Likewise.
6531 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6532 $(test-program-prefix).
6533 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6534 (test_via_rtld_prefix): This.
6535 (test_wrapper): Renamed to ...
6536 (test_program_prefix): This.
6537 (run_program_prefix): Replaced by test_program_prefix.
6538 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6539 (test_program_prefix): This.
6540 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6541 with $(host-test-program-cmd).
6542 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6543 $(run-program-prefix) with $(test-program-prefix).
6544 ($(objpfx)tst-printf.out): Likewise.
6545 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6546 $(test-program-cmd).
6547 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6548 (test_program_prefix): This.
6549 * stdio-common/tst-unbputc.sh: Likewise.
6550 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6551 $(run-program-prefix) with $(test-program-prefix).
6552 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6553 (test_program_prefix): This.
6554 * string/Makefile ($(objpfx)tst-svc.out): Replace
6555 $(built-program-cmd) with $(test-program-cmd).
6557 2013-01-11 Andreas Jaeger <aj@suse.de>
6560 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6561 value. Sync with Linux 3.7.
6563 2013-01-10 David S. Miller <davem@davemloft.net>
6565 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6566 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6567 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6569 2013-01-10 Roland McGrath <roland@hack.frob.com>
6571 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6573 * configure: Regenerated.
6575 2013-01-10 David S. Miller <davem@davemloft.net>
6577 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6578 sparc V9 rather than using V8 code.
6579 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6580 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6582 2013-01-10 Roland McGrath <roland@hack.frob.com>
6584 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6585 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6586 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6587 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6588 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6589 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6590 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6591 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6592 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6593 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6594 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6595 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6596 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6597 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6598 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6599 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6600 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6601 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6602 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6603 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6604 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6605 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6606 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6607 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6608 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6609 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6610 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6612 2013-01-10 David S. Miller <davem@davemloft.net>
6614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6616 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6618 * posix/Makefile (tests-static): New variable.
6619 (tests): Add $(tests-static).
6620 (tst-exec-static-ARGS): New variable.
6621 (tst-spawn-static-ARGS): Likewise.
6622 * posix/tst-exec-static.c: New file.
6623 * posix/tst-spawn-static.c: Likewise.
6624 * posix/tst-exec.c: Support run directly.
6625 * posix/tst-spawn.c: Likewise.
6627 2013-01-10 Joseph Myers <joseph@codesourcery.com>
6629 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6631 * math/bits/mathcalls.h (llrint): Likewise.
6632 (llround): Likewise.
6633 * stdlib/stdlib.h (struct drand48_data): Likewise.
6634 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6635 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6638 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6641 (elf_greg_t): Likewise.
6642 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6643 (__jmp_buf): Likewise.
6644 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6646 (llrint): Likewise, for all definitions.
6647 (llrintl): Likewise.
6649 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6650 Remove [__GNUC__] condition.
6651 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6652 condition to just [__USE_ISOC99].
6653 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6655 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6658 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6659 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6661 (_POSIX_V6_ILP32_OFF32): Likewise.
6662 (_XBS5_ILP32_OFF32): Likewise.
6663 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6664 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6666 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6668 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6671 doubles __mpexp_twomm1. Adjust usage.
6672 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6675 2013-01-10 Andreas Schwab <schwab@suse.de>
6678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6679 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6681 2013-01-09 David S. Miller <davem@davemloft.net>
6684 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6685 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6686 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6687 TCP_FASTOPEN): Define.
6688 (tcp_repair_opt): New structure.
6689 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6691 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6692 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6693 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6694 (tcp_cookie_transactions): New structure.
6696 2013-01-09 Anton Blanchard <anton@samba.org>
6698 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
6699 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
6700 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
6701 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6703 2013-01-09 Joseph Myers <joseph@codesourcery.com>
6705 * include/features.h (__USE_ANSI): Remove.
6707 2013-01-09 Roland McGrath <roland@hack.frob.com>
6709 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6711 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6713 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6715 * sysdeps/s390/fpu/libm-test-ulps: Update.
6717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6719 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6724 (__mp_dbl): Likewise.
6725 (__dbl_mp): Likewise.
6726 (add_magnitudes): Likewise.
6727 (sub_magnitudes): Likewise.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6738 (__mp_dbl): Likewise.
6739 (__dbl_mp): Likewise.
6740 (add_magnitudes): Likewise.
6741 (sub_magnitudes): Likewise.
6747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6752 (__mp_dbl): Likewise.
6753 (__dbl_mp): Likewise.
6754 (add_magnitudes): Likewise.
6755 (sub_magnitudes): Likewise.
6762 2013-01-08 Joseph Myers <joseph@codesourcery.com>
6764 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
6765 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
6766 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
6767 2 && __USE_EXTERN_INLINES]: Likewise.
6769 2013-01-08 Andreas Jaeger <aj@suse.de>
6772 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6774 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6775 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6777 2013-01-07 Anton Blanchard <anton@samba.org>
6779 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
6780 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6781 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6782 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6783 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6784 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6785 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
6786 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
6787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6788 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6791 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6793 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6795 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6797 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6798 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6799 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6800 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
6801 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6802 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6803 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
6804 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6805 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6806 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
6808 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6809 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6812 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6813 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6814 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6817 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6818 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6819 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
6820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6821 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6823 2013-01-07 Joseph Myers <joseph@codesourcery.com>
6825 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
6826 (__MALLOC_PMT): Likewise.
6827 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
6828 [__GNUC__], only on [_LIBC].
6829 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6830 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
6831 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
6832 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
6833 forward declaration.
6834 (realloc_hook_ini): Likewise.
6835 (memalign_hook_ini): Likewise.
6836 (__libc_memalign): Do not use __MALLOC_PMT in variable
6838 (__libc_valloc): Likewise.
6839 (__libc_pvalloc): Likewise.
6840 (__libc_calloc): Likewise.
6841 (__posix_memalign): Likewise.
6844 * math/s_casinh.c: Include <float.h>.
6845 (__casinh): Do not do computation with squaring and square root
6846 for large arguments.
6847 * math/s_casinhf.c: Include <float.h>.
6848 (__casinhf): Do not do computation with squaring and square root
6849 for large arguments.
6850 * math/s_casinhl.c: Include <float.h>.
6851 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
6852 (__casinhl): Do not do computation with squaring and square root
6853 for large arguments.
6854 * math/libm-test.inc (casin_test): Add more tests.
6855 (casinh_test): Likewise.
6856 * sysdeps/i386/fpu/libm-test-ulps: Update.
6857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6859 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6861 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
6862 (__x86_64_raw_data_cache_size): Likewise.
6863 (__x86_64_data_cache_size_half): Likewise.
6864 (__x86_64_raw_data_cache_size_half): Likewise.
6865 (__x86_64_shared_cache_size): Likewise.
6866 (__x86_64_raw_shared_cache_size): Likewise.
6867 (__x86_64_shared_cache_size_half): Likewise.
6868 (__x86_64_raw_shared_cache_size_half): Likewise.
6869 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
6871 (__x86_data_cache_size): This.
6872 (__x86_64_raw_data_cache_size): Renamed to ...
6873 (__x86_raw_data_cache_size): This.
6874 (__x86_64_data_cache_size_half): Renamed to ...
6875 (__x86_data_cache_size_half): This.
6876 (__x86_64_raw_data_cache_size_half): Renamed to ...
6877 (__x86_raw_data_cache_size_half): This.
6878 (__x86_64_shared_cache_size): Renamed to ...
6879 (__x86_shared_cache_size): This.
6880 (__x86_64_raw_shared_cache_size): Renamed to ...
6881 (__x86_raw_shared_cache_size): This.
6882 (__x86_64_shared_cache_size_half): Renamed to ...
6883 (__x86_shared_cache_size_half): This.
6884 (__x86_64_raw_shared_cache_size_half): Renamed to ...
6885 (__x86_raw_shared_cache_size_half): This.
6886 * sysdeps/x86_64/memcpy.S: Updated.
6887 * sysdeps/x86_64/memset.S: Likewise.
6888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6892 2013-01-04 David S. Miller <davem@davemloft.net>
6894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6896 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6898 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
6899 1 to avoid redefinition warning.
6900 (__USE_GNU): Don't define.
6901 (init_signaling_nan): Protoize.
6903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6905 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6907 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
6908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
6909 (__cpymn): Likewise.
6910 (norm): Remove commented code.
6912 (__mp_dbl): Likewise.
6914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6915 (__cpymn): Likewise.
6916 (norm): Remove commented code.
6918 (__mp_dbl): Likewise.
6921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
6922 mp_no value for 1.0 and 2.0.
6923 (norm): Use RADIXI instead of radixi.d.
6925 (__mul): Use 0.0 instead of zero.d.
6926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
6927 mp_no value for 1.0 and 2.0.
6928 (norm): Use RADIXI instead of radixi.d.
6930 (__mul): Use 0.0 instead of zero.d.
6932 2013-01-04 Joseph Myers <joseph@codesourcery.com>
6935 * math/s_casinh.c (__casinh): Reduce finite argument to first
6936 quadrant then set signs of results at the end.
6937 * math/s_casinhf.c (__casinhf): Likewise.
6938 * math/s_casinhl.c (__casinhl): Likewise.
6939 * math/libm-test.inc (casin_test): Add more tests.
6940 (casinh_test): Likewise.
6941 * sysdeps/i386/fpu/libm-test-ulps: Update.
6942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6944 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6946 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6948 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6950 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6953 (__mp_dbl): Likewise.
6956 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6957 and adjust the header comment.
6959 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6960 variable name from declaration.
6962 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6965 Initialize COMMON_CPUID_INDEX_7 element.
6966 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6967 (CPUID_RTM): Likewise.
6968 (HAS_RTM): Likewise.
6969 (COMMON_CPUID_INDEX_7): New enum.
6971 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6974 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6975 size is zero, record memory as freed.
6977 2013-01-03 Andreas Jaeger <aj@suse.de>
6979 * po/ia.po: Add new Interlingua translation.
6981 2012-01-03 Allan McRae <allan@archlinux.org>
6983 * locale/programs/localedef.c: Fix description of '--posix' flag.
6985 2013-01-02 Joseph Myers <joseph@codesourcery.com>
6987 * NEWS: Update dates in second copyright notice.
6988 * README: Update copyright dates in example.
6989 * manual/libc.texinfo: Update copyright dates.
6990 * scripts/test-installation.pl: Update copyright date in --version
6993 * hurd/ctty-input.c: Fix copyright notice formatting.
6994 * hurd/ctty-output.c: Likewise.
6995 * hurd/dtable.c: Likewise.
6996 * hurd/hurd-raise.c: Likewise.
6997 * hurd/hurdprio.c: Likewise.
6998 * hurd/msgportdemux.c: Likewise.
6999 * misc/sys/file.h: Likewise.
7000 * misc/sys/ioctl.h: Likewise.
7001 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7002 * sysdeps/mach/hurd/chdir.c: Likewise.
7003 * sysdeps/mach/hurd/fchdir.c: Likewise.
7004 * sysdeps/mach/hurd/rename.c: Likewise.
7005 * sysdeps/mach/hurd/rmdir.c: Likewise.
7006 * sysdeps/mach/hurd/seekdir.c: Likewise.
7007 * sysdeps/mach/hurd/setsid.c: Likewise.
7008 * sysdeps/posix/wait3.c: Likewise.
7010 * All files with FSF copyright notices: Update copyright dates
7011 using scripts/update-copyrights.
7012 * intl/plural.c: Regenerated.
7013 * locale/programs/charmap-kw.h: Likewise.
7014 * locale/programs/locfile-kw.h: Likewise.
7016 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7022 calculation loop and add branch prediction.
7024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7025 check access beyond bounds of m1np.
7027 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7029 (__inv): Remove local variable MPTWO to use the global
7031 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7035 MP3HALFS static const.
7037 2013-01-01 David S. Miller <davem@davemloft.net>
7039 * po/ca.po: Update from translation team.
7041 2013-01-01 Joseph Myers <joseph@codesourcery.com>
7043 * scripts/update-copyrights: New file.
7044 * Makeconfig: Reformat copyright notice.
7045 * ctype/ctype.h: Likewise.
7046 * debug/swprintf_chk.c: Likewise.
7047 * elf/dl-cache.c: Likewise.
7048 * elf/dl-debug.c: Likewise.
7049 * elf/dl-object.c: Likewise.
7050 * grp/initgroups.c: Likewise.
7051 * hurd/Makefile: Likewise.
7052 * hurd/hurd/signal.h: Likewise.
7053 * hurd/hurdfault.c: Likewise.
7054 * hurd/hurdioctl.c: Likewise.
7055 * hurd/hurdlookup.c: Likewise.
7056 * hurd/intr-msg.c: Likewise.
7057 * iconv/gconv_open.c: Likewise.
7058 * libio/swprintf.c: Likewise.
7059 * locale/lc-ctype.c: Likewise.
7060 * locale/nl_langinfo.c: Likewise.
7061 * mach/Machrules: Likewise.
7062 * mach/Makefile: Likewise.
7063 * malloc/obstack.h: Likewise.
7064 * manual/Makefile: Likewise.
7065 * manual/tsort.awk: Likewise.
7066 * misc/bits/stab.def: Likewise.
7067 * nis/nis_print_group_entry.c: Likewise.
7068 * nis/nis_table.c: Likewise.
7069 * nis/nss_compat/compat-pwd.c: Likewise.
7070 * nis/nss_compat/compat-spwd.c: Likewise.
7071 * po/Makefile: Likewise.
7072 * posix/fnmatch.c: Likewise.
7073 * posix/regex.h: Likewise.
7074 * resolv/Makefile: Likewise.
7075 * resolv/nss_dns/dns-network.c: Likewise.
7076 * resolv/res_hconf.c: Likewise.
7077 * scripts/gen-sorted.awk: Likewise.
7078 * soft-fp/soft-fp.h: Likewise.
7079 * stdio-common/printf.h: Likewise.
7080 * stdlib/monetary.h: Likewise.
7081 * stdlib/random.c: Likewise.
7082 * stdlib/random_r.c: Likewise.
7083 * sysdeps/generic/Makefile: Likewise.
7084 * sysdeps/gnu/Makefile: Likewise.
7085 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7092 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7095 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7096 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7097 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7098 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7099 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7100 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7101 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7103 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7105 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7106 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7107 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7113 * sysdeps/mach/hurd/errnos.awk: Likewise.
7114 * sysdeps/mach/hurd/fork.c: Likewise.
7115 * sysdeps/mach/hurd/getcwd.c: Likewise.
7116 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7117 * sysdeps/mach/hurd/mmap.c: Likewise.
7118 * sysdeps/mach/hurd/utimes.c: Likewise.
7119 * sysdeps/mach/hurd/xmknod.c: Likewise.
7120 * sysdeps/posix/profil.c: Likewise.
7121 * sysdeps/posix/readdir_r.c: Likewise.
7122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7123 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7124 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7125 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7131 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7132 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7133 * sysdeps/pthread/lio_listio.c: Likewise.
7134 * sysdeps/sparc/dl-procinfo.h: Likewise.
7135 * sysdeps/unix/i386/sysdep.S: Likewise.
7136 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7137 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7138 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7139 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7141 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7142 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7143 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7144 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7145 * sysdeps/wordsize-32/divdi3.c: Likewise.
7146 * time/sys/time.h: Likewise.
7147 * wcsmbs/Makefile: Likewise.
7149 2013-01-01 David S. Miller <davem@davemloft.net>
7151 * po/fr.po: Update from translation team.
7153 * catgets/gencat.c: Update copyright year.
7154 * csu/version.c: Likewise.
7155 * debug/catchsegv.sh: Likewise.
7156 * debug/pcprofiledump.c: Likewise.
7157 * debug/xtrace.sh: Likewise.
7158 * elf/ldconfig.c: Likewise.
7159 * elf/ldd.bash.in: Likewise.
7160 * elf/pldd.c: Likewise.
7161 * elf/sotruss.ksh: Likewise.
7162 * elf/sprof.c: Likewise.
7163 * iconv/iconv_prog.c: Likewise.
7164 * iconv/iconvconfig.c: Likewise.
7165 * locale/programs/locale.c: Likewise.
7166 * locale/programs/localedef.c: Likewise.
7167 * login/programs/pt_chown.c: Likewise.
7168 * malloc/memusage.sh: Likewise.
7169 * malloc/memusagestat.c: Likewise.
7170 * malloc/mtrace.pl: Likewise.
7171 * nscd/nscd.c: Likewise.
7172 * nss/getent.c: Likewise.
7173 * nss/makedb.c: Likewise.
7174 * posix/getconf.c: Likewise.
7176 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7178 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7181 2012-12-30 Mike Frysinger <vapier@gentoo.org>
7183 * math/bits/mathcalls.h (modf): Use __nonnull.
7185 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7187 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7188 (split): Use macro CN instead of the bare value.
7189 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7192 instead of the bare value.
7195 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7199 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7201 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7203 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7205 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7206 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7208 2012-12-28 Andreas Jaeger <aj@suse.de>
7210 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7211 values are from Linux 3.7.
7213 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7214 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7216 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7218 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
7221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7223 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7224 variables with preprocessor constants.
7225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7226 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7227 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7229 2012-12-27 Bruno Haible <bruno@clisp.org>
7232 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7235 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7238 and use variable directly.
7239 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7241 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7243 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7246 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7248 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7249 include directive. Remove local variable MPONE.
7250 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7251 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7252 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7254 2012-12-25 David S. Miller <davem@davemloft.net>
7256 * version.h (RELEASE): Set to "development".
7257 (VERSION): Set to "2.17.90".
7258 * NEWS: Add 2.18 section.
7260 2012-12-21 David S. Miller <davem@davemloft.net>
7262 * po/hr.po: Update from translation team.
7264 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7266 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7268 2012-12-19 Steve Ellcey <sellcey@mips.com>
7270 * NEWS: Mention new memcpy for MIPS.
7272 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7274 * manual/contrib.texi (Contributors): Spelling correction.
7276 2012-12-15 David S. Miller <davem@davemloft.net>
7278 * po/ru.po: Update from translation team.
7280 2012-12-13 David S. Miller <davem@davemloft.net>
7282 * NEWS: Mention IFUNC testsuite enhancements.
7284 * po/pl.po: Update from translation team.
7285 * po/bg.po: Likewise.
7287 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7288 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7290 2012-12-11 David S. Miller <davem@davemloft.net>
7292 * po/sv.po: Update from translation team.
7294 * po/vi.po: Update from translation team.
7296 * po/cs.po: Update from translation team.
7298 * po/de.po: Update from translation team.
7299 * po/eo.po: Likewise.
7300 * po/nl.po: Likewise.
7302 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7305 * manual/argp.texi (Argp Helper Functions): Move node to follow
7309 * manual/conf.texi (Limits on File System Capacity): Mention if
7310 terminating null is included in the max size.
7312 2012-12-10 Andreas Jaeger <aj@suse.de>
7314 * po/cs.po: Update from translation team.
7316 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7318 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7319 void pointer and cast to uintptr_t.
7320 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7322 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7323 * sysdeps/s390/s390-64/memset.S: Likewise.
7325 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
7328 * menual/message.texi (Message Translation): Fix typos.
7329 (Helper programs for gettext): Likewise.
7331 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7334 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7337 2012-12-07 David S. Miller <davem@davemloft.net>
7339 * po/libc.pot: Update.
7341 2012-12-07 Richard Henderson <rth@redhat.com>
7344 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7345 normal/normal case to before the switch.
7346 (_FP_DIV): Likewise.
7348 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7349 Mike Frysinger <vapier@gentoo.org>
7351 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7352 check for __NR_fadvise64_64.
7354 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7356 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7357 0, not just to plain "0" as a statement.
7358 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7361 2012-12-06 Joseph Myers <joseph@codesourcery.com>
7363 * NEWS: Use sourceware.org in Bugzilla URL.
7365 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7368 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7370 * stdio-common/tst-put-error.c (do_test): Add newline to the
7371 padded test to ensure flush.
7373 2012-12-05 Jeff Law <law@redhat.com>
7375 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7377 2012-12-05 Joseph Myers <joseph@codesourcery.com>
7379 * README: Don't refer to ports add-on as distributed separately.
7380 Mention AArch64 in list of systems supported in the ports add-on.
7382 * LICENSES: Add more non-FSF copyright and license notices.
7384 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7387 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7389 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7390 10000 as width of padded output.
7392 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7394 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7396 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7397 variable LX with __attribute__ ((unused)).
7398 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7402 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7403 with __attribute__ ((unused)).
7405 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
7407 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7409 2012-12-04 Joseph Myers <joseph@codesourcery.com>
7411 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7412 (CFLAGS-nldbl-acos.c): New variable.
7413 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7414 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7415 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7416 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7417 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7418 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7419 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7420 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7421 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7422 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7423 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7424 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7425 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7426 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7427 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7428 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7429 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7430 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7431 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7432 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7433 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7434 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7435 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7436 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7437 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7438 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7439 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7440 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7441 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7442 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7443 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7444 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7445 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7446 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7447 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7448 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7449 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7450 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7451 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7452 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7453 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7454 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7455 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7456 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7457 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7458 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7459 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7460 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7461 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7462 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7463 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7464 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7465 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7466 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7467 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7468 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7469 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7470 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7471 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7472 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7473 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7474 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7475 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7476 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7477 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7478 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7479 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7480 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7481 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7482 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7483 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7484 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7485 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7486 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7487 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7488 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7489 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7490 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7491 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7492 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7493 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7494 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7495 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7496 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7497 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7498 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7499 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7500 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7501 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7502 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7503 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7504 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7505 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7506 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7507 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7508 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7509 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7512 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7516 whole low double instead of just low 47 bits when splitting values
7519 2012-12-03 Allan McRae <allan@archlinux.org>
7521 * manual/stdio.texi (Predefined Printf Handlers): Remove
7522 @hsep and @vsep usage.
7524 2012-12-03 Mike Frysinger <vapier@gentoo.org>
7526 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7527 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7529 2012-12-03 Jeff Law <law@redhat.com>
7531 * time/sys/time.h (settimeofday): Do not mark TV argument
7534 2012-12-01 Mike Frysinger <vapier@gentoo.org>
7536 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7537 when currently writing and seek to current position when not.
7538 * libio/Makefile (tests): Remove bug-fclose1.
7539 * libio/bug-fclose1.c: Delete.
7541 2012-12-01 Joseph Myers <joseph@codesourcery.com>
7543 * manual/arith.texi (feenableexcept): Fix typo.
7544 (fedisableexcept): Likewise.
7546 2012-11-30 Roland McGrath <roland@hack.frob.com>
7548 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7549 second, differently-typed declaration, rather than a cast.
7551 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7553 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7554 * include/rpc/svc.h: ... here.
7556 2012-11-30 Aurelien Jarno <aurel32@debian.org>
7559 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7560 depending n and resplen2 to catch cases where answer
7563 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7565 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7566 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7568 2012-11-29 Mike Frysinger <vapier@gentoo.org>
7570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7572 2012-11-29 Roland McGrath <roland@hack.frob.com>
7574 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7576 2012-11-28 Jeff Law <law@redhat.com>
7579 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7580 dataset_temporary. Track alloca usage into alloca_used.
7581 If dataset is large allocate and release it via malloc/free.
7583 2012-06-04 Florian Weimer <fweimer@redhat.com>
7586 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7588 2012-11-28 David S. Miller <davem@davemloft.net>
7590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7592 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7595 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7596 of pi/2 rounded to nearest to 64 bits.
7597 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7599 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7602 2012-11-28 Jeff Law <law@redhat.com>
7603 Martin Osvald <mosvald@redhat.com>
7606 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7607 * sunrpc/svc.c: Include time.h.
7608 (__svc_accept_failed): New function.
7609 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7610 any reason other than EINTR, call __svc_accept_failed.
7611 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7612 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7614 2012-11-28 Andreas Schwab <schwab@suse.de>
7616 * scripts/abilist.awk: Also handle indirect functions in .opd
7619 2012-11-28 Joseph Myers <joseph@codesourcery.com>
7622 * sysdeps/x86/fpu/powl_helper.c: New file.
7623 * sysdeps/x86/fpu/Makefile: Likewise.
7624 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7626 (__ieee754_powl): Use __powl_helper for finite arguments except
7627 integer exponents below 8.
7628 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7630 (__ieee754_powl): Use __powl_helper for finite arguments except
7631 integer exponents below 8.
7632 * math/libm-test.inc (pow_test): Add more tests and enable some
7633 previously disabled tests.
7634 * sysdeps/i386/fpu/libm-test-ulps: Update.
7635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7637 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7638 Carlos O'Donell <carlos_odonell@mentor.com>
7640 * nss/makedb.c (is_prime): Assert that input is odd and greater
7641 than 4. Note that fact in a comment too.
7642 (next_prime): Add 4 to input.
7644 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7647 * libio/Makefile (tests): Add test case tst-fwrite-error.
7648 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7649 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7650 * libio/tst-fwrite-error.c: New test case.
7652 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7654 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7655 before casting to void *.
7656 * include/libc-internal.h (__pointer_type): New macro.
7657 (__integer_if_pointer_type_sub): Likewise.
7658 (__integer_if_pointer_type): Likewise.
7659 (cast_to_integer): Likewise.
7660 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7661 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7662 before casting to atomic64_t.
7663 (atomic_exchange_acq): Likewise.
7664 (__arch_exchange_and_add_body): Likewise.
7665 (__arch_add_body): Likewise.
7666 (atomic_add_negative): Likewise.
7667 (atomic_add_zero): Likewise.
7669 2012-11-26 Joseph Myers <joseph@codesourcery.com>
7671 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7672 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7673 (add_fdes): Likewise.
7674 (linear_search_fdes): Likewise.
7675 (binary_search_unencoded_fdes): Likewise.
7677 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7679 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7681 2012-11-24 Adam Conrad <adconrad@0c3.net>
7683 * configure.in: Autodetect C++ header directories.
7684 * configure: Regenerated.
7686 2012-11-23 Mike Frysinger <vapier@gentoo.org>
7688 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7690 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7694 2012-11-22 Joseph Myers <joseph@codesourcery.com>
7696 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
7697 LDBL_MANT_DIG == 106]: Disable some tests.
7698 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7700 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
7705 input for small inputs. Return +/- pi/2 for large inputs.
7706 * math/libm-test.inc (atan_test): Add more tests.
7708 * sysdeps/generic/unwind-dw2-fde-glibc.c
7709 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7710 __attribute__ ((unused)).
7713 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
7714 x * y if x and y are nonzero and z is zero.
7717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7718 nonzero exponents with absolute value below 0x1p-117 to +/-
7722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
7723 up arguments below 2**-450, not just those below 2**-500.
7724 * math/libm-test.inc (hypot_test): Add another test.
7727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7728 Return a+b for ratio over 2**120, not 2**60.
7729 * math/libm-test.inc (hypot_test): Add another test.
7731 * math/libm-test.inc (clog_test): Use
7732 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7733 (clog10_test): Likewise.
7736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7738 2012-11-22 Andreas Schwab <schwab@suse.de>
7740 * sysdeps/i386/fpu/libm-test-ulps: Update.
7742 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7744 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7745 printf output with newline.
7747 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7750 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
7751 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
7752 -z nodlopen, -z initfirst and -z execstack support.
7753 * configure: Regenerated.
7755 * elf/elf.h (DF_1_NODIRECT): New macro.
7756 (DF_1_IGNMULDEF): Likewise.
7757 (DF_1_NOKSYMS): Likewise.
7758 (DF_1_NOHDR): Likewise.
7759 (DF_1_EDITED): Likewise.
7760 (DF_1_NORELOC): Likewise.
7761 (DF_1_SYMINTPOSE): Likewise.
7762 (DF_1_GLOBAUDIT): Likewise.
7763 (DF_1_SINGLETON): Likewise.
7764 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
7765 DT_1_SUPPORTED_MASK bits.
7766 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
7768 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7770 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7772 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7774 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7777 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
7778 (sendmmsg): Move declarations...
7779 * socket/sys/socket.h: ... here.
7780 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
7781 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
7783 * socket/recvmmsg.c: ... this new file.
7784 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
7785 (sendmmsg): Rename to __sendmmsg, create weak alias and make
7786 definition of __sendmmsg hidden.
7787 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7788 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
7789 Move ENOSYS stub into and include it from...
7790 * socket/sendmmsg.c: ... this new file.
7791 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
7792 (sysdep_routines): Move recvmmsg and sendmmsg...
7793 * socket/Makefile (routines): ... here.
7794 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
7795 (GLIBC_PRIVATE): Add __sendmmsg.
7796 * include/sys/socket.h (__sendmmsg): Add declarations.
7797 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
7800 2012-11-20 Joseph Myers <joseph@codesourcery.com>
7802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
7803 variable I1 with __attribute__ ((unused)).
7804 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7806 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7808 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7809 DUMMY variables with __attribute__ ((unused)).
7811 * bits/byteswap.h: Include <bits/types.h>.
7812 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7814 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7816 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
7817 string_t. Do not manually set errno.
7818 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
7819 length with __strnlen. Make sure to both set errno and return it on
7822 2012-11-19 David S. Miller <davem@davemloft.net>
7824 With help from Joseph Myers.
7825 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
7826 very large arguments properly.
7827 * math/libm-test.inc (atan_test): New tests.
7828 (atan2_test): New tests.
7829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7832 2012-11-19 Joseph Myers <joseph@codesourcery.com>
7835 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7838 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
7839 [POSIX] (EADDRNOTAVAIL): Likewise.
7840 [POSIX] (EAFNOSUPPORT): Likewise.
7841 [POSIX] (EALREADY): Likewise.
7842 [POSIX] (ECONNABORTED): Likewise.
7843 [POSIX] (ECONNREFUSED): Likewise.
7844 [POSIX] (ECONNRESET): Likewise.
7845 [POSIX] (EDESTADDRREQ): Likewise.
7846 [POSIX] (EDQUOT): Likewise.
7847 [POSIX] (EHOSTUNREACH): Likewise.
7848 [POSIX] (EIDRM): Likewise.
7849 [POSIX] (EISCONN): Likewise.
7850 [POSIX] (ELOOP): Likewise.
7851 [POSIX] (EMULTIHOP): Likewise.
7852 [POSIX] (ENETDOWN): Likewise.
7853 [POSIX] (ENETUNREACH): Likewise.
7854 [POSIX] (ENOBUFS): Likewise.
7855 [POSIX] (ENODATA): Likewise.
7856 [POSIX] (ENOLINK): Likewise.
7857 [POSIX] (ENOMSG): Likewise.
7858 [POSIX] (ENOPROTOOPT): Likewise.
7859 [POSIX] (ENOSR): Likewise.
7860 [POSIX] (ENOSTR): Likewise.
7861 [POSIX] (ENOTCONN): Likewise.
7862 [POSIX] (ENOTSOCK): Likewise.
7863 [POSIX] (EOPNOTSUPP): Likewise.
7864 [POSIX] (EOVERFLOW): Likewise.
7865 [POSIX] (EPROTO): Likewise.
7866 [POSIX] (EPROTONOSUPPORT): Likewise.
7867 [POSIX] (EPROTOTYPE): Likewise.
7868 [POSIX] (ESTALE): Likewise.
7869 [POSIX] (ETIME): Likewise.
7870 [POSIX] (ETXTBSY): Likewise.
7871 [POSIX] (EWOULDBLOCK): Likewise.
7872 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
7873 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
7874 [POSIX] (SEEK_CUR): Likewise.
7875 [POSIX] (SEEK_END): Likewise.
7876 [POSIX || UNIX98] (mode_t): Do not require.
7877 [POSIX] (off_t): Likewise.
7878 [POSIX] (pid_t): Likewise.
7879 [POSIX] (sys/stat.h): Do not allow header.
7880 [POSIX] (unistd.h): Likewise.
7881 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
7882 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
7883 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
7884 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
7886 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7887 sigevent): Specify elements.
7888 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7890 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7891 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7893 * conform/data/cpio.h-data [POSIX]: Disable whole file.
7894 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
7895 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
7896 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
7897 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
7898 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
7899 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
7900 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
7901 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
7902 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
7903 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
7904 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
7905 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
7906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
7908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7912 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7914 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
7915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
7916 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
7917 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
7918 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
7919 Specify lower bound on value.
7920 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
7921 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
7922 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
7923 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
7924 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
7925 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
7926 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
7927 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
7929 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7931 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
7932 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
7933 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
7934 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
7935 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
7936 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
7937 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
7938 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
7939 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
7940 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
7941 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
7942 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
7943 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
7944 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
7945 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
7946 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
7948 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7950 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
7951 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
7952 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
7953 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
7954 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
7955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
7957 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
7958 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
7959 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
7960 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
7961 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
7962 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
7963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
7965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
7966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
7967 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
7968 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
7969 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
7970 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
7971 specify as optional.
7972 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
7973 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
7974 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
7975 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
7976 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
7977 [XPG3] (NL_LANGMAX): Likewise.
7978 [POSIX || XPG3] (NL_MSGMAX): Likewise.
7979 [POSIX || XPG3] (NL_NMAX): Likewise.
7980 [POSIX || XPG3] (NL_SETMAX): Likewise.
7981 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
7982 [XPG3] (NZERO): Likewise.
7983 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
7984 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
7985 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
7986 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
7987 (REG_ERANGE): Expect.
7988 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
7990 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
7991 Use (void) in prototype.
7992 [POSIX] (*_t): Allow.
7993 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
7994 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
7995 (WRDE_BADVAL): Expect.
7997 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7999 [XPG3 || XPG4] (O_RSYNC): Likewise.
8000 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8002 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8003 [XPG3 || XPG4] (sigqueue): Likewise.
8004 [XPG3 || XPG4] (sigtimedwait): Likewise.
8005 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8006 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8007 [XPG3 || XPG4] (vsnprintf): Likewise.
8008 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8010 [XPG3 || XPG4] (blksize_t): Likewise.
8011 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8013 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8014 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8015 [XPG3 || XPG4] (struct itimerspec): Likewise.
8016 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8017 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8018 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8019 [XPG3 || XPG4] (clockid_t): Likewise.
8020 [XPG3 || XPG4] (timer_t): Likewise.
8021 [XPG3 || XPG4] (clock_getres): Likewise.
8022 [XPG3 || XPG4] (clock_gettime): Likewise.
8023 [XPG3 || XPG4] (clock_settime): Likewise.
8024 [XPG3 || XPG4] (nanosleep): Likewise.
8025 [XPG3 || XPG4] (timer_create): Likewise.
8026 [XPG3 || XPG4] (timer_delete): Likewise.
8027 [XPG3 || XPG4] (timer_gettime): Likewise.
8028 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8029 [XPG3 || XPG4] (timer_settime): Likewise.
8030 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8031 [XPG3 || XPG4] (getlogin_r): Likewise.
8032 [XPG3 || XPG4] (pread): Likewise.
8033 [XPG3 || XPG4] (pthread_atfork): Likewise.
8034 [XPG3 || XPG4] (pwrite): Likewise.
8037 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8040 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8042 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8043 finalizing MALLSTREAM.
8045 * sysdeps/mach/hurd/syncfs.c: New file.
8047 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8050 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8051 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8052 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8053 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8054 (_nss_dns_gethostbyname4_r): Likewise.
8055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8056 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8058 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8061 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8063 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8065 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8066 * elf/cache.c (print_entry): Print ",AArch64" for
8069 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8070 * elf/cache.c (print_entry): Print ",hard-float" for
8073 2012-11-18 David S. Miller <davem@davemloft.net>
8075 With help from Joseph Myers.
8076 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8078 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8080 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8081 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8083 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8084 * math/libm-test.inc (y0_test): New tests.
8085 (y1_test): New tests.
8086 * sysdeps/i386/fpu/libm-test-ulps: Update.
8087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8090 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8092 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8094 * configure: Regenerated.
8096 2012-11-17 David S. Miller <davem@davemloft.net>
8099 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8100 nonzero exponents with absolute value below 0x1p-128 to +/-
8103 2012-11-17 Joseph Myers <joseph@codesourcery.com>
8105 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8107 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8109 * posix/getconf-speclist.c: New file.
8110 * posix/posix-envs.def: Likewise.
8111 * posix/confstr.c (START_ENV_GROUP): New macro.
8112 (END_ENV_GROUP): Likewise.
8113 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8114 (KNOWN_PRESENT_ENV_STRING): Likewise.
8115 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8116 (UNKNOWN_ENVIRONMENT): Likewise.
8117 (confstr): Include posix-envs.def instead of handling
8118 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8119 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8120 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8121 (END_ENV_GROUP): Likewise.
8122 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8123 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8124 (UNKNOWN_ENVIRONMENT): Likewise.
8125 (__sysconf): Include posix-envs.def instead of handling associated
8126 cases directly here.
8127 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8128 preprocessing getconf-speclist.c rather than running getconf or
8129 generating empty file.
8131 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8133 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8135 2012-11-16 Andrej Lajovic <natrij@gmail.com>
8138 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8140 2012-11-16 David S. Miller <davem@davemloft.net>
8142 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8143 smaller than LDBL_EPSILON/2.0L, just return xm1.
8145 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8147 * elf/tst-array1.c (init): Set constructor priority to 1000.
8148 (fini): Set destructor priority to 1000.
8149 * elf/tst-array2dep.c: Likewise.
8151 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8154 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8155 (_IO_new_file_xsputn): Also return EOF if none of the input
8156 data was written when overflow failed.
8157 * libio/iopadn.c (_IO_padn): Likewise.
8158 * libio/iowpadn.c (_IO_wpadn): Likewise.
8159 * stdio-common/tst-put-error.c: Add copyright notice.
8160 (do_test): Add case for printing padded string.
8161 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8162 _IO_padn returned error.
8163 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8164 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8167 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8169 * libio/libioP.h: Add comment note that the references to C++
8170 bits are now obsolete.
8172 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8174 * math/libm-test.inc (check_complex): Use asprintf.
8176 2012-11-14 Joseph Myers <joseph@codesourcery.com>
8178 * debug/pcprofiledump.c (print_version): Update copyright year.
8179 * malloc/memusagestat.c (print_version): Likewise.
8181 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8184 * elf/Makefile (tests): Add tst-audit8.
8185 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8186 ($(objpfx)tst-audit8.out): New target.
8187 (tst-audit8-ENV): New variable.
8188 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8189 audit if l_reloc_result is NULL.
8190 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8191 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8192 * elf/tst-audit8.c: New file.
8194 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8196 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8197 * misc/Makefile (CFLAGS-select.c): Define.
8198 * posix/Makefile (CFLAGS-pause.c): Define.
8200 2012-11-13 David S. Miller <davem@davemloft.net>
8202 * crypt/Makefile: Move test targets after toplevel Rules
8203 inclusion. Grab any necessary sysdep routines when linking.
8204 * crypt/md5.c (md5_process_block): Remove define, we will always
8205 name it __md5_process_block.
8206 (md5_finish_ctx): Update md5_process_block call.
8207 (md5_stream): Likewise.
8208 (md5_process_bytes): Likewise.
8209 (md5_process_block): Rename to __md5_process_block and move to ...
8210 * crypt/md5-block.c: ... here.
8211 * crypt/sha256.c (sha256_process_block): Move to ...
8212 * crypt/sha256-block.c: ... here.
8213 * crypt/sha512.c (sha512_process_block): Move to ...
8214 * crypt/sha512-block.c: ... here.
8215 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8217 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8218 * sysdeps/sparc/sparc64/multiarch/Makefile
8219 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8221 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8222 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8224 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8225 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8226 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8227 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8228 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8229 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8230 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8231 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8239 2012-11-13 Joseph Myers <joseph@codesourcery.com>
8241 * timezone/tzselect.ksh: Update from tzcode git revision
8242 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8243 * timezone/zdump.c: Likewise.
8244 * timezone/zic.c: Likewise.
8245 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8246 in TZVERSION setting, not $(PKGVERSION).
8247 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8248 REPORT_BUGS_TO settings.
8251 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8254 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8256 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8257 detection to immediately after _FP_ROUND().
8258 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8261 2012-11-11 David S. Miller <davem@davemloft.net>
8263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8265 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8266 __close rather than their public counterparts.
8268 2012-11-10 Joseph Myers <joseph@codesourcery.com>
8270 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8272 [UNIX98] (sem_timedwait): Do not expect.
8273 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8274 [XPG4 || UNIX98] (sockatmark): Do not expect.
8275 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8276 (clock_getcpuclockid): Do not expect.
8277 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8278 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8280 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8281 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8282 [UNIX98] (vwscanf): Likewise.
8283 [UNIX98] (vswscanf): Likewise.
8285 2012-11-09 Joseph Myers <joseph@codesourcery.com>
8287 * timezone/version.h: Remove file.
8288 * timezone/README: Do not refer to version.h.
8289 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8291 ($(objpfx)zdump.o): Likewise.
8292 ($(objpfx)version.h): New target.
8294 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8296 * timezone/README: Don't mention modification to tzselect.ksh.
8297 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8298 work on unmodified tzselect.ksh. Substitute version numbers in
8301 * Makefile (format-me): Remove.
8302 (INSTALL): Adjust indentation. Use commands directly instead of
8305 * aclocal.m4 (ACX_PKGVERSION): New macro.
8306 (ACX_BUGURL): Likewise.
8307 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8308 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8309 (REPORT_BUGS_TO): Likewise.
8310 * configure: Regenerated.
8311 * config.h.in (PKGVERSION): New macro.
8312 (REPORT_BUGS_TO): Likewise.
8313 * config.make.in (PKGVERSION): New variable.
8314 (PKGVERSION_TEXI): Likewise.
8315 (REPORT_BUGS_TO): Likewise.
8316 (REPORT_BUGS_TEXI): Likewise.
8317 * Makefile (format-me): Use -I$(common-objpfx)manual.
8318 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8319 ($(common-objpfx)manual/%): New target.
8320 (manual/%): Remove target.
8321 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8322 (print_version): Use PKGVERSION.
8323 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8324 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8326 ($(objpfx)xtrace): Likewise.
8327 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8328 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8329 (print_version): Use PKGVERSION.
8330 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8331 (do_version): Use PKGVERSION.
8332 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8334 (common-ldd-rewrite): Likewise.
8335 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8336 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8337 (print_version): Use PKGVERSION.
8338 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8339 * elf/pldd.c (argp_program_bug_address): Remove variable.
8340 (more_help): New function.
8341 (argp): Use more_help.
8342 (print_version): Use PKGVERSION.
8343 * elf/sln.c (main): Use PKGVERSION.
8344 (usage): Use REPORT_BUGS_TO.
8345 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8346 (top level): Use PKGVERSION.
8347 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8348 (print_version): Use PKGVERSION.
8349 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8350 (print_version): Use PKGVERSION.
8351 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8352 (print_version): Use PKGVERSION.
8353 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8354 (print_version): Use PKGVERSION.
8355 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8356 (print_version): Use PKGVERSION.
8357 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8358 (print_version): Use PKGVERSION.
8359 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8361 ($(objpfx)memusage): Likewise.
8362 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8363 (do_version): Use PKGVERSION.
8364 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8365 (print_version): Use PKGVERSION.
8366 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8367 ($PKGVERSION): New variable.
8368 ($REPORT_BUGS_TO): Likewise.
8369 (usage): Use $REPORT_BUGS_TO.
8370 (top level): Use $PKGVERSION.
8371 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8372 ($(objpfx)pkgvers.texi): New rule.
8373 ($(objpfx)stamp-pkgvers): Likewise.
8374 * manual/install.texi: Include pkgvers.texi.
8375 (--with-pkgversion): Document new configure option.
8376 (--with-bugurl): Likewise.
8377 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8378 than necessarily for this particular distribution. Use
8379 REPORT_BUGS_TO for where to report bugs.
8380 * INSTALL: Regenerated.
8381 * manual/libc.texinfo: Include pkgvers.texi.
8382 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8383 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8384 (print_version): Use PKGVERSION.
8385 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8386 (print_version): Use PKGVERSION.
8387 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8388 (print_version): Use PKGVERSION.
8389 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8390 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8392 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8393 (print_version): Use PKGVERSION.
8394 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8395 (print_version): Use PKGVERSION.
8396 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8399 * timezone/checktab.awk: Update from tzcode 2012i.
8400 * timezone/ialloc.c: Likewise.
8401 * timezone/private.h: Likewise.
8402 * timezone/scheck.c: Likewise.
8403 * timezone/tzfile.h: Likewise.
8404 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8405 (TZVERSION): Hardcode tzcode version number.
8406 * timezone/zdump.c: Update from tzcode 2012i.
8407 * timezone/zic.c: Likewise.
8408 * timezone/version.h: New file.
8409 * timezone/README: Describe version.h. Update upstream location.
8412 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8413 (mktemp): Enable declaration.
8414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8431 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8432 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8433 for copies of such integer values.
8434 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8435 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8437 2012-11-09 Andreas Jaeger <aj@suse.de>
8439 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8440 definitions and declarations that are provided by
8441 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8443 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8445 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
8446 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8447 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8450 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8452 * elf/elf.h: Update comment before AArch64 relocations.
8454 2012-11-07 David S. Miller <davem@davemloft.net>
8456 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8457 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8458 (__start_context): Declare.
8459 (__makecontext_ret): Delete.
8460 (__makecontext): Hook up __start_context instead of
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8463 (sysdep_routines): Add __start_context when in stdlib.
8465 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8467 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8468 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8469 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8471 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8472 (READELF): New variable. Use it instead of hardcoded "readelf".
8474 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8476 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8477 * sysdeps/x86/Makefile: Here.
8478 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8479 * sysdeps/x86/tst-xmmymm.sh: This.
8481 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8483 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8485 [UNIX98] (pthread_barrier_t): Do not expect.
8486 [UNIX98] (pthread_barrierattr_t): Likewise.
8487 [UNIX98] (pthread_spinlock_t): Likewise.
8488 [UNIX98] (pthread_barrier_destroy): Likewise.
8489 [UNIX98] (pthread_barrier_init): Likewise.
8490 [UNIX98] (pthread_barrier_wait): Likewise.
8491 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8492 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8493 [UNIX98] (pthread_barrierattr_init): Likewise.
8494 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8495 [UNIX98] (pthread_getcpuclockid): Likewise.
8496 [UNIX98] (pthread_mutex_timedlock): Likewise.
8497 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8498 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8499 [UNIX98] (pthread_sigmask): Likewise.
8500 [UNIX98] (pthread_spin_destroy): Likewise.
8501 [UNIX98] (pthread_spin_init): Likewise.
8502 [UNIX98] (pthread_spin_lock): Likewise.
8503 [UNIX98] (pthread_spin_trylock): Likewise.
8504 [UNIX98] (pthread_spin_unlock): Likewise.
8505 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8507 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8508 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8509 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8510 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8511 [XPG3 || XPG4] (pthread_key_t): Likewise.
8512 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8513 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8514 [XPG3 || XPG4] (pthread_once_t): Likewise.
8515 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8516 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8517 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8518 [XPG3 || XPG4] (pthread_t): Likewise.
8520 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8522 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8524 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8525 Change function return type to int.
8527 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8528 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8529 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8530 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8531 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8532 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8533 [!POSIX] (posix_madvise): Likewise.
8534 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8536 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8537 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8539 (posix_mem_offset): Likewise.
8540 (posix_typed_mem_get_info): Likewise.
8541 (posix_typed_mem_open): Likewise.
8543 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8544 Change condition to [XOPEN2K8].
8546 * conform/conformtest.pl: Preprocess allow-header data with -x c
8547 instead of from stdin.
8548 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8549 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8550 [C99-based standards] (cerfc): Likewise.
8551 [C99-based standards] (cexp2): Likewise.
8552 [C99-based standards] (cexpm1): Likewise.
8553 [C99-based standards] (clog10): Likewise.
8554 [C99-based standards] (clog1p): Likewise.
8555 [C99-based standards] (clog2): Likewise.
8556 [C99-based standards] (clgamma): Likewise.
8557 [C99-based standards] (ctgamma): Likewise.
8558 [C99-based standards] (cerff): Likewise.
8559 [C99-based standards] (cerfcf): Likewise.
8560 [C99-based standards] (cexp2f): Likewise.
8561 [C99-based standards] (cexpm1f): Likewise.
8562 [C99-based standards] (clog10f): Likewise.
8563 [C99-based standards] (clog1pf): Likewise.
8564 [C99-based standards] (clog2f): Likewise.
8565 [C99-based standards] (clgammaf): Likewise.
8566 [C99-based standards] (ctgammaf): Likewise.
8567 [C99-based standards] (cerfl): Likewise.
8568 [C99-based standards] (cerfcl): Likewise.
8569 [C99-based standards] (cexp2l): Likewise.
8570 [C99-based standards] (cexpm1l): Likewise.
8571 [C99-based standards] (clog10l): Likewise.
8572 [C99-based standards] (clog1pl): Likewise.
8573 [C99-based standards] (clog2l): Likewise.
8574 [C99-based standards] (clgammal): Likewise.
8575 [C99-based standards] (ctgammal): Likewise.
8576 * conform/data/inttypes.h-data [C99-based standards]: Include
8577 stdint.h-data. Remove all expectations for stdint.h contents.
8578 [C99-based standards] (PRI*): Do not allow.
8579 [C99-based standards] (SCN*): Likewise.
8580 [C99-based standards] (*_t): Likewise.
8581 [C99-based-standards] (PRId8): Expect macro.
8582 [C99-based-standards] (PRIi8): Likewise.
8583 [C99-based-standards] (PRIo8): Likewise.
8584 [C99-based-standards] (PRIu8): Likewise.
8585 [C99-based-standards] (PRIx8): Likewise.
8586 [C99-based-standards] (PRIX8): Likewise.
8587 [C99-based-standards] (SCNd8): Likewise.
8588 [C99-based-standards] (SCNi8): Likewise.
8589 [C99-based-standards] (SCNo8): Likewise.
8590 [C99-based-standards] (SCNu8): Likewise.
8591 [C99-based-standards] (SCNx8): Likewise.
8592 [C99-based-standards] (PRIdLEAST8): Likewise.
8593 [C99-based-standards] (PRIiLEAST8): Likewise.
8594 [C99-based-standards] (PRIoLEAST8): Likewise.
8595 [C99-based-standards] (PRIuLEAST8): Likewise.
8596 [C99-based-standards] (PRIxLEAST8): Likewise.
8597 [C99-based-standards] (PRIXLEAST8): Likewise.
8598 [C99-based-standards] (SCNdLEAST8): Likewise.
8599 [C99-based-standards] (SCNiLEAST8): Likewise.
8600 [C99-based-standards] (SCNoLEAST8): Likewise.
8601 [C99-based-standards] (SCNuLEAST8): Likewise.
8602 [C99-based-standards] (SCNxLEAST8): Likewise.
8603 [C99-based-standards] (PRIdFAST8): Likewise.
8604 [C99-based-standards] (PRIiFAST8): Likewise.
8605 [C99-based-standards] (PRIoFAST8): Likewise.
8606 [C99-based-standards] (PRIuFAST8): Likewise.
8607 [C99-based-standards] (PRIxFAST8): Likewise.
8608 [C99-based-standards] (PRIXFAST8): Likewise.
8609 [C99-based-standards] (SCNdFAST8): Likewise.
8610 [C99-based-standards] (SCNiFAST8): Likewise.
8611 [C99-based-standards] (SCNoFAST8): Likewise.
8612 [C99-based-standards] (SCNuFAST8): Likewise.
8613 [C99-based-standards] (SCNxFAST8): Likewise.
8614 [C99-based-standards] (PRId16): Likewise.
8615 [C99-based-standards] (PRIi16): Likewise.
8616 [C99-based-standards] (PRIo16): Likewise.
8617 [C99-based-standards] (PRIu16): Likewise.
8618 [C99-based-standards] (PRIx16): Likewise.
8619 [C99-based-standards] (PRIX16): Likewise.
8620 [C99-based-standards] (SCNd16): Likewise.
8621 [C99-based-standards] (SCNi16): Likewise.
8622 [C99-based-standards] (SCNo16): Likewise.
8623 [C99-based-standards] (SCNu16): Likewise.
8624 [C99-based-standards] (SCNx16): Likewise.
8625 [C99-based-standards] (PRIdLEAST16): Likewise.
8626 [C99-based-standards] (PRIiLEAST16): Likewise.
8627 [C99-based-standards] (PRIoLEAST16): Likewise.
8628 [C99-based-standards] (PRIuLEAST16): Likewise.
8629 [C99-based-standards] (PRIxLEAST16): Likewise.
8630 [C99-based-standards] (PRIXLEAST16): Likewise.
8631 [C99-based-standards] (SCNdLEAST16): Likewise.
8632 [C99-based-standards] (SCNiLEAST16): Likewise.
8633 [C99-based-standards] (SCNoLEAST16): Likewise.
8634 [C99-based-standards] (SCNuLEAST16): Likewise.
8635 [C99-based-standards] (SCNxLEAST16): Likewise.
8636 [C99-based-standards] (PRIdFAST16): Likewise.
8637 [C99-based-standards] (PRIiFAST16): Likewise.
8638 [C99-based-standards] (PRIoFAST16): Likewise.
8639 [C99-based-standards] (PRIuFAST16): Likewise.
8640 [C99-based-standards] (PRIxFAST16): Likewise.
8641 [C99-based-standards] (PRIXFAST16): Likewise.
8642 [C99-based-standards] (SCNdFAST16): Likewise.
8643 [C99-based-standards] (SCNiFAST16): Likewise.
8644 [C99-based-standards] (SCNoFAST16): Likewise.
8645 [C99-based-standards] (SCNuFAST16): Likewise.
8646 [C99-based-standards] (SCNxFAST16): Likewise.
8647 [C99-based-standards] (PRId32): Likewise.
8648 [C99-based-standards] (PRIi32): Likewise.
8649 [C99-based-standards] (PRIo32): Likewise.
8650 [C99-based-standards] (PRIu32): Likewise.
8651 [C99-based-standards] (PRIx32): Likewise.
8652 [C99-based-standards] (PRIX32): Likewise.
8653 [C99-based-standards] (SCNd32): Likewise.
8654 [C99-based-standards] (SCNi32): Likewise.
8655 [C99-based-standards] (SCNo32): Likewise.
8656 [C99-based-standards] (SCNu32): Likewise.
8657 [C99-based-standards] (SCNx32): Likewise.
8658 [C99-based-standards] (PRIdLEAST32): Likewise.
8659 [C99-based-standards] (PRIiLEAST32): Likewise.
8660 [C99-based-standards] (PRIoLEAST32): Likewise.
8661 [C99-based-standards] (PRIuLEAST32): Likewise.
8662 [C99-based-standards] (PRIxLEAST32): Likewise.
8663 [C99-based-standards] (PRIXLEAST32): Likewise.
8664 [C99-based-standards] (SCNdLEAST32): Likewise.
8665 [C99-based-standards] (SCNiLEAST32): Likewise.
8666 [C99-based-standards] (SCNoLEAST32): Likewise.
8667 [C99-based-standards] (SCNuLEAST32): Likewise.
8668 [C99-based-standards] (SCNxLEAST32): Likewise.
8669 [C99-based-standards] (PRIdFAST32): Likewise.
8670 [C99-based-standards] (PRIiFAST32): Likewise.
8671 [C99-based-standards] (PRIoFAST32): Likewise.
8672 [C99-based-standards] (PRIuFAST32): Likewise.
8673 [C99-based-standards] (PRIxFAST32): Likewise.
8674 [C99-based-standards] (PRIXFAST32): Likewise.
8675 [C99-based-standards] (SCNdFAST32): Likewise.
8676 [C99-based-standards] (SCNiFAST32): Likewise.
8677 [C99-based-standards] (SCNoFAST32): Likewise.
8678 [C99-based-standards] (SCNuFAST32): Likewise.
8679 [C99-based-standards] (SCNxFAST32): Likewise.
8680 [C99-based-standards] (PRId64): Likewise.
8681 [C99-based-standards] (PRIi64): Likewise.
8682 [C99-based-standards] (PRIo64): Likewise.
8683 [C99-based-standards] (PRIu64): Likewise.
8684 [C99-based-standards] (PRIx64): Likewise.
8685 [C99-based-standards] (PRIX64): Likewise.
8686 [C99-based-standards] (SCNd64): Likewise.
8687 [C99-based-standards] (SCNi64): Likewise.
8688 [C99-based-standards] (SCNo64): Likewise.
8689 [C99-based-standards] (SCNu64): Likewise.
8690 [C99-based-standards] (SCNx64): Likewise.
8691 [C99-based-standards] (PRIdLEAST64): Likewise.
8692 [C99-based-standards] (PRIiLEAST64): Likewise.
8693 [C99-based-standards] (PRIoLEAST64): Likewise.
8694 [C99-based-standards] (PRIuLEAST64): Likewise.
8695 [C99-based-standards] (PRIxLEAST64): Likewise.
8696 [C99-based-standards] (PRIXLEAST64): Likewise.
8697 [C99-based-standards] (SCNdLEAST64): Likewise.
8698 [C99-based-standards] (SCNiLEAST64): Likewise.
8699 [C99-based-standards] (SCNoLEAST64): Likewise.
8700 [C99-based-standards] (SCNuLEAST64): Likewise.
8701 [C99-based-standards] (SCNxLEAST64): Likewise.
8702 [C99-based-standards] (PRIdFAST64): Likewise.
8703 [C99-based-standards] (PRIiFAST64): Likewise.
8704 [C99-based-standards] (PRIoFAST64): Likewise.
8705 [C99-based-standards] (PRIuFAST64): Likewise.
8706 [C99-based-standards] (PRIxFAST64): Likewise.
8707 [C99-based-standards] (PRIXFAST64): Likewise.
8708 [C99-based-standards] (SCNdFAST64): Likewise.
8709 [C99-based-standards] (SCNiFAST64): Likewise.
8710 [C99-based-standards] (SCNoFAST64): Likewise.
8711 [C99-based-standards] (SCNuFAST64): Likewise.
8712 [C99-based-standards] (SCNxFAST64): Likewise.
8713 [C99-based-standards] (PRIdMAX): Likewise.
8714 [C99-based-standards] (PRIiMAX): Likewise.
8715 [C99-based-standards] (PRIoMAX): Likewise.
8716 [C99-based-standards] (PRIuMAX): Likewise.
8717 [C99-based-standards] (PRIxMAX): Likewise.
8718 [C99-based-standards] (PRIXMAX): Likewise.
8719 [C99-based-standards] (SCNdMAX): Likewise.
8720 [C99-based-standards] (SCNiMAX): Likewise.
8721 [C99-based-standards] (SCNoMAX): Likewise.
8722 [C99-based-standards] (SCNuMAX): Likewise.
8723 [C99-based-standards] (SCNxMAX): Likewise.
8724 [C99-based-standards] (PRIdPTR): Likewise.
8725 [C99-based-standards] (PRIiPTR): Likewise.
8726 [C99-based-standards] (PRIoPTR): Likewise.
8727 [C99-based-standards] (PRIuPTR): Likewise.
8728 [C99-based-standards] (PRIxPTR): Likewise.
8729 [C99-based-standards] (PRIXPTR): Likewise.
8730 [C99-based-standards] (SCNdPTR): Likewise.
8731 [C99-based-standards] (SCNiPTR): Likewise.
8732 [C99-based-standards] (SCNoPTR): Likewise.
8733 [C99-based-standards] (SCNuPTR): Likewise.
8734 [C99-based-standards] (SCNxPTR): Likewise.
8735 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
8737 * conform/data/stdint.h-data: Update comments to clarify
8739 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8741 [C99-based standards] (INT8_MAX): Likewise.
8742 [C99-based standards] (INT16_MIN): Likewise.
8743 [C99-based standards] (INT16_MAX): Likewise.
8744 [C99-based standards] (INT32_MIN): Likewise.
8745 [C99-based standards] (INT32_MAX): Likewise.
8746 [C99-based standards] (INT64_MIN): Likewise.
8747 [C99-based standards] (INT64_MAX): Likewise.
8748 [C99-based standards] (UINT8_MAX): Likewise.
8749 [C99-based standards] (UINT16_MAX): Likewise.
8750 [C99-based standards] (UINT32_MAX): Likewise.
8751 [C99-based standards] (UINT64_MAX): Likewise.
8752 [C99-based standards] (INT_LEAST8_MIN): Likewise.
8753 [C99-based standards] (INT_LEAST8_MAX): Likewise.
8754 [C99-based standards] (INT_LEAST16_MIN): Likewise.
8755 [C99-based standards] (INT_LEAST16_MAX): Likewise.
8756 [C99-based standards] (INT_LEAST32_MIN): Likewise.
8757 [C99-based standards] (INT_LEAST32_MAX): Likewise.
8758 [C99-based standards] (INT_LEAST64_MIN): Likewise.
8759 [C99-based standards] (INT_LEAST64_MAX): Likewise.
8760 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
8761 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
8762 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
8763 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
8764 [C99-based standards] (INT_FAST8_MIN): Likewise.
8765 [C99-based standards] (INT_FAST8_MAX): Likewise.
8766 [C99-based standards] (INT_FAST16_MIN): Likewise.
8767 [C99-based standards] (INT_FAST16_MAX): Likewise.
8768 [C99-based standards] (INT_FAST32_MIN): Likewise.
8769 [C99-based standards] (INT_FAST32_MAX): Likewise.
8770 [C99-based standards] (INT_FAST64_MIN): Likewise.
8771 [C99-based standards] (INT_FAST64_MAX): Likewise.
8772 [C99-based standards] (UINT_FAST8_MAX): Likewise.
8773 [C99-based standards] (UINT_FAST16_MAX): Likewise.
8774 [C99-based standards] (UINT_FAST32_MAX): Likewise.
8775 [C99-based standards] (UINT_FAST64_MAX): Likewise.
8776 [C99-based standards] (INTPTR_MIN): Likewise.
8777 [C99-based standards] (INTPTR_MAX): Likewise.
8778 [C99-based standards] (UINTPTR_MAX): Likewise.
8779 [C99-based standards] (INTMAX_MIN): Likewise.
8780 [C99-based standards] (INTMAX_MAX): Likewise.
8781 [C99-based standards] (UINTMAX_MAX): Likewise.
8782 [C99-based standards] (PTRDIFF_MIN): Likewise.
8783 [C99-based standards] (PTRDIFF_MAX): Likewise.
8784 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
8785 [C99-based standards] (SIZE_MAX): Likewise.
8786 [C99-based standards] (WCHAR_MAX): Likewise.
8787 [C99-based standards] (WINT_MAX): Likewise.
8788 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
8789 constraint on value.
8790 [C99-based standards] (WCHAR_MIN): Likewise.
8791 [C99-based standards] (WINT_MIN): Likewise.
8792 [C99-based standards] (*_t): Allow.
8793 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
8794 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
8795 Include math.h-data and complex.h-data. Remove all expectations
8796 of math.h and complex.h contents.
8797 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
8799 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
8800 (struct tm): Expect tag.
8801 [C99-based-standards] (wcstof): Expect function.
8802 [C99-based-standards] (wcstold): Likewise.
8803 [C99-based-standards] (wcstoll): Likewise.
8804 [C99-based-standards] (wcstoull): Likewise.
8805 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
8806 macro-int-constant. Specify type.
8807 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
8808 constraint on value.
8809 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8811 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8813 [ISO C standards]: Do not allow headers.
8814 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
8815 wcs[abcdefghijklmnopqrstuvwxyz]*.
8816 [ISO C standards] (*_t): Do not allow.
8817 * conform/data/wctype.h-data [C99-based standards] (iswblank):
8819 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8820 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8822 [ISO C standards]: Do not allow headers.
8823 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
8824 is[abcdefghijklmnopqrstuvwxyz]*.
8825 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
8826 to[abcdefghijklmnopqrstuvwxyz]*.
8827 [ISO C standards] (*_t): Do not allow.
8828 * conform/data/stdalign.h-data: New file.
8829 * conform/data/stdbool.h-data: Likewise.
8830 * conform/data/stdnoreturn.h-data: Likewise.
8832 2012-11-07 Roland McGrath <roland@hack.frob.com>
8835 * manual/filesys.texi (Directory Entries): Typo fix.
8836 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8838 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8840 * elf/elf.h (EM_AARCH64): New macro.
8841 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
8842 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
8843 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
8844 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
8845 (R_AARCH64_TLSDESC): Likewise.
8846 (NT_ARM_TLS): Likewise.
8847 (NT_ARM_HW_BREAK): Likewise.
8848 (NT_ARM_HW_WATCH): Likewise.
8850 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8853 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
8854 (__ieee754_powl): Saturate nonzero exponents with absolute value
8855 below 0x1p-79 to +/- 0x1p-79.
8856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
8857 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
8858 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
8859 nonzero exponents with absolute value below 0x1p-32 to +/-
8861 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
8862 (__ieee754_powl): Saturate nonzero exponents with absolute value
8863 below 0x1p-79 to +/- 0x1p-79.
8864 * math/libm-test.inc (pow_test): Add more tests.
8866 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8868 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
8869 _dl_s390_cap_flags with kernel. Increase string length.
8870 (_dl_s390_platforms): Add z196 and zEC12.
8872 2012-11-07 Joseph Myers <joseph@codesourcery.com>
8874 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8875 Change XOPEN21K to XOPEN2K.
8877 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8879 * string/memmove.c: Use memcpy when possible.
8881 2012-11-06 Andreas Jaeger <aj@suse.de>
8883 * po/eo.po: Update from translation team.
8885 2012-11-06 Joseph Myers <joseph@codesourcery.com>
8888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
8889 exponent and small x and y exponents, scale x or y up. Increase
8890 by 2 the exponent used in scaling up.
8891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8893 * math/libm-test.inc (fma_test): Add more tests.
8894 (fma_test_towardzero): Likewise.
8895 (fma_test_downward): Likewise.
8896 (fma_test_upward): Likewise.
8898 2012-11-05 Joseph Myers <joseph@codesourcery.com>
8901 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8905 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
8906 namespace for names of struct fields.
8907 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
8909 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8910 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8912 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8915 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8917 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8919 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8923 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8926 2012-11-04 Joseph Myers <joseph@codesourcery.com>
8929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
8930 definitely overflow as x * y not x * y + z.
8931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8933 * math/libm-test.inc (fma_test): Add more tests.
8934 (fma_test_towardzero): Likewise.
8935 (fma_test_downward): Likewise.
8936 (fma_test_upward): Likewise.
8938 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8942 * include/stub-tag.h: Remove file.
8943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8945 * manual/maint.texi (Porting): Don't reference it.
8946 * Makerules ($(objpfx)stubs): Likewise.
8947 * dirent/closedir.c: Don't include <stub-tag.h>.
8948 * dirent/dirfd.c: Likewise.
8949 * dirent/fdopendir.c: Likewise.
8950 * dirent/getdents.c: Likewise.
8951 * dirent/getdents64.c: Likewise.
8952 * dirent/opendir.c: Likewise.
8953 * dirent/readdir.c: Likewise.
8954 * dirent/readdir64.c: Likewise.
8955 * dirent/readdir64_r.c: Likewise.
8956 * dirent/readdir_r.c: Likewise.
8957 * dirent/rewinddir.c: Likewise.
8958 * dirent/seekdir.c: Likewise.
8959 * dirent/telldir.c: Likewise.
8960 * gmon/profil.c: Likewise.
8961 * grp/setgroups.c: Likewise.
8962 * inet/if_index.c: Likewise.
8963 * io/access.c: Likewise.
8964 * io/chdir.c: Likewise.
8965 * io/chmod.c: Likewise.
8966 * io/chown.c: Likewise.
8967 * io/close.c: Likewise.
8968 * io/dup.c: Likewise.
8969 * io/dup2.c: Likewise.
8970 * io/dup3.c: Likewise.
8971 * io/euidaccess.c: Likewise.
8972 * io/faccessat.c: Likewise.
8973 * io/fchdir.c: Likewise.
8974 * io/fchmod.c: Likewise.
8975 * io/fchmodat.c: Likewise.
8976 * io/fchown.c: Likewise.
8977 * io/fchownat.c: Likewise.
8978 * io/fcntl.c: Likewise.
8979 * io/flock.c: Likewise.
8980 * io/fstatfs.c: Likewise.
8981 * io/fstatfs64.c: Likewise.
8982 * io/fstatvfs.c: Likewise.
8983 * io/fstatvfs64.c: Likewise.
8984 * io/futimens.c: Likewise.
8985 * io/fxstat.c: Likewise.
8986 * io/fxstat64.c: Likewise.
8987 * io/fxstatat.c: Likewise.
8988 * io/fxstatat64.c: Likewise.
8989 * io/getcwd.c: Likewise.
8990 * io/isatty.c: Likewise.
8991 * io/lchmod.c: Likewise.
8992 * io/lchown.c: Likewise.
8993 * io/link.c: Likewise.
8994 * io/linkat.c: Likewise.
8995 * io/lseek.c: Likewise.
8996 * io/lseek64.c: Likewise.
8997 * io/lxstat64.c: Likewise.
8998 * io/mkdir.c: Likewise.
8999 * io/mkdirat.c: Likewise.
9000 * io/mkfifo.c: Likewise.
9001 * io/mkfifoat.c: Likewise.
9002 * io/open.c: Likewise.
9003 * io/open64.c: Likewise.
9004 * io/openat.c: Likewise.
9005 * io/openat64.c: Likewise.
9006 * io/pipe.c: Likewise.
9007 * io/pipe2.c: Likewise.
9008 * io/poll.c: Likewise.
9009 * io/posix_fadvise.c: Likewise.
9010 * io/posix_fadvise64.c: Likewise.
9011 * io/posix_fallocate.c: Likewise.
9012 * io/posix_fallocate64.c: Likewise.
9013 * io/read.c: Likewise.
9014 * io/readlink.c: Likewise.
9015 * io/readlinkat.c: Likewise.
9016 * io/rmdir.c: Likewise.
9017 * io/sendfile.c: Likewise.
9018 * io/sendfile64.c: Likewise.
9019 * io/statfs.c: Likewise.
9020 * io/statfs64.c: Likewise.
9021 * io/statvfs.c: Likewise.
9022 * io/statvfs64.c: Likewise.
9023 * io/symlink.c: Likewise.
9024 * io/symlinkat.c: Likewise.
9025 * io/ttyname.c: Likewise.
9026 * io/ttyname_r.c: Likewise.
9027 * io/umask.c: Likewise.
9028 * io/unlink.c: Likewise.
9029 * io/unlinkat.c: Likewise.
9030 * io/utime.c: Likewise.
9031 * io/utimensat.c: Likewise.
9032 * io/write.c: Likewise.
9033 * io/xmknod.c: Likewise.
9034 * io/xmknodat.c: Likewise.
9035 * io/xstat.c: Likewise.
9036 * io/xstat64.c: Likewise.
9037 * login/getpt.c: Likewise.
9038 * login/grantpt.c: Likewise.
9039 * login/unlockpt.c: Likewise.
9040 * math/e_acoshl.c: Likewise.
9041 * math/e_acosl.c: Likewise.
9042 * math/e_asinl.c: Likewise.
9043 * math/e_atan2l.c: Likewise.
9044 * math/e_atanhl.c: Likewise.
9045 * math/e_coshl.c: Likewise.
9046 * math/e_expl.c: Likewise.
9047 * math/e_fmodl.c: Likewise.
9048 * math/e_gammal_r.c: Likewise.
9049 * math/e_hypotl.c: Likewise.
9050 * math/e_j0l.c: Likewise.
9051 * math/e_j1l.c: Likewise.
9052 * math/e_jnl.c: Likewise.
9053 * math/e_lgammal_r.c: Likewise.
9054 * math/e_log10l.c: Likewise.
9055 * math/e_log2l.c: Likewise.
9056 * math/e_logl.c: Likewise.
9057 * math/e_powl.c: Likewise.
9058 * math/e_rem_pio2l.c: Likewise.
9059 * math/e_sinhl.c: Likewise.
9060 * math/e_sqrtl.c: Likewise.
9061 * math/fclrexcpt.c: Likewise.
9062 * math/fedisblxcpt.c: Likewise.
9063 * math/feenablxcpt.c: Likewise.
9064 * math/fegetenv.c: Likewise.
9065 * math/fegetexcept.c: Likewise.
9066 * math/fegetround.c: Likewise.
9067 * math/feholdexcpt.c: Likewise.
9068 * math/fesetenv.c: Likewise.
9069 * math/fesetround.c: Likewise.
9070 * math/feupdateenv.c: Likewise.
9071 * math/fgetexcptflg.c: Likewise.
9072 * math/fraiseexcpt.c: Likewise.
9073 * math/fsetexcptflg.c: Likewise.
9074 * math/ftestexcept.c: Likewise.
9075 * math/k_cosl.c: Likewise.
9076 * math/k_rem_pio2l.c: Likewise.
9077 * math/k_sinl.c: Likewise.
9078 * math/k_tanl.c: Likewise.
9079 * math/s_asinhl.c: Likewise.
9080 * math/s_atanl.c: Likewise.
9081 * math/s_cbrtl.c: Likewise.
9082 * math/s_erfl.c: Likewise.
9083 * math/s_expm1l.c: Likewise.
9084 * math/s_log1pl.c: Likewise.
9085 * math/s_tanhl.c: Likewise.
9086 * misc/acct.c: Likewise.
9087 * misc/brk.c: Likewise.
9088 * misc/chflags.c: Likewise.
9089 * misc/chroot.c: Likewise.
9090 * misc/fchflags.c: Likewise.
9091 * misc/fgetxattr.c: Likewise.
9092 * misc/flistxattr.c: Likewise.
9093 * misc/fremovexattr.c: Likewise.
9094 * misc/fsetxattr.c: Likewise.
9095 * misc/fsync.c: Likewise.
9096 * misc/ftruncate.c: Likewise.
9097 * misc/futimes.c: Likewise.
9098 * misc/futimesat.c: Likewise.
9099 * misc/getdomain.c: Likewise.
9100 * misc/getdtsz.c: Likewise.
9101 * misc/gethostid.c: Likewise.
9102 * misc/gethostname.c: Likewise.
9103 * misc/getloadavg.c: Likewise.
9104 * misc/getpagesize.c: Likewise.
9105 * misc/getsysstats.c: Likewise.
9106 * misc/getxattr.c: Likewise.
9107 * misc/gtty.c: Likewise.
9108 * misc/ioctl.c: Likewise.
9109 * misc/lgetxattr.c: Likewise.
9110 * misc/listxattr.c: Likewise.
9111 * misc/llistxattr.c: Likewise.
9112 * misc/lremovexattr.c: Likewise.
9113 * misc/lsetxattr.c: Likewise.
9114 * misc/lutimes.c: Likewise.
9115 * misc/madvise.c: Likewise.
9116 * misc/mincore.c: Likewise.
9117 * misc/mlock.c: Likewise.
9118 * misc/mlockall.c: Likewise.
9119 * misc/mmap.c: Likewise.
9120 * misc/mprotect.c: Likewise.
9121 * misc/msync.c: Likewise.
9122 * misc/munlock.c: Likewise.
9123 * misc/munlockall.c: Likewise.
9124 * misc/munmap.c: Likewise.
9125 * misc/preadv.c: Likewise.
9126 * misc/preadv64.c: Likewise.
9127 * misc/ptrace.c: Likewise.
9128 * misc/pwritev.c: Likewise.
9129 * misc/pwritev64.c: Likewise.
9130 * misc/readv.c: Likewise.
9131 * misc/reboot.c: Likewise.
9132 * misc/remap_file_pages.c: Likewise.
9133 * misc/removexattr.c: Likewise.
9134 * misc/revoke.c: Likewise.
9135 * misc/select.c: Likewise.
9136 * misc/setdomain.c: Likewise.
9137 * misc/setegid.c: Likewise.
9138 * misc/seteuid.c: Likewise.
9139 * misc/sethostid.c: Likewise.
9140 * misc/sethostname.c: Likewise.
9141 * misc/setregid.c: Likewise.
9142 * misc/setreuid.c: Likewise.
9143 * misc/setxattr.c: Likewise.
9144 * misc/sstk.c: Likewise.
9145 * misc/stty.c: Likewise.
9146 * misc/swapoff.c: Likewise.
9147 * misc/swapon.c: Likewise.
9148 * misc/sync.c: Likewise.
9149 * misc/syncfs.c: Likewise.
9150 * misc/syscall.c: Likewise.
9151 * misc/truncate.c: Likewise.
9152 * misc/ualarm.c: Likewise.
9153 * misc/usleep.c: Likewise.
9154 * misc/ustat.c: Likewise.
9155 * misc/utimes.c: Likewise.
9156 * misc/vhangup.c: Likewise.
9157 * misc/writev.c: Likewise.
9158 * posix/_exit.c: Likewise.
9159 * posix/alarm.c: Likewise.
9160 * posix/execve.c: Likewise.
9161 * posix/fexecve.c: Likewise.
9162 * posix/fork.c: Likewise.
9163 * posix/fpathconf.c: Likewise.
9164 * posix/getaddrinfo.c: Likewise.
9165 * posix/getegid.c: Likewise.
9166 * posix/geteuid.c: Likewise.
9167 * posix/getgid.c: Likewise.
9168 * posix/getgroups.c: Likewise.
9169 * posix/getlogin.c: Likewise.
9170 * posix/getlogin_r.c: Likewise.
9171 * posix/getpgid.c: Likewise.
9172 * posix/getpid.c: Likewise.
9173 * posix/getppid.c: Likewise.
9174 * posix/getresgid.c: Likewise.
9175 * posix/getresuid.c: Likewise.
9176 * posix/getsid.c: Likewise.
9177 * posix/getuid.c: Likewise.
9178 * posix/glob64.c: Likewise.
9179 * posix/nanosleep.c: Likewise.
9180 * posix/pathconf.c: Likewise.
9181 * posix/pause.c: Likewise.
9182 * posix/posix_madvise.c: Likewise.
9183 * posix/pread.c: Likewise.
9184 * posix/pread64.c: Likewise.
9185 * posix/pwrite.c: Likewise.
9186 * posix/pwrite64.c: Likewise.
9187 * posix/sched_getaffinity.c: Likewise.
9188 * posix/sched_getp.c: Likewise.
9189 * posix/sched_gets.c: Likewise.
9190 * posix/sched_primax.c: Likewise.
9191 * posix/sched_primin.c: Likewise.
9192 * posix/sched_rr_gi.c: Likewise.
9193 * posix/sched_setaffinity.c: Likewise.
9194 * posix/sched_setp.c: Likewise.
9195 * posix/sched_sets.c: Likewise.
9196 * posix/sched_yield.c: Likewise.
9197 * posix/setgid.c: Likewise.
9198 * posix/setlogin.c: Likewise.
9199 * posix/setpgid.c: Likewise.
9200 * posix/setresgid.c: Likewise.
9201 * posix/setresuid.c: Likewise.
9202 * posix/setsid.c: Likewise.
9203 * posix/setuid.c: Likewise.
9204 * posix/sleep.c: Likewise.
9205 * posix/spawni.c: Likewise.
9206 * posix/sysconf.c: Likewise.
9207 * posix/times.c: Likewise.
9208 * posix/wait.c: Likewise.
9209 * posix/wait3.c: Likewise.
9210 * posix/wait4.c: Likewise.
9211 * posix/waitpid.c: Likewise.
9212 * resolv/gai_sigqueue.c: Likewise.
9213 * resource/getpriority.c: Likewise.
9214 * resource/getrlimit.c: Likewise.
9215 * resource/getrusage.c: Likewise.
9216 * resource/nice.c: Likewise.
9217 * resource/setpriority.c: Likewise.
9218 * resource/setrlimit.c: Likewise.
9219 * resource/ulimit.c: Likewise.
9220 * rt/aio_cancel.c: Likewise.
9221 * rt/aio_fsync.c: Likewise.
9222 * rt/aio_read.c: Likewise.
9223 * rt/aio_sigqueue.c: Likewise.
9224 * rt/aio_suspend.c: Likewise.
9225 * rt/aio_write.c: Likewise.
9226 * rt/clock_getres.c: Likewise.
9227 * rt/clock_gettime.c: Likewise.
9228 * rt/clock_nanosleep.c: Likewise.
9229 * rt/clock_settime.c: Likewise.
9230 * rt/lio_listio.c: Likewise.
9231 * rt/mq_close.c: Likewise.
9232 * rt/mq_getattr.c: Likewise.
9233 * rt/mq_notify.c: Likewise.
9234 * rt/mq_open.c: Likewise.
9235 * rt/mq_receive.c: Likewise.
9236 * rt/mq_send.c: Likewise.
9237 * rt/mq_setattr.c: Likewise.
9238 * rt/mq_timedreceive.c: Likewise.
9239 * rt/mq_timedsend.c: Likewise.
9240 * rt/mq_unlink.c: Likewise.
9241 * rt/shm_open.c: Likewise.
9242 * rt/shm_unlink.c: Likewise.
9243 * rt/timer_create.c: Likewise.
9244 * rt/timer_delete.c: Likewise.
9245 * rt/timer_getoverr.c: Likewise.
9246 * rt/timer_gettime.c: Likewise.
9247 * rt/timer_settime.c: Likewise.
9248 * setjmp/__longjmp.c: Likewise.
9249 * setjmp/setjmp.c: Likewise.
9250 * signal/kill.c: Likewise.
9251 * signal/killpg.c: Likewise.
9252 * signal/raise.c: Likewise.
9253 * signal/sigaction.c: Likewise.
9254 * signal/sigaltstack.c: Likewise.
9255 * signal/sigblock.c: Likewise.
9256 * signal/sigignore.c: Likewise.
9257 * signal/sigintr.c: Likewise.
9258 * signal/signal.c: Likewise.
9259 * signal/sigpause.c: Likewise.
9260 * signal/sigpending.c: Likewise.
9261 * signal/sigqueue.c: Likewise.
9262 * signal/sigreturn.c: Likewise.
9263 * signal/sigset.c: Likewise.
9264 * signal/sigsetmask.c: Likewise.
9265 * signal/sigstack.c: Likewise.
9266 * signal/sigsuspend.c: Likewise.
9267 * signal/sigtimedwait.c: Likewise.
9268 * signal/sigvec.c: Likewise.
9269 * signal/sigwait.c: Likewise.
9270 * signal/sigwaitinfo.c: Likewise.
9271 * signal/sysv_signal.c: Likewise.
9272 * socket/accept.c: Likewise.
9273 * socket/accept4.c: Likewise.
9274 * socket/bind.c: Likewise.
9275 * socket/connect.c: Likewise.
9276 * socket/getpeername.c: Likewise.
9277 * socket/getsockname.c: Likewise.
9278 * socket/getsockopt.c: Likewise.
9279 * socket/isfdtype.c: Likewise.
9280 * socket/listen.c: Likewise.
9281 * socket/recv.c: Likewise.
9282 * socket/recvfrom.c: Likewise.
9283 * socket/recvmsg.c: Likewise.
9284 * socket/send.c: Likewise.
9285 * socket/sendmsg.c: Likewise.
9286 * socket/sendto.c: Likewise.
9287 * socket/setsockopt.c: Likewise.
9288 * socket/shutdown.c: Likewise.
9289 * socket/sockatmark.c: Likewise.
9290 * socket/socket.c: Likewise.
9291 * socket/socketpair.c: Likewise.
9292 * stdio-common/ctermid.c: Likewise.
9293 * stdio-common/cuserid.c: Likewise.
9294 * stdio-common/remove.c: Likewise.
9295 * stdio-common/rename.c: Likewise.
9296 * stdio-common/renameat.c: Likewise.
9297 * stdio-common/tempname.c: Likewise.
9298 * stdlib/getcontext.c: Likewise.
9299 * stdlib/makecontext.c: Likewise.
9300 * stdlib/setcontext.c: Likewise.
9301 * stdlib/swapcontext.c: Likewise.
9302 * stdlib/system.c: Likewise.
9303 * streams/fattach.c: Likewise.
9304 * streams/fdetach.c: Likewise.
9305 * streams/getmsg.c: Likewise.
9306 * streams/getpmsg.c: Likewise.
9307 * streams/putmsg.c: Likewise.
9308 * streams/putpmsg.c: Likewise.
9309 * sysdeps/unix/bsd/getpt.c: Likewise.
9310 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9311 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9312 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9315 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9317 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9318 * sysvipc/msgctl.c: Likewise.
9319 * sysvipc/msgget.c: Likewise.
9320 * sysvipc/msgrcv.c: Likewise.
9321 * sysvipc/msgsnd.c: Likewise.
9322 * sysvipc/semctl.c: Likewise.
9323 * sysvipc/semget.c: Likewise.
9324 * sysvipc/semop.c: Likewise.
9325 * sysvipc/semtimedop.c: Likewise.
9326 * sysvipc/shmat.c: Likewise.
9327 * sysvipc/shmctl.c: Likewise.
9328 * sysvipc/shmdt.c: Likewise.
9329 * sysvipc/shmget.c: Likewise.
9330 * termios/tcdrain.c: Likewise.
9331 * termios/tcflow.c: Likewise.
9332 * termios/tcflush.c: Likewise.
9333 * termios/tcgetattr.c: Likewise.
9334 * termios/tcgetpgrp.c: Likewise.
9335 * termios/tcsendbrk.c: Likewise.
9336 * termios/tcsetattr.c: Likewise.
9337 * termios/tcsetpgrp.c: Likewise.
9338 * time/adjtime.c: Likewise.
9339 * time/clock.c: Likewise.
9340 * time/getitimer.c: Likewise.
9341 * time/gettimeofday.c: Likewise.
9342 * time/setitimer.c: Likewise.
9343 * time/settimeofday.c: Likewise.
9344 * time/stime.c: Likewise.
9345 * time/time.c: Likewise.
9347 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
9349 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9352 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9354 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9356 2012-11-03 Joseph Myers <joseph@codesourcery.com>
9359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9360 FE_TONEAREST before applying Dekker multiplication and Knuth
9361 addition. Clear inexact exceptions and check for exact zero
9363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9364 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9366 * math/libm-test.inc (fma_test): Add more tests.
9367 (fma_test_towardzero): Likewise.
9368 (fma_test_downward): Likewise.
9369 (fma_test_upward): Likewise.
9370 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9372 (libc_fesetround): New macro.
9373 (libc_fesetroundf): Likewise.
9374 (libc_fesetroundl): Likewise.
9375 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9377 (libc_fesetround_387): Likewise.
9378 (libc_fesetroundf): New macro.
9379 (libc_fesetround): Likewise.
9380 (libc_fesetroundl): Likewise.
9381 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9383 (libc_fesetroundf): New macro.
9384 (libc_fesetround): Likewise.
9385 (libc_fesetroundl): Likewise.
9386 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9387 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9388 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9390 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9391 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9394 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9396 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9400 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9401 integer constant usable in #if and use that to give value to enum
9403 (FE_DIVBYZERO): Likewise.
9404 (FE_UNDERFLOW): Likewise.
9405 (FE_OVERFLOW): Likewise.
9406 (FE_INVALID): Likewise.
9407 (FE_INVALID_SNAN): Likewise.
9408 (FE_INVALID_ISI): Likewise.
9409 (FE_INVALID_IDI): Likewise.
9410 (FE_INVALID_ZDZ): Likewise.
9411 (FE_INVALID_IMZ): Likewise.
9412 (FE_INVALID_COMPARE): Likewise.
9413 (FE_INVALID_SOFTWARE): Likewise.
9414 (FE_INVALID_SQRT): Likewise.
9415 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9416 (FE_TONEAREST): Likewise.
9417 (FE_TOWARDZERO): Likewise.
9418 (FE_UPWARD): Likewise.
9419 (FE_DOWNWARD): Likewise.
9420 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9421 (FE_DIVBYZERO): Likewise.
9422 (FE_OVERFLOW): Likewise.
9423 (FE_UNDERFLOW): Likewise.
9424 (FE_INEXACT): Likewise.
9425 (FE_TONEAREST): Likewise.
9426 (FE_DOWNWARD): Likewise.
9427 (FE_UPWARD): Likewise.
9428 (FE_TOWARDZERO): Likewise.
9429 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9430 (FE_UNDERFLOW): Likewise.
9431 (FE_OVERFLOW): Likewise.
9432 (FE_DIVBYZERO): Likewise.
9433 (FE_INVALID): Likewise.
9434 (FE_TONEAREST): Likewise.
9435 (FE_TOWARDZERO): Likewise.
9436 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9437 (FE_OVERFLOW): Likewise.
9438 (FE_UNDERFLOW): Likewise.
9439 (FE_DIVBYZERO): Likewise.
9440 (FE_INEXACT): Likewise.
9441 (FE_TONEAREST): Likewise.
9442 (FE_TOWARDZERO): Likewise.
9443 (FE_UPWARD): Likewise.
9444 (FE_DOWNWARD): Likewise.
9445 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9446 (FE_DIVBYZERO): Likewise.
9447 (FE_OVERFLOW): Likewise.
9448 (FE_UNDERFLOW): Likewise.
9449 (FE_INEXACT): Likewise.
9450 (FE_TONEAREST): Likewise.
9451 (FE_DOWNWARD): Likewise.
9452 (FE_UPWARD): Likewise.
9453 (FE_TOWARDZERO): Likewise.
9455 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9457 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9459 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9461 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9462 commands. Quote $PWD.
9463 (blacklist_exports): Don't use remove_newlines. Replace "declare
9465 (remove_newlines): Remove.
9467 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9469 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9470 * stdlib/stdlib.h (atof): Moved to ...
9471 * include/bits/stdlib-float.h: Here. New file.
9472 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9473 * stdlib/bits/stdlib-float.h: New file.
9474 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9479 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9481 * conform/conformtest.pl (@headers): Add fenv.h.
9482 * conform/data/fenv.h-data: New file.
9483 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9484 include of <math/fenv.h>.
9486 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9487 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9488 && !UNIX98]. Enables tests for XOPEN2K8.
9489 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9490 POSIX2008]: Likewise.
9492 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9493 (struct rusage): Do not expect type or its members.
9496 * math/math.h (FP_NAN): Define macro to integer constant usable in
9497 #if and use that to give value to enum constant.
9498 (FP_INFINITE): Likewise.
9499 (FP_ZERO): Likewise.
9500 (FP_SUBNORMAL): Likewise.
9501 (FP_NORMAL): Likewise.
9503 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9505 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9506 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9509 2012-11-02 Roland McGrath <roland@hack.frob.com>
9511 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9512 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9513 autoconf-time if not.
9514 * configure.in: Remove AC_PREREQ.
9516 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9518 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9519 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9520 of the internal implementation.
9522 2012-11-02 Joseph Myers <joseph@codesourcery.com>
9524 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9525 except include of <misc/sys/syslog.h>.
9527 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9530 function returns with a NULL context exit with zero.
9532 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9534 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9536 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9538 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9539 (run_program_cmd): This.
9540 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9541 (tst_langinfo): New variable. Use it.
9543 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9545 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9546 floating point opcodes.
9548 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9550 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9553 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9555 * sysdeps/mach/hurd/powerpc: Remove directory.
9556 * sysdeps/mach/powerpc: Likewise.
9558 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9560 * scripts/check-local-headers.sh: Ignore c++ headers.
9562 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9564 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9565 __libc_cleanup_region_start argument.
9567 2012-11-01 Joseph Myers <joseph@codesourcery.com>
9571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9572 x * y using scaling, not as x * y + z.
9573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9575 * math/libm-test.inc (fma_test): Add more tests.
9576 (fma_test_towardzero): Likewise.
9577 (fma_test_downward): Likewise.
9578 (fma_test_upward): Likewise.
9580 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9582 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9584 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9586 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9589 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9591 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9593 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9600 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9603 Fix the order of the list for glibc 2.17.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9607 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9611 2012-10-31 Joseph Myers <joseph@codesourcery.com>
9614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9615 for low part of x being zero before using __atanl (y).
9616 * math/libm-test.inc (atan2_test): Add another test.
9618 * manual/install.texi (Configuring and compiling): Document
9619 general use of test-wrapper and test-wrapper-env.
9620 * INSTALL: Regenerated.
9622 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9623 (__fma): Do not extract and scale down low bits on after-rounding
9624 systems when result rounded to normal precision would have normal
9626 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9627 (__fmal): Do not extract and scale down low bits on after-rounding
9628 systems when result rounded to normal precision would have normal
9630 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9631 (__fmal): Do not extract and scale down low bits on after-rounding
9632 systems when result rounded to normal precision would have normal
9634 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9636 (fma_test): Add more tests.
9637 (fma_test_towardzero): Likewise.
9638 (fma_test_downward): Likewise.
9639 (fma_test_upward): Likewise.
9641 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9643 * sysdeps/i386/tininess.h: Renamed to ...
9644 * sysdeps/x86/tininess.h: This.
9645 * sysdeps/x86_64/tininess.h: Removed.
9647 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9649 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9650 input. Use $(build-program-cmd).
9651 ($(objpfx)tst-array1-static.out): Likewise.
9652 ($(objpfx)tst-array2.out): Likewise.
9653 ($(objpfx)tst-array3.out): Likewise.
9654 ($(objpfx)tst-array4.out): Likewise.
9655 ($(objpfx)tst-array5.out): Likewise.
9656 ($(objpfx)tst-array5-static.out): Likewise.
9658 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9660 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9663 * nss/nsswitch.h (nss_interface_function): Provide new
9664 macro for use with NSS functions.
9665 * grp/initgroups.c: Use new macro.
9666 * nss/getXXbyYY.c: Likewise.
9667 * nss/getXXbyYY_r.c: Likewise.
9668 * nss/getXXent.c: Likewise.
9669 * nss/getXXent_r.c: Likewise.
9670 * sysdeps/posix/getaddrinfo.c: Likewise.
9672 2012-10-30 Andreas Jaeger <aj@suse.de>
9674 * po/ru.po: Update Russion translation from translation project.
9676 2012-10-30 Joseph Myers <joseph@codesourcery.com>
9680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9681 result and shift together with sticky bit instead of replicating
9682 round-to-nearest rounding.
9683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9685 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9686 missing underflow exceptions.
9687 (fma_test_towardzero): Add more tests.
9688 (fma_test_downward): Likewise.
9689 (fma_test_upward): Likewise.
9692 * sysdeps/generic/tininess.h: New file.
9693 * sysdeps/i386/tininess.h: Likewise.
9694 * sysdeps/sh/tininess.h: Likewise.
9695 * sysdeps/x86_64/tininess.h: Likewise.
9696 * stdlib/tst-strtod-underflow.c: Likewise.
9697 * stdlib/tst-tininess.c: Likewise.
9698 * stdlib/strtod_l.c: Include <tininess.h>.
9699 (round_and_return): Do not set errno for exact underflow cases.
9700 Force an underflow exception when setting errno for underflow.
9701 Determine underflow based on rounding to normal precision if
9702 TININESS_AFTER_ROUNDING.
9703 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
9704 ERANGE for exact underflow cases.
9705 * stdlib/Makefile (tests): Add tst-tininess and
9706 tst-strtod-underflow.
9707 ($(objpfx)tst-tininess): Use $(link-libm).
9708 ($(objpfx)tst-strtod-underflow): Likewise.
9710 2012-10-30 Andreas Jaeger <aj@suse.de>
9713 * elf/Makefile (tests): Remove conditional for have-initfini-array
9714 since this is now always required and the variable does not exist
9716 (tests-static): Likewise.
9717 (modules-names): Likewise.
9719 * po/eo.po: Add Esperanto translation from translation project.
9721 * elf/tst-array1.c (fini_array): Make writeable so that it can be
9722 merged with constructor/destructor.
9723 (init_array): Likewise.
9724 * elf/tst-array2dep.c (fini_array): Likewise.
9725 (init_array): Likewise.
9727 2012-10-29 Mike Frysinger <vapier@gentoo.org>
9729 * manual/message.texi: Delete @cartouche tags.
9731 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9733 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9735 * sysdeps/mach/hurd/fsync.c: Likewise.
9737 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9738 [_POSIX_REALTIME_SIGNALS]: Change condition to
9739 [_POSIX_REALTIME_SIGNALS > 0].
9741 2012-10-27 Andreas Jaeger <aj@suse.de>
9743 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
9744 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
9745 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
9746 [__WORDSIZE != 64]: Likewise.
9748 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9750 * iconvdata/tst-table.sh: Remove ${SHELL}.
9751 * iconvdata/tst-tables.sh: Likewise.
9753 2012-10-25 David S. Miller <davem@davemloft.net>
9755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9756 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9761 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9762 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
9763 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
9766 2012-10-25 Roland McGrath <roland@hack.frob.com>
9768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9769 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9772 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9773 Jim Blandy <jimb@codesourcery.com>
9775 * scripts/cross-test-ssh.sh: New file.
9776 * manual/install.texi (Configuring and compiling): Document use of
9778 * INSTALL: Regenerated.
9780 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9782 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9785 2012-10-25 Joseph Myers <joseph@codesourcery.com>
9787 * Makeconfig (run-program-prefix): Fix comment.
9789 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9790 Jim Blandy <jimb@codesourcery.com>
9792 * Makeconfig (test-wrapper): New variable,
9793 (test-wrapper-env): Likewise.
9794 [$(cross-compiling) = yes && $(test-wrapper) != ""]
9795 (run-built-tests): Define to yes.
9796 (run-program-prefix): Use $(test-wrapper).
9797 (built-program-cmd): Likewise.
9798 * Rules (make-test-out): Use $(test-wrapper-env) and
9799 $(host-built-program-cmd).
9800 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
9801 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
9803 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
9804 $(test-wrapper-env) to tst-rtld-load-self.sh.
9805 ($(objpfx)order2.out): Use $(test-wrapper).
9806 ($(objpfx)tst-initorder.out): Likewise.
9807 ($(objpfx)tst-initorder2.out): Likewise.
9808 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
9809 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
9810 (test_wrapper_env): New variable. Use it to run ld.so.
9811 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
9812 Use it to run ld.so.
9813 (test_wrapper_env): Likewise.
9814 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
9815 $(test-wrapper) to run-iconv-test.sh.
9816 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
9817 (ICONV): Use $test_wrapper.
9818 * posix/Makefile ($(objpfx)globtest.out): Pass
9819 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
9820 globtest.sh, not $(run-program-prefix).
9821 * posix/globtest.sh (run_via_rtld_prefix): New variable.
9822 (test_wrapper): Likewise.
9823 (test_wrapper_env): Likewise. Use it to run globtest with HOME
9824 set together with run_via_rtld_prefix.
9825 (run_program_prefix): Define in terms of test_wrapper and
9826 run_via_rtld_prefix.
9828 2012-10-24 Roland McGrath <roland@hack.frob.com>
9830 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9831 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9835 * include/time.h: Remove librt_hidden_proto (clock_gettime).
9836 Declare __clock_getres, __clock_gettime, __clock_settime,
9837 __clock_nanosleep, and __clock_getcpuclockid.
9838 * rt/clock_gettime.c: Define __clock_gettime as an alias.
9839 Remove librt_hidden_def (clock_gettime).
9840 * sysdeps/unix/clock_gettime.c: Likewise.
9841 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
9842 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9843 * rt/clock_getres.c: Define __clock_getres as an alias.
9844 * sysdeps/posix/clock_getres.c: Likewise.
9845 * rt/clock_settime.c: Define __clock_settime as an alias.
9846 * sysdeps/unix/clock_settime.c: Likewise.
9847 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
9848 * sysdeps/unix/clock_nanosleep.c: Likewise.
9849 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9850 * rt/clock-compat.c: New file.
9851 * rt/Makefile (librt-routines): Add clock-compat and move
9852 $(clock-routines) to ...
9853 (routines): ... here, new variable.
9854 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
9855 Don't add get_clockfreq here.
9856 * rt/Versions (libc: GLIBC_2.17): New version set.
9857 Add clock_* symbols here.
9858 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
9859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
9860 (GLIBC_2.17): Add clock_* symbols.
9861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9872 * NEWS: Mention the move.
9874 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9875 Use __open, __read, __close rather than their public counterparts.
9876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9877 (__get_clockfreq_via_cpuinfo): Likewise.
9878 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
9879 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
9881 * config.h.in (HAVE_IFUNC): New #undef.
9882 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9884 * configure: Regenerated.
9886 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9888 * configure.in: Move READELF check to start of file.
9889 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
9890 libc_cv_asm_gnu_indirect_function in the process.
9891 * configure: Regenerated.
9893 2012-10-24 Mike Frysinger <vapier@gentoo.org>
9895 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
9896 send the output to /dev/null.
9897 (libc_cv_cc_with_libunwind): Likewise.
9898 (libc_cv_as_noexecstack): Likewise.
9899 * configure: Regenerate.
9901 2012-10-24 Joseph Myers <joseph@codesourcery.com>
9903 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9905 * posix/globtest.sh (TMPDIR): Do not set.
9906 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9907 (testout): Likewise.
9909 2012-10-24 Andreas Jaeger <aj@suse.de>
9911 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
9912 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
9913 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
9914 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
9915 posix_fadvise64, posix_fallocate64.
9917 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
9918 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
9919 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
9921 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9923 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
9926 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
9927 <bits/fcntl-linux.h>.
9928 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
9930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
9931 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
9932 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
9933 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
9934 [__WORDSIZE != 64]: Likewise.
9936 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9938 * Makeconfig (run-built-tests): New variable.
9939 * Rules [$(cross-compiling) = yes]: Change condition to
9940 [$(run-built-tests) = no].
9941 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
9942 to [$(run-built-tests) = yes].
9943 * elf/Makefile [$(cross-compiling) = no]: Likewise
9944 * grp/Makefile [$(cross-compiling) = no]: Likewise.
9945 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
9946 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
9947 * intl/Makefile [$(cross-compiling) = no]: Likewise.
9948 * io/Makefile [$(cross-compiling) = no]: Likewise.
9949 * libio/Makefile [$(cross-compiling) = no]: Likewise.
9950 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
9951 * misc/Makefile [$(cross-compiling) = no]: Likewise.
9952 * posix/Makefile [$(cross-compiling) = no]: Likewise.
9953 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
9954 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
9955 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
9956 * string/Makefile [$(cross-compiling) = no]: Likewise.
9958 * posix/Makefile ($(objpfx)globtest.out): Pass
9959 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
9960 $(rtld-installed-name).
9961 * posix/globtest.sh (elf_objpfx): Remove variable.
9962 (rtld_installed_name): Likewise.
9963 (library_path): Likewise.
9964 (run_program_prefix): New variable. Use for running globtest
9967 2012-10-23 Jim Blandy <jimb@codesourcery.com>
9968 Joseph Myers <joseph@codesourcery.com>
9970 * Makeconfig (host-built-program-cmd): New variable.
9971 * elf/Makefile (tst-stackguard1-ARGS): Use
9972 $(host-built-program-cmd).
9973 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
9974 (tst-spawn-ARGS): Likewise.
9975 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
9977 2012-10-23 Joseph Myers <joseph@codesourcery.com>
9978 Jim Blandy <jimb@codesourcery.com>
9980 * Makeconfig (run-via-rtld-prefix): New variable.
9981 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
9982 (built-program-cmd): Likewise.
9984 2012-10-22 Andreas Jaeger <aj@suse.de>
9986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9987 __O_RSYNC if it exists, otherwise to O_SYNC.
9989 2012-10-22 Jim Blandy <jimb@codesourcery.com>
9990 Joseph Myers <joseph@codesourcery.com>
9992 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9994 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9996 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9999 2012-10-22 Andreas Jaeger <aj@suse.de>
10001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10006 bits/fcntl-linux.h.
10008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10009 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10016 2012-10-21 Jim Blandy <jimb@codesourcery.com>
10017 Joseph Myers <joseph@codesourcery.com>
10019 * config.make.in (NM): New variable.
10021 2012-10-21 Andreas Jaeger <aj@suse.de>
10023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10024 definitions and declarations that are provided by
10025 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10027 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10030 * elf/Makefile (tests-static): Add tst-leaks1-static.
10031 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10032 ($(objpfx)tst-leaks1-static): New rule.
10033 ($(objpfx)tst-leaks1-static-mem): Likewise.
10034 (tst-leaks1-static-ENV): New macro.
10035 * elf/dl-open.c (dl_open_worker): Check the main application
10036 only if SHARED is defined.
10037 * elf/tst-leaks1-static.c: New file.
10039 2012-10-20 Andreas Jaeger <aj@suse.de>
10041 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10042 generic values for Linux.
10043 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10044 and declarations that are provided by <bits/fcntl-linux.h> and
10045 include <bits/fcntl-linux.h>.
10046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10049 2012-10-20 Roland McGrath <roland@hack.frob.com>
10051 * io/fcntl.h: Move include of <bits/types.h> to the top and
10052 include it unconditionally.
10054 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10056 * wcsmbs/Makefile (tests-ifunc): New variable.
10057 (tests): Add $(tests-ifunc).
10058 * wcsmbs/test-wcschr-ifunc.c: New file.
10059 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10060 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10061 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10062 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10063 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10065 * string/Makefile (tests-ifunc): New variable.
10066 (tests): Add $(tests-ifunc).
10067 * string/test-memccpy.c (TEST_NAME): New macro.
10068 * string/test-memchr.c (TEST_NAME): Likewise.
10069 * string/test-memcmp.c (TEST_NAME): Likewise.
10070 * string/test-memcpy.c (TEST_NAME): Likewise.
10071 * string/test-memmem.c (TEST_NAME): Likewise.
10072 * string/test-memmove.c (TEST_NAME): Likewise.
10073 * string/test-memset.c (TEST_NAME): Likewise.
10074 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10075 * string/test-stpcpy.c (TEST_NAME): Likewise.
10076 * string/test-stpncpy.c (TEST_NAME): Likewise.
10077 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10078 * string/test-strcasestr.c (TEST_NAME): Likewise.
10079 * string/test-strcat.c (TEST_NAME): Likewise.
10080 * string/test-strchr.c (TEST_NAME): Likewise.
10081 * string/test-strcmp.c(TEST_NAME): Likewise.
10082 * string/test-strcpy.c (TEST_NAME): Likewise.
10083 * string/test-strcspn.c (TEST_NAME): Likewise.
10084 * string/test-strlen.c (TEST_NAME): Likewise.
10085 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10086 * string/test-strncmp.c (TEST_NAME): Likewise.
10087 * string/test-strncpy.c (TEST_NAME): Likewise.
10088 * string/test-strnlen.c (TEST_NAME): Likewise.
10089 * string/test-strpbrk.c (TEST_NAME): Likewise.
10090 * string/test-strrchr.c (TEST_NAME): Likewise.
10091 * string/test-strspn.c (TEST_NAME): Likewise.
10092 * string/test-strstr.c (TEST_NAME): Likewise.
10093 * string/test-bcopy-ifunc.c: New file.
10094 * string/test-bzero-ifunc.c: Likewise.
10095 * string/test-memccpy-ifunc.c: Likewise.
10096 * string/test-memchr-ifunc.c: Likewise.
10097 * string/test-memcmp-ifunc.c: Likewise.
10098 * string/test-memcpy-ifunc.c: Likewise.
10099 * string/test-memmem-ifunc.c: Likewise.
10100 * string/test-memmove-ifunc.c: Likewise.
10101 * string/test-mempcpy-ifunc.c: Likewise.
10102 * string/test-memset-ifunc.c: Likewise.
10103 * string/test-rawmemchr-ifunc.c: Likewise.
10104 * string/test-stpcpy-ifunc.c: Likewise.
10105 * string/test-stpncpy-ifunc.c: Likewise.
10106 * string/test-strcasecmp-ifunc.c: Likewise.
10107 * string/test-strcasestr-ifunc.c: Likewise.
10108 * string/test-strcat-ifunc.c: Likewise.
10109 * string/test-strchr-ifunc.c: Likewise.
10110 * string/test-strchrnul-ifunc.c: Likewise.
10111 * string/test-strcmp-ifunc.c: Likewise.
10112 * string/test-strcpy-ifunc.c: Likewise.
10113 * string/test-strcspn-ifunc.c: Likewise.
10114 * string/test-strlen-ifunc.c: Likewise.
10115 * string/test-strncasecmp-ifunc.c: Likewise.
10116 * string/test-strncat-ifunc.c: Likewise.
10117 * string/test-strncmp-ifunc.c: Likewise.
10118 * string/test-strncpy-ifunc.c: Likewise.
10119 * string/test-strnlen-ifunc.c: Likewise.
10120 * string/test-strpbrk-ifunc.c: Likewise.
10121 * string/test-strrchr-ifunc.c: Likewise.
10122 * string/test-strspn-ifunc.c: Likewise.
10123 * string/test-strstr-ifunc.c: Likewise.
10125 * debug/Makefile (tests-ifunc): New variable.
10126 (tests): Add $(tests-ifunc).
10127 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10128 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10129 * debug/test-stpcpy_chk-ifunc.c: New file.
10130 * debug/test-strcpy_chk-ifunc.c: Likewise.
10132 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10135 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10136 header is not read in.
10138 2012-10-19 Joseph Myers <joseph@codesourcery.com>
10140 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10141 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10142 directly. Pass built executable to script as
10143 $(built-program-cmd).
10144 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10145 $testprogram without using LD_LIBRARY_PATH and $ldso.
10147 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10148 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10149 $(rtld-installed-name).
10150 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10151 (rtld_installed_name): Likewise.
10152 (library_path): Likewise.
10153 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10154 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10155 $(run-program-prefix) to tst-tables.sh.
10156 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10157 it to run tst-table-from and tst-table-to.
10158 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10159 Pass it to tst-table.sh.
10160 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10161 $(run-program-prefix) to tst-gettext.sh.
10162 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10164 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10166 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10167 to run tst-gettext.
10168 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10169 to run tst-gettext2.
10170 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10171 to run tst-translit.
10172 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10173 $(run-program-prefix) to tst-mtrace.sh.
10174 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10176 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10177 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10178 $(rtld-installed-name).
10179 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10180 (rtld_installed_name): Likewise.
10181 (run_program_prefix): New variable. Use it to run wordexp-test.
10183 * Makeconfig (ARCH): Remove all definitions.
10184 (machine): Likewise.
10185 [ARCH]: Remove conditional code.
10186 [!objdir]: Give error.
10187 [!objdir] (objpfx): Remove.
10188 [!objdir] (common-objpfx): Likewise.
10189 [!objdir] (common-objdir): Likewise.
10190 * configure.in (config_makefile): Remove. Hardcode Makefile in
10191 AC_CONFIG_FILES call.
10192 * configure: Regenerated.
10195 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10197 (testout): Likewise.
10199 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10200 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10201 $(rtld-installed-name).
10202 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10203 (rtld_installed_name): Likwise.
10204 (runit): Remove function.
10205 (run_getconf): New variable, Use it for running getconf binary.
10207 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10210 * string/test-memmem.c (check_result): New function.
10211 (do_one_test): Use it.
10212 (check1): New function.
10213 (test_main): Use it.
10215 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10217 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10219 2012-10-18 Joseph Myers <joseph@codesourcery.com>
10221 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10222 (_G_LSEEK64): Likewise.
10223 (_G_MMAP64): Likewise.
10224 (_G_FSTAT64): Likewise.
10225 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10226 (_G_LSEEK64): Likewise.
10227 (_G_MMAP64): Likewise.
10228 (_G_FSTAT64): Likewise.
10229 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10230 unconditional. Call __mmap64 directly.
10231 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10232 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10233 __lseek64 directly.
10234 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10235 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10237 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10238 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10239 __lseek64 directly.
10240 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10241 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10242 __lseek64 directly.
10243 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10244 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10245 __lseek64 directly.
10246 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10247 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10248 __fxstat64 directly.
10249 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10250 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10252 (freopen64) [!_G_OPEN64]: Remove conditional code.
10253 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10255 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10256 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10258 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10259 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10261 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10262 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10264 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10265 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10267 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10268 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10270 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10271 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10273 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10275 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10278 * manual/memory.texi (Malloc Tunable Parameters): Add note
10279 about free list pointers overwriting some perturb bytes.
10280 Wording suggested by Roland McGrath.
10282 2012-10-17 Joseph Myers <joseph@codesourcery.com>
10284 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10285 (lgamma_test): Likewise.
10286 (tgamma_test): Likewise.
10288 2012-10-16 Florian Weimer <fweimer@redhat.com>
10291 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10292 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10294 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10296 * NEWS: Mention BZ #14716.
10297 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10298 when removing AVAILABLE1_USES_J macro.
10300 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10302 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10303 (__bswap_64): __uint64_t for unsigned 64-bit int.
10305 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10307 * include/string.h (memmem): Declare libc hidden alias.
10308 * string/memmem.c (memmem): Define libc hidden alias.
10309 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10310 __read, __close instead of open, read, close.
10312 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10315 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10317 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10318 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10319 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10321 (__rawmemchr_sse2): Likewise.
10322 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10323 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10324 (__strchr_sse2): Likewise.
10325 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10326 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10327 (__strcasecmp_sse2): Likewise.
10328 (__strncasecmp_sse2): Likewise.
10329 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10330 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10331 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10332 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10333 (__strrchr_sse2): Likewise.
10334 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10336 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10337 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10338 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10339 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10340 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10341 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10342 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10343 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10344 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10345 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10346 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10347 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10348 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10349 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10350 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10351 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10352 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10353 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10354 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10355 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10356 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10357 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10358 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10359 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10360 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10361 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10362 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10363 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10364 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10365 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10367 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10369 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10370 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10371 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10372 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10374 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10376 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10377 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10378 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10379 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10381 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10382 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10383 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10384 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10385 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10386 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10387 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10388 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10389 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10390 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10391 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10392 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10393 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10394 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10395 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10396 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10398 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10401 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10402 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10403 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10404 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10406 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10407 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10408 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10409 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10410 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10411 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10412 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10413 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10414 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10415 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10416 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10417 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10418 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10419 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10420 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10421 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10423 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10424 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10425 * include/ifunc-impl-list.h: New file.
10426 * misc/ifunc-impl-list.c: Likewise.
10427 * misc/Makefile (routines): Add ifunc-impl-list.
10428 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10429 * string/test-string.h: Include <ifunc-impl-list.h>.
10430 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10431 impl_array): New variables.
10432 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10434 (test_init): Call __libc_ifunc_impl_list to initialize
10435 func_list if TEST_IFUNC and TEST_NAME are defined.
10437 * string/Makefile (strop-tests): Add bcopy and bzero.
10438 * string/test-bcopy.c: New file.
10439 * string/test-bzero.c: Likewise.
10440 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10442 * string/test-memset.c: Support bzero test if TEST_BZERO is
10444 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10446 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10448 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10451 2012-10-10 Joseph Myers <joseph@codesourcery.com>
10453 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10454 * configure: Regenerated.
10456 * Makeconfig (+link-static-before-libc): Don't include
10457 $(link-static-libc).
10459 * libio/libio.h (_IO_pos_t): Remove.
10461 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10463 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10466 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10468 * crypt/crypt-entry.c: Include fips-private.h.
10469 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10470 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10471 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10472 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10474 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
10476 * crypt/crypt-private.h: Include stdbool.h.
10477 (_ufc_setup_salt_r): Return bool.
10478 * crypt/crypt-entry.c: Include errno.h.
10479 (__crypt_r): Return NULL with EINVAL for bad salt.
10480 * crypt/crypt_util.c (bad_for_salt): New.
10481 (_ufc_setup_salt_r): Check that salt is long enough and within
10482 the specified alphabet.
10483 * crypt/badsalttest.c: New file.
10484 * crypt/Makefile (tests): Add it.
10485 ($(objpfx)badsalttest): New.
10487 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10489 * NEWS: Add entry for BZ #14602.
10491 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10493 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10495 * math/libm-test.inc: Update comment listing what functions and
10497 (isgreater_test): New function.
10498 (isgreaterequal_test): Likewise.
10499 (isless_test): Likewise.
10500 (islessequal_test): Likewise.
10501 (islessgreater_test): Likewise.
10502 (isunordered_test): Likewise.
10503 (main): Call the new functions.
10505 2012-10-09 Roland McGrath <roland@hack.frob.com>
10507 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10508 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10509 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10510 * sysdeps/i386/configure: Regenerated.
10511 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10512 * sysdeps/mach/configure: Regenerated.
10513 * sysdeps/mach/hurd/configure: Regenerated.
10514 * sysdeps/powerpc/configure: Regenerated.
10515 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10516 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10517 * sysdeps/s390/s390-32/configure: Regenerated.
10518 * sysdeps/s390/s390-64/configure: Regenerated.
10519 * sysdeps/sh/configure: Regenerated.
10520 * sysdeps/sparc/configure: Regenerated.
10521 * sysdeps/unix/sysv/linux/configure: Regenerated.
10522 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10523 * sysdeps/x86_64/configure: Regenerated.
10525 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10526 defined. Don't check if MAP is NULL.
10528 2012-10-09 Joseph Myers <joseph@codesourcery.com>
10530 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10531 (_G_stat64): Likewise.
10532 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10533 (_G_stat64): Likewise.
10534 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10535 instead of struct _G_stat64.
10536 * libio/fileops.c (mmap_remap_check): Likewise.
10537 (decide_maybe_mmap): Likewise.
10538 (_IO_new_file_seekoff): Likewise.
10539 (_IO_file_stat): Likewise.
10540 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10542 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10543 instead of struct _G_stat64.
10544 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10546 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10549 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10551 (CHECK_EOL): New macro.
10552 (two_way_short_needle): Check beginning of haystack for EOL. Use
10554 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10555 Replace with CHECK_EOL.
10556 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10557 Replace with CHECK_EOL.
10559 2012-10-08 Joseph Myers <joseph@codesourcery.com>
10561 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10563 * math/libm-test.inc: Update comment listing what functions and
10565 (finite_test): New function.
10566 (isinf_test): Likewise.
10567 (isnan_test): Likewise.
10568 (fpclassify_test): Test subnormal input.
10569 (isfinite_test): Likewise.
10570 (isnormal_test): Likewise.
10571 (main): Call the new functions.
10573 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10576 * Makerules (%.dynsym): Force C locale when running
10577 $(OBJDUMP) --dynamic-syms.
10579 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10581 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10584 2012-10-06 David S. Miller <davem@davemloft.net>
10586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10587 upper 32-bits of the length value in %o2 since we use branch-on-register
10588 tests which consider the entire 64-bit register.
10590 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10592 * string/test-strstr.c (check2): Add a test for page boundary.
10594 2012-10-05 David S. Miller <davem@davemloft.net>
10596 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10599 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10601 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10602 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10603 and bzero when HWCAP_SPARC_CRYPTO is present.
10605 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10608 * string/test-strstr.c (check2): New function.
10609 (test_main): Call check2.
10611 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10613 * string/bug-strcasestr1.c (do_test): Moved to ...
10614 * string/test-strcasestr.c (check1): Here. New function.
10615 (do_one_test): Break out result checking code into ...
10616 (check_result): This. New function.
10617 (do_one_test): Call check_result.
10618 (test_main): Call check1.
10619 * string/bug-strchr1.c (do_test): Moved to ...
10620 * string/test-strchr.c (check1): Here. New function.
10621 (do_one_test): Break out result checking code into ...
10622 (check_result): This. New function.
10623 (do_one_test): Call check_result.
10624 (test_main): Call check1.
10625 * string/bug-strstr1.c (main): Moved to ...
10626 * string/test-strstr.c (check1): Here. New function.
10627 (do_one_test): Break out result checking code into ...
10628 (check_result): This. New function.
10629 (do_one_test): Call check_result.
10630 (test_main): Call check1.
10631 * string/bug-strcasestr1.c: Removed.
10632 * string/bug-strchr1.c: Likewise.
10633 * string/bug-strstr1.c: Likewise.
10635 * elf/Makefile (dl-routines): Add hwcaps.
10636 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10637 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10638 (_dl_important_hwcaps): Moved to ...
10639 * elf/dl-hwcaps.c: Here. New file.
10640 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10643 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10644 if IS_IN_rtld isn't defined.
10646 * elf/dl-support.c (_dl_sysinfo_map): New.
10647 Include "get-dynamic-info.h" and "setup-vdso.h".
10648 (_dl_non_dynamic_init): Call setup_vdso.
10649 * elf/dynamic-link.h: Don't include <assert.h>.
10650 (elf_get_dynamic_info): Moved to ...
10651 * elf/get-dynamic-info.h: Here. New file.
10652 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10653 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10654 * elf/setup-vdso.h: Here. New file.
10655 * elf/rtld.c: Include "setup-vdso.h".
10656 (dl_main): Call setup_vdso.
10658 2012-10-05 Joseph Myers <joseph@codesourcery.com>
10660 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10661 creal in comment listing functions tested. List finite, isinf,
10662 isnan, isless, islessequal, isgreater, isgreaterequal,
10663 islessgreater, isunordered, lgamma_r and pow10 as functions and
10664 macros not tested. Mention which functions not tested are aliases
10665 for other functions. Fix typo. Note that signs of NaNs are not
10668 * scripts/config.guess: Update from config.git.
10669 * scripts/config.sub: Likewise.
10671 2012-10-04 Roland McGrath <roland@hack.frob.com>
10673 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10674 * misc/madvise.c (madvise): Renamed to __madvise.
10675 Make madvise a weak alias.
10676 * include/sys/mman.h: Declare __madvise.
10677 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10678 * sysdeps/unix/syscalls.list
10679 (madvise): Make __madvise the strong name, and madvise a weak alias.
10680 * sysdeps/unix/sysv/linux/syscalls.list
10681 (madvise, mmap): Remove redundant entries.
10682 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10683 * malloc/malloc.c (mtrim): Likewise.
10684 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10686 2012-10-03 Roland McGrath <roland@hack.frob.com>
10688 * sysdeps/mach/hurd/dl-cache.c: File removed.
10689 * config.h.in (USE_LDCONFIG): New #undef.
10690 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10691 * configure: Regenerated.
10692 * elf/Makefile (dl-routines): Add dl-cache only under
10693 [$(use-ldconfig) = yes].
10694 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10695 cache on [USE_LDCONFIG].
10696 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
10698 * elf/rtld.c (dl_main): Likewise.
10700 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10702 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10703 _SC_LEVEL4_CACHE_LINESIZE.
10705 2012-10-03 Roland McGrath <roland@hack.frob.com>
10707 * sysdeps/unix/bsd/confstr.h: File removed.
10709 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
10711 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10714 2012-10-02 Roland McGrath <roland@hack.frob.com>
10716 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10717 Make 'mapoff' field ElfW(Off) rather than off_t.
10719 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10721 * nscd/Makefile: Remove nscd-cflags and all its users.
10722 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
10723 (CFLAGS-nonlib): Add compiler flags for nscd modules.
10726 * malloc.c (malloc_printerr): Clarify error message.
10728 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10732 Set bit_FMA_Usable if FMA is supported.
10733 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
10735 (bit_FMA4_Usable): Updated.
10736 (index_FMA_Usable): New macro.
10737 (CPUID_FMA): Likewise
10738 (HAS_FMA): Defined with bit_FMA_Usable.
10740 2012-10-01 Roland McGrath <roland@hack.frob.com>
10742 * bits/types.h (__swblk_t): Type removed.
10743 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
10744 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
10745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10746 (__SWBLK_T_TYPE): Likewise.
10747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10748 (__SWBLK_T_TYPE): Likewise.
10749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10750 (__SWBLK_T_TYPE): Likewise.
10751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10752 (__SWBLK_T_TYPE): Likewise.
10754 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
10755 Honza Horak <hhorak@redhat.com>
10757 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
10758 (xdr_mapname): Use YPMAXMAP as maxsize.
10759 (xdr_peername): Use YPMAXPEER as maxsize.
10760 (xdr_keydat): Use YPAXRECORD as maxsize.
10761 (xdr_valdat): Use YPMAXRECORD as maxsize.
10763 2012-10-01 Roland McGrath <roland@hack.frob.com>
10765 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10767 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
10768 * csu/init-first.c: ... here.
10769 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
10770 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10771 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10773 * sysdeps/i386/init-first.c: File removed.
10774 * sysdeps/sh/init-first.c: File removed.
10776 2012-10-01 Joseph Myers <joseph@codesourcery.com>
10779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
10780 if x * y might underflow to zero and z is zero.
10781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10783 * math/libm-test.inc (min_subnorm_value): New variable.
10784 (fma_test): Add more tests.
10785 (fma_test_towardzero): Likewise.
10786 (fma_test_downward): Likewise
10787 (fma_test_upward): Likewise.
10788 (initialize): Set min_subnorm_value.
10790 2012-09-29 Joseph Myers <joseph@codesourcery.com>
10793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10795 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
10796 mode for addition resulting in exact zero.
10797 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
10798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
10800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10802 * math/libm-test.inc (fma_test): Add more tests.
10803 (fma_test_towardzero): New function.
10804 (fma_test_downward): Likewise.
10805 (fma_test_upward): Likewise.
10806 (main): Call the new functions.
10808 2012-09-28 David S. Miller <davem@davemloft.net>
10810 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10812 2012-09-28 Roland McGrath <roland@hack.frob.com>
10814 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10815 instead of SIGALRM.
10817 * sysdeps/gnu/_G_config.h: Moved to ...
10818 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
10819 * sysdeps/mach/hurd/_G_config.h: Moved to ...
10820 * sysdeps/generic/_G_config.h: ... here.
10822 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10824 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10826 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10827 Conditionalize target on [libnss_test1.so-version].
10829 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10831 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10832 (elfobjdir): Move out of conditionals.
10834 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
10835 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
10836 (__nss_lookup_function): Conditionalize label remove_from_tree on
10837 [!DO_STATIC_NSS || SHARED], matching its only use.
10839 2012-09-28 David S. Miller <davem@davemloft.net>
10841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10842 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10844 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10846 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
10848 when HWCAP_SPARC_CRYPTO is present.
10850 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10852 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10854 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10857 * stdio-common/vfprintf.c (process_string_arg): Revert
10860 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10862 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10864 * stdio-common/tst-sprintf.c: Include <locale.h>
10865 (main): Test sprintf's handling of incomplete multibyte
10868 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10870 * elf/dl-runtime.c (VERSYMIDX): Removed.
10871 * elf/dl-version.c (VERSYMIDX): Likewise.
10872 * elf/do-rel.h (VERSYMIDX): Likewise.
10873 (VALIDX): Likewise.
10874 * elf/dynamic-link.h (VERSYMIDX): Likewise.
10875 * elf/rtld.c (VALIDX): Likewise.
10876 (ADDRIDX): Likewise.
10877 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
10878 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
10879 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
10880 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10881 (VALIDX): Likewise.
10882 (ADDRIDX): Likewise.
10884 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10886 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10888 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10891 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10893 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
10894 addresses are in the same scope as 192.0.2/24.
10895 * posix/gai.conf: Document new scope table defaults.
10897 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10900 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
10901 for ftell. Compute offsets from write pointers instead.
10902 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10904 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10907 * libio/Makefile (tests): New test case tst-fseek.
10908 * libio/tst-fseek.c: New test case to verify that fseek/ftell
10909 combination works in wide mode.
10910 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
10911 state when the external buffer state changes.
10913 2012-09-27 David S. Miller <davem@davemloft.net>
10916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
10917 pass reloc->r_addend in as the 'high' argument to
10918 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
10920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10922 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10924 * rt/tst-aio2.c: Include <pthread.h>.
10925 * rt/tst-aio3.c: Likewise.
10927 2012-09-27 Steve Ellcey <sellcey@mips.com>
10929 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10931 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10933 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10934 contents on [SHARED].
10936 2012-09-26 Marek Polacek <polacek@redhat.com>
10940 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
10941 for C++ and GCC <4.3 as well as for non GCC compilers.
10943 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10947 2012-09-25 Roland McGrath <roland@hack.frob.com>
10949 * Makefile.in (all, install): Declare with .PHONY.
10950 Reported by Michael Hope <michael.hope@linaro.org>.
10952 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10954 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10955 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10957 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10959 (sydep_routines): Add the new and the internal functions.
10960 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
10961 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
10963 (GLIBC_2.17): Add the new function.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10965 (GLIBC_2.17): Likewise.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10967 (GLIBC_2.17): Likewise.
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
10969 (GLIBC_2.17): Likewise.
10970 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
10972 2012-09-25 Alan Modra <amodra@gmail.com>
10974 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
10975 Add release barrier before setting once_control to say
10976 initialisation is done. Add hints on lwarx. Use macro in
10978 (clear_once_control): Add release barrier.
10980 2012-09-25 Joseph Myers <joseph@codesourcery.com>
10983 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10985 * math/s_clog10.c (__clog10): Likewise.
10986 * math/s_clog10f.c (__clog10f): Likewise.
10987 * math/s_clog10l.c (__clog10l): Likewise.
10988 * math/s_clogf.c (__clogf): Likewise.
10989 * math/s_clogl.c (__clogl): Likewise.
10990 * math/Makefile (libm-calls): Add x2y2m1.
10991 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
10992 (__x2y2m1): Likewise.
10993 (__x2y2m1l): Likewise.
10994 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
10995 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10998 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10999 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11000 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11001 * sysdeps/i386/fpu/libm-test-ulps: Update.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11006 int as type of variable DEPTH.
11007 (glob): Use size_t instead of int as type of variables NEWCOUNT
11010 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11012 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11013 Add s_sincosf-sse2.
11014 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11015 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11016 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11017 macros for using routine as __sincosf_ia32.
11018 Use macro for function declaration and weak_alias.
11019 * sysdeps/i386/fpu/libm-test-ulps: Update.
11021 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11024 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
11025 subnormal argument.
11026 * math/s_cexpf.c (__cexpf): Likewise.
11027 * math/s_csinf.c (__csinf): Likewise.
11028 * math/s_csinhf.c (__csinhf): Likewise.
11029 * math/s_ctanf.c (__ctanf): Likewise.
11030 * math/s_ctanhf.c (__ctanhf): Likewise.
11031 * math/s_ccosh.c (__ccoshf): Likewise.
11032 * math/s_cexp.c (__cexpl): Likewise.
11033 * math/s_csin.c (__csin): Likewise.
11034 * math/s_csinh.c (__csinh): Likewise.
11035 * math/s_ctan.c (__ctan): Likewise.
11036 * math/s_ctanh.c (ctanh): Likewise.
11037 * math/s_ccoshl.c (__ccoshl): Likewise.
11038 * math/s_cexpl.c (__cexpl): Likewise.
11039 * math/s_csinl.c (__csinl): Likewise.
11040 * math/s_csinhl.c (__csinhl): Likewise.
11041 * math/s_ctanl.c (__ctanl): Likewise.
11042 * math/s_ctanhl.c (__ctanhl): Likewise.
11044 2012-09-25 Joseph Myers <joseph@codesourcery.com>
11046 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11047 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11048 (_IO_off_t): Define to __off_t, not _G_off_t.
11049 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11050 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11051 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11052 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11053 type of __dummy and __dummy2 fields.
11054 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11055 (_G_ssize_t): Likewise.
11056 (_G_off_t): Likewise.
11057 (_G_pid_t): Likewise.
11058 (_G_uid_t): Likewise.
11059 (_G_wchar_t): Likewise.
11060 (_G_wint_t): Likewise.
11061 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11062 (_G_ssize_t): Likewise.
11063 (_G_off_t): Likewise.
11064 (_G_pid_t): Likewise.
11065 (_G_uid_t): Likewise.
11066 (_G_wchar_t): Likewise.
11067 (_G_wint_t): Likewise.
11068 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11069 (_G_ssize_t): Likewise.
11070 (_G_off_t): Likewise.
11071 (_G_pid_t): Likewise.
11072 (_G_uid_t): Likewise.
11073 (_G_wchar_t): Likewise.
11074 (_G_wint_t): Likewise.
11076 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11078 * malloc/arena.c: Include malloc-sysdep.h.
11079 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11080 is sufficient to shrink the heap or an unmap is needed.
11081 * sysdeps/generic/malloc-sysdep.h: New file. Define
11082 new function check_may_shrink_heap.
11083 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11084 new function check_may_shrink_heap.
11086 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11088 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11091 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11093 * catgets/test-gencat.sh: Add "set -e".
11094 * elf/tst-pathopt.sh: Likewise.
11095 * grp/tst_fgetgrent.sh: Likewise.
11096 * iconvdata/run-iconv-test.sh: Likewise.
11097 * intl/tst-gettext.sh: Likewise.
11098 * intl/tst-gettext2.sh: Likewise.
11099 * intl/tst-gettext4.sh: Likewise.
11100 * intl/tst-gettext6.sh: Likewise.
11101 * intl/tst-translit.sh: Likewise.
11102 * io/ftwtest-sh: Likewise.
11103 * libio/test-freopen.sh: Likewise.
11104 * malloc/tst-mtrace.sh: Likewise.
11105 * posix/globtest.sh: Likewise.
11106 * posix/tst-getconf.sh: Likewise.
11107 * posix/wordexp-tst.sh: Likewise.
11108 * stdio-common/tst-printf.sh: Likewise.
11109 * stdio-common/tst-unbputc.sh: Likewise.
11110 * stdlib/tst-fmtmsg.sh: Likewise.
11111 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11112 * catgets/Makefile: Do not specify -e option when running
11113 testsuite shell scripts.
11114 * elf/Makefile: Likewise.
11115 * grp/Makefile: Likewise.
11116 * iconvdata/Makefile: Likewise.
11117 * intl/Makefile: Likewise.
11118 * io/Makefile: Likewise.
11119 * libio/Makefile: Likewise.
11120 * malloc/Makefile: Likewise.
11121 * posix/Makefile: Likewise.
11122 * stdio-common/Makefile: Likewise.
11123 * stdlib/Makefile: Likewise.
11124 * sysdeps/x86_64/Makefile: Likewise.
11126 * io/ftwtest-sh: Add copyright header.
11127 * posix/globtest.sh: Likewise.
11128 * posix/tst-getconf.sh: Likewise.
11129 * posix/wordexp-tst.sh: Likewise.
11130 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11132 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11135 * Makeconfig (+link): Defined as $(+link-static) if
11136 $(build-shared) isn't yes.
11137 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11139 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11141 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11144 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11145 new chunk size with MALLOC_ALIGN_MASK.
11147 2012-09-24 Joseph Myers <joseph@codesourcery.com>
11150 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11152 (__printf_fphex): Determine rounding using get_rounding_mode and
11154 * stdio-common/tst-printf-round.c (struct hex_test): New
11156 (hex_tests): New variable.
11157 (test_hex_in_one_mode): New function.
11158 (do_test): Also run tests for hex float output.
11160 2012-09-21 Joseph Myers <joseph@codesourcery.com>
11162 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11163 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11164 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11165 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11166 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11167 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11168 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11169 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11171 2012-09-20 Joseph Myers <joseph@codesourcery.com>
11173 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11174 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11175 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11176 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11178 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11181 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11183 * elf/tst-rtld-load-self.sh: New test.
11184 * elf/Makefile: Run it.
11186 2012-09-18 Joseph Myers <joseph@codesourcery.com>
11188 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11189 (tst-writev-ENV): Remove.
11190 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11192 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11194 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11196 2012-09-17 Joseph Myers <joseph@codesourcery.com>
11198 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11200 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11202 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11203 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11204 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11207 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11210 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11211 * config.make.in (have-cpp-asm-debuginfo): Removed.
11212 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11213 * configure: Regenerated.
11215 2012-09-14 Joseph Myers <joseph@codesourcery.com>
11218 * stdio-common/printf_fp.c: Include <stdbool.h> and
11220 (___printf_fp): Determine rounding using get_rounding_mode and
11222 * stdio-common/tst-printf-round.c: New file.
11223 * stdio-common/Makefile (tests): Add tst-printf-round.
11224 (link-libm): New variable.
11225 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11227 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11230 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11231 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11233 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11236 2012-09-13 Joseph Myers <joseph@codesourcery.com>
11238 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11239 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11240 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11241 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11243 2012-09-12 Joseph Myers <joseph@codesourcery.com>
11246 * include/rounding-mode.h: New file.
11247 * sysdeps/generic/get-rounding-mode.h: Likewise.
11248 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11249 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11250 (MAX_VALUE): New macro.
11251 (MIN_VALUE): Likewise.
11252 (overflow_value): New function.
11253 (underflow_value): Likewise.
11254 (round_and_return): Use overflow_value and underflow_value to
11255 determine return values in overflow and underflow cases. Use
11256 round_away to determine rounding depending on rounding mode.
11257 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11258 determine return values in overflow and underflow cases.
11259 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11260 (struct test_results): New structure.
11261 (struct test): Use struct test_results to store expected results
11262 for all rounding modes.
11263 (TEST): Include expected results for all rounding modes.
11264 (test_in_one_mode): New function.
11265 (do_test): Use test_in_one_mode to compute and check results.
11266 Check results for all rounding modes.
11267 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11270 2012-12-09 Allan McRae <allan@archlinux.org>
11272 * sysdeps/i386/fpu/libm-test-ulps: Update
11274 2012-09-11 Joseph Myers <joseph@codesourcery.com>
11276 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11277 (_G_int32_t): Likewise.
11278 (_G_uint16_t): Likewise.
11279 (_G_uint32_t): Likewise.
11280 (_G_HAVE_BOOL): Likewise.
11281 (_G_HAVE_ATEXIT): Likewise.
11282 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11283 (_G_HAVE_IO_FILE_OPEN): Likewise.
11284 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11285 (_G_int32_t): Likewise.
11286 (_G_uint16_t): Likewise.
11287 (_G_uint32_t): Likewise.
11288 (_G_HAVE_BOOL): Likewise.
11289 (_G_HAVE_ATEXIT): Likewise.
11290 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11291 (_G_HAVE_IO_FILE_OPEN): Likewise.
11292 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11293 (_G_int32_t): Likewise.
11294 (_G_uint16_t): Likewise.
11295 (_G_uint32_t): Likewise.
11296 (_G_HAVE_BOOL): Likewise.
11297 (_G_HAVE_ATEXIT): Likewise.
11298 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11299 (_G_HAVE_IO_FILE_OPEN): Likewise.
11301 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11303 * csu/libc-tls.c: Update copyright years.
11305 2012-09-10 Joseph Myers <joseph@codesourcery.com>
11307 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11308 [!_G_USING_THUNKS]: Remove conditional code.
11309 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11310 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11312 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11313 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11314 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11315 (_G_VTABLE_LABEL_PREFIX): Likewise.
11316 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11317 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11318 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11319 (_G_VTABLE_LABEL_PREFIX): Likewise.
11320 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11321 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11322 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11323 (_G_VTABLE_LABEL_PREFIX): Likewise.
11324 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11326 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11328 * libio/Makefile: Include ../Makeconfig before tests.
11329 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11330 only if $(build-shared) is yes.
11332 * iconv/gconv_db.c: Update copyright years.
11334 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11336 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11337 unwind info if defined PIC. Fix special cases description.
11338 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11340 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11342 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11344 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11346 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11348 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11351 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11352 (LDLIBS-tst-chk4): This.
11353 (LDFLAGS-tst-chk5): Renamed to ...
11354 (LDLIBS-tst-chk5): This.
11355 (LDFLAGS-tst-chk6): Renamed to ...
11356 (LDLIBS-tst-chk6): This.
11357 (LDFLAGS-tst-lfschk4): Renamed to ...
11358 (LDLIBS-tst-lfschk4): This.
11359 (LDFLAGS-tst-lfschk5): Renamed to ...
11360 (LDLIBS-tst-lfschk5): This.
11361 (LDFLAGS-tst-lfschk6): Renamed to ...
11362 (LDLIBS-tst-lfschk6): This.
11364 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11365 on $(common-objpfx)soversions.mk.
11367 2012-09-07 Joseph Myers <joseph@codesourcery.com>
11370 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11373 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11375 * malloc/arena.c (arena_get_retry): New function that gets
11376 another arena for the caller to try its request on.
11377 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11378 current arena cannot fulfill the request.
11379 (__libc_memalign): Likewise.
11380 (__libc_memalign): Likewise.
11381 (__libc_pvalloc): Likewise.
11382 (__libc_calloc): Likewise.
11384 2012-09-05 John Tobey <john.tobey@gmail.com>
11387 * manual/arith.texi (Operations on Complex): Fix description
11388 of carg branch cut.
11390 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11393 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11397 * manual/memory.texi (Memory): Make order of menu items match
11400 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11402 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11403 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11404 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11406 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11408 * csu/libc-tls.c (static_dtv): Renamed to ...
11409 (_dl_static_dtv): This. Make it global.
11410 (_dl_initial_dtv): Removed.
11411 (__libc_setup_tls): Updated.
11412 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11413 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11416 2012-09-06 Petr Machata <pmachata@redhat.com>
11418 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11419 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11420 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11421 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11423 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11426 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11427 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11430 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11433 * Makeconfig (link-static-before-libc): Replace $(+prector)
11435 (link-static-after-libc): Replace $(+postctor) with
11437 (link-bounded): Replace $(+prector)/$(+postctor) with
11438 $(+prectorT)/$(+postctorT).
11439 (+prectorT): New macro.
11440 (+postctorT): Likewise.
11442 2012-09-06 Joseph Myers <joseph@codesourcery.com>
11444 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11445 (round_str): Handle values above the maximum for IBM long double
11447 * stdlib/tst-strtod-round.c (tests): Regenerated.
11449 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11451 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11453 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11454 zarch_nohighgprs around the zarch optimized routines.
11455 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11456 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11457 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11460 2012-09-05 David S. Miller <davem@davemloft.net>
11462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11464 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11465 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11466 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11467 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11470 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11472 * malloc/arena.c: Fold copyright years.
11473 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11475 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11477 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11479 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11481 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11483 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11485 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11486 change internal state upon failure.
11488 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
11490 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11491 * malloc/memusage.c (mmap): Likewise.
11492 (mmap64, mremap): Likewise. Adjust name in comment.
11494 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11496 * libio/fileops.c: Fix typos in comments.
11497 * libio/oldfileops.c: Likewise.
11498 * libio/wfileops.c: Likewise.
11500 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11503 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11504 (tst-malloc-usable-ENV): Set environment for test case.
11505 * malloc/hooks.c (malloc_check_get_size): New function to get
11507 * malloc/malloc.c (musable): Use malloc_check_get_size.
11508 * malloc/tst-malloc-usable.c: New test case.
11510 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11512 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11514 2012-09-05 Allan McRae <allan@archlinux.org>
11517 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11518 determine header location.
11519 * configure: Regenerated.
11521 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11523 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11525 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
11526 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11528 (test): Regenerate.
11530 2012-09-04 David S. Miller <davem@davemloft.net>
11532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11536 2012-09-04 Florian Weimer <fweimer@redhat.com>
11538 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11541 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11543 2012-09-04 Joseph Myers <joseph@codesourcery.com>
11546 * libio/iogetdelim.c: Include <limits.h>.
11547 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11548 + len + 1 would overflow.
11550 2012-09-03 Andreas Jaeger <aj@suse.de>
11552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11553 * sysdeps/i386/fpu/libm-test-ulps: Update.
11555 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11557 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11558 Add s_sinf-sse2, s_conf-sse2.
11560 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11561 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11562 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11563 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11565 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11566 for using routine as __sinf_ia32.
11567 Use macro for function declaration and weak_alias.
11568 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11569 for using routine as __cosf_ia32.
11570 Use macro for function declaration and weak_alias.
11572 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11573 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11575 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11576 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11579 * math/libm-test.inc (cos_test): Add more test cases.
11580 (sin_test): Likewise.
11581 (sincos_test): Likewise.
11583 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11586 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11588 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11590 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11593 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11594 first element of the GOT.
11595 (elf_machine_load_address): Return the difference between
11596 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11598 2012-09-01 Allan McRae <allan@archlinux.org>
11601 * configure.in (AWK): Require gawk version 3.0 or later.
11602 * configure: Regenerated.
11604 2012-09-01 Joseph Myers <joseph@codesourcery.com>
11606 * sysdeps/unix/sysv/linux/kernel-features.h
11607 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11608 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11609 [__NR_clock_getres]: Make code unconditional.
11610 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11611 (clock_getcpuclockid): Remove code left unreachable by removal of
11613 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11614 code unconditional.
11615 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11616 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11617 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11618 Make code unconditional.
11619 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11620 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11621 * sysdeps/unix/sysv/linux/clock_settime.c
11622 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11624 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11625 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11627 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11630 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11631 scripts/test-installation.pl.
11633 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11634 and $ld_so_version if it is set.
11636 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11639 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11640 failure if reading from procfs failed.
11641 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11643 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11645 * sysdeps/unix/sysv/linux/kernel-features.h
11646 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11647 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11648 Remove conditional code.
11649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11650 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11651 Remove conditional code.
11652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11653 * sysdeps/unix/sysv/linux/i386/fxstat.c
11654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11656 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11659 * sysdeps/unix/sysv/linux/i386/lxstat.c
11660 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11662 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11663 Remove conditional code.
11664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11665 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11666 Remove conditional code.
11667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11668 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11669 <kernel-features.h>.
11670 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11672 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11673 Remove conditional code.
11674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11675 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11676 Remove conditional.
11678 2012-08-27 Mike Frysinger <vapier@gentoo.org>
11681 * NEWS: Add fixed bug number.
11683 2012-08-27 Joseph Myers <joseph@codesourcery.com>
11686 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11687 underflowing exponent in case of negative sign.
11688 * stdlib/tst-strtod-round-data: Add more tests.
11689 * stdlib/tst-strtod-round.c (tests): Regenerated.
11692 * stdlib/strtod_l.c (NDIG): Remove.
11693 (HEXNDIG): Likewise.
11694 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11695 smallest representable value.
11696 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
11697 lie within an exact representation of 1/2 ulp of the result.
11698 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
11700 (TENS_P9_IDX): Define unconditionally.
11701 (TENS_P9_SIZE): Likewise.
11702 (TENS_P10_IDX): Likewise.
11703 (TENS_P10_SIZE): Likewise.
11704 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
11705 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
11706 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
11707 entries for 10^2^13 and 10^2^14.
11708 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
11709 (TENS_P13_IDX): Define.
11710 (TENS_P13_SIZE): Likewise.
11711 (TENS_P14_IDX): Likewise.
11712 (TENS_P14_SIZE): Likewise.
11713 (_fpioconst_pow10): Change array size to
11714 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
11716 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
11717 1024]: Add entries for 10^2^13 and 10^2^14.
11718 [LAST_POW10 > _LAST_POW10]: Remove #error.
11719 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
11720 (_fpioconst_pow10): Change array size to
11721 FPIOCONST_POW10_ARRAY_SIZE.
11722 * stdlib/gen-fpioconst.c: New file.
11723 * stdlib/gen-tst-strtod-round.c: Likewise.
11724 * stdlib/tst-strtod-round-data: Likewise.
11725 * stdlib/tst-strtod-round.c: Likewise.
11726 * stdlib/Makefile (tests): Add tst-strtod-round.
11729 * stdlib/strtod_l.c: Include <stdint.h>.
11730 (NDEBUG): Do not define.
11731 (round_and_return): Change EXPONENT parameter to type intmax_t.
11732 Rearrange calculations to avoid internal overflow possibilities.
11733 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
11734 Rearrange calculations to avoid internal overflow possibilities.
11735 Assert that number fits inside MPNSIZE limbs.
11736 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
11737 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
11738 calculations and add assertions to avoid internal overflow
11739 possibilities. Add casts to avoid signed/unsigned operations.
11740 * stdlib/tst-strtod-overflow.c: New file.
11741 * stdlib/Makefile (tests): Add tst-strtod-overflow.
11743 2012-08-25 Marek Polacek <polacek@redhat.com>
11745 * time/time.h: Fix some typos in comments.
11747 2012-08-23 Roland McGrath <roland@hack.frob.com>
11749 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
11750 * posix/tst-rfc3484-2.c: Likewise.
11751 * posix/tst-rfc3484-3.c: Likewise.
11753 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11755 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11756 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11758 2012-08-23 Joseph Myers <joseph@codesourcery.com>
11760 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11761 #include of fxstatat64.c.
11763 2012-08-22 Roland McGrath <roland@hack.frob.com>
11765 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
11766 * shadow/getspent_r.c: Likewise.
11767 * shadow/getspnam.c: Likewise.
11768 * shadow/getspnam_r.c: Likewise.
11769 * gshadow/getsgent.c: Likewise.
11770 * gshadow/getsgent_r.c: Likewise.
11771 * gshadow/getsgnam.c: Likewise.
11772 * gshadow/getsgnam_r.c: Likewise.
11773 * inet/getnetbyad.c: Likewise.
11774 * inet/getnetbyad_r.c: Likewise.
11775 * inet/getnetbynm.c: Likewise.
11776 * inet/getnetbynm_r.c: Likewise.
11777 * inet/getnetent.c: Likewise.
11778 * inet/getnetent_r.c: Likewise.
11779 * inet/getproto.c: Likewise.
11780 * inet/getproto_r.c: Likewise.
11781 * inet/getprtent.c: Likewise.
11782 * inet/getprtent_r.c: Likewise.
11783 * inet/getprtname.c: Likewise.
11784 * inet/getprtname_r.c: Likewise.
11785 * inet/getrpcbyname.c: Likewise.
11786 * inet/getrpcbyname_r.c: Likewise.
11787 * inet/getrpcbynumber.c: Likewise.
11788 * inet/getrpcbynumber_r.c: Likewise.
11789 * inet/getrpcent.c: Likewise.
11790 * inet/getrpcent_r.c: Likewise.
11791 * inet/getaliasent.c: Likewise.
11792 * inet/getaliasent_r.c: Likewise.
11793 * inet/getaliasname.c: Likewise.
11794 * inet/getaliasname_r.c: Likewise.
11795 * nscd/getgrgid_r.c: Likewise.
11796 * nscd/getgrnam_r.c: Likewise.
11797 * nscd/gethstbyad_r.c: Likewise.
11798 * nscd/gethstbynm3_r.c: Likewise.
11799 * nscd/getpwnam_r.c: Likewise.
11800 * nscd/getpwuid_r.c: Likewise.
11801 * nscd/getsrvbynm_r.c: Likewise.
11802 * nscd/getsrvbypt_r.c: Likewise.
11803 * nscd/gai.c: Likewise.
11805 * configure.in (build_nscd): New substituted variable, set
11806 by --disable-build-nscd and defaults to $use_nscd.
11807 * configure: Regenerated.
11808 * config.make.in (build-nscd): New substituted variable.
11809 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
11810 Change conditional to require [$(build-nscd) = yes] as well.
11811 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
11814 * configure.in (use_nscd): New substituted variable, set by
11815 --disable-nscd. If enabled, define USE_NSCD.
11816 * configure: Regenerated.
11817 * config.h.in: Add USE_NSCD.
11818 * config.make.in (use-nscd): New substituted variable.
11819 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
11820 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
11821 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
11822 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
11823 (CFLAGS-getgrnam_r.c): Likewise.
11824 (CFLAGS-initgroups.c): Likewise.
11825 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
11826 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
11828 * inet/getnetgrent_r.c
11829 (nscd_setnetgrent): New function, broken out of ...
11830 (setnetgrent): ... here. Call it.
11831 (innetgr): Conditionalize nscd bits on [USE_NSCD].
11832 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
11833 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
11834 * nscd/Makefile (routines, aux): Move definitions after include of
11835 Makeconfig. Conditionalize on [$(use-nscd) != no].
11836 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
11837 Conditionalize on [USE_NSCD].
11838 (is_nscd, nscd_init_cb): Likewise.
11839 (nss_load_library): Conditionalize init callback on [USE_NSCD].
11840 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
11841 * nss/nss_db/db-init.c: Likewise.
11842 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
11844 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
11845 (make_request): Use it.
11846 (cache_valid_p): New function.
11847 (__check_pf): Use it.
11848 * NEWS: Add item for --disable-nscd.
11850 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11852 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
11853 to support sed >= 4.2.1-20-ga9bf076.
11854 * configure: Regenerated.
11856 2012-08-22 Roland McGrath <roland@hack.frob.com>
11858 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11859 Conditionalize whole body on [IREL].
11861 2012-08-22 Jeff Law <law@redhat.com>
11864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11865 if the family is PF_UNSPEC.
11867 2012-08-22 Mike Frysinger <vapier@gentoo.org>
11869 * Makerules (lib-version): Rename from V.
11870 (install-lib-nosubdir): Change V to lib-version.
11872 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11875 * powerpc32/power6/wcschr.c: New file.
11876 * powerpc32/power6/wcscpy.c: New file.
11877 * powerpc32/power6/wcsrchr.c: New file.
11878 * powerpc64/power6/wcschr.c: New file.
11879 * powerpc64/power6/wcscpy.c: New file.
11880 * powerpc64/power6/wcsrchr.c: New file.
11882 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11884 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11885 (two_way_short_needle): Use it.
11886 * string/strstr.c (AVAILABLE1_USES_J): Define.
11887 * string/strcasestr.c: Likewise.
11889 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11891 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11894 * NEWS: Add an entry.
11895 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
11896 define their defaults.
11897 (two_way_short_needle): Detect end-of-string on-the-fly.
11898 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
11899 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
11900 * string/bug-strcasestr1.c: New test.
11901 * string/Makefile: Run it.
11903 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11906 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11907 the first character.
11909 2012-08-21 Roland McGrath <roland@hack.frob.com>
11911 * csu/elf-init.c (__libc_csu_irel): Function removed.
11912 * csu/libc-start.c (apply_irel): New function.
11913 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
11915 2012-08-21 Joseph Myers <joseph@codesourcery.com>
11917 * sysdeps/unix/sysv/linux/kernel-features.h
11918 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
11919 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11920 <kernel-features.h>.
11921 [__NR_fadvise64_64]: Make code unconditional.
11922 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
11923 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11924 !__NR_fadvise64_64)]: Likewise.
11925 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
11926 !__NR_fadvise64_64))]: Likewise.
11927 [__NR_fadvise64]: Make code unconditional.
11928 [!__NR_fadvise64]: Remove conditional code.
11929 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
11930 <kernel-features.h>.
11931 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11933 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
11936 not include <kernel-features.h>.
11937 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11939 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11941 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
11942 include <kernel-features.h>.
11943 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
11945 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11948 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
11951 slight instruction rearrangements per scrollpipe analysis.
11952 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11954 2012-08-20 Roland McGrath <roland@hack.frob.com>
11956 * manual/syslog.texi (syslog; vsyslog, closelog):
11957 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
11958 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
11960 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11961 DSOCAPS to match condition on defining it.
11963 2012-08-20 Joseph Myers <joseph@codesourcery.com>
11965 * sysdeps/unix/sysv/linux/kernel-features.h
11966 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
11968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
11971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
11974 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
11975 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
11977 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11978 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11980 * sysdeps/unix/sysv/linux/kernel-features.h
11981 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
11982 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
11984 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11985 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
11986 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11987 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11988 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
11989 Make code unconditional.
11990 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11991 (__mmap64) [!__NR_mmap2]: Likewise.
11992 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
11993 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
11994 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11995 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
11996 [__NR_mmap2]: Make code unconditional.
11997 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
11998 (__mmap64) [!__NR_mmap2]: Likewise.
12000 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12002 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12004 2012-08-18 Andreas Jaeger <aj@suse.de>
12006 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12008 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12010 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12011 * include/unistd.h (__have_sock_cloexec): Likewise.
12012 (__have_pipe2): Likewise.
12013 (__have_dup3): Likewise.
12015 2012-08-18 Mike Frysinger <vapier@gentoo.org>
12018 * include/unistd.h (__have_pipe2): Change define into an extern int.
12019 (__have_dup3): Likewise.
12020 * socket/have_sock_cloexec.c: Include fcntl.h.
12021 (__have_pipe2): New variable.
12022 (__have_dup3): Likewise.
12024 2012-08-17 Mike Frysinger <vapier@gentoo.org>
12026 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12028 2012-08-17 Marek Polacek <polacek@redhat.com>
12030 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12031 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12033 2012-08-17 Roland McGrath <roland@hack.frob.com>
12035 * configure.in: Add AC_SUBST for sysheaders.
12036 * configure: Regenerated.
12037 * config.make.in (sysheaders): New substituted variable.
12039 * sysdeps/unix/mkfifo.c: Moved ...
12040 * sysdeps/posix/mkfifo.c: ... here.
12041 * sysdeps/unix/mkfifoat.c: Moved ...
12042 * sysdeps/posix/mkfifoat.c: ... here.
12044 * sysdeps/unix/utime.c: Moved ...
12045 * sysdeps/posix/utime.c: ... here.
12047 * sysdeps/unix/time.c: Moved ...
12048 * sysdeps/posix/time.c: ... here.
12049 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12050 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
12052 * sysdeps/unix/nice.c: Moved ...
12053 * sysdeps/posix/nice.c: ... here.
12055 * sysdeps/unix/alarm.c: Moved ...
12056 * sysdeps/posix/alarm.c: ... here.
12058 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12060 2012-08-17 Jeff Law <law@redhat.com>
12062 * intl/Makefile (codeset_mo): New variable.
12063 ($(codeset_mo)): New target.
12064 (tst-codeset.out): Depend on that. Remove explicit rule.
12065 (tst-gettext3.out, tst-gettext5.out): Likewise.
12066 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12067 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12068 * intl/tst-codeset.sh: Remove.
12069 * intl/tst-gettext3.sh: Likewise.
12070 * intl/tst-gettext5.sh: Likewise.
12072 2012-08-17 Roland McGrath <roland@hack.frob.com>
12074 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12075 * sysdeps/unix/syscalls.list: ... here.
12077 * sysdeps/posix/getaddrinfo.c
12078 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12079 (gaiconf_init, gaiconf_reload): Use them.
12080 [!_STATBUF_ST_NSEC]
12081 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12082 Define using time_t rather than struct timespec.
12084 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12085 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12087 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12089 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12090 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12093 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12094 __libc_cleanup_push argument.
12096 * bits/param.h: New file.
12097 * misc/sys/param.h: New file.
12098 * include/sys/param.h: New file.
12099 * misc/Makefile (headers): Add bits/param.h.
12100 * sysdeps/generic/sys/param.h: File removed.
12101 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12102 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12103 * sysdeps/mach/hurd/bits/param.h: New file.
12104 * sysdeps/mach/hurd/sys/param.h: File removed.
12106 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12109 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12111 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12112 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12115 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12116 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12117 rather than -D_IO_MTSAFE_IO conditionally.
12118 * stdio-common/Makefile (CPPFLAGS): Likewise.
12119 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12120 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12121 Use $(libio-mtsafe).
12122 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12123 of -D_IO_MTSAFE_IO.
12124 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12125 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12126 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12127 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12128 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12129 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12130 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12131 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12132 (CFLAGS-fread_u_chk.c): Likewise.
12133 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12134 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12135 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12136 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12137 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12138 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12139 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12140 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12141 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12143 * libio/Makefile: Test [$(libc-reentrant) = yes]
12144 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12147 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12148 * sysdeps/pthread/configure: File removed.
12149 * sysdeps/pthread/Makeconfig: New file.
12150 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12151 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12153 2012-08-16 Gary Benson <gbenson@redhat.com>
12155 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12156 unmapping the first object in a namespace.
12158 2012-08-16 Roland McGrath <roland@hack.frob.com>
12160 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12161 (__internal_setnetgrent): ... this. Add internal_function to
12162 definition. Add libc_hidden_def.
12163 (setnetgrent): Update caller.
12164 (internal_endnetgrent): Renamed to ...
12165 (__internal_endnetgrent): ... this. Add internal_function to
12166 definition. Add libc_hidden_def.
12167 (endnetgrent): Update caller.
12168 (internal_getnetgrent_r): Renamed to ...
12169 (__internal_getnetgrent_r): ... this. Add internal_function to
12170 definition. Add libc_hidden_def.
12171 (__getnetgrent_r): Update caller.
12172 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12174 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12176 * stdlib/longlong.h: Update from GCC.
12178 2012-08-16 Roland McGrath <roland@hack.frob.com>
12180 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12181 on _QL, which is set by umul_ppmm but never used.
12182 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12183 variables, which are set by GMP macros but never used.
12184 * stdio-common/_itowa.c (_itowa): Likewise.
12185 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12186 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12188 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12190 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12191 struct La_sh_regs is not constant.
12192 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12193 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12194 and struct La_sparc64_regs are not constant.
12196 2012-08-16 Joseph Myers <joseph@codesourcery.com>
12198 * sysdeps/unix/sysv/linux/kernel-features.h
12199 (__ASSUME_POSIX_TIMERS): Remove.
12200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12202 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12203 Make code unconditional.
12204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12205 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12206 Make code unconditional.
12207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12208 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12209 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12211 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12212 Make code unconditional.
12213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12214 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12215 (__libc_missing_posix_timers): Remove.
12217 2012-08-15 Roland McGrath <roland@hack.frob.com>
12219 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12220 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12222 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12224 * elf/dl-sym.c: Include <stdlib.h>.
12226 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12227 constants, which avoids warnings in 32-bit builds.
12229 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12230 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12232 * misc/lseek.c: File moved to ...
12233 * io/lseek.c: ... here.
12235 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12237 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12238 shifting LEN more than 31 bits at once.
12240 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12243 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12244 segmentation fault for a case of two empty input strings.
12245 * string/test-strncasecmp.c (check1): Renamed to...
12246 (bz12205): ...this.
12247 (bz14195): Add new testcase for two empty input strings and N > 0.
12248 (test_main): Call new testcase, adapt for renamed function.
12250 2012-08-15 Andreas Jaeger <aj@suse.de>
12253 * crypt/md5test2.c: New test, based on test supplied by Serge
12254 Belyshev <belyshev@depni.sinp.msu.ru>.
12255 * crypt/Makefile (xtests): Add md5test-giant..
12256 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12258 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12261 * crypt/md5.c (md5_process_block): Don't assume the buffer
12262 length is less than 2**32.
12263 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12264 length is less than 2**64.
12266 2012-08-15 Roland McGrath <roland@hack.frob.com>
12268 * string/str-two-way.h: Include <sys/param.h>.
12269 (MAX): Macro removed.
12271 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12272 Move #define and #undef of memmove to just before and after
12273 including <string.h>.
12275 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12276 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12277 and after including <string.h>. Move declarations of
12278 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12279 to before #include "string/memmove.c".
12281 * include/dirent.h: Declare __getdirentries.
12283 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12284 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12286 2012-08-14 Mike Frysinger <vapier@gentoo.org>
12288 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12289 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12290 * sysdeps/i386/configure: Regenerated.
12291 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12292 STABS_CURRENT_FILE, and STABS_FUN.
12293 (END): Remove call to STABS_FUN_END.
12294 (STABS_CURRENT_FILE1): Delete.
12295 (STABS_CURRENT_FILE): Likewise.
12296 (STABS_FUN): Likewise.
12297 (STABS_FUN_END): Likewise.
12298 (STABS_FUN2): Likewise.
12299 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12300 * sysdeps/x86_64/configure: Regenerated.
12302 2012-08-14 Roland McGrath <roland@hack.frob.com>
12304 * elf/dl-open.c: Include <atomic.h>.
12305 * elf/dl-lookup.c: Likewise.
12307 2012-08-14 Joseph Myers <joseph@codesourcery.com>
12309 * sysdeps/unix/sysv/linux/kernel-features.h
12310 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12311 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12313 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12315 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12316 condition on __ASSUME_CLONE_THREAD_FLAGS.
12318 2012-08-14 Andreas Jaeger <aj@suse.de>
12320 * sysdeps/i386/fpu/libm-test-ulps: Update.
12322 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12324 * include/atomic.h (atomic_exchange_and_add): Split into ...
12325 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12328 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12332 2012-08-13 Jeff Law <law@redhat.com>
12334 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12335 null byte in the output string.
12337 2012-08-10 Joseph Myers <joseph@codesourcery.com>
12339 * sysdeps/unix/sysv/linux/kernel-features.h
12340 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12341 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12342 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12343 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12344 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12345 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12346 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12348 2012-08-09 Jeff Law <law@redhat.com>
12351 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12352 When avoid_arena is set, don't retry in the that arena. Pick the
12353 next one, whatever it might be.
12354 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12355 (arena_lock): Pass in new parameter to arena_get2.
12356 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12358 (__libc_malloc): Unify retrying after main arena failure with
12359 __libc_memalign version.
12360 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12362 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12365 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12366 to __redirect_strstr.
12367 (__strstr_sse42): Use typeof __redirect_strstr.
12368 (__strstr_ia32): Likewise.
12369 (__libc_strstr): New prototype.
12370 (strstr): Renamed to ...
12371 (__libc_strstr): This.
12372 (strstr): New strong alias of __libc_strstr.
12373 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12374 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12377 (__libc_time): New prototype.
12378 (time_ifunc): Replace time with __libc_time.
12379 (time): New strong alias and hidden definition of __libc_time.
12380 (__GI_time): Remove strong alias.
12381 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12382 Include <stddef.h>.
12383 (memmove): Redefined to __redirect_memmove.
12384 (__memmove_sse2): Use typeof __redirect_memmove.
12385 (__memmove_ssse3): Likewise.
12386 (__memmove_ssse3_back): Likewise.
12387 (__libc_memmove): New prototype.
12388 (memmove): Renamed to ...
12389 (__libc_memmove): This.
12390 (memmove): New strong alias of __libc_memmove.
12392 2012-08-08 Mark Salter <msalter@redhat.com>
12395 (R_MN10300_TLS_GD): Define.
12396 (R_MN10300_TLS_LD): Likewise.
12397 (R_MN10300_TLS_LDO): Likewise.
12398 (R_MN10300_TLS_GOTIE): Likewise.
12399 (R_MN10300_TLS_IE): Likewise.
12400 (R_MN10300_TLS_LE): Likewise.
12401 (R_MN10300_TLS_DTPMOD): Likewise.
12402 (R_MN10300_TLS_DTPOFF): Likewise.
12403 (R_MN10300_TLS_TPOFF): Likewise.
12404 (R_MN10300_SYM_DIFF): Likewise.
12405 (R_MN10300_ALIGN): Likewise.
12406 (R_MN10300_NUM): Update.
12408 2012-08-08 Joseph Myers <joseph@codesourcery.com>
12410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12413 2012-08-08 Roland McGrath <roland@hack.frob.com>
12415 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12417 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12418 sysdeps/unix -> sysdeps/posix move.
12419 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12421 2012-08-07 Allan McRae <allan@archlinux.org>
12424 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12425 (SUNOS_CPP): Likewise.
12426 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12428 (open_input): Call CPP using execvp.
12430 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12432 * sysdeps/unix/sysv/linux/kernel-features.h
12433 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12434 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12435 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12436 (__ASSUME_WAITID_SYSCALL): Likewise.
12437 * sysdeps/unix/sysv/linux/dl-execstack.c
12438 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12439 code unconditional.
12440 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12443 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12444 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12446 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12448 [__ASSUME_WAITID_SYSCALL]: Likewise.
12449 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12451 2012-08-07 Roland McGrath <roland@hack.frob.com>
12453 * sysdeps/unix/closedir.c: Renamed to ...
12454 * sysdeps/posix/closedir.c: ... here.
12455 * sysdeps/unix/dirfd.c: Renamed to ...
12456 * sysdeps/posix/dirfd.c: ... here.
12457 * sysdeps/unix/dirstream.h: Renamed to ...
12458 * sysdeps/posix/dirstream.h: ... here.
12459 * sysdeps/unix/fdopendir.c: Renamed to ...
12460 * sysdeps/posix/fdopendir.c: ... here.
12461 * sysdeps/unix/opendir.c: Renamed to ...
12462 * sysdeps/posix/opendir.c: ... here.
12463 * sysdeps/unix/readdir.c: Renamed to ...
12464 * sysdeps/posix/readdir.c: ... here.
12465 * sysdeps/unix/readdir_r.c: Renamed to ...
12466 * sysdeps/posix/readdir_r.c: ... here.
12467 * sysdeps/unix/rewinddir.c: Renamed to ...
12468 * sysdeps/posix/rewinddir.c: ... here.
12469 * sysdeps/unix/seekdir.c: Renamed to ...
12470 * sysdeps/posix/seekdir.c: ... here.
12471 * sysdeps/unix/telldir.c: Renamed to ...
12472 * sysdeps/posix/telldir.c: ... here.
12473 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12474 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12475 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12476 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12479 * bits/fcntl.h: ... here.
12481 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12483 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12484 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12485 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12486 (struct flock): Move l_start, l_len to the beginning.
12487 Use __pid_t for l_pid.
12488 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12489 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12490 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12491 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12492 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12493 [__USE_LARGEFILE64] (struct flock64): New type.
12494 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12497 * bits/dirent.h: ... here.
12499 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12500 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12502 2012-08-07 Joseph Myers <joseph@codesourcery.com>
12504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12505 Change from 2.6.0 to 2.6.16.
12506 * sysdeps/unix/sysv/linux/configure: Regenerated.
12507 * sysdeps/unix/sysv/linux/kernel-features.h
12508 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12509 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12511 (__ASSUME_UTIMES): Likewise.
12512 (__ASSUME_CLONE_STOPPED): Remove.
12513 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12514 architectures, not kernel version.
12515 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12516 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12517 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12518 (__ASSUME_WAITID_SYSCALL): Likewise.
12519 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12520 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12521 * README: State 2.6.16 as minimum Linux kernel version. Do not
12522 refer to older versions.
12524 2012-08-06 Roland McGrath <roland@hack.frob.com>
12526 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12527 Define alphasort64 as an alias.
12528 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12529 Define versionsort64 as an alias.
12530 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12531 Define scandir64 as an alias.
12532 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12533 Define scandirat64 as an alias.
12534 * dirent/alphasort64.c (alphasort64):
12535 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12536 * dirent/versionsort64.c: Likewise.
12537 * dirent/scandir64.c: Likewise.
12538 * dirent/scandirat64.c: Likewise.
12539 * sysdeps/wordsize-64/alphasort.c: File removed.
12540 * sysdeps/wordsize-64/alphasort64.c: File removed.
12541 * sysdeps/wordsize-64/scandir.c: File removed.
12542 * sysdeps/wordsize-64/scandir64.c: File removed.
12543 * sysdeps/wordsize-64/scandirat.c: File removed.
12544 * sysdeps/wordsize-64/scandirat64.c: File removed.
12545 * sysdeps/wordsize-64/versionsort.c: File removed.
12546 * sysdeps/wordsize-64/versionsort64.c: File removed.
12547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12548 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12549 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12550 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12551 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12552 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12554 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12556 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12558 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12560 [defined __arch64__ || defined __sparcv9]
12561 (__INO_T_MATCHES_INO64_T): New macro.
12562 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12563 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12564 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12565 * sysdeps/unix/sysv/linux/bits/dirent.h
12566 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12567 (_DIRENT_MATCHES_DIRENT64): New macro.
12569 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12570 Define lockf64 as an alias.
12571 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12572 Define fseeko64 as an alias.
12573 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12574 Define ftello64 as an alias.
12575 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12576 Define _IO_fgetpos64 and fgetpos64 as aliases.
12577 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12578 Define _IO_fsetpos64 and fsetpos64 as aliases.
12579 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12580 Conditionalize body on this.
12581 * libio/fseeko64.c: Likewise.
12582 * libio/ftello64.c: Likewise.
12583 * libio/iofgetpos64.c: Likewise.
12584 * libio/iofsetpos64.c: Likewise.
12585 * sysdeps/wordsize-64/lockf.c: File removed.
12586 * sysdeps/wordsize-64/lockf64.c: File removed.
12587 * sysdeps/wordsize-64/fseeko.c: File removed.
12588 * sysdeps/wordsize-64/fseeko64.c: File removed.
12589 * sysdeps/wordsize-64/ftello.c: File removed.
12590 * sysdeps/wordsize-64/ftello64.c: File removed.
12591 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12592 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12593 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12594 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12596 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12600 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12604 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12606 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12608 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12610 [defined __arch64__ || defined __sparcv9]
12611 (__OFF_T_MATCHES_OFF64_T): New macro.
12612 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12613 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12615 (__OFF_T_MATCHES_OFF64_T): New macro.
12617 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12619 * stdlib/secure-getenv.c (__secure_getenv): Replace
12620 GLIBC_2_16 with GLIBC_2_17.
12622 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12625 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12627 2012-08-03 David S. Miller <davem@davemloft.net>
12629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12631 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12635 (__ASSUME_CORRECT_SI_PID): Likewise.
12636 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12637 (__ASSUME_TMPFS_NAME): Likewise.
12638 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12639 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12640 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12641 (HAVE_AUX_SECURE): Make definition unconditional.
12642 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12643 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12645 2012-08-03 Roland McGrath <roland@hack.frob.com>
12647 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12648 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12649 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12650 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12651 __eloop_threshold instead of SYMLOOP_MAX.
12653 * sysdeps/generic/eloop-threshold.h: New file.
12654 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12656 * elf/chroot_canon.c (chroot_canon): Likewise.
12658 2012-08-03 Joseph Myers <joseph@codesourcery.com>
12661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12662 Change to 2.6.0 everywhere.
12663 * sysdeps/unix/sysv/linux/configure: Regenerated.
12664 * sysdeps/unix/sysv/linux/kernel-features.h
12665 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12666 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12668 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12669 (__ASSUME_FUTEX_REQUEUE): Remove.
12670 (__ASSUME_STATFS64): Define unconditionally.
12671 (__ASSUME_AT_SECURE): Likewise.
12672 (__ASSUME_CORRECT_SI_PID): Likewise.
12673 (__ASSUME_TGKILL): Define without depending on kernel version for
12675 (__ASSUME_UTIMES): Likewise.
12676 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12678 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12679 (__ASSUME_TMPFS_NAME): Likewise.
12680 * README: Update reference to Linux kernel versions.
12682 2012-08-02 Marek Polacek <polacek@redhat.com>
12685 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12686 libc_cv_asm_type_prefix with %.
12687 * configure: Regenerated.
12688 * include/libc-symbols.h: Remove comment about
12689 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12690 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12691 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12692 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12693 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12694 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12695 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
12696 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
12697 * elf/tst-unique2mod1.c: Likewise.
12698 * elf/tst-unique1mod2.c: Likewise.
12699 * elf/tst-unique1mod1.c: Likewise.
12700 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
12701 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
12702 Replace ASM_TYPE_DIRECTIVE with .type.
12703 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12704 * sysdeps/i386/sysdep.h: Likewise.
12705 * sysdeps/x86_64/sysdep.h: Likewise.
12706 * sysdeps/sh/sysdep.h: Likewise.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12708 Do not define ASM_TYPE_DIRECTIVE.
12709 * sysdeps/powerpc/sysdep.h: Likewise.
12710 * sysdeps/powerpc/powerpc32/sysdep.h:
12711 Replace ASM_TYPE_DIRECTIVE with .type.
12712 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12713 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12714 * sysdeps/i386/fpu/e_powf.S: Likewise.
12715 * sysdeps/i386/fpu/e_expl.S: Likewise.
12716 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12717 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12718 * sysdeps/i386/fpu/e_pow.S: Likewise.
12719 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12720 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12721 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12722 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12723 * sysdeps/i386/fpu/e_log2.S: Likewise.
12724 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12726 * sysdeps/i386/fpu/e_powl.S: Likewise.
12727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12729 * sysdeps/i386/fpu/e_logl.S: Likewise.
12730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12731 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12732 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12733 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12734 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12735 * sysdeps/i386/fpu/e_log.S: Likewise.
12736 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12737 * sysdeps/i386/fpu/e_logf.S: Likewise.
12738 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12739 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12740 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12741 * sysdeps/i386/fpu/e_log10.S: Likewise.
12742 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12744 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12745 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12746 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12747 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12748 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12749 * sysdeps/i386/i686/strtok.S: Likewise.
12750 * sysdeps/i386/i386-mcount.S: Likewise.
12751 * sysdeps/i386/strtok.S: Likewise.
12752 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
12753 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12754 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12755 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12756 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12758 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12759 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12761 * sysdeps/x86_64/_mcount.S: Likewise.
12762 * sysdeps/x86_64/strtok.S: Likewise.
12763 * sysdeps/sh/_mcount.S: Likewise.
12765 2012-08-01 Roland McGrath <roland@hack.frob.com>
12767 * libio/iofopen.c: Include <fcntl.h>.
12768 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
12769 (_IO_fopen64, fopen64): Define as aliases.
12770 * libio/iofopen64.c: Include <fcntl.h>.
12771 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
12772 Conditionalize body on this.
12773 * sysdeps/wordsize-64/iofopen.c: File removed.
12774 * sysdeps/wordsize-64/iofopen64.c: File removed.
12776 2012-08-01 Marek Polacek <polacek@redhat.com>
12778 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12779 Use dlfcn directly instead of a variable.
12780 (binfmt-subdir): Do not define.
12783 2012-08-01 Joseph Myers <joseph@codesourcery.com>
12785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
12786 Remove all definitions.
12787 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
12788 <kernel-features.h>.
12789 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12790 (miss_F_GETOWN_EX): Remove all definitions.
12791 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
12793 [!__ASSUME_FCNTL64]: Remove conditional code.
12794 [__ASSUME_FCNTL64]: Make code unconditional.
12795 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
12796 <kernel-features.h>.
12797 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
12798 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
12799 (lockf64) [__NR_fcntl64]: Make code unconditional.
12800 (lockf64) [__ASSUME_FCNTL64]: Likewise.
12802 * sysdeps/unix/sysv/linux/kernel-features.h
12803 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
12804 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
12805 Make code unconditional.
12806 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12807 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
12809 [__NR_vfork]: Make code unconditional.
12810 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12811 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
12813 [__NR_vfork]: Make code unconditional.
12814 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
12815 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
12817 2012-08-01 Roland McGrath <roland@hack.frob.com>
12819 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12820 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12822 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12823 Define mkstemp64 as an alias.
12824 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12825 Define mkstemps64 as an alias.
12826 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12827 Define mkostemp64 as an alias.
12828 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12829 Define mkostemps64 as an alias.
12830 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12831 Conditionalize body on this.
12832 * misc/mkostemp64.c: Likewise.
12833 * misc/mkostemps64.c: Likewise.
12834 * misc/mkstemps64.c: Likewise.
12835 * sysdeps/wordsize-64/mkstemp64.c: File removed.
12836 * sysdeps/wordsize-64/mkostemp64.c: File removed.
12837 * sysdeps/wordsize-64/mkostemp.c: File removed.
12838 * sysdeps/wordsize-64/mkstemp.c: File removed.
12839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
12840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
12841 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
12842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
12845 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
12846 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
12847 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
12848 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
12850 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
12851 compat_symbol macros from <shlib-compat.h> rather than the underlying
12852 default_symbol_version and symbol_version macros, so that DEFAULT
12853 lines in shlib-versions are respected.
12854 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
12856 2012-08-01 Florian Weimer <fweimer@redhat.com>
12858 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
12859 Declare with warn_unused_result.
12860 (setgid, setregid, setegid, setresgid): Likewise.
12861 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
12863 * WUR-REPORT: Remove set*id functions.
12865 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12867 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12869 2012-07-31 Roland McGrath <roland@hack.frob.com>
12872 * include/sys/socket.h (__libc_accept, __libc_accept4):
12873 Add attribute_hidden.
12874 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12876 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12878 * inet/getnetgrent_r.c (setup): Likewise.
12880 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12882 2012-07-31 David S. Miller <davem@davemloft.net>
12884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12886 2012-07-31 Joseph Myers <joseph@codesourcery.com>
12889 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
12890 value between 1.0 and 2.0 and smaller part has absolute value less
12892 * math/s_clog10.c (__clog10): Likewise.
12893 * math/s_clog10f.c (__clog10f): Likewise.
12894 * math/s_clog10l.c (__clog10l): Likewise.
12895 * math/s_clogf.c (__clogf): Likewise.
12896 * math/s_clogl.c (__clogl): Likewise.
12897 * math/libm-test.inc (clog_test): Add more tests.
12898 (clog10_test): Likewise.
12899 * sysdeps/i386/fpu/libm-test-ulps: Update.
12900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12902 2012-07-31 Florian Weimer <fweimer@redhat.com>
12904 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
12905 Exit with zero in case no suitable GID is found, and write a
12906 message to standard error.
12908 2012-07-30 Roland McGrath <roland@hack.frob.com>
12910 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12912 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
12913 (MAXPATHLEN): Removed.
12914 (NOGROUP, NODEV): New macros.
12915 (setbit, clrbit, isset, isclr): New macros.
12916 (howmany, roundup, powerof2): New macros.
12917 (DEV_BSIZE): New macro.
12919 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12920 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12922 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12923 definition on [!__NO_LONG_DOUBLE_MATH].
12925 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12926 PTR_MANGLE and PTR_DEMANGLE.
12928 * socket/accept4.c (accept4): Rename to __libc_accept4.
12929 Define accept4 as a weak alias.
12931 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12932 on [_DIRENT_HAVE_D_TYPE].
12933 * io/ftw.c (ftw_dir): Likewise.
12935 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12937 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12939 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
12940 Use the BSD numbers rather than the arbitrary ones we had.
12941 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
12942 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
12943 (SIGXCPU, SIGXFSZ): New macros.
12946 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12947 initializer on [_LIBC_REENTRANT].
12949 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12950 definitions inside [_POSIX_MAPPED_FILES].
12952 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12954 * dirent/opendir.c: Include <fcntl.h>.
12956 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12957 (__libc_getspecific): Likewise.
12958 (__libc_key_create): Likewise.
12960 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
12961 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
12962 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
12963 (tmpfile64): Define as alias.
12964 * sysdeps/wordsize-64/tmpfile.c: File removed.
12965 * sysdeps/wordsize-64/tmpfile64.c: File removed.
12966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
12967 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
12969 * stdio-common/vfscanf.c: Include <stdbool.h>.
12970 * nss/makedb.c: Likewise.
12971 * stdio-common/_i18n_number.h: Likewise.
12972 * argp/argp-help.c: Likewise.
12973 * posix/wordexp.c: Likewise.
12974 * sysdeps/posix/spawni.c: Likewise.
12975 * nss/nss_files/files-initgroups.c: Likewise.
12976 * stdio-common/reg-modifier.c: Include <stdlib.h>.
12977 * nss/nss_files/files-initgroups.c: Likewise.
12978 * nss/nss_db/db-netgrp.c: Likewise.
12979 * nss/nss_db/db-initgroups.c: Likewise.
12980 * io/fchmodat.c: Include <sys/stat.h>.
12982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12983 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12985 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12988 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12989 Add multiple inclusion protection.
12991 2012-07-27 David S. Miller <davem@davemloft.net>
12993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12995 2012-07-27 Gary Benson <gbenson@redhat.com>
12998 * elf/rtld.c: Include <stap-probe.h>.
12999 (dl_main): Added static probes "init_start" and "init_complete".
13000 * elf/dl-load.c: Include <stap-probe.h>.
13001 (lose): Take new parameter "nsid".
13002 Added static probe "map_failed".
13003 (_dl_map_object_from_fd): Pass namespace id to lose.
13004 Added static probe "map_start".
13005 (open_verify): Pass namespace id to lose.
13006 * elf/dl-open.c: Include <stap-probe.h>.
13007 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13008 and "reloc_complete".
13009 * elf/dl-close.c: Include <stap-probe.h>.
13010 (_dl_close_worker): Added static probes "unmap_start" and
13012 * elf/rtld-debugger-interface.txt: New file documenting the above.
13014 2012-07-26 Roland McGrath <roland@hack.frob.com>
13016 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13017 rather than a string variable.
13018 * sunrpc/rpc_main.c (h_output): Likewise.
13019 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13021 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13023 * inet/check_native.c: New file.
13025 2012-07-26 Joseph Myers <joseph@codesourcery.com>
13028 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13029 if larger part has absolute value 1.0.
13030 * math/s_clog10.c (__clog10): Likewise.
13031 * math/s_clog10f.c (__clog10f): Likewise.
13032 * math/s_clog10l.c (__clog10l): Likewise.
13033 * math/s_clogf.c (__clogf): Likewise.
13034 * math/s_clogl.c (__clogl): Likewise.
13035 * math/libm-test.inc (clog_test): Add more tests.
13036 (clog10_test): Likewise.
13037 * sysdeps/i386/fpu/libm-test-ulps: Update.
13038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13040 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13041 (pltexit): Likewise.
13042 (La_regs): Likewise.
13043 (La_retval): Likewise.
13044 (int_retval): Likewise.
13045 Update #error for removed macros to refer only to definitions in
13047 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13049 (pltexit): Likewise.
13050 (La_regs): Likewise.
13051 (La_retval): Likewise.
13052 (int_retval): Likewise.
13053 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13055 (pltexit): Likewise.
13056 (La_regs): Likewise.
13057 (La_retval): Likewise.
13058 (int_retval): Likewise.
13059 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13061 (pltexit): Likewise.
13062 (La_regs): Likewise.
13063 (La_retval): Likewise.
13064 (int_retval): Likewise.
13065 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13067 (pltexit): Likewise.
13068 (La_regs): Likewise.
13069 (La_retval): Likewise.
13070 (int_retval): Likewise.
13071 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13073 (pltexit): Likewise.
13074 (La_regs): Likewise.
13075 (La_retval): Likewise.
13076 (int_retval): Likewise.
13077 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13079 (pltexit): Likewise.
13080 (La_regs): Likewise.
13081 (La_retval): Likewise.
13082 (int_retval): Likewise.
13083 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13084 macro definitions in tst-audit.h.
13085 * sysdeps/i386/tst-audit.h: New file.
13086 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13087 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13088 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13089 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13090 * sysdeps/sh/tst-audit.h: Likewise.
13091 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13092 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13093 * sysdeps/x86_64/tst-audit.h: Likewise.
13095 2012-07-26 Andreas Jaeger <aj@suse.de>
13097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13100 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13101 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13102 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13104 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13105 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13106 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13108 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13111 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13113 (si_call_addr, si_syscall, si_arch): Define new macro.
13114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13116 (si_call_addr, si_syscall, si_arch): Define new marcro.
13117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13119 (si_call_addr, si_syscall, si_arch): Define new macro.
13120 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13122 (si_call_addr, si_syscall, si_arch): Define new macro.
13124 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13128 Change to 2.4.21 where previously 2.4.1.
13129 * sysdeps/unix/sysv/linux/configure: Regenerated.
13130 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13131 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13132 Linux kernel version.
13133 (__ASSUME_STD_AUXV): Remove.
13134 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13136 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13137 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13138 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13139 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13140 (__ASSUME_NETLINK_SUPPORT): Likewise.
13141 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13142 (__no_netlink_support): Remove conditional definition.
13143 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13145 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13146 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13147 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13148 (if_nameindex_ioctl): Remove.
13149 (if_nameindex_netlink): Do not handle __no_netlink_support.
13150 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13152 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13153 Remove conditional code.
13154 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13156 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13158 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13159 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13160 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13162 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13163 [!__ASSUME_STD_AUXV]: Remove conditional code.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13165 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13166 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13168 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13169 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13171 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13173 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13174 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13176 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13178 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13181 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13184 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13185 code unconditional.
13186 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13188 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13190 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13193 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13195 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13198 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13199 code unconditional.
13200 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13202 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13204 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13207 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13208 code unconditional.
13209 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13211 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13213 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13216 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13218 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13219 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13220 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13221 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13222 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13223 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13224 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13225 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13226 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13227 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13228 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13229 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13230 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13231 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13238 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13242 2012-07-25 Florian Weimer <fweimer@redhat.com>
13244 * Versions.def: Add GLIBC_2.17.
13245 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13246 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13247 Introduce __libc_secure_getenv.
13248 * stdlib/Versions (2.17): Add secure_getenv
13249 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13250 * stdlib/secure-getenv.c: Rename __secure_getenv to
13251 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13252 symbol __secure_getenv for GLIBC_2.0.
13253 * stdlib/tst-secure-getenv.c: New.
13254 * stdlib/Makefile (tests): Add testcase.
13255 * manual/startup.texi (Environment Access): Document
13257 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13258 __libc_secure_getenv.
13259 * inet/ruserpass.c (ruserpass): Likewise.
13260 * malloc/mtrace.c (mtrace): Likewise.
13261 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
13262 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13263 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13264 * sysdeps/posix/tempname.c: Likewise. Evaluate
13265 HAVE_SECURE_GETENV.
13266 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
13267 __secure_getenv to __libc_secure_getenv.
13268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13281 2012-07-25 Joseph Myers <joseph@codesourcery.com>
13283 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13284 (struct La_i86_retval): Likewise.
13285 (struct La_x86_64_regs): Likewise.
13286 (struct La_x86_64_retval): Likewise.
13287 (struct La_x32_regs): Likewise.
13288 (struct La_x32_retval): Likewise.
13289 (struct La_ppc32_regs): Likewise.
13290 (struct La_ppc32_retval): Likewise.
13291 (struct La_ppc64_regs): Likewise.
13292 (struct La_ppc64_retval): Likewise.
13293 (struct La_sh_regs): Likewise.
13294 (struct La_sh_retval): Likewise.
13295 (struct La_s390_32_regs): Likewise.
13296 (struct La_s390_32_retval): Likewise.
13297 (struct La_s390_64_regs): Likewise.
13298 (struct La_s390_64_retval): Likewise.
13299 (struct La_sparc32_regs): Likewise.
13300 (struct La_sparc32_retval): Likewise.
13301 (struct La_sparc64_regs): Likewise.
13302 (struct La_sparc64_retval): Likewise.
13303 (struct audit_ifaces): Remove architecture-specific pltenter and
13305 * sysdeps/i386/ldsodefs.h: New file.
13306 * sysdeps/powerpc/ldsodefs.h: Likewise.
13307 * sysdeps/s390/ldsodefs.h: Likewise.
13308 * sysdeps/sh/ldsodefs.h: Likewise.
13309 * sysdeps/sparc/ldsodefs.h: Likewise.
13310 * sysdeps/x86_64/ldsodefs.h: Likewise.
13312 2012-07-25 Marek Polacek <polacek@redhat.com>
13315 * math/libm-test.inc (yn_test): Add another test.
13316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13317 to ERANGE when the result is +-Inf.
13318 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13319 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13320 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13321 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13323 2012-07-24 Joseph Myers <joseph@codesourcery.com>
13325 * conform/data/time.h-data (NULL): Use macro-constant. Require
13327 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13329 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13331 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13333 * configure.in <sysdeps resolving>: Correct printing
13335 * configure: Regenerate.
13337 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13339 * math/w_ilogb.c: Include <limits.h>.
13340 * math/w_ilogbl.c: Likewise.
13342 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13344 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13345 va_copy. Document allowing for unavailable va_copy only as
13346 pre-C99 compatibility.
13347 * manual/string.texi (Copying and Concatenation): Use va_copy
13348 instead of __va_copy in concat example.
13350 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13352 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13353 (__sendto): Use create_address_port. Initialize APORT and deallocate
13356 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13357 with O_NOLINK passed to __file_name_lookup.
13359 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13360 with O_NOLINK passed to __file_name_lookup.
13362 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13363 negative N or less than NGIDS.
13365 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13366 type to string_t. Set ERANGE as errno and return it if NAME is not big
13367 enough. Use memcpy instead of strncpy.
13369 2012-07-20 Joseph Myers <joseph@codesourcery.com>
13371 * elf/Makefile (check-data): Remove.
13372 (localplt.data): New vpath directive.
13373 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13374 instead of $(check-data).
13375 * scripts/data/localplt-generic.data: Move to ...
13376 * sysdeps/generic/localplt.data: ... here.
13377 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13378 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13379 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13382 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13385 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13388 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13391 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13394 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13398 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13400 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13401 PPC32 and PPC64 files.
13402 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13403 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13405 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13407 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13408 __makecontext_ret to ...
13409 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13410 ... here and call exit if uc_link is NULL. New file.
13411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13412 __makecontext_ret.S.
13413 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13414 __makecontext_ret to ...
13415 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13416 ... here and call exit if uc_link is NULL. New file.
13417 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13418 __makecontext_ret.S.
13420 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13422 * elf/elf.h (R_390_IRELATIVE): New definition.
13423 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13424 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13425 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13426 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13427 (elf_machine_lazy_rel): Likewise.
13428 * sysdeps/s390/dl-irel.h: New file.
13429 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13430 * sysdeps/s390/s390-64/memset.S: New asm code.
13431 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13432 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13433 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13434 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13435 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13436 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13438 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13439 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13440 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13441 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13442 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13443 * sysdeps/s390/s390-32/memset.S: New asm code.
13444 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13446 2012-07-17 Marek Polacek <polacek@redhat.com>
13449 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13450 * sysdeps/s390/s390-64/configure.in: Likewise.
13451 * sysdeps/sparc/configure.in: Likewise.
13452 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13453 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13454 * sysdeps/i386/configure.in: Likewise.
13455 * sysdeps/x86_64/configure.in: Likewise.
13456 * sysdeps/sh/configure.in: Likewise.
13457 * sysdeps/s390/s390-32/configure: Regenerated.
13458 * sysdeps/s390/s390-64/configure: Likewise.
13459 * sysdeps/x86_64/configure: Likewise.
13460 * sysdeps/sh/configure: Likewise.
13461 * sysdeps/powerpc/powerpc64/configure: Likewise.
13462 * sysdeps/powerpc/powerpc32/configure: Likewise.
13463 * sysdeps/sparc/configure: Likwise.
13464 * sysdeps/i386/configure: Likewise.
13466 * elf/dl-open.c: Comment fixes.
13468 2012-07-17 Joseph Myers <joseph@codesourcery.com>
13470 * Makefile [CXX] (check-data): Remove.
13471 [CXX] (c++-types.data): New vpath directive.
13472 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13473 vpath. Do not allow for C++ type data being missing.
13474 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13475 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13476 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13477 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13478 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13479 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13480 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13483 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13486 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13489 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13492 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13495 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13498 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13501 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13504 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13505 definitions to architecture-specific files.
13506 (TLS_IE): Likewise.
13507 (TLS_LD): Likewise.
13508 (TLS_GD): Likewise.
13509 * sysdeps/i386/tls-macros.h: New file.
13510 * sysdeps/powerpc/tls-macros.h: Likewise.
13511 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13512 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13513 * sysdeps/sh/tls-macros.h: Likewise.
13514 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13515 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13516 * sysdeps/x86_64/tls-macros.h: Likewise.
13518 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13521 zero value for regular exit case.
13523 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13524 (__start_context): Preserve zero value for regular exit case.
13526 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13527 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13529 * manual/setjmp.texi (setcontext): Clarify normal process
13530 termination when uc_link is the null pointer.
13531 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13534 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13536 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13537 preprocessor. Test for each exception mask separately.
13539 2012-07-16 Andreas Jaeger <aj@suse.de>
13541 * po/ru.po: Update from translation team.
13543 2012-07-15 Joseph Myers <joseph@codesourcery.com>
13545 * conform/data/string.h-data (NULL): Use macro-constant. Require
13547 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13548 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13549 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13550 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13551 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13553 2012-07-13 Andreas Jaeger <aj@suse.de>
13555 * po/fr.po: Update from translation team.
13557 2012-07-12 Marek Polacek <polacek@redhat.com>
13560 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13561 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13564 2012-07-12 Joseph Myers <joseph@codesourcery.com>
13567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13568 Change to 2.4.1 where previously 2.4.0.
13569 * sysdeps/unix/sysv/linux/configure: Regenerated.
13570 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13571 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13573 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13574 (__ASSUME_AT_CLKTCK): Remove.
13575 (__ASSUME_AT_PAGESIZE): Likewise.
13576 (__ASSUME_AT_XID): Likewise.
13577 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13578 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13579 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13581 (HAVE_AUX_PAGESIZE): Likewise.
13582 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13583 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13584 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13586 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13590 the temporary buffer used to invoke __gethostbyname2_r,
13591 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13592 host_data / struct gaih_addrtuple.
13593 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13594 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13595 header file nss/nsswitch.h.
13596 * nss/nsswitch.h (global scope): Add definition of implementation
13597 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13598 resolv/nss_dns/dns-host.c).
13600 2012-07-11 Andreas Jaeger <aj@suse.de>
13602 * po/fr.po: Update from translation team.
13604 * po/sv.po: Update from translation team
13605 * po/fr.po: Another update from translation team.
13607 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13609 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13610 for subnormals or multiply small sinh result by itself.
13611 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13614 2012-07-11 David S. Miller <davem@davemloft.net>
13616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13618 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13621 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13622 (INTERNAL_MARK): Shift it here.
13624 2012-07-10 Marek Polacek <polacek@redhat.com>
13627 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13628 libc_cv_asm_global_directive with .globl.
13629 * configure: Regenerated.
13630 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13632 * sysdeps/i386/configure: Regenerated.
13633 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13635 * sysdeps/x86_64/configure: Regenerated.
13636 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13637 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13638 * elf/tst-unique2mod2.c: Likewise.
13639 * elf/tst-unique2mod1.c: Likewise.
13640 * elf/tst-unique1mod2.c: Likewise.
13641 * elf/tst-unique1mod1.c: Likewise.
13642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13643 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13645 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13646 * sysdeps/mach/sysdep.h: Likewise.
13647 * sysdeps/i386/sysdep.h: Likewise.
13648 * sysdeps/i386/i386-mcount.S: Likewise.
13649 * sysdeps/x86_64/_mcount.S: Likewise.
13650 * sysdeps/x86_64/sysdep.h: Likewise.
13651 * sysdeps/sh/_mcount.S: Likewise.
13652 * sysdeps/sh/sysdep.h: Likewise.
13653 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13654 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13655 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13656 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13657 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13658 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13659 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13660 * locale/localeinfo.h: Likewise.
13661 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13662 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13664 2012-07-09 Roland McGrath <roland@hack.frob.com>
13667 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13669 * manual/message.texi (The Uniforum approach): Likewise.
13670 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13671 (glibc iconv Implementation): Likewise.
13673 2012-07-09 Joseph Myers <joseph@codesourcery.com>
13676 * math/s_clog.c (__clog): Avoid scaling a value down where that
13677 could result in underflow.
13678 * math/s_clog10.c (__clog10): Likewise.
13679 * math/s_clog10f.c (__clog10f): Likewise.
13680 * math/s_clog10l.c (__clog10l): Likewise.
13681 * math/s_clogf.c (__clogf): Likewise.
13682 * math/s_clogl.c (__clogl): Likewise.
13683 * math/libm-test.inc (clog_test): Add more tests.
13684 (clog10_test): Likewise.
13685 * sysdeps/i386/fpu/libm-test-ulps: Update.
13686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13688 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13691 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13692 by 7 not 8 to examine high bit of fractional part.
13695 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
13696 for call to __mcount_internal.
13697 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
13698 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
13699 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
13701 2012-07-06 Joseph Myers <joseph@codesourcery.com>
13704 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13705 approximation for values within 0x1p-13f of an odd multiple of
13707 * math/libm-test.inc (tan_test): Do not allow spurious underflow
13708 exception. Add more tests.
13709 * sysdeps/i386/fpu/libm-test-ulps: Update.
13712 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
13713 inputs and return -1 for them. Do not check for +Inf in case not
13714 reachable for +Inf.
13715 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13716 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
13717 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13718 and return -1 for them. Do not check for +Inf in case not
13719 reachable for +Inf.
13720 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
13722 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
13723 and return -1 for them. Do not check for +Inf in case not
13724 reachable for +Inf.
13725 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
13726 spurious underflow.
13727 * sysdeps/i386/fpu/libm-test-ulps: Update.
13728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13730 2012-07-06 Mike Frysinger <vapier@gentoo.org>
13732 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13734 2012-07-05 Joseph Myers <joseph@codesourcery.com>
13738 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
13739 could result in spurious underflow. Scale down values above
13740 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
13741 * math/s_csqrtf.c (__csqrtf): Likewise.
13742 * math/s_csqrtl.c (__csqrtl): Likewise.
13743 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
13744 spurious underflow.
13745 * sysdeps/i386/fpu/libm-test-ulps: Update.
13746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13748 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13750 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13752 * catgets/xopen-msg.awk: New file.
13753 * catgets/xopen-msg.sed: Removed.
13755 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13757 * intl/po2test.awk: New file.
13758 * intl/po2test.sed: Removed.
13760 2012-07-04 Joseph Myers <joseph@codesourcery.com>
13763 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
13764 or multiply small sinh result by itself.
13765 * math/s_ctanf.c (__ctanf): Likewise.
13766 * math/s_ctanh.c (__ctanh): Likewise.
13767 * math/s_ctanhf.c (__ctanhf): Likewise.
13768 * math/s_ctanhl.c (__ctanhl): Likewise.
13769 * math/s_ctanl.c (__ctanl): Likewise.
13770 * math/libm-test.inc (ctan_test_tonearest): New function.
13771 (ctan_test_towardzero): Likewise.
13772 (ctan_test_downward): Likewise.
13773 (ctan_test_upward): Likewise.
13774 (ctanh_test_tonearest): Likewise.
13775 (ctanh_test_towardzero): Likewise.
13776 (ctanh_test_downward): Likewise.
13777 (ctanh_test_upward): Likewise.
13778 (main): Call these new functions.
13779 * sysdeps/i386/fpu/libm-test-ulps: Update.
13780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782 2012-07-03 Mike Frysinger <vapier@gentoo.org>
13784 * .gitignore: Delete /ports entry.
13786 2012-07-03 Andreas Jaeger <aj@suse.de>
13788 * po/bg.po: Update from translation team.
13789 * po/cs.po: Likewise.
13790 * po/de.po: Likewise.
13791 * po/hr.po: Likewise.
13792 * po/nl.pl: Likewise.
13793 * po/pl.po: Likewise.
13794 * po/vi.po: Likewise.
13796 2012-07-03 Joseph Myers <joseph@codesourcery.com>
13798 * Makeconfig [!+link] (+link-before-libc): New variable.
13799 [!+link] (+link-after-libc): Likewise.
13800 [!+link] (+link-tests): Likewise.
13801 [!+link] (+link): Define in terms of $(+link-before-libc) and
13802 $(+link-after-libc).
13803 [!+link-static] (+link-static-before-libc): New variable.
13804 [!+link-static] (+link-static-after-libc): Likewise.
13805 [!+link-static] (+link-static-tests): Likewise.
13806 [!+link-static] (+link-static): Define in terms of
13807 $(+link-static-before-libc) and $(+link-static-after-libc).
13808 [build-shared] (link-libc-before-gnulib): New variable.
13809 [build-shared] (link-libc-tests): Likewise.
13810 [build-shared] (link-libc): Define in terms of
13811 $(link-libc-before-gnulib).
13812 [!build-shared] (link-libc-tests): New variable.
13813 (link-libc-static-tests): New variable.
13814 [!gnulib] (gnulib-arch): New variable.
13815 [!gnulib] (gnulib-tests): Likewise.
13816 [!gnulib] (static-gnulib-arch): Likewise.
13817 [!gnulib] (static-gnulib-tests): Likewise.
13818 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
13819 Define with "=" instead of ":=".
13820 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
13821 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
13822 * Rules (binaries-all-notests): New variable.
13823 (binaries-all-tests): Likewise.
13824 (binaries-static-notests): Likewise.
13825 (binaries-static-tests): Likewise.
13826 (binaries-all): Define using $(binaries-all-notests) and
13827 $(binaries-all-tests).
13828 (binaries-static): Define using $(binaries-static-notests) and
13829 $(binaries-static-tests).
13830 (binaries-shared-tests): New variable.
13831 (binaries-shared-notests): Likewise.
13832 (binaries-shared): Remove variable.
13833 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
13834 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
13835 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
13836 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
13837 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
13838 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
13839 * elf/Makefile (sln-modules): New variable.
13840 (extra-objs): Add $(sln-modules:=.o).
13841 (ldconfig-modules): Add static-stubs.
13842 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
13843 * elf/static-stubs.c: New file.
13846 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
13847 by 7 not 8 to examine high bit of fractional part. Use volatile
13848 variables when splitting into final array of floats if
13849 __FLT_EVAL_METHOD__ != 0.
13850 * math/libm-test.inc (cos_test): Add another test.
13851 (sin_test): Likewise.
13852 * sysdeps/i386/fpu/libm-test-ulps: Update.
13855 * math/libm-test.inc (cosh_test): Add more tests.
13857 * version.h (RELEASE): Set to "development".
13858 (VERSION): Set to "2.16.90".
13860 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13862 * NEWS: Update copyright. Remove last-updated date.
13863 Mention math library bug fixes and timezone data changes.
13864 * README: Mention GNU/Hurd, x32, and HPPA support status.
13866 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13868 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13870 2012-06-27 Andreas Jaeger <aj@suse.de>
13872 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13874 2012-06-25 Andreas Jaeger <aj@suse.de>
13876 * sysdeps/s390/fpu/libm-test-ulps: Update.
13878 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13879 Thomas Schwinge <thomas@codesourcery.com>
13881 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
13882 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
13883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
13886 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13888 * sysdeps/mach/start.c: Remove file.
13889 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
13890 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
13891 * sysdeps/sh/init-first.c: Likewise.
13893 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
13894 registers for frame unwinding purposes, add CFI directives.
13895 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13896 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
13897 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
13900 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
13901 __fortify_fail returning.
13902 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
13904 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
13905 sysdeps/sh/____longjmp_chk.S.
13906 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
13907 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
13908 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
13909 (gen-as-const-headers): Append sigaltstack-offsets.sym.
13911 * sysdeps/sh/abort-instr.h: New file.
13912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
13913 process in case exit returns.
13915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13916 initialize the GOT register before use.
13918 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13919 calculation of ARGC > 4.
13921 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13922 meaningful names to some local labels.
13924 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13925 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13927 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
13928 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
13929 (__arch_compare_and_exchange_val_16_acq): Likewise.
13930 (__arch_compare_and_exchange_val_32_acq): Likewise.
13931 (atomic_exchange_and_add): Fix gUSA sequence.
13932 (atomic_add): Likewise.
13933 (atomic_add_negative): Likewise.
13934 (atomic_add_zero): Likewise.
13935 (atomic_bit_test_set): Likewise.
13937 2012-06-22 Andreas Schwab <schwab@redhat.com>
13940 * include/link.h (struct link_map): Add l_free_initfini.
13941 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13943 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
13944 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
13945 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
13948 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13950 * configure.in: Use AC_LANG_SOURCE.
13951 * configure: Regenerate.
13953 2012-06-22 Roland McGrath <roland@hack.frob.com>
13955 * configure.in (libc_cv_localstatedir): New substituted variable.
13956 * configure: Regenerated.
13957 * config.make.in (localstatedir): New variable, substituted from
13958 libc_cv_localstatedir.
13959 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
13960 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
13961 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
13962 * sysdeps/gnu/configure: Regenerated.
13964 2012-06-21 Jeff Law <law@redhat.com>
13967 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13968 free. Simplify list management for _LIBC case.
13970 2012-06-21 Joseph Myers <joseph@codesourcery.com>
13973 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13974 Clear sign bit of 64-bit integer value before comparing against
13977 * sysdeps/mach/configure: Regenerated.
13979 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13982 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13984 2012-06-21 Jeff Law <law@redhat.com>
13987 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
13988 uint16_t for elements in the "seen" array to avoid char overflows.
13989 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13990 * elf/dl-open.c (dl_open_worker): Likewise.
13992 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13994 * scripts/list-sources.sh: Scan PORTS for translations.
13995 * po/libc.pot: Regenerated.
13997 2012-06-21 Andreas Jaeger <aj@suse.de>
14000 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14002 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14003 * bits/byteswap-16.h (__bswap_16): Likewise.
14004 * bits/byteswap.h (__bswap_constant_16): Likewise.
14006 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14009 * sysdeps/i386/fpu_control.h: Removed.
14010 * sysdeps/x86_64/fpu_control.h: Moved to ...
14011 * sysdeps/x86/fpu_control.h: Here.
14013 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14014 (_FPU_SETCW): Likewise.
14016 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14019 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14020 * sysdeps/x86/fpu/bits/mathinline.h: This.
14021 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14025 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14026 functions if __x86_64__ is defined.
14028 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14030 * string/endian.h: Add !__ASSEMBLER__ condition for including
14031 conversion interfaces.
14033 2012-06-15 Joseph Myers <joseph@codesourcery.com>
14036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14037 of ABS(x) in calculating zero to negative powers other than odd
14039 * math/libm-test.inc (pow_test): Add more tests.
14041 2012-06-15 Andreas Jaeger <aj@suse.de>
14043 * manual/contrib.texi (Contributors): Update entry of Liubov
14044 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14047 2012-06-15 Cyril Hrubis <metan@ucw.cz>
14049 * string/string.h: Add __wur to GNU version of strerror_r.
14051 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14054 * string/Makefile (tests): Add tst-strtok_r.
14055 * string/tst-strtok_r.c: New file.
14056 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14057 RAX_LP/RDX_LP on SAVE_PTR.
14059 2012-06-14 Roland McGrath <roland@hack.frob.com>
14061 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14063 2012-06-14 Joseph Myers <joseph@codesourcery.com>
14065 * libm_test.inc (csqrt_test): Allow more spurious underflow
14067 (j0_test): Likewise.
14068 (j1_test): Likewise.
14069 (y0_test): Likewise.
14070 (y1_test): Likewise.
14072 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14074 * po/Makefile (libc.pot): Use UTF-8 charset.
14076 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14079 Suppress sign-conversion warning from FD_SET.
14080 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14081 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14082 not unsigned long int.
14083 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14085 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14089 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14090 __extern_always_inline instead of __extern_inline.
14091 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14092 (__signbit): Likewise.
14093 (__signbitl): Support C++ namespace.
14094 (lrintf): New inline function.
14096 (llrintf): Likewise.
14097 (llrint): Likewise.
14107 (floorf): Likewise.
14108 (nearbyint): Likewise.
14109 (nearbyintf): Likewise.
14111 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14113 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14114 non-default versions.
14116 2012-06-11 Roland McGrath <roland@hack.frob.com>
14119 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14121 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14123 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14124 (FE_UPWARD, FE_DOWNWARD): Don't define.
14125 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14126 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14130 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14131 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14133 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14137 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14140 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14143 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14144 * sysdeps/i386/fpu/Implies: New file.
14145 * sysdeps/x86_64/fpu/Implies: Likewise.
14146 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14147 * sysdeps/x86/fpu/bits/fenv.h: This.
14149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14152 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14155 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14156 character 0xffff that matches the last element of the
14159 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14164 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14167 values higher than 25.6283.
14169 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14172 subnormal exponent extraction and add some __builtin_expect.
14173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14174 Fix for subnormal mantissa calculation.
14176 2012-06-04 Mike Frysinger <vapier@gentoo.org>
14178 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14179 cpu2 is -1 and errno is not ENOSYS.
14181 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14184 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14185 * sysdeps/x86/bits/string.h: This.
14186 * sysdeps/x86_64/bits/string.h: Removed.
14188 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14189 if not compiling for x86-64, but compiling for >= i486.
14191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14192 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14194 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14195 New macro from Linux kernel 3.4.0.
14196 (FP_XSTATE_MAGIC2): Likewise.
14197 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14198 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14199 (struct _fpx_sw_bytes): New struct.
14200 (struct _xsave_hdr): Likewise.
14201 (struct _ymmh_state): Likewise.
14202 (struct _xstate): Likewise.
14204 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14205 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14206 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14207 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14208 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14209 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14211 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14212 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14213 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14214 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14215 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14216 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14218 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14221 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14222 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14223 (sysdep_headers): Include sys/platform/ppc.h.
14224 * sysdeps/powerpc/test-gettimebase.c: Test for
14225 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14226 * manual/Makefile (appendices): Include platform.texi.
14227 * manual/contrib.texi (Contributors): Update @node pointers.
14228 * manual/maint.texi (Maintenance): Likewise.
14229 (Platform): New node.
14230 * manual/platform.texi: New file. Document the new features.
14232 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14233 Jakub Jelinek <jakub@redhat.com>
14236 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14237 where __builtin_expect is unavailable.
14239 2012-06-03 David S. Miller <davem@davemloft.net>
14241 * stdlib/longlong.h: Updated from GCC.
14243 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14246 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14247 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14250 (GLIBC_2.16): Likewise.
14252 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14254 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14256 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14259 (default-abi): New variable.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14261 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14263 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14265 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14267 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14270 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14271 definition. Document in comment.
14273 2012-06-01 David S. Miller <davem@davemloft.net>
14275 * stdlib/longlong.h: Updated from GCC.
14277 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14280 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14281 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14282 sys/debugreg.h sys/io.h here.
14283 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14284 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14286 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14287 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14288 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14289 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14290 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14291 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14293 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14294 Define only if __x86_64__ is defined.
14296 2012-06-01 Joseph Myers <joseph@codesourcery.com>
14299 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14300 Use int64_t for variable i.
14301 * math/libm-test.inc (fmod_test): Add more tests.
14303 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14304 z computation is not scheduled after fetestexcept.
14305 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14306 Use math_force_eval instead of asm to ensure calculation scheduled
14307 before exception test.
14308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14309 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14311 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14314 computation is not scheduled after fetestexcept.
14316 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14319 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14320 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14322 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14324 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14325 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14327 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14330 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14332 (__WCHAR_MIN): Support __WORDSIZE == 64.
14333 (__WCHAR_MAX): Likewise.
14335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14340 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14347 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14350 Defined to 1 if __x86_64__ isn't defined.
14351 (_STAT_VER_LINUX_OLD): New.
14352 (st_atime): Remove duplicate.
14353 (st_mtime): Likewise.
14354 (st_ctime): Likewise.
14356 2012-05-31 David S. Miller <davem@davemloft.net>
14358 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14361 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14363 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14367 * elf/dl-reloc.c: Include <_itoa.h>.
14368 (_dl_reloc_bad_type): Remove use of INTUSE.
14369 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14370 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14371 * stdio-common/psiginfo.c (psiginfo): Likewise.
14372 * stdio-common/psignal.c (psignal): Likewise.
14373 * string/strsignal.c (strsignal): Likewise.
14374 * include/signal.h (_sys_siglist): Declare hidden proto.
14375 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14376 INTVARDEF with libc_hidden_data_def.
14377 * stdio-common/itoa-udigits.c: Likewise.
14378 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14379 (_itoa_lower_digits_internal): Remove declaration.
14380 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14381 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14382 (_sys_sigabbrev_internal): Remove aliases.
14383 (_sys_siglist): Define hidden alias.
14385 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14390 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14393 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14394 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14396 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14397 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14398 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14399 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14401 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14403 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14405 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14407 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14415 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14416 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14417 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14419 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14420 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14421 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14422 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14423 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14424 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14426 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14427 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14429 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14430 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14434 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14436 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14437 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14439 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14441 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14442 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14443 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14445 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14447 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14449 2012-05-31 Joseph Myers <joseph@codesourcery.com>
14451 * math/math.h (M_El): Use two more decimal places.
14452 (M_LOG2El): Likewise.
14453 (M_LOG10El): Likewise.
14454 (M_LN2l): Likewise.
14455 (M_LN10l): Likewise.
14457 (M_PI_2l): Likewise.
14458 (M_PI_4l): Likewise.
14459 (M_1_PIl): Likewise.
14460 (M_2_PIl): Likewise.
14461 (M_2_SQRTPIl): Likewise.
14462 (M_SQRT2l): Likewise.
14463 (M_SQRT1_2l): Likewise.
14465 2012-05-31 David S. Miller <davem@davemloft.net>
14467 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14468 values between float registers.
14469 * sysdeps/sparc/sparc64/memset.S: Likewise.
14470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14472 2012-05-31 Mike Frysinger <vapier@gentoo.org>
14474 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14475 -D_FORTIFY_SOURCE=1.
14476 (CPPFLAGS-tst-longjmp_chk.c): Define.
14477 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14478 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14479 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14480 CFLAGS-tst-wchar-h.c.
14482 2012-05-31 Marek Polacek <polacek@redhat.com>
14485 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14486 __endmntent_internal): Remove declaration.
14487 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14488 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14489 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14491 2012-05-30 David S. Miller <davem@davemloft.net>
14493 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14494 (___Q_simulate_exceptions): Use real FP ops rather than writing
14496 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14499 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14502 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14503 * sysdeps/x86/bits/xtitypes.h: This.
14505 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14506 * sysdeps/x86/bits/wordsize.h: This.
14508 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14509 * sysdeps/x86/bits/huge_vall.h: This.
14511 * sysdeps/i386/bits/select.h: Removed.
14512 * sysdeps/x86_64/bits/select.h: Renamed to ...
14513 * sysdeps/x86/bits/select.h: This.
14515 * sysdeps/i386/bits/setjmp.h: Removed.
14516 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14517 * sysdeps/x86/bits/setjmp.h: This.
14519 * sysdeps/i386/bits/mathdef.h: Removed.
14520 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14521 * sysdeps/x86/bits/mathdef.h: This.
14523 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14526 * include/sys/socket.h (__connect_internal)
14527 (__libc_sa_len_internal): Remove declaration.
14528 (__connect, __libc_sa_len): Declare hidden_proto.
14529 (SA_LEN): Remove use of INTUSE.
14530 * socket/connect.c: Add libc_hidden_def.
14531 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14532 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14533 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14535 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14537 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14538 of adding _internal alias.
14540 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14543 * sysdeps/i386/bits/link.h: Removed.
14544 * sysdeps/i386/bits/linkmap.h: Likewise.
14545 * sysdeps/x86_64/bits/link.h: Renamed to ...
14546 * sysdeps/x86/bits/link.h: This.
14547 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14548 * sysdeps/x86/bits/linkmap.h: This.
14550 * sysdeps/i386/bits/endian.h: Removed.
14551 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14552 * sysdeps/x86/bits/endian.h: This.
14554 * sysdeps/i386/bits/byteswap.h: Removed.
14555 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14556 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14557 * sysdeps/x86/bits/byteswap.h: This.
14558 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14559 * sysdeps/x86/bits/byteswap-16.h: This.
14560 * sysdeps/i386/Implies: Add x86.
14561 * sysdeps/x86_64/Implies: Likewise.
14563 2012-05-30 David S. Miller <davem@davemloft.net>
14565 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14566 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14567 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14568 (FP_TRAPPING_EXCEPTIONS): Define.
14569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14570 (FP_TRAPPING_EXCEPTIONS): Define.
14571 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14572 subnormals only when inexact has been signalled or underflow
14573 exceptions are enabled.
14574 (_FP_PACK_CANONICAL): Likewise.
14576 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14580 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14582 2012-05-30 Richard Henderson <rth@twiddle.net>
14584 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14585 with #ifndef NOT_IN_libc.
14587 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14588 marked to avoid plt entry.
14590 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14593 * Makeconfig (default-abi): New macro.
14594 (abi-includes): Likewise.
14595 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14596 $(abi-$(default-abi)-lib-soname) for soname if defined.
14597 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14599 * Makefile (installed-stubs): Likewise.
14600 * include/stubs-biarch.h: Removed.
14601 * scripts/lib-names.awk: Only handle one library at a time.
14602 * scripts/soversions.awk: Remove WORDSIZE support.
14603 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14605 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14607 (syscall-list-default-condition): Likewise.
14608 (syscall-list-default-condition): Likewise.
14609 (syscall-list-includes): Likewise.
14610 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14611 syscall-list-* with abi-*. Handle undefined abi-variants.
14612 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14613 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14614 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14615 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14616 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14617 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14619 (syscall-list-32-options): Likewise.
14620 (syscall-list-32-condition): Likewise.
14621 (syscall-list-64-options): Likewise.
14622 (syscall-list-64-condition): Likewise.
14623 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14625 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14628 (abi-64-ld-soname): New macro.
14629 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14630 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14633 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14634 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14636 2012-05-30 Joseph Myers <joseph@codesourcery.com>
14638 * sysdeps/unix/sysv/linux/kernel-features.h
14639 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14640 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14641 include <kernel-features.h>.
14642 [!__NR_ftruncate64]: Remove conditional code.
14643 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14644 [__NR_ftruncate64]: Make code unconditional.
14645 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14646 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14647 include <kernel-features.h>.
14648 [!__NR_ftruncate64]: Remove conditional code.
14649 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14650 [__NR_ftruncate64]: Make code unconditional.
14651 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14653 include <kernel-features.h>.
14654 [!__NR_ftruncate64]: Remove conditional code.
14655 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14656 [__NR_ftruncate64]: Make code unconditional.
14657 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14659 include <kernel-features.h>.
14660 [!__NR_ftruncate64]: Remove conditional code.
14661 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14662 [__NR_ftruncate64]: Make code unconditional.
14663 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14665 * configure.in (libc_cv_fpie): Weaken to a compile test using
14666 LIBC_TRY_CC_OPTION.
14667 * configure: Regenerated.
14669 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14684 2012-05-27 David S. Miller <davem@davemloft.net>
14686 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14688 (__Q_simulate_exceptions): Return void. Change to simulate
14689 exceptions by writing into the %fsr.
14690 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14691 (__Qp_handle_exceptions): Likewise.
14693 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14694 __Qp_handle_exceptions.
14695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
14696 __Qp_handle_exceptions.
14697 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14698 as unused and give dummy FP_RND_NEAREST initializer.
14699 (FP_INHIBIT_RESULTS): Define.
14700 (___Q_simulate_exceptions): Update declaration.
14701 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
14703 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
14704 as unused and give dummy FP_RND_NEAREST initializer.
14705 (__Qp_handle_exceptions): Update declaration.
14706 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
14709 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14711 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
14712 the temporary FPU control word.
14713 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14714 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
14715 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14716 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14717 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14718 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14719 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14720 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14721 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14722 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14723 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14725 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14727 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14730 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14732 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
14733 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
14734 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
14735 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
14737 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14738 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14741 2012-05-27 Ulrich Drepper <drepper@gmail.com>
14743 * po/h.po: Update from translation team.
14745 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14747 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14749 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
14750 handling of denormals.
14751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14752 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14753 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14754 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
14757 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
14760 2012-05-26 Marek Polacek <polacek@redhat.com>
14763 * math/libm-test.inc (fma_test): Don't always expect underflow
14766 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14769 * elf/tst-execstack.c: Include stackinfo.h.
14770 (do_test): Adjust test case to ensure that pthread_getattr_np
14771 behaviour remains the same after marking stack executable.
14773 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14775 * sysdeps/unix/sysv/linux/kernel-features.h
14776 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
14777 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
14779 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14780 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14781 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
14783 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14784 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14786 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14788 * configure.in: Define the default includes to being none.
14789 * configure: Regenerated.
14791 2012-05-25 Roland McGrath <roland@hack.frob.com>
14793 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
14794 * sysdeps/x86_64/setjmp.S: Likewise.
14795 * sysdeps/i386/bsd-setjmp.S: Likewise.
14796 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14797 * sysdeps/i386/setjmp.S: Likewise.
14798 * sysdeps/i386/__longjmp.S: Likewise.
14799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14800 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
14802 * include/stap-probe.h: New file.
14803 * configure.in: Handle --enable-systemtap.
14804 * configure: Regenerated.
14805 * config.h.in (USE_STAP_PROBE): New #undef.
14806 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
14807 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
14808 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14810 2012-05-25 Joseph Myers <joseph@codesourcery.com>
14813 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14814 to 2.4.0 where earlier.
14815 * sysdeps/unix/sysv/linux/configure: Regenerated.
14816 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14817 <kernel-features.h>.
14818 [__ASSUME_32BITUIDS]: Make code unconditional.
14819 [!__ASSUME_32BITUIDS]: Remove conditional code.
14820 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
14821 <kernel-features.h>.
14822 [__ASSUME_32BITUIDS]: Make code unconditional.
14823 [!__ASSUME_32BITUIDS]: Remove conditional code.
14824 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
14825 [__ASSUME_32BITUIDS]: Make code unconditional.
14826 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
14827 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
14828 <kernel-features.h>.
14829 [__ASSUME_32BITUIDS]: Make code unconditional.
14830 [!__ASSUME_32BITUIDS]: Remove conditional code.
14831 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
14832 <kernel-features.h>.
14833 [__ASSUME_32BITUIDS]: Make code unconditional.
14834 [!__ASSUME_32BITUIDS]: Remove conditional code.
14835 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
14836 <kernel-features.h>.
14837 [__ASSUME_32BITUIDS]: Make code unconditional.
14838 [!__ASSUME_32BITUIDS]: Remove conditional code.
14839 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
14840 <kernel-features.h>.
14841 [__ASSUME_32BITUIDS]: Make code unconditional.
14842 [!__ASSUME_32BITUIDS]: Remove conditional code.
14843 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14844 <kernel-features.h>.
14845 [__ASSUME_32BITUIDS]: Make code unconditional.
14846 [!__ASSUME_32BITUIDS]: Remove conditional code.
14847 * sysdeps/unix/sysv/linux/i386/getresuid.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/i386/getuid.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/i386/lchown.c: Do not include
14856 <kernel-features.h>.
14857 [__ASSUME_32BITUIDS]: Make code unconditional.
14858 [!__ASSUME_32BITUIDS]: Remove conditional code.
14859 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14860 <kernel-features.h>.
14861 [__ASSUME_32BITUIDS]: Make code unconditional.
14862 [!__ASSUME_32BITUIDS]: Remove conditional code.
14863 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
14864 <kernel-features.h>.
14865 [__ASSUME_32BITUIDS]: Make code unconditional.
14866 [!__ASSUME_32BITUIDS]: Remove conditional code.
14867 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
14868 <kernel-features.h>.
14869 [__NR_setresgid] (__setresgid): Do not declare.
14870 [__ASSUME_32BITUIDS]: Make code unconditional.
14871 [!__ASSUME_32BITUIDS]: Remove conditional code.
14872 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
14873 <kernel-features.h>.
14874 [__NR_setresuid] (__setresuid): Do not declare.
14875 [__ASSUME_32BITUIDS]: Make code unconditional.
14876 [!__ASSUME_32BITUIDS]: Remove conditional code.
14877 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
14878 <kernel-features.h>.
14879 [__ASSUME_32BITUIDS]: Make code unconditional.
14880 [!__ASSUME_32BITUIDS]: Remove conditional code.
14881 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
14882 <kernel-features.h>.
14883 [__ASSUME_32BITUIDS]: Make code unconditional.
14884 [!__ASSUME_32BITUIDS]: Remove conditional code.
14885 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
14886 <kernel-features.h>.
14887 [__ASSUME_32BITUIDS]: Make code unconditional.
14888 [!__ASSUME_32BITUIDS]: Remove conditional code.
14889 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
14890 <kernel-features.h>.
14891 [__ASSUME_32BITUIDS]: Make code unconditional.
14892 [!__ASSUME_32BITUIDS]: Remove conditional code.
14893 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
14894 <kernel-features.h>.
14895 [__ASSUME_32BITUIDS]: Make code unconditional.
14896 [!__ASSUME_32BITUIDS]: Remove conditional code.
14897 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
14898 <kernel-features.h>.
14899 [__ASSUME_32BITUIDS]: Make code unconditional.
14900 [!__ASSUME_32BITUIDS]: Remove conditional code.
14901 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
14902 <kernel-features.h>.
14903 [__ASSUME_32BITUIDS]: Make code unconditional.
14904 [!__ASSUME_32BITUIDS]: Remove conditional code.
14905 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
14906 <kernel-features.h>.
14907 [__ASSUME_32BITUIDS]: Make code unconditional.
14908 [!__ASSUME_32BITUIDS]: Remove conditional code.
14909 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
14910 <kernel-features.h>.
14911 [__ASSUME_32BITUIDS]: Make code unconditional.
14912 [!__ASSUME_32BITUIDS]: Remove conditional code.
14913 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14914 <kernel-features.h>.
14915 [__ASSUME_32BITUIDS]: Make code unconditional.
14916 [!__ASSUME_32BITUIDS]: Remove conditional code.
14917 * sysdeps/unix/sysv/linux/kernel-features.h
14918 (__ASSUME_SETRESUID_SYSCALL): Remove.
14919 (__ASSUME_SETRESGID_SYSCALL): Likewise.
14920 (__ASSUME_32BITUIDS): Likewise.
14921 (__ASSUME_LDT_WORKS): Likewise.
14922 (__ASSUME_O_DIRECTORY): Likewise.
14923 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
14924 architecture but not kernel version.
14925 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14926 (__ASSUME_MMAP2_SYSCALL): Likewise.
14927 (__ASSUME_STAT64_SYSCALL): Likewise.
14928 (__ASSUME_IPC64): Likewise.
14929 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
14930 <kernel-features.h>.
14931 [__ASSUME_32BITUIDS]: Make code unconditional.
14932 [!__ASSUME_32BITUIDS]: Remove conditional code.
14933 * sysdeps/unix/sysv/linux/opendir.c: Do not include
14934 <kernel-features.h>.
14935 [__ASSUME_O_DIRECTORY]: Make code unconditional.
14936 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
14937 132096]: Remove conditional code.
14938 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
14939 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14940 <kernel-features.h>.
14941 [__ASSUME_32BITUIDS]: Make code unconditional.
14942 [!__ASSUME_32BITUIDS]: Remove conditional code.
14943 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14944 <kernel-features.h>.
14945 [__ASSUME_32BITUIDS]: Make code unconditional.
14946 [!__ASSUME_32BITUIDS]: Remove conditional code.
14947 * sysdeps/unix/sysv/linux/setegid.c: Do not include
14948 <kernel-features.h>.
14949 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
14951 (__setresgid): Do not declare.
14952 [__ASSUME_32BITUIDS]: Make code unconditional.
14953 [!__ASSUME_32BITUIDS]: Remove conditional code.
14954 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
14955 <kernel-features.h>.
14956 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
14958 (__setresuid): Do not declare.
14959 [__ASSUME_32BITUIDS]: Make code unconditional.
14960 [!__ASSUME_32BITUIDS]: Remove conditional code.
14961 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14962 <kernel-features.h>.
14963 [__ASSUME_32BITUIDS]: Make code unconditional.
14964 [!__ASSUME_32BITUIDS]: Remove conditional code.
14965 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
14966 <kernel-features.h>.
14967 [__ASSUME_32BITUIDS]: Make code unconditional.
14968 [!__ASSUME_32BITUIDS]: Remove conditional code.
14970 2012-05-25 Richard Henderson <rth@twiddle.net>
14972 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
14973 dl_hwcap to ifunc resolver.
14974 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
14976 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
14977 dl_hwcap to ifunc resolver.
14978 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
14980 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14983 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
14984 for |x| <= 2**-26, not 2**-57.
14985 * math/libm-test.inc (acos_test): Do not allow spurious underflow
14988 2012-05-24 Jeff Law <law@redhat.com>
14990 * stdio-common/Makefile (tests): Add bug25.
14991 * stdio-common/bug25.c: New test.
14993 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14996 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
14997 multiple of MALLOC_ALIGNMENT in size.
14998 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15000 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15002 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15004 (FILENAME_MAX): Use macro-int-constant.
15005 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15006 (_IOFBF): Use macro-int-constant.
15007 (_IOLBF): Likewise.
15008 (_IONBF): Likewise.
15009 (SEEK_CUR): Likewise.
15010 (SEEK_END): Likewise.
15011 (SEEK_SET): Likewise.
15012 (TMP_MAX): Likewise.
15013 (EOF): Use macro-int-constant. Require < 0.
15014 (NULL): Use macro-constant. Require == 0.
15015 (stdin): Require type to be FILE *.
15016 (stdout): Likewise.
15017 (stderr): Likewise.
15018 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15019 macro-int-constant.
15020 (EXIT_SUCCESS): Likewise.
15021 (NULL): Use macro-constant. Require == 0.
15022 (RAND_MAX): Use macro-int-constant.
15023 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15024 [C99-based standards] (strtof): Require function.
15025 [C99-based standards] (strtold): Likewise.
15026 [C99-based standards] (strtoll): Likewise.
15027 [C99-based standards] (strtoull): Likewise.
15028 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15029 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15030 [ISO || ISO99 || ISO11] (math.h): Likewise.
15031 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15032 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15035 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15038 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15039 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15040 * intl/dgettext.c (DCGETTEXT): Likewise.
15041 * intl/gettext.c (DCGETTEXT): Likewise.
15042 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15043 * posix/regex_internal.h (gettext): Likewise.
15044 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15045 Remove declaration.
15046 * include/argz.h (__argz_count_internal)
15047 (__argz_stringify_internal): Remove declaration.
15048 (__argz_count, __argz_stringify): Declare hidden proto.
15049 * intl/dcgettext.c: Remove use of INTDEF.
15050 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15051 * string/argz-stringify.c: Likewise.
15052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15054 Declare hidden proto.
15055 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15056 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15057 Declare hidden proto.
15058 * include/stdio.h (__asprintf_internal): Don't declare.
15059 (__asprintf): Don't define as macro. Declare hidden proto.
15060 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15061 (__fsetlocking): Declare hidden proto.
15062 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15063 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15065 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15066 (_IO_setlinebuf): Remove use of INTUSE.
15067 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15068 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15069 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15070 Remove declaration.
15071 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15072 (_IO_do_flush): Remove use of INTUSE.
15073 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15074 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15075 (_IO_adjust_column, _IO_least_wmarker)
15076 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15077 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15078 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15079 (_IO_default_doallocate, _IO_wdefault_doallocate)
15080 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15081 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15082 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15083 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15084 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15085 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15086 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15087 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15088 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15089 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15090 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15091 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15092 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15094 (_IO_flush_all_internal, _IO_adjust_column_internal)
15095 (_IO_default_uflow_internal, _IO_default_finish_internal)
15096 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15097 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15098 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15099 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15100 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15101 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15102 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15103 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15104 (_IO_file_close_internal, _IO_file_close_it_internal)
15105 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15106 (_IO_file_init_internal, _IO_file_attach_internal)
15107 (_IO_file_fopen_internal, _IO_file_read_internal)
15108 (_IO_file_sync_internal, _IO_file_seek_internal)
15109 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15110 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15111 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15112 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15113 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15114 (_IO_list_all_internal, _IO_link_in_internal)
15115 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15116 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15117 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15118 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15119 (_IO_do_write_internal, _IO_padn_internal)
15120 (_IO_getline_info_internal, _IO_getline_internal)
15121 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15122 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15123 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15124 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15125 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15126 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15127 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15128 with libc_hidden_ver, remove use of INTUSE.
15129 * libio/genops.c: Likewise.
15130 * libio/freopen.c: Likewise.
15131 * libio/freopen64.c: Likewise.
15132 * libio/iofclose.c: Likewise.
15133 * libio/iofdopen.c: Likewise.
15134 * libio/iofflush.c: Likewise.
15135 * libio/iofflush_u.c: Likewise.
15136 * libio/iofgets.c: Likewise.
15137 * libio/iofgets_u.c: Likewise.
15138 * libio/iofopen.c: Likewise.
15139 * libio/iofopncook.c: Likewise.
15140 * libio/iofread.c: Likewise.
15141 * libio/iofread_u.c: Likewise.
15142 * libio/ioftell.c: Likewise.
15143 * libio/iofwrite.c: Likewise.
15144 * libio/iogetline.c: Likewise.
15145 * libio/iogets.c: Likewise.
15146 * libio/iogetwline.c: Likewise.
15147 * libio/iopadn.c: Likewise.
15148 * libio/iopopen.c: Likewise.
15149 * libio/ioseekoff.c: Likewise.
15150 * libio/ioseekpos.c: Likewise.
15151 * libio/iosetbuffer.c: Likewise.
15152 * libio/iosetvbuf.c: Likewise.
15153 * libio/ioungetc.c: Likewise.
15154 * libio/ioungetwc.c: Likewise.
15155 * libio/iovdprintf.c: Likewise.
15156 * libio/iovsprintf.c: Likewise.
15157 * libio/iovsscanf.c: Likewise.
15158 * libio/memstream.c: Likewise.
15159 * libio/obprintf.c: Likewise.
15160 * libio/oldfileops.c: Likewise.
15161 * libio/oldiofclose.c: Likewise.
15162 * libio/oldiofdopen.c: Likewise.
15163 * libio/oldiofopen.c: Likewise.
15164 * libio/oldiopopen.c: Likewise.
15165 * libio/oldstdfiles.c: Likewise.
15166 * libio/putc.c: Likewise.
15167 * libio/setbuf.c: Likewise.
15168 * libio/setlinebuf.c: Likewise.
15169 * libio/stdfiles.c: Likewise.
15170 * libio/strops.c: Likewise.
15171 * libio/vasprintf.c: Likewise.
15172 * libio/vscanf.c: Likewise.
15173 * libio/vsnprintf.c: Likewise.
15174 * libio/vswprintf.c: Likewise.
15175 * libio/wfiledoalloc.c: Likewise.
15176 * libio/wfileops.c: Likewise.
15177 * libio/wgenops.c: Likewise.
15178 * libio/wmemstream.c: Likewise.
15179 * libio/wstrops.c: Likewise.
15180 * libio/__fpurge.c: Likewise.
15181 * libio/__fsetlocking.c: Likewise.
15182 * assert/assert.c: Likewise.
15183 * debug/fgets_chk.c: Likewise.
15184 * debug/fgets_u_chk.c: Likewise.
15185 * debug/fread_chk.c: Likewise.
15186 * debug/fread_u_chk.c: Likewise.
15187 * debug/gets_chk.c: Likewise.
15188 * debug/obprintf_chk.c: Likewise.
15189 * debug/vasprintf_chk.c: Likewise.
15190 * debug/vdprintf_chk.c: Likewise.
15191 * debug/vsnprintf_chk.c: Likewise.
15192 * debug/vsprintf_chk.c: Likewise.
15193 * malloc/mtrace.c: Likewise.
15194 * misc/error.c: Likewise.
15195 * misc/syslog.c: Likewise.
15196 * stdio-common/asprintf.c: Likewise.
15197 * stdio-common/fxprintf.c: Likewise.
15198 * stdio-common/getw.c: Likewise.
15199 * stdio-common/isoc99_fscanf.c: Likewise.
15200 * stdio-common/isoc99_scanf.c: Likewise.
15201 * stdio-common/isoc99_vfscanf.c: Likewise.
15202 * stdio-common/isoc99_vscanf.c: Likewise.
15203 * stdio-common/isoc99_vsscanf.c: Likewise.
15204 * stdio-common/printf-prs.c: Likewise.
15205 * stdio-common/printf_fp.c: Likewise.
15206 * stdio-common/printf_fphex.c: Likewise.
15207 * stdio-common/printf_size.c: Likewise.
15208 * stdio-common/putw.c: Likewise.
15209 * stdio-common/scanf.c: Likewise.
15210 * stdio-common/sprintf.c: Likewise.
15211 * stdio-common/tmpfile.c: Likewise.
15212 * stdio-common/vfprintf.c: Likewise.
15213 * stdio-common/vfscanf.c: Likewise.
15214 * stdlib/strfmon_l.c: Likewise.
15215 * sunrpc/openchild.c: Likewise.
15216 * sunrpc/xdr_stdio.c: Likewise.
15217 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15218 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15220 2012-05-24 Roland McGrath <roland@hack.frob.com>
15222 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15224 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15225 in the third column, to generate for the shared library an IFUNC
15226 that uses _dl_vdso_vsym.
15227 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15228 * Makeconfig (object-suffixes-noshared): New variable.
15230 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15231 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15232 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15233 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15236 * include/sys/time.h (__gettimeofday): Remove macro.
15237 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15238 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15240 (__gettimeofday): Add libc_hidden_def.
15241 (gettimeofday): Add libc_hidden_weak.
15242 * sysdeps/mach/gettimeofday.c: Likewise.
15243 * sysdeps/posix/gettimeofday.c: Likewise.
15244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15245 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15247 (__gettimeofday_internal): Remove strong_alias.
15248 (__gettimeofday): Add libc_hidden_def.
15249 (gettimeofday): Add libc_hidden_weak.
15250 * sysdeps/unix/syscalls.list (gettimeofday):
15251 Remove __gettimeofday_internal alias.
15253 2012-05-24 Daniel Jacobowitz <drow@false.org>
15254 H.J. Lu <hongjiu.lu@intel.com>
15257 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15258 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15259 (largebin_index_32_big): New.
15260 (largebin_index): Use it for 16-byte alignment.
15261 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15262 correction with front_misalign.
15264 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15292 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15293 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15295 2012-05-24 Joseph Myers <joseph@codesourcery.com>
15299 * math/libm-test.inc (exp_test): Add test from bug 14036.
15300 (pow_test): Add test from bug 10846.
15302 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15304 (special_function): Do not include flags in test name.
15305 (parse_args): Likewise.
15306 * sysdeps/i386/fpu/libm-test-ulps: Update.
15307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15308 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15309 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15312 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15314 * math/libm-test.inc ("Philosophy"): Update comment about
15316 (UNDERFLOW_EXCEPTION): New macro.
15317 (UNDERFLOW_EXCEPTION_OK): Likewise.
15318 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15319 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15320 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15321 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15322 (INVALID_EXCEPTION_OK): Update value.
15323 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15324 (OVERFLOW_EXCEPTION_OK): Likewise.
15325 (IGNORE_ZERO_INF_SIGN): Likewise.
15326 (test_exceptions): Handle underflow exceptions.
15327 (acos_test): Update for underflow exception expectations.
15328 (cexp_test): Likewise.
15329 (clog_test): Likewise.
15330 (clog10_test): Likewise.
15331 (csqrt_test): Likewise.
15332 (ctan_test): Likewise.
15333 (ctanh_test): Likewise.
15334 (exp_test): Likewise.
15335 (exp10_test): Likewise.
15336 (exp2_test): Likewise.
15337 (expm1_test): Likewise.
15338 (fma_test): Likewise.
15339 (j0_test): Likewise.
15340 (jn_test): Likewise.
15341 (nexttoward_test): Likewise.
15342 (pow_test): Likewise.
15343 (scalbn_test): Likewise.
15344 (scalbln_test): Likewise.
15345 (tan_test): Likewise.
15346 (y1_test): Likewise.
15347 * sysdeps/i386/fpu/libm-test-ulps: Update.
15348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15350 2012-05-23 David S. Miller <davem@davemloft.net>
15352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15353 (__libc_sigaction): Remove unused local variables.
15355 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15357 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15359 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15361 mktime: avoid signed integer overflow
15362 * time/mktime.c (__mktime_internal): Do not mishandle the case
15363 where diff == INT_MIN.
15365 mktime: simplify computation of average
15366 * time/mktime.c (ranged_convert): Use new time_t_avg function
15367 instead of rolling our own (probably-slower) code.
15369 mktime: do not assume signed right shift propagates sign bit
15370 * time/mktime.c (isdst_differ): New static function.
15371 (__mktime_internal): No need to normalize tm_isdst now.
15372 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15375 mktime: merge another wrapv change from gnulib
15376 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15377 from some compilers.
15379 mktime: remove incorrect attempt at unusual arithmetics
15380 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15381 The code didn't really work on such machines anyway.
15382 (TYPE_MINIMUM): Assume two's complement.
15383 (twos_complement_arithmetic): Verify that long_int and time_t
15384 are two's complement (or unsigned, in the latter case).
15386 mktime: check signed shifts on long_int and time_t, too
15387 * time/mktime.c (SHR): Check that shifts work as desired
15388 on the types long_int and time_t too, as SHR is used on
15391 mktime: do not assume 'long' is wide enough
15392 * time/mktime.c (verify): Move decl up.
15393 (long_int): New type.
15394 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15395 to remove assumption in the code that 'long' is wide enough to
15396 store year values. This assumption is not true on x32 and on
15397 some non-glibc platforms.
15399 mktime: merge wrapv change from gnulib
15400 * time/mktime.c (WRAPV): New macro.
15401 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15402 (guess_time_tm, __mktime_internal): Do not assume that signed
15403 integer overflow wraps around; modern compilers generate code
15404 where this assumption is no longer valid.
15406 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15408 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15409 Replace "jmp L(pseudo_end)" with "ret".
15410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15413 2012-05-23 Andreas Jaeger <aj@suse.de>
15415 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15416 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15418 2012-05-23 Andreas Jaeger <aj@suse.de>
15419 Maximilian Attems <max@stro.at>
15421 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15424 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15427 code so that pseudo_end is just ret and the stack pointer is
15428 correct also for static library in error case.
15430 2012-05-23 Joseph Myers <joseph@codesourcery.com>
15432 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15433 move to syscalls.list.
15434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15439 * manual/install.texi (Running make install): Do not mention Linux
15440 kernel version for which pt_chown is not needed.
15441 (Linux): Do not mention problems with nscd with 2.0 kernels.
15442 * INSTALL: Regenerated.
15444 2012-05-23 Andreas Jaeger <aj@suse.de>
15446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15447 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15449 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15451 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15453 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15455 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15456 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15458 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15459 * sysdeps/unix/sysv/linux/bits/in.h
15460 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15462 2012-05-22 Roland McGrath <roland@hack.frob.com>
15464 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15465 (PREPARE_VERSION): Just use assert instead, it will be elided
15466 under [NDEBUG] anyway.
15468 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15470 * sysdeps/unix/sysv/linux/Makefile: Include
15471 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
15472 (sysdep_routines): Remove sysctl.
15473 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15474 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15475 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15476 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15477 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15479 2012-05-22 Andreas Jaeger <aj@suse.de>
15481 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15482 that pseudo_end is just ret and the stack pointer is correct also
15483 for static library in error case.
15485 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15488 * nss/nsswitch.c (defconfig_entries): New variable.
15489 (__nss_database_lookup): Don't leak defconfig entries.
15490 (nss_parse_service_list): Don't leak on error paths.
15491 (free_database_entries): New function.
15492 (free_defconfig): New function.
15493 (free_mem): Move common code to free_database_entries.
15495 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15499 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15501 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15502 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15505 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15506 (INTERNAL_SYSCALL_TYPES): Likewise.
15507 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15508 (LOAD_REGS_TYPES_[1-6]): Likewise.
15509 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15510 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15512 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15514 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15515 copysignl for GLIBC_2_0.
15516 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15517 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15519 logbl for GLIBC_2_0.
15520 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15521 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15523 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15526 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15528 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15531 * time/mktime.c: Update copyright years.
15533 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15535 mktime: merge comment-quoting-style change from gnulib
15536 * time/mktime.c: Quote 'like this' in comments.
15537 The GNU coding standards suggest that we no longer quote `like this',
15538 as "`" and "'" are typically rendered asymmetrically nowadays.
15539 The typical gnulib style is to quote 'like this' when quoting
15540 code, and "like this" when quoting English.
15542 * time/mktime.c (compile-command): Add "-I.".
15544 mktime: merge mktime-internal.h change from gnulib
15545 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15547 mktime: merge time_r change from gnulib
15548 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15550 mktime: merge DEBUG change from gnulib
15551 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15552 case system <time.h> has a #define.
15554 mktime: merge <sys/types.h> change from gnulib
15555 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15556 since <time.t> is now guaranteed to define time_t.
15558 mktime: merge HAVE_CONFIG_H change from gnulib
15559 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15561 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15568 (struct rusage): Use anonymous union to pad each field to
15571 2012-05-21 David S. Miller <davem@davemloft.net>
15573 * Makefules (o-iterator): Remove .s cases.
15574 (compile-command.s): Delete.
15575 (COMPILE.s): Delete.
15576 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15578 2012-05-21 Joseph Myers <joseph@codesourcery.com>
15580 * configure.in (libc_cv_predef_stack_protector): Only consider
15581 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15582 * configure: Regenerated.
15584 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15587 New macro. Use R*LP on int and pointer.
15588 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
15589 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15590 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
15591 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15593 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15594 [__WORDSIZE_TIME64_COMPAT32] instead of
15595 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15596 (struct utmp): Likewise.
15597 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15598 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15600 (__WORDSIZE_TIME64_COMPAT32): This.
15601 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15602 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15603 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15604 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15605 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15606 (__WORDSIZE_TIME64_COMPAT32): New macro.
15608 2012-05-21 Andreas Jaeger <aj@suse.de>
15610 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15611 only if [SHARED]. Add prototype for __wcschr_ia32.
15613 2012-05-21 Roland McGrath <roland@hack.frob.com>
15615 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15616 of %rbp unmolested in the jmp_buf while mangling the low bits.
15617 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15618 unmolested high bits of %rbp while demangling the low bits.
15619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15621 2012-05-21 Andreas Jaeger <aj@suse.de>
15623 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15624 * sunrpc/svc_simple.c: Use it for registerrpc.
15625 * sunrpc/xcrypt.c: Use it for passwd2des.
15627 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15629 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15631 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15632 Don't define if [__SYSCALL_WORDSIZE != 32].
15633 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15636 2012-05-21 Bruno Haible <bruno@clisp.org>
15637 Andreas Jaeger <aj@suse.de>
15639 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15640 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15641 inptr and inend for must_buffer_ch.
15642 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15643 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15644 * stdio-common/Makefile (tests): Remove bug15.
15645 (bug15-ENV): Remove macro.
15646 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15649 2012-05-19 Andreas Jaeger <aj@suse.de>
15650 Roland McGrath <roland@hack.frob.com>
15652 * manual/contrib.texi: Completely rewritten. It contains now an
15653 alphabetical list of contributors and their contributions.
15655 2012-05-21 Richard Henderson <rth@twiddle.net>
15657 * misc/getauxval.c (__getauxval): Use unsigned long int.
15658 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15659 (getauxval): Use unsigned long int.
15661 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15663 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15665 2012-05-21 Roland McGrath <roland@hack.frob.com>
15667 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15668 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15669 __alignof__ (long double).
15671 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15675 2012-05-20 Richard Henderson <rth@twiddle.net>
15677 * misc/getauxval.c: New file.
15678 * misc/sys/auxv.h: New file.
15679 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15680 (routines): Add getauxval.
15681 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15682 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15683 * elf/dl-sysdep.c (_dl_auxv): Remove.
15684 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15685 * elf/dl-support.c (_dl_auxv): New variable.
15686 (_dl_aux_init): Initialize it.
15687 * manual/startup.texi (Auxiliary Vector): New node.
15688 * sysdeps/generic/bits/hwcap.h: New file.
15689 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15690 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15691 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15692 * sysdeps/sparc/sysdep.h: ... here. Include it.
15693 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
15698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
15699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
15700 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
15701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
15703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
15704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
15706 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15710 2012-05-19 David S. Miller <davem@davemloft.net>
15712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15714 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15717 * math/s_ccosh.c: Include <float.h>
15718 (__ccosh): Avoid internal overflow calculating sinh and cosh
15719 values before multiplying by sin and cos values.
15720 * math/s_ccoshf.c: Likewise.
15721 * math/s_ccoshl.c: Likewise.
15722 * math/s_csin.c: Likewise.
15723 * math/s_csinf.c: Likewise.
15724 * math/s_csinl.c: Likewise.
15725 * math/s_csinh.c: Likewise.
15726 * math/s_csinhf.c: Likewise.
15727 * math/s_csinhl.c: Likewise.
15728 * math/libm-test.inc (ccos_test): Add more tests.
15729 (ccosh_test): Likewise.
15730 (csin_test): Likewise.
15731 (csinh_test): Likewise.
15732 * sysdeps/i386/fpu/libm-test-ulps: Update.
15733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15735 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15737 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15738 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15740 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15742 2012-05-19 Joseph Myers <joseph@codesourcery.com>
15744 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
15745 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
15746 * sysdeps/powerpc/soft-fp/Versions: Likewise.
15747 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
15748 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
15749 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
15750 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
15751 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
15752 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
15753 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
15754 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
15755 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
15756 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
15757 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
15758 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
15759 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
15760 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
15761 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
15762 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
15763 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
15764 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
15765 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
15766 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
15767 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
15768 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
15769 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
15770 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
15771 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
15772 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
15773 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
15774 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
15776 2012-05-18 Andreas Jaeger <aj@suse.de>
15778 * csu/.gitignore: Delete.
15780 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15782 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15783 (timex): Use __syscall_slong_t.
15785 2012-05-18 Andreas Jaeger <aj@suse.de>
15786 Carlos O'Donell <carlos_odonell@mentor.com>
15788 * manual/install.texi (Configuring and compiling): Update
15789 description about files modified in the source directory.
15790 * INSTALL: Regenerated.
15792 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15794 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
15795 value. Use "or" to set return value to -1.
15796 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
15797 negate return value.
15799 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15801 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
15802 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
15803 failure if the compiler has Graphite support disabled.
15804 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
15806 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15807 CFLAGS-memmove.c): Likewise.
15808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15811 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15813 * sysdeps/x86_64/x32/_itoa.h: New file.
15815 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
15816 getdents system call only if kernel and user dirents have the
15817 same d_ino and d_off.
15819 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15820 LLONG_MAX != LONG_MAX.
15821 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15822 (_fitoa_word): Likewise.
15824 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
15827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
15828 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
15830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15831 include <bits/wordsize.h>. Check __x86_64__ instead of
15833 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15834 if __x86_64__ is defined. Use anonymous union on fpstate.
15836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15839 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15841 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15842 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
15843 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
15844 Refer to _rtld_local_ro instead of _rtld_global_ro.
15845 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
15847 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15849 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15851 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
15852 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
15853 of _rtld_global, and rtld_progname instead of _dl_argv[0].
15855 * sysdeps/powerpc/powerpc32/dl-machine.c
15856 (__elf_machine_runtime_setup) [PROF]: Don't reference
15859 2012-05-18 Andreas Jaeger <aj@suse.de>
15861 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
15862 function only available for GCCs before 3.4 since GCC 3.4
15863 introduced a builtin.
15865 (llrintf): Likewise.
15866 (llrint): Likewise.
15873 (nearbyint): Likewise.
15874 (nearbyintf): Likewise.
15878 (floorf): Likewise.
15880 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15882 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15883 on both fields and cast pointer to __syscall_ulong_t.
15885 * bits/types.h (__fsword_t): New type.
15886 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
15887 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
15888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15889 (__FSWORD_T_TYPE): Likewise.
15890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15891 (__FSWORD_T_TYPE): Likewise.
15892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15893 (__FSWORD_T_TYPE): Likewise.
15894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
15895 (__FSWORD_T_TYPE): Likewise.
15896 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
15897 __SWORD_TYPE with __fsword_t.
15898 (statfs64): Likewise.
15900 2012-05-17 David S. Miller <davem@davemloft.net>
15902 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15904 2012-05-17 Andreas Jaeger <aj@suse.de>
15906 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15909 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15911 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15913 2012-05-17 Andreas Jaeger <aj@suse.de>
15915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15918 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15920 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15922 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15924 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15925 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15927 2012-05-17 Andreas Jaeger <aj@suse.de>
15928 Carlos O'Donell <carlos_odonell@mentor.com>
15931 * sysdeps/x86_64/multiarch/init-arch.h
15932 (bit_YMM_Usable): Rename to...
15933 (bit_AVX_Usable): ... this.
15934 (bit_FMA4_Usable): New macro.
15935 (bit_XMM_state): New macro.
15936 (bit_YMM_state): New macro.
15937 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
15938 [__ASSEMBLER__] (index_AVX_Usable): ... this.
15939 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
15940 (CPUID_OSXSAVE): New macro.
15941 (CPUID_AVX): New macro.
15942 (CPUID_FMA4): New macro.
15943 (index_YMM_Usable): Rename to...
15944 (index_AVX_Usable): ... this.
15945 (HAS_AVX): Use HAS_ARCH_FEATURE.
15946 (HAS_FMA4): Likewise.
15947 (HAS_YMM_USABLE): Remove.
15948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15949 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
15951 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
15952 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
15953 * sysdeps/x86_64/multiarch/Makefile: Likewise.
15954 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
15955 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
15957 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15959 * math/libm-test.c: Support platforms without multiple rounding modes.
15960 * math/bug-nextafter.c: Support platforms without FP exceptions.
15961 * math/bug-nexttoward.c: Likewise.
15962 * math/test-fenv.c: Likewise.
15963 * math/test-misc.c: Likewise.
15964 * stdlib/bug-getcontext.c: Likewise.
15966 2012-05-17 Andreas Jaeger <aj@suse.de>
15968 * manual/examples/search.c (critter_cmp): Change signature to
15970 * manual/string.texi (Collation Functions): Likewise.
15972 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15974 * bits/types.h: Fold copyright years.
15975 * bits/typesizes.h: Likewise.
15976 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
15977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15978 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
15979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
15980 * time/time.h: Likewise.
15982 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15985 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
15986 in instead of returning them. Return void.
15987 (__libc_mallinfo): Accumulate over all arenas.
15988 (__malloc_stats): Adjust for change in int_mallinfo interface.
15990 2012-05-16 Roland McGrath <roland@hack.frob.com>
15993 * configure.in (NM): Add AC_CHECK_TOOL for it.
15994 (libc_extra_cflags): New substituted variable.
15995 Check for -fstack-protector being used implicitly.
15996 * configure: Regenerated.
15997 * config.make.in (config-extra-cflags): New variable,
15998 gets @libc_extra_cflags@.
15999 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16002 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16003 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16004 * configure: Regenerated.
16005 * config.make.in (CPPUNDEFS): New substituted variable.
16006 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16007 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16008 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16010 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16012 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16013 (mq_attr): Use __syscall_slong_t.
16015 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16017 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16018 Check __x86_64__ instead of __WORDSIZE.
16019 (_STAT_VER_LINUX): Likewise.
16020 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16021 __syscall_ulong_t and __syscall_slong_t.
16022 (stat64): Likewise.
16024 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16028 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16030 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16032 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16034 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16037 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16038 include <bits/wordsize.h>. Check __x86_64__ instead of
16040 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16042 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16045 include <bits/wordsize.h>. Check __x86_64__ instead of
16047 (user_regs_struct): Use "__extension__ unsigned long long"
16048 instead of "unsigned long" if __x86_64__ is defined.
16049 (user): Likewise. Pad after pointer field if __ILP32__ is
16052 2012-05-16 Joseph Myers <joseph@codesourcery.com>
16054 * configure.in (makeinfo): Require version 4.5 or later. Allow
16056 * configure: Regenerated.
16057 * manual/install.texi (texinfo): Increase version requirement to
16059 * INSTALL: Regenerated.
16061 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16063 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16065 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16067 * sysdeps/x86_64/x32/ffs.c: New file.
16069 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16071 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16072 defined. Use __syscall_ulong_t.
16073 (shminfo): Use __syscall_ulong_t.
16074 (shm_info): Likewise.
16076 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16079 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16081 (msgqnum_t): Use __syscall_ulong_t.
16082 (msglen_t): Likewise.
16083 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16086 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16087 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16089 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16091 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16092 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16094 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16097 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16098 include <bits/wordsize.h>. Check __x86_64__ instead of
16101 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16102 "unsigned long long int" if __x86_64__ is defined.
16103 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16105 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16106 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16107 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16109 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16111 (GET_PC): Cast to uintptr_t first.
16112 (GET_FRAME): Likewise.
16113 (GET_STACK): Likewise.
16115 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16116 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16117 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16118 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16119 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16120 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16121 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16122 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16123 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16126 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16127 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16129 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16131 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16133 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16135 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16136 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16137 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16138 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16139 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16141 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16142 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16143 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16145 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16147 * Makerules (+depfiles): Also collect depfiles from .oS in
16149 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16150 .oS, $(libnldbl-routines)).
16152 * Makerules (native-compile-mkdep-flags): Define.
16153 * sunrpc/Makefile (extra-objs): Add $(addprefix
16154 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16155 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16156 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16157 calling $(make-target-directory).
16159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16161 * bits/types.h (__snseconds_t): Removed.
16162 * time/time.h (struct timespec): Replace __snseconds_t with
16164 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16165 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16168 (__SNSECONDS_T_TYPE): Likewise.
16169 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16170 (__SNSECONDS_T_TYPE): Likewise.
16171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16172 (__SNSECONDS_T_TYPE): Likewise.
16174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16176 * sysdeps/mach/hurd/bits/typesizes.h
16177 (__SYSCALL_SLONG_TYPE): New macro.
16178 (__SYSCALL_ULONG_TYPE): Likewise.
16180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16182 * bits/types.h (__syscall_slong_t): New type.
16183 (__syscall_ulong_t): Likewise.
16185 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16186 (__SYSCALL_ULONG_TYPE): Likewise.
16187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16188 (__SYSCALL_SLONG_TYPE): Likewise.
16189 (__SYSCALL_ULONG_TYPE): Likewise.
16190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16191 (__SYSCALL_SLONG_TYPE): Likewise.
16192 (__SYSCALL_ULONG_TYPE): Likewise.
16193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16194 (__SYSCALL_SLONG_TYPE): Likewise.
16195 (__SYSCALL_ULONG_TYPE): Likewise.
16197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16199 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16200 Add sigaltstack-offsets.sym.
16201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16202 <sigaltstack-offsets.h>.
16203 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16204 longjmp_msg pointer.
16205 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16206 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16208 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16210 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16212 * elf/stackguard-macros.h: Remove file.
16213 * sysdeps/generic/stackguard-macros.h: New file.
16214 * sysdeps/i386/stackguard-macros.h: Likewise.
16215 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16216 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16217 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16218 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16219 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16220 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16221 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16222 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16223 <elf/stackguard-macros.h>.
16226 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16227 __aligned__ in attribute.
16228 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16229 (gregset_t): Likewise.
16231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16233 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16234 * sysdeps/x86_64/64/Implies-after: Here. New file.
16235 * sysdeps/x86_64/x32/Implies-after: New file.
16237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16239 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16240 and access return value for _dl_profile_fixup. Use R10_LP to
16243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16245 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16249 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16250 * sysdeps/x86_64/x32/sysdep.h: New file.
16252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16254 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16255 * sysdeps/x86_64/setjmp.S: Likewise.
16257 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16260 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16261 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16262 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16263 remove unused global constant.
16265 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16267 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16268 include of <not-cancel.h>.
16270 2012-05-15 Roland McGrath <roland@hack.frob.com>
16272 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16274 2012-05-15 Jeff Law <law@redhat.com>
16275 Andreas Jaeger <aj@suse.de>
16278 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16280 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16281 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16283 code changing __hst_map_handle.map.
16285 2012-05-15 Roland McGrath <roland@hack.frob.com>
16287 * configure.in (sysnames): Look for Implies-before and Implies-after
16289 * configure: Regenerated.
16291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16293 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16294 8-byte data alignment with LP_SIZE alignment.
16296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16298 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16303 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16308 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16309 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16315 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16316 (stackinfo_sub_sp): Likewise.
16318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16320 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16335 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16337 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16339 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16340 into R11_LP and load __x86_64_shared_cache_size_half into
16343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16348 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16356 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16357 powerpc32/power7/fpu/s_logb.c via #include.
16358 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16359 powerpc32/power7/fpu/s_logbf.c via #include.
16360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16361 powerpc32/power7/fpu/s_logbl.c via #include.
16363 2012-05-15 Joseph Myers <joseph@codesourcery.com>
16365 * README.libm: Remove file.
16367 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16369 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16370 count for x32. Use R*_LP and omit operand-size suffix.
16372 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16374 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16375 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16376 * sysdeps/x86_64/x32/shlib-versions: New file.
16378 2012-05-14 Roland McGrath <roland@hack.frob.com>
16380 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16381 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16382 Use _dl_fatal_printf instead.
16384 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16386 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16387 set if not set by the user. Do not allow for being unset.
16388 * sysdeps/unix/sysv/linux/configure: Regenerated.
16390 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16392 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16393 the `q' suffix from lea and replace .quad with ASM_ADDR.
16395 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16398 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16400 (PTR_DEMANGLE): Likewise.
16402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16404 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16406 (ASM_ADDR): Likewise.
16407 (RAX_LP): Likewise.
16408 (RBP_LP): Likewise.
16409 (RBX_LP): Likewise.
16410 (RCX_LP): Likewise.
16411 (RDI_LP): Likewise.
16412 (RSI_LP): Likewise.
16413 (RSP_LP): Likewise.
16416 (R10_LP): Likewise.
16417 (R10_LP): Likewise.
16418 (R11_LP): Likewise.
16419 (R12_LP): Likewise.
16420 (R13_LP): Likewise.
16421 (R14_LP): Likewise.
16422 (R15_LP): Likewise.
16424 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16426 * sysdeps/x86_64/x32/dl-machine.h: New file.
16428 2012-05-14 Andreas Jaeger <aj@suse.de>
16430 * manual/Makefile (subdir): Remove export of subdir.
16431 (all): Remove target.
16432 (.PHONY): Remove all from list.
16433 (mkinstalldirs): Remove.
16434 (.PHONY): Remove installdirs from list.
16435 ($(inst_infodir)/libc.info): Use make-target-directory.
16436 (installdirs): Remove.
16437 (subdir_%): Remove.
16438 (glibc-targets): Remove.
16441 ($(objpfx)stubs ../po/manual.pot): Remove.
16442 ($(objpfx)stamp%): Remove.
16443 (make-target-directory): Remove.
16444 (subdir_install): Remove.
16445 (routines): Remove.
16452 * manual/.gitignore: Remove, it's not needed anymore.
16453 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16455 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16457 (texis): Renamed to $(objpfx)texis.
16458 (texis-path): New, contains path to generated files.
16459 (chapters.%): Use texis-path for complete path, add extra argument
16461 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16462 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16463 (summary,texi, stamp-summary): Use complete path of
16464 files. Generate files in build dir.
16465 (dir-add.texi): Build in build dir.
16466 (libm-err.texi,stamp-libm-err): Likewise.
16467 (version.texi, stamp-version): Likewise.
16468 (.%c.texi): Likewise.
16469 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16470 (mostlyclean): Remove target.
16471 (realclean): Remove target.
16472 (generated): Add new variable with contents from mostlyclean and
16473 realclean, remove entries duplicated in common-mostlyclean, add
16474 stamp-libm-err and stamp-version.
16475 (generated-dirs): Add libc directory.
16476 ($(inst_infodir)/libc.info): Install files from build dir.
16478 * manual/install.texi (Configuring and compiling): Adjust since
16479 the info files are not part of the tar ball anymore.
16481 2012-05-14 Andreas Jaeger <aj@suse.de>
16483 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16486 2012-05-14 Joseph Myers <joseph@codesourcery.com>
16489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16490 to 2.2.0 where earlier.
16491 * sysdeps/unix/sysv/linux/configure: Regenerated.
16492 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16493 Remove conditional code.
16494 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16495 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16496 Remove conditional code.
16497 [!__NR_lchown]: Likewise.
16498 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16499 [__NR_lchown]: Likewise.
16500 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16501 comment referencing __ASSUME_LCHOWN_SYSCALL.
16502 * sysdeps/unix/sysv/linux/i386/sigaction.c
16503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16505 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16506 Remove conditional code.
16507 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16508 (__protocol_available): Remove #if 0 code.
16509 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16511 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16512 * sysdeps/unix/sysv/linux/kernel-features.h
16513 (__ASSUME_GETCWD_SYSCALL): Don't define.
16514 (__ASSUME_REALTIME_SIGNALS): Likewise.
16515 (__ASSUME_PREAD_SYSCALL): Likewise.
16516 (__ASSUME_PWRITE_SYSCALL): Likewise.
16517 (__ASSUME_POLL_SYSCALL): Likewise.
16518 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16519 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16521 (__ASSUME_SIOCGIFNAME): Don't define.
16522 (__ASSUME_MSG_NOSIGNAL): Likewise.
16523 (__ASSUME_SENDFILE): Define unconditionally.
16524 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16525 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16527 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16528 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16529 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16530 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16531 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16532 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16533 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16538 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16558 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16559 Remove conditional code.
16560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16561 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16562 Remove conditional code.
16563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16564 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16565 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16566 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16567 Remove conditional code.
16568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16569 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16570 Remove conditional code.
16571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16572 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16573 Remove conditional code.
16574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16575 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16576 Remove conditional code.
16577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16578 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16579 Remove conditional code.
16580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16581 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16584 * sysdeps/unix/sysv/linux/sigaction.c
16585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16587 * sysdeps/unix/sysv/linux/sigpending.c
16588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16590 * sysdeps/unix/sysv/linux/sigprocmask.c
16591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16593 * sysdeps/unix/sysv/linux/sigsuspend.c
16594 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16595 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16597 (__libc_missing_rt_sigs): Remove.
16598 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16599 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16600 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16601 Remove conditional code.
16602 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16603 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16606 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16608 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16610 2012-05-14 Andreas Jaeger <aj@suse.de>
16612 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16613 it's not used in glibc.
16614 (__coshm1): Likewise.
16615 (__acosh1p): Likewise.
16618 * manual/string.texi (Copying and Concatenation): Add missing
16619 variable in concat example.
16620 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16622 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16626 __builtin_clzl with __builtin_clzll.
16628 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16631 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16634 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16636 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16637 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16638 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16639 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16641 2012-05-14 Mike Frysinger <vapier@gentoo.org>
16643 * NEWS: Update ia64 info.
16645 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16647 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16650 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16652 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16653 * sysdeps/unix/syscalls.list (dup3): Likewise.
16654 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16655 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16657 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16659 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16660 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16662 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16664 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16666 (TLS_IE): Use mov/add instead of movq/addq to load thread
16668 (TLS_GD_PREFIX): New.
16671 2012-05-11 David S. Miller <davem@davemloft.net>
16673 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16674 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16675 (_FPU_SETCW): Likewise.
16677 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16679 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16680 is 32-byte aligned.
16682 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16685 * iconvdata/gb18030.c: Update tables.
16686 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16687 characters specially.
16688 (BODY for TO_LOOP): Add encoding of missing ranges.
16690 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16693 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16694 * sysdeps/mach/hurd/dup3.c: Likewise.
16695 * sysdeps/mach/hurd/readlinkat.c: Likewise.
16696 * sysdeps/powerpc/memmove.c:: Likewise.
16698 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16701 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16703 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16705 * elf/elf.h (R_X86_64_RELATIVE64): New.
16706 (R_X86_64_NUM): Updated.
16707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16708 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
16709 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
16710 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
16711 tst-quad1pie tst-quad2pie
16712 (modules-names): Add tst-quadmod1 tst-quadmod2.
16713 ($(objpfx)tst-quad1): New dependency.
16714 ($(objpfx)tst-quad2): Likewise.
16715 ($(objpfx)tst-quad1pie): Likewise.
16716 ($(objpfx)tst-quad2pie): Likewise.
16717 * sysdeps/x86_64/tst-quad1.c: New file.
16718 * sysdeps/x86_64/tst-quad1pie.c: New file.
16719 * sysdeps/x86_64/tst-quad2.c: Likewise.
16720 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
16721 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
16722 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
16723 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
16724 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
16726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16728 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
16729 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
16730 * streams/stropts.h (t_scalar_t): Define type.
16732 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
16733 (_PATH_PRESERVE): Set to "/var/lib".
16734 (_PATH_RWHODIR): Set to "/var/spool/rwho".
16736 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16739 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16740 if __dir_mkfile succeeded.
16742 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
16743 checking for _hurd_dtablesize. Unlock it right after having
16744 finished _hurd_dtable allocation.
16746 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16748 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16749 * sysdeps/mach/hurd/configure: Regenerated.
16750 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
16751 special-casing to...
16752 * sysdeps/gnu/configure.in: ... this new file.
16753 * sysdeps/unix/sysv/linux/configure: Regenerated.
16754 * sysdeps/gnu/configure: New generated file.
16756 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
16757 for Linux: use nsec instead of usec, as well as:
16758 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
16759 members of type struct timespec.
16760 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16762 (struct stat64): Likewise.
16763 (_STATBUF_ST_NSEC): New macro.
16764 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16766 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16767 __strtoul_internal rather than strtoul.
16769 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16771 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16776 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16777 which preserves existing values.
16778 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16780 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16782 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
16783 TIMEOUT values. Return EINVAL for NFDS values either negative or
16784 greater than FD_SETSIZE.
16786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16788 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16789 allocated, call __vm_protect to finish enabling the existing space, and
16790 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
16791 allocate the remainder.
16793 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16795 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16796 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16798 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16800 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16801 sysdeps/mach/hurd/readlink.c.
16803 * posix/tst-sysconf.c (posix_options): Only use
16804 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
16805 _POSIX_SYNCHRONIZED_IO when they are defined
16806 * sysdeps/mach/hurd/bits/posix_opt.h:
16807 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
16808 (_XOPEN_REALTIME): Undefine macro.
16809 (_XOPEN_REALTIME_THREADS): Undefine macro.
16810 (_XOPEN_SHM): Undefine macro.
16811 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
16813 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16815 (_POSIX_ASYNC_IO): Undefine macro.
16816 (_POSIX_PRIORITIZED_IO): Undefine macro.
16817 (_POSIX_SPIN_LOCKS): Define macro to -1.
16819 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
16820 SA_NODEFER, SA_RESETHAND.
16821 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
16822 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
16825 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16827 * elf/Makefile (pldd-modules): Define unconditionally.
16829 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16831 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16833 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16835 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
16836 Return ENOENT when name is empty.
16837 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
16839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16841 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16843 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16847 Fix mlock in all cases except non-readable pages.
16848 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
16849 instead of VM_PROT_ALL as parameter to __vm_wire function.
16851 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
16852 (__mkdir): When path is `/', just fail with EEXIST.
16853 * sysdeps/mach/hurd/mkdirat.c: Likewise.
16855 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16857 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
16858 <sys/uio.h> (for writev).
16859 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16860 and <sys/param.h> (for MIN).
16862 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16864 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16865 REQUESTED_TIME. Properly set the remaining time and return EINTR
16868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16870 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16871 Depend on against $(link-rpcuserlibs).
16873 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16875 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
16876 (__libc_stack_end): Do not use attribute_relro.
16877 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
16878 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
16879 to libthread-provided value.
16880 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16883 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16886 * bits/libc-lock.h (__libc_once_get): New macro.
16887 * sysdeps/mach/bits/libc-lock.h: Likewise.
16888 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
16889 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
16890 instead of using implementation details.
16892 * libio/fileops.c: Unconditionally include <kernel-features.h>.
16893 * libio/freopen.c: Likewise.
16894 * libio/freopen64.c: Likewise.
16895 * misc/syslog.c: Likewise.
16896 * nscd/connections.c: Likewise.
16897 * nscd/netgroupcache.c: Likewise.
16898 * sysdeps/posix/getcwd.c: Likewise.
16900 2012-05-10 Roland McGrath <roland@hack.frob.com>
16902 * math/w_ilogbf.c: Add #include <limits.h>.
16904 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16906 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
16907 path instead of returning without unlocking.
16909 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
16910 immediate-write ioctls.
16911 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
16913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16915 * sysdeps/mach/hurd/i386/init-first.c (init): Use
16916 __builtin_frame_address instead of making assumptions about the
16917 location of the return address relative to DATA. Force early load of
16918 the return address.
16919 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
16920 __builtin_frame_address.
16923 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
16924 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
16925 implement dup3 and do some further code clean-ups.
16926 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
16927 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
16929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16931 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16933 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
16934 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16935 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
16936 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
16937 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
16940 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
16941 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
16942 when handler == SIG_ERR, not when handler != SIG_ERR.
16944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16946 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
16947 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
16950 accept4 for GNU Hurd.
16951 * include/sys/socket.h (__libc_accept4): New prototype.
16952 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16953 to implement __libc_accept4.
16954 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
16956 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16958 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
16959 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
16960 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
16961 signal-defines.sym.
16963 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16965 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
16967 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
16969 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
16970 assertion on O_CLOEXEC flag.
16971 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
16972 * hurd/intern-fd.c: Likewise.
16973 * hurd/port2fd.c: Likewise.
16975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16978 * bits/in.h (IPV6_PKTINFO): Define new macro.
16979 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16981 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16986 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
16987 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16988 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
16989 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16991 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16992 * math/libm-test.inc (logb_test) : Additional logb tests.
16994 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16995 Andreas Jaeger <aj@suse.de>
16997 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
16998 * configure: Regenerated.
16999 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17000 * config.make.in (link-obsolete-rpc): New substituted variable.
17001 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17002 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17003 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17004 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17005 so that libc.a contains the symbols.
17006 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17007 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17008 * sunrpc/auth_none.c: Likewise.
17009 * sunrpc/auth_unix.c: Likewise.
17010 * sunrpc/authdes_prot.c: Likewise.
17011 * sunrpc/authuxprot.c: Likewise.
17012 * sunrpc/clnt_gen.c: Likewise.
17013 * sunrpc/clnt_perr.c: Likewise.
17014 * sunrpc/clnt_raw.c: Likewise.
17015 * sunrpc/clnt_simp.c: Likewise.
17016 * sunrpc/clnt_tcp.c: Likewise.
17017 * sunrpc/clnt_udp.c: Likewise.
17018 * sunrpc/clnt_unix.c: Likewise.
17019 * sunrpc/des_crypt.c: Likewise.
17020 * sunrpc/des_soft.c: Likewise.
17021 * sunrpc/get_myaddr.c: Likewise.
17022 * sunrpc/key_call.c: Likewise.
17023 * sunrpc/key_prot.c: Likewise.
17024 * sunrpc/netname.c: Likewise.
17025 * sunrpc/pm_getmaps.c: Likewise.
17026 * sunrpc/pm_getport.c: Likewise.
17027 * sunrpc/pmap_clnt.c: Likewise.
17028 * sunrpc/pmap_prot.c: Likewise.
17029 * sunrpc/pmap_prot2.c: Likewise.
17030 * sunrpc/pmap_rmt.c: Likewise.
17031 * sunrpc/publickey.c: Likewise.
17032 * sunrpc/rpc_cmsg.c: Likewise.
17033 * sunrpc/rpc_common.c: Likewise.
17034 * sunrpc/rpc_dtable.c: Likewise.
17035 * sunrpc/rpc_prot.c: Likewise.
17036 * sunrpc/rpc_thread.c: Likewise.
17037 * sunrpc/rtime.c: Likewise.
17038 * sunrpc/svc.c: Likewise.
17039 * sunrpc/svc_auth.c: Likewise.
17040 * sunrpc/svc_raw.c: Likewise.
17041 * sunrpc/svc_run.c: Likewise.
17042 * sunrpc/svc_tcp.c: Likewise.
17043 * sunrpc/svc_udp.c: Likewise.
17044 * sunrpc/svc_unix.c: Likewise.
17045 * sunrpc/svcauth_des.c: Likewise.
17046 * sunrpc/xcrypt.c: Likewise.
17047 * sunrpc/xdr.c: Likewise.
17048 * sunrpc/xdr_array.c: Likewise.
17049 * sunrpc/xdr_float.c: Likewise.
17050 * sunrpc/xdr_intXX_t.c: Likewise.
17051 * sunrpc/xdr_mem.c: Likewise.
17052 * sunrpc/xdr_rec.c: Likewise.
17053 * sunrpc/xdr_ref.c: Likewise.
17054 * sunrpc/xdr_sizeof.c: Likewise.
17055 * sunrpc/xdr_stdio.c: Likewise.
17057 2012-05-10 Roland McGrath <roland@hack.frob.com>
17059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17060 change. Update copyright years.
17062 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17064 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17066 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17067 Joseph Myers <joseph@codesourcery.com>
17068 Paul Pluzhnikov <ppluzhnikov@google.com>
17071 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17073 [cross-compiling] (extra-libs): Likewise.
17074 [cross-compiling] (extra-libs-others): Likewise.
17075 [cross-compiling] (librpcsvc-routines): Likewise.
17076 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17077 [cross-compiling] (omit-deps): Likewise.
17078 (sunrpc-CPPFLAGS): New variable.
17079 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17080 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17081 (cross-rpcgen-objs): New variable.
17082 (extra-objs): Append $(cross-rpcgen-objs).
17083 ($(cross-rpcgen-objs)): New rule.
17084 ($(objpfx)cross-rpcgen): Likewise.
17085 (rpcgen-cmd): Define to use $(built-program-file). Expand
17087 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17088 ($(objpfx)x%.stmp): Likewise.
17089 * sunrpc/proto.h [IS_IN_build] (_): Define.
17090 [IS_IN_build] (_libc_intl_domainname): Likewise.
17092 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17095 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17096 and R_X86_64_TPOFF64.
17098 2012-05-10 Joseph Myers <joseph@codesourcery.com>
17100 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17101 sysdeps/unix/sysv/syscalls.list.
17104 * sysdeps/unix/sysv/syscalls.list: Remove file.
17106 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17109 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17110 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17111 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17112 (__LC_IDENTIFICATION): Make these macros useful in #if
17113 expressions, as required by C99.
17115 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17117 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17118 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17121 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17123 * stdlib/longlong.h: Updated from GCC.
17125 2012-05-09 Andreas Jaeger <aj@suse.de>
17127 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17128 default is first entry.
17129 (run_mode): Set type.
17130 (main): Remove informal message about syslog.
17131 (options): Fix typo.
17134 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
17137 (llrintf): Likewise.
17138 (llrint): Likewise.
17141 (nearbyint): Likewise.
17142 (nearbyintf): Likewise.
17144 2012-05-09 Andreas Jaeger <aj@suse.de>
17145 Pedro Alves <palves@redhat.com>
17147 * nscd/nscd.c (run_mode): Use enum.
17148 (main): Cleanup coding style issue.
17150 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
17151 Andreas Jaeger <aj@suse.de>
17153 * nscd/nscd.c (go_background): Replaced with...
17154 (run_mode): ... this.
17155 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
17156 (options): Add -F --foreground.
17157 (main): Implement it.
17158 (parse_opt): Parse it.
17160 2012-05-09 Andreas Jaeger <aj@suse.de>
17163 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17164 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17165 -Wconversion warning.
17166 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17169 2012-05-09 Joseph Myers <joseph@codesourcery.com>
17171 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17173 (LC_ALL): Use macro-int-constant.
17174 (LC_COLLATE): Likewise.
17175 (LC_CTYPE): Likewise.
17176 (LC_MESSAGES): Likewise.
17177 (LC_MONETARY): Likewise.
17178 (LC_NUMERIC): Likewise.
17179 (LC_TIME): Likewise.
17180 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17181 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17183 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17185 [C99-based standards] (float_t): Expect type.
17186 [C99-based standards] (double_t): Expect type.
17187 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17189 [C99-based standards] (HUGE_VALL): Likewise.
17190 [C99-based standards] (INFINITY): Likewise.
17191 [C99-based standards] (NAN): Likewise.
17192 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17193 [C99-based standards] (FP_NAN): Likewise.
17194 [C99-based standards] (FP_NORMAL): Likewise.
17195 [C99-based standards] (FP_SUBNORMAL): Likewise.
17196 [C99-based standards] (FP_ZERO): Likewise.
17197 [C99-based standards] (FP_FAST_FMA): Use
17198 optional-macro-int-constant. Specify type. Require == 1.
17199 [C99-based standards] (FP_FAST_FMAF): Likewise.
17200 [C99-based standards] (FP_FAST_FMAL): Likewise.
17201 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17202 [C99-based standards] (FP_ILOGBNAN): Likewise.
17203 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17205 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17206 [C99-based standards] (math_errhandling): Specify type.
17207 [ISO99 || ISO11] (signgam): Do not allow.
17208 [non-C99-based standards] (copysignf): Do not allow.
17209 [non-C99-based standards] (exp2f): Likewise.
17210 [non-C99-based standards] (log2f): Likewise.
17211 [non-C99-based standards] (modff): Allow.
17212 [non-C99-based standards] (erff): Do not allow.
17213 [non-C99-based standards] (erfcf): Likewise.
17214 [non-C99-based standards] (gammaf): Likewise.
17215 [non-C99-based standards] (hypotf): Likewise.
17216 [non-C99-based standards] (j0f): Likewise.
17217 [non-C99-based standards] (j1f): Likewise.
17218 [non-C99-based standards] (jnf): Likewise.
17219 [non-C99-based standards] (lgammaf): Likewise.
17220 [non-C99-based standards] (tgammaf): Likewise.
17221 [non-C99-based standards] (y0f): Likewise.
17222 [non-C99-based standards] (y1f): Likewise.
17223 [non-C99-based standards] (ynf): Likewise.
17224 [non-C99-based standards] (isnanf): Likewise.
17225 [non-C99-based standards] (acoshf): Likewise.
17226 [non-C99-based standards] (asinhf): Likewise.
17227 [non-C99-based standards] (atanhf): Likewise.
17228 [non-C99-based standards] (cbrtf): Likewise.
17229 [non-C99-based standards] (expm1f): Likewise.
17230 [non-C99-based standards] (ilogbf): Likewise.
17231 [non-C99-based standards] (log1pf): Likewise.
17232 [non-C99-based standards] (logbf): Likewise.
17233 [non-C99-based standards] (nextafterf): Likewise.
17234 [non-C99-based standards] (remainderf): Likewise.
17235 [non-C99-based standards] (rintf): Likewise.
17236 [non-C99-based standards] (scalbf): Likewise.
17237 [non-C99-based standards] (copysignl): Likewise.
17238 [non-C99-based standards] (exp2l): Likewise.
17239 [non-C99-based standards] (log2l): Likewise.
17240 [non-C99-based standards] (modfl): Allow.
17241 [non-C99-based standards] (erfl): Do not allow.
17242 [non-C99-based standards] (erfcl): Likewise.
17243 [non-C99-based standards] (gammal): Likewise.
17244 [non-C99-based standards] (hypotl): Likewise.
17245 [non-C99-based standards] (j0l): Likewise.
17246 [non-C99-based standards] (j1l): Likewise.
17247 [non-C99-based standards] (jnl): Likewise.
17248 [non-C99-based standards] (lgammal): Likewise.
17249 [non-C99-based standards] (tgammal): Likewise.
17250 [non-C99-based standards] (y0l): Likewise.
17251 [non-C99-based standards] (y1l): Likewise.
17252 [non-C99-based standards] (ynl): Likewise.
17253 [non-C99-based standards] (isnanl): Likewise.
17254 [non-C99-based standards] (acoshl): Likewise.
17255 [non-C99-based standards] (asinhl): Likewise.
17256 [non-C99-based standards] (atanhl): Likewise.
17257 [non-C99-based standards] (cbrtl): Likewise.
17258 [non-C99-based standards] (expm1l): Likewise.
17259 [non-C99-based standards] (ilogbl): Likewise.
17260 [non-C99-based standards] (log1pl): Likewise.
17261 [non-C99-based standards] (logbl): Likewise.
17262 [non-C99-based standards] (nextafterl): Likewise.
17263 [non-C99-based standards] (remainderl): Likewise.
17264 [non-C99-based standards] (rintl): Likewise.
17265 [non-C99-based standards] (scalbl): Likewise.
17266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17267 [non-C99-based standards] (FP_*): Do not allow.
17268 [C99-based standards] (FP_*): Change to
17269 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17270 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17272 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17273 (SIG_ERR): Likewise.
17274 [X/Open-based standards] (SIG_HOLD): Likewise.
17275 (SIG_IGN): Likewise.
17276 (SIGABRT): Use macro-int-constant. Specify type. Require
17278 (SIGFPE): Likewise.
17279 (SIGILL): Likewise.
17280 (SIGINT): Likewise.
17281 (SIGSEGV): Likewise.
17282 (SIGTER): Likewise.
17283 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17284 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17285 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17286 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17287 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17288 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17289 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17290 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17291 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17292 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17293 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17294 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17295 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17296 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17297 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17298 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17299 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17300 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17301 [X/Open-based standards] (SIGTRAP): Likewise.
17302 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17303 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17304 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17305 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17306 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17309 2012-05-08 Ian Wienand <ianw@vmware.com>
17312 * time/tzset.c (__tzset_parse_tz): Update default rules for
17313 daylight time changes in the Energy Policy Act of 2005.
17315 2012-05-09 Andreas Jaeger <aj@suse.de>
17318 * elf/ldconfig.c (parse_conf): Change string to make clear that
17319 ldconfig only issued a warning if ld.so.conf does not exist.
17321 2012-05-08 David S. Miller <davem@davemloft.net>
17323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17324 movxtod instead of popping the value on the stack.
17326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17328 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17330 * config.h.in: Add HAVE_ARM_PCS_VFP.
17332 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
17335 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17336 checking but the checks are disabled for any reason.
17338 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17340 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17341 and ELF64_R_TYPE with ELFW(R_TYPE).
17343 2012-05-08 Joseph Myers <joseph@codesourcery.com>
17345 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17346 (ulimit): Likewise.
17348 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17349 (settimeofday): Likewise.
17351 2012-05-08 Mike Frysinger <vapier@gentoo.org>
17353 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17354 a struct th_u2 inside the union, and move tu_block/tu_code into
17355 a new th_u3 union of tu_block/tu_code inside of that. Move
17356 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17357 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17358 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17359 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17360 (th_stuff): Change to th_u1.tu_stuff.
17362 (th_msg): Change to th_u1.th_u2.tu_data.
17364 2012-05-07 David S. Miller <davem@davemloft.net>
17366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17369 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17370 (SETUP_PIC_REG): Use it.
17371 (SETUP_PIC_REG_LEAF): Use it.
17373 2012-05-07 Joseph Myers <joseph@codesourcery.com>
17377 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17379 (EXPL_FINITE): Likewise.
17380 (FLDLOG): Likewise.
17381 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17382 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17384 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17386 (EXPL_FINITE): Likewise.
17387 (FLDLOG): Likewise.
17388 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17389 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17391 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17392 test of -max_value argument for long double.
17393 * sysdeps/i386/fpu/libm-test-ulps: Update.
17394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17396 2012-05-06 David S. Miller <davem@davemloft.net>
17398 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17399 quad soft-float symbols whose references which are compiler
17401 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17403 2012-05-06 Joseph Myers <joseph@codesourcery.com>
17407 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17409 (EXPL_FINITE): Likewise.
17410 (FLDLOG): Likewise.
17413 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17414 Adjust comments for base varying.
17415 (__expl_finite): Change alias to EXPL_FINITE.
17416 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17418 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17419 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17421 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17422 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17424 (EXPL_FINITE): Likewise.
17425 (FLDLOG): Likewise.
17428 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17429 Adjust comments for base varying.
17430 (__expl_finite): Change alias to EXPL_FINITE.
17431 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17436 * math/libm-test.inc (check_float_internal): Correct ulp
17437 calculation for subnormal expected results.
17439 2012-05-06 Andreas Jaeger <aj@suse.de>
17441 * Makeconfig (+math-flags): New, set to -frounding-math.
17442 (+cflags): Add +math-flags so that all of glibc gets compiled with
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17447 2012-05-05 Joseph Myers <joseph@codesourcery.com>
17449 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17455 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17456 (__ieee754_expl): Allow for and saturate large arguments.
17457 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17458 (u_threshold): Likewise.
17459 (__exp): Call __ieee754_exp before checking for overflow and
17461 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17462 (u_threshold): Likewise.
17463 (__expf): Call __ieee754_expf before checking for overflow and
17465 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17466 (u_threshold): Likewise.
17467 (__expl): Call __ieee754_expl before checking for overflow and
17469 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17470 (__ieee754_expl): Allow for and saturate large arguments.
17471 * math/libm-test.inc (exp_test): Add another test. Do not allow
17472 missing overflow exception on overflow.
17473 (expm1_test): Do not allow missing overflow exception on overflow.
17475 * sysdeps/i386/fpu/e_expl.c: Move to ...
17476 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17477 rather than using inline asm.
17478 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17479 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17480 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17482 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17485 (signal): Likewise.
17489 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17491 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17492 sysdeps/unix/common/syscalls.list.
17493 (fchmod): Likewise.
17494 (fchown): Likewise.
17495 (ftruncate): Likewise.
17496 (getrusage): Likewise.
17497 (gettimeofday): Likewise.
17498 (setpgid): Likewise.
17499 (setregid): Likewise.
17500 (setreuid): Likewise.
17501 (sigaction): Likewise.
17502 (truncate): Likewise.
17503 (vhangup): Likewise.
17504 * sysdeps/unix/common/syscalls.list: Remove file.
17505 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17506 * sysdeps/unix/sysv/linux/Implies: Likewise.
17508 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17510 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17512 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17516 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17519 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17522 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17525 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17528 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17531 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17538 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17542 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17545 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17549 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17553 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17555 * sysdeps/unix/common/bits/dirent.h: Remove file.
17556 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17558 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17559 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17560 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17561 * sysdeps/unix/bsd/isatty.c: Likewise.
17562 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17563 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17564 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17566 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17570 long double comparison inaccuracies.
17571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17574 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17576 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17579 2012-05-04 Joseph Myers <joseph@codesourcery.com>
17582 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17583 nonzero digits before rounding a hex value.
17584 * stdlib/tst-strtod.c (tests): Add another test.
17586 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17588 * sysdeps/s390/fpu/libm-test-ulps: Update.
17590 2012-05-03 Andreas Jaeger <aj@suse.de>
17592 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17593 does not get optimized out.
17594 (malloc_opt_barrier): New.
17596 2012-05-03 Andreas Jaeger <aj@suse.de>
17597 Roland McGrath <roland@hack.frob.com>
17599 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
17600 intermediate file deletion.
17601 (generated): Add .symlist files.
17603 2012-05-03 Joseph Myers <joseph@codesourcery.com>
17606 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17607 Redirect under this condition.
17608 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17609 [__USE_GNU] (__dprintf_chk): Not under this condition.
17610 [__USE_GNU] (__vdprintf_chk): Likewise.
17611 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17612 under this condition.
17613 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17614 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17615 [__USE_XOPEN2K8] (vdprintf): Likewise.
17616 [__USE_GNU] (__dprintf_chk): Not under this condition.
17617 [__USE_GNU] (__vdprintf_chk): Likewise.
17618 [__USE_GNU] (dprintf): Likewise.
17619 [__USE_GNU] (vdprintf): Likewise.
17621 2012-05-03 Roland McGrath <roland@hack.frob.com>
17623 * elf/Makefile (common-generated): Set this instead of generated for
17624 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17625 $(all-built-dso)-derived lists.
17627 2012-05-03 Andreas Jaeger <aj@suse.de>
17629 * sysdeps/i386/fpu/libm-test-ulps: Update.
17632 * FAQ.in: Likewise.
17633 * scripts/gen-FAQ.pl: Likewise.
17634 * manual/install.texi (Installation): Point to online location of
17636 * Makefile (files-for-dist): Remove FAQ.
17639 2012-05-02 Allan McRae <allan@archlinux.org>
17641 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17642 (LDFLAGS-reldepmod5.so): Likewise.
17643 (LDFLAGS-reldep6mod1.so): Likewise.
17644 (LDFLAGS-reldep6mod4.so): Likewise.
17645 (LDFLAGS-reldep8mod3.so): Likewise.
17646 (LDFLAGS-unload4mod1.so): Likewise.
17647 (LDFLAGS-unload4mod2.so): Likewise.
17648 (LDFLAGS-tst-initorder): Likewise.
17649 (LDFLAGS-tst-initordera2.so): Likewise.
17650 (LDFLAGS-tst-initordera3.so): Likewise.
17651 (LDFLAGS-tst-initordera4.so): Likewise.
17652 (LDFLAGS-tst-initorderb2.so): Likewise.
17653 (LDFLAGS-noload): Likewise.
17654 (LDFLAGS-next): Likewise.
17655 (LDFLAGS-order2mod1.so): Likewise.
17656 (LDFLAGS-order2mod2.so): Likewise.
17657 (LDFLAGS-tst-initorder2): Likewise.
17658 (LDFLAGS-tst-initorder2a.so): Likewise.
17659 (LDFLAGS-tst-initorder2b.so): Likewise.
17660 (LDFLAGS-tst-initorder2c.so): Likewise.
17661 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17663 2012-05-02 David S. Miller <davem@davemloft.net>
17665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17667 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17670 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17672 2012-05-02 Andreas Jaeger <aj@suse.de>
17674 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17675 since we manipulate rounding mode.
17676 (CPPFLAGS-test-idouble.c): Likewise.
17677 (CPPFLAGS-test-ifloat.c): Likewise.
17678 (CFLAGS-test-ldouble.c): Likewise.
17679 (CFLAGS-test-double.c): Likewise.
17680 (CFLAGS-test-float.c): Likewise.
17681 (CFLAGS-test-misc.c): Likewise.
17682 (CFLAGS-test-test-fenv.c): Likewise.
17684 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17689 comparisons to determine direction to adjust input.
17691 2012-05-01 Roland McGrath <roland@hack.frob.com>
17693 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17694 output to the target.
17696 * scripts/localplt.awk: New file.
17697 * elf/Makefile ($(objpfx)check-localplt): Target removed.
17698 (check-localplt-CFLAGS): Variable removed.
17699 ($(all-built-dso:=.jmprel)): New static pattern rule.
17700 (generated): Add those targets.
17701 (localplt-built-dso): New variable.
17702 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
17704 * elf/check-localplt.c: File removed.
17706 * scripts/check-execstack.awk: New file.
17707 * elf/Makefile ($(objpfx)check-execstack): Target removed.
17708 (check-execstack-CFLAGS): Variable removed.
17709 ($(objpfx)check-execstack.h): Target removed.
17710 ($(objpfx)execstack-default): New target.
17711 (generated): Add that instead of check-execstack.h.
17712 ($(all-built-dso:=.phdr)): New static pattern rule.
17713 (generated): Add those targets.
17714 * elf/check-execstack.c: File removed.
17716 * scripts/check-textrel.awk: New file.
17717 * elf/Makefile ($(objpfx)check-textrel): Target removed.
17718 (check-textrel-CFLAGS): Variable removed.
17719 (all-built-dso): Use := to define.o
17720 ($(all-built-dso:=.dyn)): New static pattern rule.
17721 (generated): Add those targets.
17722 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
17723 * config.make.in (READELF): New substituted variable.
17724 * elf/check-textrel.c: File removed.
17726 2012-05-01 Joseph Myers <joseph@codesourcery.com>
17728 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17730 * conform/data/ctype.h-data [C99-based standards] (isblank):
17732 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
17733 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
17734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17735 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
17736 Specify type. Require positive value.
17737 (EILSEQ): Likewise.
17738 (ERANGE): Likewise.
17739 [ISO || POSIX] (EILSEQ): Do not expect.
17740 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
17741 Specify type. Require positive value.
17742 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
17743 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
17744 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
17745 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
17746 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
17747 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
17748 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
17749 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
17750 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
17751 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
17752 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
17753 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
17754 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
17755 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
17756 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
17757 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
17758 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
17759 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
17760 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
17761 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
17762 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
17763 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
17764 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
17765 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
17766 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
17767 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
17768 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
17769 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
17770 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
17771 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
17772 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
17773 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
17774 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
17775 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
17776 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
17777 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
17778 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
17779 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
17780 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
17781 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
17782 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
17783 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
17784 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
17785 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
17786 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
17787 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
17788 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
17789 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
17790 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
17791 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
17792 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
17793 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
17794 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
17795 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
17796 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
17797 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
17798 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
17799 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
17800 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
17801 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
17802 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
17803 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
17804 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
17805 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
17806 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
17807 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
17808 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
17809 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
17810 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
17811 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
17812 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
17813 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
17814 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
17815 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
17816 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
17817 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
17818 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
17820 (FLT_ROUNDS): Expect as macro, not constant.
17821 (FLT_MANT_DIG): Use macro-int-constant.
17822 (DBL_MANT_DIG): Likewise.
17823 (LDBL_MANT_DIG): Likewise.
17824 (FLT_DIG): Likewise.
17825 (DBL_DIG): Likewise.
17826 (LDBL_DIG): Likewise.
17827 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
17828 (DBL_MIN_EXP): Likewise.
17829 (LDBL_MIN_EXP): Likewise.
17830 (FLT_MAX_EXP): Use macro-int-constant.
17831 (DBL_MAX_EXP): Likewise.
17832 (LDBL_MAX_EXP): Likewise.
17833 (FLT_MAX_10_EXP): Likewise.
17834 (DBL_MAX_10_EXP): Likewise.
17835 (LDBL_MAX_10_EXP): Likewise.
17836 (FLT_MAX): Use macro-constant.
17837 (DBL_MAX): Likewise.
17838 (LDBL_MAX): Likewise.
17839 (FLT_EPSILON): Use macro-constant. Give upper bound.
17840 (DBL_EPSILON): Likewise.
17841 (LDBL_EPSILON): Likewise.
17842 (FLT_MIN): Likewise.
17843 (DBL_MIN): Likewise.
17844 (LDBL_MIN): Likewise.
17845 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
17846 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
17847 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
17848 [ISO11] (FLT_HAS_SUBNORM): Likewise.
17849 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
17850 [ISO11] (DBL_DECIMAL_DIG): Likewise.
17851 [ISO11] (FLT_DECIMAL_DIG): Likewise.
17852 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
17853 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
17854 [ISO11] (FLT_TRUE_MIN): Likewise.
17855 [ISO11] (LDBL_TRUE_MIN): Likewise.
17856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17857 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
17858 (SCHAR_MIN): Use macro-int-constant. Specify type.
17859 (SCHAR_MAX): Likewise.
17860 (UCHAR_MAX): Likewise.
17861 (CHAR_MIN): Likewise.
17862 (CHAR_MAX): Likewise.
17863 (MB_LEN_MAX): Use macro-int-constant.
17864 (SHRT_MIN): Use macro-int-constant. Specify type.
17865 (SHRT_MAX): Likewise.
17866 (USHRT_MAX): Likewise.
17867 (INT_MAX): Likewise.
17868 (INT_MIN): Use macro-int-constant. Specify type. Make upper
17870 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17872 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17874 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
17875 bound negative. Suffix upper bound with "L".
17876 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17878 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17880 [C99-based standards] (LLONG_MAX): Likewise.
17881 [C99-based standards] (ULLONG_MAX): Likewise.
17882 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
17884 [ISO11] (max_align_t): Require type.
17885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17887 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17888 from $CFLAGS, without defining away __attribute__ calls.
17889 (checknamespace): Use $CFLAGS_namespace.
17891 * conform/conformtest.pl (@keywords): Only include C99 keywords
17892 for standards based on C99 or C11.
17894 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17896 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17899 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17900 usability of symbols in #if.
17902 * conform/conformtest.pl: If macro or constant types start
17903 "promoted:", expect the symbol to be of the following type
17904 promoted by the integer promotions.
17906 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17907 in one place. Also handle "macro-constant".
17909 * conform/conformtest.pl: Only accept expected macro values with
17910 "==". Parse all "macro" lines in one place.
17911 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
17913 * conform/conformtest.pl: Handle braced types on "constant" lines
17914 instead of handling "typed-constant".
17915 * conform/data/signal.h-data: Use "constant" instead of
17918 * conform/conformtest.pl: Handle "optional-" at start of lines in
17919 one place rather than duplicating several cases. Handle each
17920 format of "macro" line with initial "optional-".
17922 * conform/conformtest.pl: Only accept expected constant or
17923 optional-constant values with "==". Parse all "constant" lines in
17924 one place. Parse all "optional-constant" lines in one place.
17925 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
17926 * conform/data/fmtmsg.h-data: Likewise.
17927 * conform/data/netinet/in.h-data: Likewise.
17928 * conform/data/tar.h-data: Likewise.
17929 * conform/data/limits.h-data: Use "==" form on "constant" and
17930 "optional-constant" lines.
17932 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
17933 Use -std=c99 for XOPEN2K.
17934 (@knownproblems): Remove.
17935 (newtoken): Don't check %isknown.
17937 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
17938 Do not expect macro.
17939 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
17940 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
17941 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
17942 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
17943 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
17944 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
17945 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
17946 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
17947 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
17948 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
17949 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
17950 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
17951 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
17952 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
17953 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
17954 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
17955 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
17956 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
17957 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
17958 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
17959 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
17960 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
17961 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
17962 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
17964 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
17965 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
17966 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
17968 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
17969 [XPG3] (acosh): Likewise.
17970 [XPG3] (asinh): Likewise.
17971 [XPG3] (atanh): Likewise.
17972 [XPG3] (cbrt): Likewise.
17973 [XPG3] (expm1): Likewise.
17974 [XPG3] (ilogb): Likewise.
17975 [XPG3] (log1p): Likewise.
17976 [XPG3] (logb): Likewise.
17977 [XPG3] (nextafter): Likewise.
17978 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
17979 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
17980 [XPG3] (remainder): Likewise.
17981 [XPG3] (rint): Likewise.
17982 [XPG3 || XPG4 || UNIX98] (round): Likewise.
17983 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
17984 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
17986 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
17987 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
17988 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
17989 [UNIX98 || XOPEN2K] (scalb): Expect.
17990 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
17991 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
17992 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
17993 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
17995 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
17996 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
17997 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
17998 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
17999 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18000 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18001 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18002 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18003 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18004 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18005 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18006 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18007 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18008 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18009 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18010 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18011 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18012 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18013 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18014 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18015 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18016 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18017 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18018 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18019 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18020 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18021 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18022 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18023 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18024 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18025 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18026 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18027 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18028 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18029 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18030 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18031 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18032 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18033 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18034 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18035 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18036 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18037 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18038 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18039 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18040 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18041 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18042 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18043 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18044 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18045 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18046 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18047 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18048 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18049 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18050 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18051 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18052 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18053 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18054 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18055 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18056 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18057 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18058 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18059 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18060 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18061 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18062 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18063 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18064 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18065 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18066 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18067 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18068 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18069 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18070 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18071 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18072 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18073 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18074 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18075 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18076 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18077 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18078 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18079 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18080 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18081 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18082 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18083 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18084 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18085 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18086 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18087 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18088 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18089 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18090 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18091 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18092 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18093 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18094 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18095 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18096 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18097 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18098 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18099 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18100 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18101 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18102 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18103 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18104 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18105 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18106 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18107 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18108 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18109 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18110 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18111 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18112 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18113 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18114 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18115 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18116 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18117 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18118 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18119 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18120 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18121 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18122 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18123 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18124 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18125 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18126 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18128 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18129 _XOPEN_SOURCE_EXTENDED for XPG4.
18131 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18133 * Makeconfig (localtime): Remove variable.
18134 (inst_localtime-file): Likewise.
18136 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18157 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18161 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18162 comparisons to determine direction to adjust input.
18163 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18164 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18167 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18174 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18176 * math/libm-test.inc (nexttoward_test): Add more tests.
18178 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18182 in version GLIBC_2.1, not GLIBC_2.0.
18183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18186 2012-04-30 Joseph Myers <joseph@codesourcery.com>
18189 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18191 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18192 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18193 * math/libm-test.inc (acos_test): Add more tests.
18194 (asin_test): Likewise.
18195 * sysdeps/i386/fpu/libm-test-ulps: Update.
18196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18199 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18201 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18202 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18203 * math/libm-test.inc (acos_test_tonearest): New function.
18204 (acos_test_towardzero): Likewise.
18205 (acos_test_downward): Likewise.
18206 (acos_test_upward): Likewise.
18207 (asin_test_tonearest): Likewise.
18208 (asin_test_towardzero): Likewise.
18209 (asin_test_downward): Likewise.
18210 (asin_test_upward): Likewise.
18211 (main): Call the new functions.
18212 * sysdeps/i386/fpu/libm-test-ulps: Update.
18213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18217 * math/e_exp10.c: Include <float.h>.
18218 (__ieee754_exp10): Handle underflow here rather than multiplying
18219 large negative argument by M_LN10.
18220 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18222 * math/e_exp10l.c: Include <float.h>.
18223 (__ieee754_exp10l): Handle underflow here rather than multiplying
18224 large negative argument by M_LN10l.
18225 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18226 spurious overflow exception on underflow.
18228 2012-04-29 Marek Polacek <polacek@redhat.com>
18230 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18231 (__fortify_function): New macro.
18232 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18233 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18234 __extern_always_inline.
18235 * libio/bits/stdio2.h: Likewise.
18236 * libio/bits/stdio.h: Likewise.
18237 * string/string.h: Likewise.
18238 * string/bits/string3.h: Likewise.
18239 * include/stdio.h: Likewise.
18240 * stdlib/bits/stdlib.h: Likewise.
18241 * stdlib/stdlib.h: Likewise.
18242 * rt/bits/mqueue2.h: Likewise.
18243 * rt/mqueue.h: Likewise.
18244 * posix/bits/unistd.h: Likewise.
18245 * posix/unistd.h: Likewise.
18246 * io/bits/poll2.h: Likewise.
18247 * io/bits/fcntl2.h: Likewise.
18248 * io/fcntl.h: Likewise.
18249 * io/sys/poll.h: Likewise.
18250 * misc/bits/syslog.h: Likewise.
18251 * misc/bits/syslog-ldbl.h: Likewise.
18252 * misc/sys/syslog.h: Likewise.
18253 * socket/bits/socket2.h: Likewise.
18254 * socket/sys/socket.h: Likewise.
18255 * debug/tst-chk1.c: Likewise.
18256 * wcsmbs/bits/wchar2.h: Likewise.
18257 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18258 * wcsmbs/wchar.h: Likewise.
18260 2012-04-29 Andreas Jaeger <aj@suse.de>
18262 * Makerules (tests): Remove enable-check-abi protection.
18263 (check-abi-warn): Remove.
18264 (check-abi-%): Remove check-abi-warn usage.
18266 * configure.in: Remove check-abi configure option.
18267 * configure: Regenerated.
18268 * config.make.in (enable-check-abi): Remove.
18270 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18273 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18274 double functions to double *_finite functions.
18277 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18278 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18280 * stdio-common/Makefile (tests): Add tst-sprintf3.
18281 * stdio-common/tst-sprintf3.c: New file.
18283 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18284 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18286 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18288 * conform/conformtest.pl: Remove duplicate typed-constant
18291 2012-04-28 David S. Miller <davem@davemloft.net>
18293 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18294 (check-abi-%): Remove AWK script prerequisite and explicit
18296 (check-abi): Rewrite to just diff the symlist with the abilist.
18297 (config-tls, config-abi-config): Delete, no longer used.
18298 (update-abi-%): Remove AWK script and explicit abilist directory.
18299 (update-abi): Rewrite to simply compare and conditionally copy the
18300 symlist and the sysdep abilist file. Remove update-abi-config
18302 * abilist/ld.abilist: Remove.
18303 * abilist/libBrokenLocale.abilist: Remove.
18304 * abilist/libanl.abilist: Remove.
18305 * abilist/libcrypt.abilist: Remove.
18306 * abilist/libdl.abilist: Remove.
18307 * abilist/librt.abilist: Remove.
18308 * abilist/libthread_db.abilist: Remove.
18309 * abilist/libutil.abilist: Remove.
18310 * scripts/extract-abilist.awk: Remove.
18311 * scripts/merge-abilist.awk: Remove.
18312 * sysdeps/generic/libcidn.abilist: New file.
18313 * sysdeps/generic/libnss_compat.abilist: New file.
18314 * sysdeps/generic/libnss_db.abilist: New file.
18315 * sysdeps/generic/libnss_dns.abilist: New file.
18316 * sysdeps/generic/libnss_files.abilist: New file.
18317 * sysdeps/generic/libnss_hesiod.abilist: New file.
18318 * sysdeps/generic/libnss_nis.abilist: New file.
18319 * sysdeps/generic/libnss_nisplus.abilist: New file.
18320 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18321 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18322 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18325 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18326 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18327 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18328 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18329 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18330 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18331 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18332 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18334 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18335 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18336 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18337 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18339 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18340 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18341 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18342 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18343 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18344 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18346 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18347 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18348 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18350 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18453 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18454 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18455 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18457 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18458 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18459 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18460 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18461 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18462 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18463 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18464 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18465 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18466 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18518 2012-04-28 Joseph Myers <joseph@codesourcery.com>
18520 * conform/conformtest.pl: Fix typo in handling typed-constant from
18523 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18525 * README: Cut down references to pre-2.6 Linux kernels and
18526 Linuxthreads. Update lists of configurations in libc and ports
18527 and sort alphabetically. Say "or newer" with Linux kernel version
18530 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18532 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18535 * math/libm-test.inc (logb_test_downward): New test to expose
18536 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18539 2012-04-27 Joseph Myers <joseph@codesourcery.com>
18542 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18544 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18545 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18547 2012-04-26 Joseph Myers <joseph@codesourcery.com>
18549 * sysdeps/unix/i386/brk.S: Remove file.
18550 * sysdeps/unix/i386/dl-brk.S: Likewise.
18551 * sysdeps/unix/i386/pipe.S: Likewise.
18552 * sysdeps/unix/i386/sigreturn.S: Likewise.
18553 * sysdeps/unix/i386/syscall.S: Likewise.
18554 * sysdeps/unix/i386/vfork.S: Likewise.
18555 * sysdeps/unix/i386/wait.S: Likewise.
18557 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18558 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18560 * configure.in (arm*-none*): Do not allow without
18561 --enable-hacker-mode.
18562 (netbsd*): Remove case setting base_os.
18563 (386bsd*): Likewise.
18564 (freebsd*): Likewise.
18567 (sunos*): Likewise.
18568 (ultrix*): Likewise.
18569 (newsos*): Likewise.
18570 (dynix*): Likewise.
18576 (minix*): Likewise.
18577 (irix4*): Likewise.
18578 (irix6*): Likewise.
18579 (solaris[2-9]*): Likewise.
18581 * configure: Regenerated.
18583 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18586 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18587 overflow or cancellation in calculating denominator.
18588 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18590 down expression to avoid unexpected rounding in newer GCCs.
18591 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18593 2012-04-26 David S. Miller <davem@davemloft.net>
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18596 long-double compat symbols.
18597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18611 2012-04-25 David S. Miller <davem@davemloft.net>
18613 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18614 HWCAP_* values only after the memory barriers have been defined.
18615 (atomic_full_barrier): Define.
18616 (atomic_read_barrier): Define.
18617 (atomic_write_barrier): Define.
18619 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18621 * shlib-versions: Add libgcc_s version information.
18622 * sysdeps/generic/libgcc_s.h: Remove.
18623 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18625 * sysdeps/gnu/unwind-resume.c: Likewise.
18626 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18628 2012-04-25 David S. Miller <davem@davemloft.net>
18630 * sysdeps/unix/sparc/brk.S: Delete.
18631 * sysdeps/unix/sparc/dl-brk.S: Delete.
18632 * sysdeps/unix/sparc/pipe.S: Delete.
18633 * sysdeps/unix/sparc/sysdep.S: Delete.
18634 * sysdeps/unix/sparc/sysdep.h: Delete.
18635 * sysdeps/unix/sparc/vfork.S: Delete.
18636 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18637 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18638 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18639 ret_ERRVAL, r0, r1, MOVE): Define.
18640 (JUMPTARGET): Remove.
18641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18642 sysdeps/unix/sparc/sysdep.h
18643 (ENTRY, END): Remove.
18644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18646 2012-04-25 Joseph Myers <joseph@codesourcery.com>
18648 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18649 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18652 * timezone/README: Update upstream location and email address for
18654 * timezone/zdump.c: Update from tzcode 2012b.
18655 * timezone/zic.c: Likewise.
18657 * configure.in (libc_cv_as_needed): Remove test.
18658 * configure: Regenerated.
18659 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18660 conditional definition.
18661 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18662 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18663 * config.make.in (have-as-needed): Remove variable.
18665 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18666 Paul Pluzhnikov <ppluzhnikov@google.com>
18668 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18671 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18673 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18674 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18675 * sysdeps/sh/strlen.S: Likewise.
18677 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18679 * sysdeps/unix/fork.S: Remove file.
18680 * sysdeps/unix/i386/fork.S: Likewise.
18681 * sysdeps/unix/sparc/fork.S: Likewise.
18683 * sysdeps/unix/system.c: Remove file.
18684 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18686 * sysdeps/unix/getegid.S: Remove file.
18687 * sysdeps/unix/geteuid.S: Likewise.
18689 2012-04-24 Roland McGrath <roland@hack.frob.com>
18691 * scripts/check-localplt.awk: New file.
18692 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18694 * scripts/data/localplt-generic.data: Add a comment.
18696 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
18697 NODE when __dir_mkfile failed.
18698 * sysdeps/mach/hurd/symlinkat.c: Likewise.
18699 Reported by Ludovic Courtès <ludo@gnu.org>.
18701 2012-04-24 Andreas Jaeger <aj@suse.de>
18703 * Makerules (common-clean): Also remove gen-as-const-headers
18706 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18708 * Makerules (native-compile): Do not change working directory for
18709 build. Use $(OUTPUT_OPTION) in command.
18710 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18712 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18715 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
18716 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
18717 * math/libm-test.inc (floor_test): Add more tests.
18718 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
18720 2012-04-24 Joseph Myers <joseph@codesourcery.com>
18722 * sysdeps/unix/getdents.c: Remove file.
18723 * sysdeps/unix/sysv/getdents.c: Likewise.
18724 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18726 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18727 sysdeps/unix/mman/syscalls.list.
18729 (mprotect): Likewise.
18731 (munmap): Likewise.
18732 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
18733 * sysdeps/unix/mman/syscalls.list: Remove.
18734 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
18736 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
18737 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
18738 * configure: Regenerated.
18739 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
18740 $(libgcc_s_suffix).
18741 * config.make.in (libgcc_s_suffix): Remove variable.
18743 2012-04-23 Joseph Myers <joseph@codesourcery.com>
18745 * sysdeps/unix/sysv/gethostname.c: Move to ...
18746 * sysdeps/posix/gethostname.c: ... here.
18748 * sysdeps/unix/execve.S: Remove file.
18750 * sysdeps/unix/_exit.S: Remove file.
18752 2012-04-23 Andreas Jaeger <aj@suse.de>
18755 * manual/Makefile: Remove make dist support, there's no
18756 need for a stand-alone documentation tar ball.
18757 (TEXI2DVI): Define always, it's not in Makeconfig.
18760 (edition): Removed.
18761 (glibc-doc-$(edition).tar): Removed
18765 (ETAGS): Remove, it's in Makeconfig.
18766 (move-if-change): Remove, it's in Makeconfig.
18768 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
18771 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
18772 (strtod, strtof, strtold, strtol, strtoul, strtoq)
18773 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
18774 (strtod_l, strtof_l, strtold_l): Remove __wur.
18775 It is not necessarily an error to ignore strtol's return value.
18776 One can reliably look at the stored endptr to decide whether
18777 the number had valid syntax.
18779 2012-04-21 Andreas Jaeger <aj@suse.de>
18782 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18784 2012-04-21 Joseph Myers <joseph@codesourcery.com>
18786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18787 * sysdeps/unix/sysv/Versions: Remove file.
18789 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18794 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
18797 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18798 version from __vm86.
18800 2012-04-20 Joseph Myers <joseph@codesourcery.com>
18802 * sysdeps/unix/common/lxstat.c: Remove file.
18803 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18805 * sysdeps/unix/sysv/Makefile: Remove file.
18807 * sysdeps/unix/sysv/direct.h: Remove file.
18809 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
18810 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
18811 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
18812 * sysdeps/unix/sysv/bits/signum.h: Likewise.
18813 * sysdeps/unix/sysv/bits/stat.h: Likewise.
18814 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
18815 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
18817 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18819 * sysdeps/unix/xmknod.c: Remove file.
18820 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18822 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18824 * sysdeps/unix/sysv/i386/time.S: Remove file.
18826 * sysdeps/unix/fxstat.c: Remove file.
18827 * sysdeps/unix/xstat.c: Likewise.
18828 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18830 * sysdeps/unix/sysv/sigaction.c: Remove file.
18832 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
18833 (sysdep_headers): Remove variable.
18834 [termio.h not in sysdep_headers] (generated): Likewise.
18835 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
18836 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
18837 * sysdeps/unix/sysv/tcdrain.c: Likewise.
18838 * sysdeps/unix/sysv/tcflow.c: Likewise.
18839 * sysdeps/unix/sysv/tcflush.c: Likewise.
18840 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
18841 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
18842 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
18843 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
18844 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
18846 * sysdeps/unix/siglist.c: Remove file.
18848 * sysdeps/unix/getppid.S: Remove file.
18850 * sysdeps/unix/mkdir.c: Remove file.
18851 * sysdeps/unix/rmdir.c: Likewise.
18853 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18855 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18857 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18858 errlist-compat value.
18860 2012-04-18 David S. Miller <davem@davemloft.net>
18862 * sysdeps/generic/memcopy.h (reg_char): Delete.
18863 * debug/strcat_chk.c: Use char, not reg_char.
18864 * debug/strcpy_chk.c: Likewise.
18865 * debug/strncat_chk.c: Likewise.
18866 * debug/strncpy_chk.c: Likewise.
18867 * string/memchr.c: Likewise.
18868 * string/memrchr.c: Likewise.
18869 * string/rawmemchr.c: Likewise.
18870 * string/strcat.c: Likewise.
18871 * string/strchr.c: Likewise.
18872 * string/strchrnul.c: Likewise.
18873 * string/strcmp.c: Likewise.
18874 * string/strcpy.c: Likewise.
18875 * string/strncat.c: Likewise.
18876 * string/strncmp.c: Likewise.
18877 * string/strncpy.c: Likewise.
18879 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18881 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
18882 __builtin_memcopy is called when src and dest ranges are known to not
18885 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18887 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
18888 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
18889 fwd_align_merge macro call.
18890 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
18891 bwd_align_merge macro call.
18892 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18894 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18896 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
18897 bwd_align_merge macros.
18898 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
18899 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
18900 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18902 2012-04-18 David S. Miller <davem@davemloft.net>
18904 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18906 2012-04-18 Andreas Jaeger <aj@suse.de>
18909 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
18910 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18911 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18913 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
18914 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
18915 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18917 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
18918 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
18919 Adjust for changed ldbl-128 files.
18921 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
18922 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
18923 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
18925 2012-04-17 David S. Miller <davem@davemloft.net>
18927 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18929 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18931 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
18932 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
18933 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
18934 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
18935 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18936 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
18938 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18941 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
18942 * math/libm-test.inc: Add ilogb errno and exception tests.
18943 * math/w_ilogb.c: New file: ilogb wrapper.
18944 * math/w_ilogbf.c: New file: ilogbf wrapper.
18945 * math/w_ilogbl.c: New file: ilogbl wrapper.
18946 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
18947 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
18948 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
18949 exception being thrown with 0.0 as argument.
18950 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
18951 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
18952 exception being thrown with 0.0 as argument.
18953 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
18954 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18955 exception being thrown with 0.0 as argument.
18956 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
18957 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
18958 exception being thrown with 0.0 as argument.
18959 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
18960 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
18961 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
18962 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
18963 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
18964 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
18965 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
18966 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
18967 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
18969 2012-04-17 Petr Baudis <pasky@ucw.cz>
18971 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18974 2012-04-16 Marek Polacek <polacek@redhat.com>
18976 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18978 2012-04-16 Marek Polacek <polacek@redhat.com>
18980 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18981 operands of fdivp instruction.
18983 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18985 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
18986 * elf/tst-auditmod3b.c: Likewise.
18987 * elf/tst-auditmod4b.c: Likewise.
18988 * elf/tst-auditmod5b.c: Likewise.
18989 * elf/tst-auditmod6b.c: Likewise.
18990 * elf/tst-auditmod6c.c: Likewise.
18991 * elf/tst-auditmod7b.c: Likewise.
18992 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
18993 * sysdeps/x86_64/preconfigure.in: Likewise.
18994 * sysdeps/x86_64/preconfigure: Regenerated.
18996 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18998 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19001 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
19003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19004 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19006 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19009 * locale/iso-639.def: Fix gl language name. Spotted by
19012 2012-04-12 Roland McGrath <roland@hack.frob.com>
19015 * libio/libio.h (__io_write_fn): Update comment.
19017 2012-04-12 Petr Baudis <pasky@ucw.cz>
19020 * stdio.texi (Hook Functions): The user provided writer function
19021 is not allowed to return -1.
19023 2012-04-11 David S. Miller <davem@davemloft.net>
19025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19027 2012-04-11 Mike Frysinger <vapier@gentoo.org>
19029 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19030 Add a leading slash to rtkaio.
19032 2012-04-11 Jim Meyering <meyering@redhat.com>
19035 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19036 It is not necessarily an error to ignore fwrite's return
19037 value. One can reliably use ferror to test for errors after
19040 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19042 * bits/types.h (__snseconds_t): New type.
19043 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19045 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19047 (__SNSECONDS_T_TYPE): Likewise.
19048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19049 (__SNSECONDS_T_TYPE): Likewise.
19050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19051 (__SNSECONDS_T_TYPE): Likewise.
19053 2012-04-10 Andreas Jaeger <aj@suse.de>
19056 * manual/time.texi (Processor Time): Return type of times is
19057 elapsed real time since an arbitrary point in the past.
19058 (CPU Time): Move CLK_TCK from here...
19059 (Processor Time): ...to here. Correct description.
19060 * manual/conf.texi (Constants for Sysconf): Correct description of
19063 2012-04-10 David S. Miller <davem@davemloft.net>
19066 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19067 where the is a gap between DT_REL(A) and DT_JMPREL.
19069 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19071 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19072 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19073 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19075 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19077 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19078 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19079 (dl_main): Handle --inhibit-cache.
19080 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19082 * elf/dl-load.c (_dl_map_object): Use it.
19083 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19085 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19088 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19089 (__ieee754_powl): Saturate large exponents rather than testing for
19090 overflow of y*log2(x).
19091 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19092 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19096 * math/s_ctan.c: Include <float.h>.
19097 (__ctan): Avoid internal overflow or cancellation in calculating
19099 * math/s_ctanf.c: Likewise.
19100 * math/s_ctanl.c: Likewise.
19101 * math/s_ctanh.c: Likewise.
19102 * math/s_ctanhf.c: Likewise.
19103 * math/s_ctanhl.c: Likewise.
19104 * math/libm-test.inc (ctan_test): Add more tests.
19105 (ctanh_test): Likewise.
19106 * sysdeps/i386/fpu/libm-test-ulps: Update.
19107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19109 2012-04-09 Andreas Jaeger <aj@suse.de>
19112 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19113 is an optional BSD extension.
19116 * manual/stdio.texi (Opening Streams): Document additional fopen
19119 2012-04-09 Roland McGrath <roland@hack.frob.com>
19121 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19122 %eax without telling the compiler.
19124 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19127 * manual/install.texi: Use sourceware.org.
19129 2012-04-09 Joseph Myers <joseph@codesourcery.com>
19132 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19133 (__ieee754_pow): Generate overflow and underflow using huge*huge
19134 and tiny*tiny rather than just returning constant infinity or zero
19135 for large exponents.
19136 * math/libm-test.inc (pow_test): Require overflow exceptions for
19137 applicable cases of large exponents.
19140 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19141 (__ieee754_pow): Use iterative multiplication algorithm only for
19142 integer exponents with absolute value below 1024. Check for odd
19143 integer exponents when using algorithm for real exponents.
19144 * math/libm-test.inc (pow_test): Add more tests.
19145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19147 2012-04-08 Joseph Myers <joseph@codesourcery.com>
19150 * math/libm-test.inc (exp_test): Do not allow overflow exception
19153 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19156 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19157 instead of __kernel_standard_f.
19159 2012-04-08 Mike Frysinger <vapier@gentoo.org>
19161 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19162 * sysdeps/x86_64/memset_chk.S: Likewise.
19164 2012-04-08 Andreas Jaeger <aj@suse.de>
19167 * manual/startup.texi (Environment Access): Describe return value
19168 for putenv and setenv.
19171 * manual/filesys.texi (Directory Entries): Add description for
19175 * manual/filesys.texi (Directory Entries): Clarify that it's file
19176 system not operating system in the description of DT_UNKNOWN.
19179 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19181 2012-04-08 Stephen Compall <s11@member.fsf.org>
19184 * manual/llio.texi (Opening and Closing Files): Add cross
19185 reference to explain mode argument.
19187 2012-04-07 Mike Frysinger <vapier@gentoo.org>
19189 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19190 * sysdeps/x86_64/memset_chk.S: Likewise.
19192 2012-04-07 David S. Miller <davem@davemloft.net>
19194 * elf/elf.h (R_SPARC_WDISP10): Define.
19195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19197 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19198 R_SPARC_SIZE64 and R_SPARC_H34.
19200 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19202 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19203 conditions and remove no longer applicable assertion.
19205 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19207 * bits/byteswap.h: Include <features.h>.
19208 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19209 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19211 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19213 * bits/byteswap.h (__bswap_16): Removed.
19214 Include <bits/byteswap-16.h> to get __bswap_16.
19215 * sysdeps/i386/bits/byteswap.h: Likewise.
19216 * sysdeps/s390/bits/byteswap.h: Likewise.
19217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19218 * bits/byteswap-16.h: New file.
19219 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19220 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19221 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19222 * string/Makefile (headers): Add bits/byteswap-16.h.
19224 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19227 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19229 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19230 * nss/tst-nss-static.c: New.
19232 2012-04-06 Robert Millan <rmh@gnu.org>
19235 * manual/llio.texi (File Position Primitive): lseek
19236 refers to WHENCE when it really means OFFSET.
19238 2012-04-06 Andreas Jaeger <aj@suse.de>
19240 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19241 strncmp declarations.
19243 * abilist/libc.abilist: Add __poll and __ppoll.
19245 2012-04-05 David S. Miller <davem@davemloft.net>
19247 * scripts/check-local-headers.sh: Accept a host triplet in the
19248 path matched by the exclude regexp.
19250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19252 * sysdeps/powerpc/powerpc32/dl-machine.h
19253 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19254 * sysdeps/s390/s390-32/dl-machine.h
19255 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19256 * sysdeps/sparc/sparc32/dl-machine.h
19257 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19258 * sysdeps/sparc/sparc64/dl-machine.h
19259 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19261 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19263 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
19264 undefined symbol errors.
19266 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
19269 2012-04-05 Michael Matz <matz@suse.de>
19272 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19274 2012-04-05 Andreas Jaeger <aj@suse.de>
19277 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19280 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19282 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19283 which ROUND is no valid rounding mode.
19285 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19287 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19289 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19291 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19294 an exception using FPU order intentionally.
19296 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19298 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19299 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19300 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19301 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19303 2012-04-05 Simon Josefsson <simon@josefsson.org>
19306 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19307 EINVAL when BUFLEN is too smal.
19309 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19312 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19313 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19315 2012-04-03 Andreas Jaeger <aj@suse.de>
19318 * manual/setjmp.texi (System V contexts): Fix sentence.
19321 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19322 New macro for this case.
19323 [!__GNUC__] (__bswap_64): New inline function for this case.
19324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19325 * bits/byteswap.h: Likewise.
19326 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19327 ull, guard with __GLIBC_HAVE_LONG_LONG.
19329 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19330 __GLIBC_HAVE_LONG_LONG.
19332 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19333 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19335 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19338 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19339 inptr and inend, rather than using last_ch.
19341 2012-04-02 David S. Miller <davem@davemloft.net>
19343 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19344 * stdio-common/printf-parse.h (read_int): Change return type to
19345 'int', return -1 on INT_MAX overflow.
19346 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19347 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19348 overflows INT_MAX. Check for overflow of in-format-string precision
19349 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19350 SIZE_MAX not INT_MAX for integer overflow test.
19351 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19352 skip the construct in the format string but do not record anything.
19353 * stdio-common/bug22.c: Adjust to test both width/prevision
19354 INT_MAX overflow as well as total length INT_MAX overflow. Check
19355 explicitly for proper errno values.
19357 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19359 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19361 * string/test-strcmp.c [! WIDE]: Likewise.
19362 * time/tst-mktime2.c: Likewise for INT_MAX.
19363 * string/test-string.h: #include <sys/param.h> for MIN.
19365 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19366 * sysdeps/i386/init-first.c (init): Likewise.
19367 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19368 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19369 * sysdeps/sh/init-first.c (init): Likewise.
19371 2012-04-01 Ulrich Drepper <drepper@gmail.com>
19373 * po/ru.po: Update from translation team.
19374 * po/vi.po: Likewise.
19376 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19378 * resolv/nss_dns/dns-host.c: Merge copyright years.
19380 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19382 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19383 Optimize memcpy with prefetch if
19384 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19385 src, dst pointers have unequal 16 byte alignments.
19387 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19390 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19391 from a CNAME entry and return the minimum ttl for the query.
19392 (gaih_getanswer_slice): Likewise.
19394 2012-03-30 Jeff Law <law@redhat.com>
19396 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19398 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19399 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19401 * resolv/nss_dns/dns-host.c: Update copyright year.
19403 2012-03-30 Ulrich Drepper <drepper@gmail.com>
19405 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
19406 requests to save a system call. Fix check that all bytes are sent.
19408 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19409 comments for sendmmsg.
19411 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19414 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19415 with only 1 character between 0x0041 and 0x01b0.
19416 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19417 * wcsmbs/tst-mbsnrtowcs.c: New file.
19419 2012-03-29 David S. Miller <davem@davemloft.net>
19421 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19422 small copies by hand.
19424 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19427 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19428 _nss_compat_initgroups_dyn): Fall back to malloc/free
19429 for large group memberships.
19431 2012-03-28 David S. Miller <davem@davemloft.net>
19433 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19434 that branches into memcpy.
19435 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19438 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19441 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19442 implementation too.
19443 * sysdeps/sparc/mempcpy.S: New file.
19445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19446 the IFUNC routine in the libc case.
19447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19449 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19450 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19451 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19452 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19453 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19454 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19455 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19456 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19458 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19459 loop to 256 bytes instead of 64 bytes and fix test signedness.
19461 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19462 * sysdeps/sparc/sparc32/Makefile: rather than here...
19463 * sysdeps/sparc/sparc64/Makefile: and here.
19465 2012-03-28 Ulrich Drepper <drepper@gmail.com>
19467 * malloc/mallocbug.c: Avoid warnings about unused variables.
19469 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19472 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19473 in the right place. Discard and retry query if response is
19474 larger than input buffer size.
19476 2012-03-28 Joseph Myers <joseph@codesourcery.com>
19481 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19482 x for large integer exponent.
19483 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19484 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19485 sign of result as needed afterwards.
19486 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19487 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19488 result for underflowing pow the same as for overflow.
19489 (__kernel_standard_l): Handle powl overflow and underflow here
19490 rather than calling __kernel_standard.
19491 * math/libm-test.inc (pow_test): Add more tests.
19506 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19507 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19508 (__kernel_standard_l): New function.
19509 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19511 * math/w_acosl.c (__acosl): Likewise.
19512 * math/w_asinl.c (__asinl): Likewise.
19513 * math/w_atan2l.c (__atan2l): Likewise.
19514 * math/w_atanhl.c (__atanhl): Likewise.
19515 * math/w_coshl.c (__coshl): Likewise.
19516 * math/w_exp10l.c (__exp10l): Likewise.
19517 * math/w_exp2l.c (__exp2l): Likewise.
19518 * math/w_fmodl.c (__fmodl): Likewise.
19519 * math/w_hypotl.c (__hypotl): Likewise.
19520 * math/w_j0l.c (__j0l, __y0l): Likewise.
19521 * math/w_j1l.c (__j1l, __y1l): Likewise.
19522 * math/w_jnl.c (__jnl, __ynl): Likewise.
19523 * math/w_lgammal.c (__lgammal): Likewise.
19524 * math/w_log10l.c (__log10l): Likewise.
19525 * math/w_log2l.c (__log2l): Likewise.
19526 * math/w_logl.c (__logl): Likewise.
19527 * math/w_powl.c (__powl): Likewise.
19528 * math/w_remainderl.c (__remainderl): Likewise.
19529 * math/w_scalbl.c (sysv_scalbl): Likewise.
19530 * math/w_sinhl.c (__sinhl): Likewise.
19531 * math/w_sqrtl.c (__sqrtl): Likewise.
19532 * math/w_tgammal.c (__tgammal): Likewise.
19533 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19534 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19535 * math/libm-test.inc (acos_test): Add more tests.
19536 (acosh_test): Likewise.
19537 (asin_test): Likewise.
19538 (atanh_test): Likewise.
19539 (exp_test): Likewise.
19540 (exp10_test): Likewise.
19541 (exp2_test): Likewise.
19542 (expm1_test): Likewise.
19543 (lgamma_test): Likewise.
19544 (log_test): Likewise.
19545 (log10_test): Likewise.
19546 (log1p_test): Likewise.
19547 (log2_test): Likewise.
19548 (pow_test): Do not allow some spurious overflow exceptions.
19549 (sqrt_test): Add more tests.
19550 (tgamma_test): Likewise.
19551 (y0_test): Likewise.
19552 (y1_test): Likewise.
19553 (yn_test): Likewise.
19555 2012-03-27 Anton Blanchard <anton@samba.org>
19557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19560 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19563 2012-03-27 David S. Miller <davem@davemloft.net>
19565 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19567 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19568 have-as-vis3 check.
19570 2012-03-27 Andreas Jaeger <aj@suse.de>
19572 * sysdeps/x86_64/elf/configure.in: Moved to ...
19573 * sysdeps/x86_64/configure.in: ... here.
19574 * sysdeps/x86_64/elf/start.S: Moved to ...
19575 * sysdeps/x86_64/start.S: ... here.
19576 * sysdeps/x86_64/elf/configure: Delete.
19578 * sysdeps/x86_64/configure.in: Merge contents from
19579 sysdeps/i386/configure.in (without i686 check).
19581 * sysdeps/i386/elf/Versions: Merge into ...
19582 * sysdeps/i386/Versions: ... this.
19583 * sysdeps/i386/elf/Versions: Delete file.
19584 * sysdeps/i386/elf/start.S: Moved to ...
19585 * sysdeps/i386/start.S: ...here.
19586 * sysdeps/i386/elf/configure.in: Merge into...
19587 * sysdeps/i386/configure.in: ...here.
19588 * sysdeps/i386/elf/configure.in: Delete file.
19589 * sysdeps/i386/elf/configure: Delete file.
19591 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19592 * debug/backtracesyms.c: ... here.
19593 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19594 * debug/backtracesymsfd.c: ... here.
19595 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19596 * sysdeps/generic/ifunc-sel.h: ... here.
19598 * sysdeps/unix/i386/start.c: Delete file.
19599 * sysdeps/unix/sparc/start.c: Delete file.
19600 * sysdeps/unix/start.c: Delete file.
19602 * sysdeps/sh/elf/configure.in: Moved to ...
19603 * sysdeps/sh/configure.in: ... here.
19604 * sysdeps/sh/elf/start.S: Moved to ...
19605 * sysdeps/sh/start.S: ... here.
19606 * sysdeps/sh/elf/configure: Delete file.
19608 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19609 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19610 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19611 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19612 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19613 * sysdeps/powerpc/powerpc64/start.S: here.
19614 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19615 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19616 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19617 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19618 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19620 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19621 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19622 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19623 * sysdeps/powerpc/powerpc32/start.S: ... here.
19624 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19625 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19626 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19628 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19629 * sysdeps/powerpc/ifunc-sel.h: ... here.
19630 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19631 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19633 * sysdeps/sparc/elf/configure.in: Moved to ...
19634 * sysdeps/sparc/configure.in: ... here.
19635 * sysdeps/sparc/elf/configure: Delete file.
19636 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19637 * sysdeps/sparc/sparc32/start.S: ... here.
19638 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19639 * sysdeps/sparc/sparc64/start.S: ... here.
19640 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19641 * sysdeps/sparc/sparc32/Makefile: ... this.
19642 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19643 * sysdeps/sparc/sparc64/Makefile: ... this.
19645 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19646 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19647 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19648 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19649 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19650 * sysdeps/s390/s390-32/setjmp.S: ... here.
19651 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19652 * sysdeps/s390/s390-32/configure.in: ... here.
19653 * sysdeps/s390/s390-32/elf/configure: Delete file.
19654 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19655 * sysdeps/s390/s390-32/start.S: ... here.
19657 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19658 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19659 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19660 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19661 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19662 * sysdeps/s390/s390-64/setjmp.S: ... here.
19663 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19664 * sysdeps/s390/s390-64/configure.in: ... here
19665 * sysdeps/s390/s390-64/elf/configure: Delete file.
19666 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19667 * sysdeps/s390/s390-64/start.S: ... here.
19668 * sysdeps/s390/s390-64/elf/configure: Delete.
19670 * configure.in: Remove support for elf directories in sysdeps.
19672 * configure: Regenerated.
19673 * sysdeps/i386/configure: Regenerated.
19674 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19675 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19676 * sysdeps/s390/s390-32/configure: Regenerated.
19677 * sysdeps/s390/s390-64/configure: Regenerated.
19678 * sysdeps/sh/configure: Regenerated.
19679 * sysdeps/sparc/configure: Regenerated.
19680 * sysdeps/x86_64/configure: Regenerated.
19682 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19687 denormal result into account.
19689 2012-03-25 Roland McGrath <roland@hack.frob.com>
19691 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19692 Reported by Allan McRae <allan@archlinux.org>.
19694 2012-03-23 Jeff Law <law@redhat.com>
19696 * nss/getnssent.c (__nss_getent): Fix typo.
19698 2012-03-23 David S. Miller <davem@davemloft.net>
19700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19702 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19704 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
19705 to pad to uint64_t for each field.
19706 (dl_tls_index): Replace unsigned long with uint64_t.
19708 2012-03-23 Daniel Jacobowitz <dmj@google.com>
19709 Paul Pluzhnikov <ppluzhnikov@google.com>
19712 * grp/Makefile (otherlibs): Don't set it.
19713 * inet/Makefile (otherlibs): Likewise.
19714 * login/Makefile (otherlibs): Likewise.
19715 * nscd/Makefile (otherlibs): Likewise.
19716 * posix/Makefile (otherlibs): Likewise.
19717 * pwd/Makefile (otherlibs): Likewise.
19718 * rt/Makefile (otherlibs): Likewise.
19719 * sunrpc/Makefile (otherlibs): Likewise.
19720 * nss/Makefile (otherlibs): Likewise.
19721 Add libnss_files to routines and static-only-routines.
19722 ($(objpfx)getent): Remove rule.
19723 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19724 static-only-routines.
19726 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19729 * math/s_cexp.c: Include <float.h>.
19730 (__cexp): Handle exp result overflowing not necessarily
19731 overflowing both real and imaginary parts of result.
19732 * math/s_cexpf.c: Likewise.
19733 * math/s_cexpl.c: Likewise.
19734 * math/libm-test.inc (cexp_test): Add more tests.
19735 * sysdeps/i386/fpu/libm-test-ulps: Update.
19736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19738 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19740 * include/link.h (ELFW): New macro.
19741 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
19742 Replace ELF64_R_TYPE with ELFW(R_TYPE).
19744 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19746 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19749 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19751 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19753 (struct La_x32_retval): Likewise.
19755 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19757 * sysdeps/x86_64/preconfigure.in: New file.
19758 * sysdeps/x86_64/preconfigure: New generated file.
19760 2012-03-22 Joseph Myers <joseph@codesourcery.com>
19763 * math/e_exp2l.c: Include <float.h>.
19764 (__ieee754_exp2l): Handle overflow and underflow cases
19765 separately. Only pass fractional part of argument to
19767 * math/libm-test.inc (exp2_test): Add more tests.
19769 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
19770 negating x to take absolute value.
19771 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19773 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19776 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
19777 computing low part if x was negated.
19778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19780 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19782 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
19783 la_x32_gnu_pltexit.
19784 (pltexit): Cast int_retval to ptrdiff_t.
19785 * elf/tst-auditmod3b.c: Likewise.
19786 * elf/tst-auditmod4b.c: Likewise.
19787 * elf/tst-auditmod5b.c: Likewise.
19788 * elf/tst-auditmod6b.c: Likewise.
19789 * elf/tst-auditmod6c.c: Likewise.
19790 * elf/tst-auditmod7b.c: Likewise.
19792 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19793 and x32_gnu_pltexit.
19795 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
19796 __ELF_NATIVE_CLASS.
19797 (La_x32_regs): New macro.
19798 (La_x32_retval): Likewise.
19799 (la_x32_gnu_pltenter): New function prototype.
19800 (la_x32_gnu_pltexit): Likewise.
19802 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19809 * configure.in (libc_cv_cc_nofma): Check for option to disable
19810 generation of FMA instructions.
19811 * configure: Regenerate.
19812 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
19813 * sysdeps/ieee754/dbl-64/Makefile: New file.
19814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19815 Remove brandred-fma4.
19816 (CFLAGS-brandred-fma4.c): Remove.
19817 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
19818 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
19820 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19823 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19825 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19826 LLONG_MAX != LONG_MAX.
19827 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19828 (_fitoa_word): Likewise.
19829 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
19830 LLONG_MAX != LONG_MAX.
19831 * stdio-common/_itowa.h: Include <_itoa.h>.
19832 (_itowa_word): Use _ITOA_WORD_TYPE on value.
19833 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
19834 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
19835 only if not defined.
19836 (_ITOA_WORD_TYPE): Likewise.
19837 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19838 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
19840 2012-03-21 David S. Miller <davem@davemloft.net>
19842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19844 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19846 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19847 of x86_64 when setting libc_cv_slibdir, libdir and
19849 * sysdeps/unix/sysv/linux/configure: Regenerated.
19851 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19853 * manual/lang.texi (Old Varargs): Remove section.
19854 (How Variadic): Update menu.
19855 (va_start): Do not mention varargs.h.
19857 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19858 Joseph Myers <joseph@codesourcery.com>
19860 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19862 * configure: Regenerated.
19864 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19866 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19867 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19870 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19873 * Makefile (files-for-dist): Remove NOTES.
19874 (NOTES): Remove rule.
19875 * README: Don't refer to NOTES.
19876 * manual/creature.texi: Don't include macros.texi.
19877 * manual/intro.texi (creature.texi): Remove comment referring to
19880 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
19881 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
19882 * configure: Regenerated.
19883 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
19884 LIBC_TRY_CC_OPTION.
19885 (libc_cv_as_i686): Likewise.
19886 (libc_cv_cc_avx): Likewise.
19887 (libc_cv_cc_sse2avx): Likewise.
19888 (libc_cv_cc_fma4): Likewise.
19889 (libc_cv_cc_novzeroupper): Likewise.
19890 * sysdeps/i386/configure: Regenerated.
19893 * sysdeps/i386/fpu/s_cexp.S: Remove.
19894 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19895 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19896 * math/libm-test.inc (cexp_test): Add more tests.
19897 * sysdeps/i386/fpu/libm-test-ulps: Update.
19898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19900 2012-03-21 Allan McRae <allan@archlinux.org>
19902 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19904 2012-03-21 Joseph Myers <joseph@codesourcery.com>
19907 * math/w_exp2.c: Do not include <float.h>.
19908 (o_threshold, u_threshold): Remove.
19909 (__exp2): Calculate result before checking finiteness and calling
19911 * math/w_exp2f.c: Likewise.
19912 * math/w_exp2l.c: Likewise.
19913 * math/libm-test.inc (exp2_test): Require overflow exception for
19917 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
19918 range of signed 64-bit integers before using fistpll. Remove
19919 checks for whether integers fit in mantissa bits.
19920 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
19921 the range of signed 32-bit integers before using fistpl. Remove
19922 checks for whether integers fit in mantissa bits.
19923 * sysdeps/i386/fpu/e_powl.S (p64): New object.
19924 (__ieee754_powl): Test for y outside the range of signed 64-bit
19925 integers before using fistpll. Reduce 64-bit values to 63-bit
19927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
19928 divide-by-zero is raised for zero to large negative powers.
19929 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
19930 (__ieee754_powl): Test for y outside the range of signed 64-bit
19931 integers before using fistpll. Reduce 64-bit values to 63-bit
19933 * math/libm-test.inc (pow_test): Add more tests.
19935 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19937 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
19938 <stdio-common/_itoa.h>.
19939 * debug/segfault.c: Likewise.
19940 * elf/dl-cache.c: Likewise.
19941 * elf/dl-minimal.c: Likewise.
19942 * elf/dl-misc.c: Likewise.
19943 * elf/dl-sysdep.c: Likewise.
19944 * elf/dl-version.c: Likewise.
19945 * elf/rtld.c: Likewise.
19946 * hurd/hurdsock.c: Likewise.
19947 * hurd/lookup-retry.c: Likewise.
19948 * malloc/malloc.c: Likewise.
19949 * malloc/mtrace.c: Likewise.
19950 * nscd/nscd_getgr_r.c: Likewise.
19951 * nscd/nscd_getpw_r.c: Likewise.
19952 * nscd/nscd_getserv_r.c: Likewise.
19953 * posix/getopt_init.c: Likewise.
19954 * posix/wordexp.c: Likewise.
19955 * stdio-common/_itoa.c: Likewise.
19956 * stdio-common/printf_fphex.c: Likewise.
19957 * stdio-common/vfprintf.c: Likewise.
19958 * string/_strerror.c: Likewise.
19959 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
19960 * sysdeps/i386/i686/hp-timing.h: Likewise.
19961 * sysdeps/mach/_strerror.c: Likewise.
19962 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
19963 * sysdeps/mach/hurd/sethostid.c: Likewise.
19964 * sysdeps/mach/hurd/xmknodat.c: Likewise.
19965 * sysdeps/mach/xpg-strerror.c: Likewise.
19966 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19967 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19968 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
19969 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
19970 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19971 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
19972 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
19973 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
19974 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
19975 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
19976 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
19977 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19978 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
19979 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19980 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
19982 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
19984 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19985 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19986 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
19988 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19990 * stdio-common/_itoa.h: Moved to ...
19991 * sysdeps/generic/_itoa.h: Here.
19993 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19995 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
19996 instead of "_itoa.h" and "_itowa.h".
19997 * stdio-common/vfprintf.: Likewise.
19999 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20001 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20003 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20004 (__signbit): Likwise.
20005 (llrintf): Likwise.
20008 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20010 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20013 2012-03-20 Joseph Myers <joseph@codesourcery.com>
20015 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20016 OVERFLOW_EXCEPTION_OK.
20017 * math/libm-test.inc ("Philosophy"): Update comment about
20019 (OVERFLOW_EXCEPTION): Define.
20020 (OVERFLOW_EXCEPTION_OK): Likewise.
20021 (INVALID_EXCEPTION_OK): Renumber.
20022 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20023 (IGNORE_ZERO_INF_SIGN): Likewise.
20024 (test_exceptions): Handle FE_OVERFLOW.
20025 (exp10_test): Expect overflow exceptions.
20026 (exp2_test): Likewise.
20027 (expm1_test): Likewise.
20028 (nextafter_test): Likewise.
20029 (pow_test): Likewise.
20030 (scalbn_test): Likewise.
20031 (scalbln_test): Likewise.
20033 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20035 * sysdeps/x86_64/bits/atomic.h
20036 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20038 (atomic_exchange_acq): Likewise.
20039 (__arch_exchange_and_add_body): Likewise.
20040 (__arch_add_body): Likewise.
20041 (atomic_add_negative): Likewise.
20042 (atomic_add_zero): Likewise.
20044 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20046 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
20047 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20049 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20051 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20052 Check __x86_64__ instead of __WORDSIZE.
20054 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20056 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20058 2012-03-19 David S. Miller <davem@davemloft.net>
20060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20062 * sysdeps/sparc/fpu/fenv_private.h: New file.
20063 * sysdeps/sparc/fpu/math_private.h: Use it.
20064 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20066 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20067 (libc_feholdexcept_setroundl): Remove.
20068 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20070 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20071 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20073 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20075 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20076 int64_t instead of long int.
20077 (INSERT_WORDS64): Likwise.
20079 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20081 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20082 _Unwind_GetCFA return to _Unwind_Ptr first.
20084 2012-03-19 Joseph Myers <joseph@codesourcery.com>
20087 * math/s_clog.c: Include <float.h>.
20088 (__clog): Scale large or subnormal inputs.
20089 * math/s_clogf.c: Likewise.
20090 * math/s_clogl.c: Likewise.
20091 * math/s_clog10.c: Include <float.h>.
20092 (M_LOG10_2): Define.
20093 (__clog10): Scale large or subnormal inputs.
20094 * math/s_clog10f.c: Likewise.
20095 * math/s_clog10l.c: Likewise.
20096 * math/libm-test.inc (clog_test): Add more tests.
20097 (clog10_test): Likewise.
20098 * sysdeps/i386/fpu/libm-test-ulps: Update.
20099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20102 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20104 * math/libm-test.inc (atan2_test): Add another test.
20106 * Makerules (common-objdir-compile): Remove.
20107 * sysdeps/unix/Makefile (config-generated): Do not add
20108 $(unix-generated) to variable.
20109 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20110 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20112 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20114 [generic bits/local_lim.h] (before-compile): Do not append to
20116 [generic bits/local_lim.h] (common-generated): Likewise.
20117 [generic sys/param.h] (before-compile): Do not append to variable.
20118 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20119 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20120 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20121 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20123 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20124 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20125 [generic sys/param.h] ($(addprefix
20126 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20127 [generic sys/param.h] (common-generated): Do not append to
20129 [generic sys/param.h] (sysdep_headers): Likewise.
20130 [generic bits/errno.h] (before-compile): Do not append to
20132 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20134 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20135 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20136 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20137 [generic bits/errno.h] (common-generated): Do not append to
20139 [generic bits/ioctls.h] (before-compile): Do not append to
20141 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20143 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20144 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20145 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20147 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20148 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20149 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20150 [generic bits/ioctls.h] (common-generated): Do not append to
20152 [generic sys/syscall.h] (syscall.h): Remove variable.
20153 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20155 [generic sys/syscall.h] (before-compile): Do not append to
20157 [generic sys/syscall.h] (common-generated): Likewise.
20158 * sysdeps/unix/errnos-tmpl.c: Remove file.
20159 * sysdeps/unix/errnos.awk: Likewise.
20160 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20161 * sysdeps/unix/ioctls.awk: Likewise.
20162 * sysdeps/unix/mk-local_lim.c: Likewise.
20163 * sysdeps/unix/snarf-ioctls: Likewise.
20165 2012-03-19 Richard Henderson <rth@twiddle.net>
20167 * sysdeps/i386/fpu/fenv_private.h: New file.
20168 * sysdeps/i386/fpu/math_private.h: Use it.
20169 (math_opt_barrier, math_force_eval): Remove.
20170 (libc_feholdexcept_setround_53bit): Remove.
20171 (libc_feupdateenv_53bit): Remove.
20172 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20173 (math_opt_barrier, math_force_eval): Remove.
20174 (libc_feholdexcept): Remove.
20175 (libc_feholdexcept_setround): Remove.
20176 (libc_fetestexcept, libc_fesetenv): Remove.
20177 (libc_feupdateenv_test): Remove.
20178 (libc_feupdateenv, libc_feholdsetround): Remove.
20179 (libc_feresetround): Remove.
20181 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20182 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20184 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20185 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20186 (libc_feupdateenv_testl): New.
20187 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20188 (libc_feupdateenv_testf): New.
20189 (libc_feupdateenv): Use libc_feupdateenv_test.
20190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20191 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20193 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20194 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20195 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20196 (libc_feresetround_noex): New.
20197 (libc_feresetround_noexf): New.
20198 (libc_feresetround_noexl): New.
20199 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20200 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20201 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20202 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20207 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20208 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20209 SET_RESTORE_ROUND_NOEX.
20210 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20211 SET_RESTORE_ROUND_NOEXF.
20212 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20213 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20214 (libc_feholdsetroundf): New.
20215 (libc_feresetround, libc_feresetroundf): New.
20217 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20218 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20219 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20221 * sysdeps/generic/math_private.h: Include <fenv.h>.
20222 (default_libc_feholdexcept): New.
20223 (default_libc_feholdexcept_setround): New.
20224 (default_libc_fesetenv, default_libc_feupdateenv): New.
20225 (libc_feholdexcept): Only define if undefined.
20226 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20227 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20228 (libc_feholdexcept_setroundl): Likewise.
20229 (libc_feholdexcept_setround_53bit): Likewise.
20230 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20231 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20232 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20233 (libc_feupdateenv_53bit): Likewise.
20234 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20235 (libc_feholdexcept): Convert from macro to inline function.
20236 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20237 (libc_fesetenv, libc_feupdateenv): Likewise.
20239 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20240 not previously defined.
20241 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20242 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20243 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20244 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20245 * sysdeps/ieee754/flt-32/math_private.h: New file.
20246 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20247 math_private.h below SET_FLOAT_WORD.
20248 (__isnan, __isinf_ns, __finite): Remove.
20249 (__isnanf, __isinf_nsf, __finitef): Remove.
20251 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20255 2012-03-17 David S. Miller <davem@davemloft.net>
20258 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20261 2012-03-16 David S. Miller <davem@davemloft.net>
20263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20267 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20269 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20270 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20271 sysdep_routines when subdir is sysvipc.
20272 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20273 __getshmlba helper.
20275 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20277 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20279 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20282 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20284 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20285 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20286 (__lround): Renamed to ...
20287 (__llround): This. Replace long int with long long int.
20288 Define lround functions as aliases of llround functions.
20289 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20291 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20293 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20294 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20295 adresses to uintptr_t. Replace "long int" and "unsigned long
20296 int" with "greg_t" on va_arg.
20298 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20300 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20301 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20303 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20304 Move e_machine check before EI_CLASS check. Handle x32
20305 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20306 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20307 SKIP_EM_IA_64 and include
20308 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20310 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20311 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20312 (add_system_dir): New macro.
20314 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20315 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20317 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20328 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20330 * math/w_j0f.c (j0f): Likewise.
20332 * math/w_j0l.c (__j0l): Likewise.
20334 * math/w_j1.c (j1): Likewise.
20336 * math/w_j1f.c (j1f): Likewise.
20338 * math/w_j1l.c (__j1l): Likewise.
20340 * math/w_jn.c (jn): Likewise.
20342 * math/w_jnf.c (jnf): Likewise.
20344 * math/w_jnl.c (__jnl): Likewise.
20346 * math/libm-test.inc (j0_test): Add more tests.
20347 (j1_test): Likewise.
20348 (jn_test): Likewise. Add trailing semicolon to existing test.
20349 (y0_test): Likewise.
20350 (y1_test): Likewise.
20351 * sysdeps/i386/fpu/libm-test-ulps: Update.
20352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20356 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20357 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20358 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20359 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20360 (__tanl): Set errno for infinite argument.
20361 * sysdeps/i386/fpu/mptan.c: Remove.
20362 * sysdeps/i386/fpu/s_tan.S: Likewise.
20363 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20364 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20365 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20366 * math/libm-test.inc (tan_test): Add more tests and enable more
20367 tests for double and long double.
20368 * sysdeps/i386/fpu/libm-test-ulps: Update.
20369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20371 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20373 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20374 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20376 2012-03-16 Roland McGrath <roland@hack.frob.com>
20378 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20379 * configure.in: Use it for both main tree and add-ons.
20380 * configure: Regenerated.
20382 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20384 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20386 2012-03-16 Joseph Myers <joseph@codesourcery.com>
20388 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20392 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20393 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20398 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20400 != 0 for prec == 2.
20401 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20402 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20403 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20404 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20405 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20406 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20407 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20408 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20409 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20410 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20411 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20412 * math/libm-test.inc (cos_test): Add more tests and enable more
20413 tests for long double.
20414 (sin_test): Likewise.
20415 (sincos_test): Likewise.
20416 * sysdeps/i386/fpu/libm-test-ulps: Update.
20417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20419 2012-03-16 David S. Miller <davem@davemloft.net>
20421 * sysdeps/sparc/fpu/math_private.h: New file.
20423 2012-03-15 David S. Miller <davem@davemloft.net>
20425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
20428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20435 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20439 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20440 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20442 * sysdeps/sparc/sparc-ifunc.h: New file.
20443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
20459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20482 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20488 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20490 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20494 2012-03-15 Andreas Jaeger <aj@suse.de>
20497 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20498 ieee754/flt-32 implementation for sin, cos and sincos.
20499 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20500 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20501 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20502 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20503 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20504 ieee754/flt-32 implementation for tan.
20506 * math/libm-test.inc (cos_test): Enable some large input tests for
20508 (sin_test): Likewise.
20509 (sincos_test): Likewise.
20510 (tan_test): Add tests for large input.
20512 * sysdeps/i386/fpu/libm-test-ulps: Update.
20514 2012-03-15 Andreas Jaeger <aj@suse.de>
20517 * math/libm-test.inc (cos_test): Add more test cases.
20518 (sin_test): Likewise.
20519 (sincos_test): Likewise.
20521 2012-03-15 Andreas Jaeger <aj@suse.de>
20524 * math/libm-test.inc (cos_test): Add a test case for large input
20526 (sin_test): Likewise.
20527 (sincos_test): Likewise.
20529 2012-03-15 Andreas Jaeger <aj@suse.de>,
20530 Joseph Myers <joseph@codesourcery.com>
20533 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
20534 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20535 * sysdeps/i386/fpu/branred.c: Likewise.
20536 * sysdeps/i386/fpu/dosincos.c: Likewise.
20537 * sysdeps/i386/fpu/mpa.c: Likewise.
20538 * sysdeps/i386/fpu/s_cos.S: Likewise.
20539 * sysdeps/i386/fpu/s_sin.S: Likewise.
20540 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20541 * sysdeps/i386/fpu/sincos32.c: Likewise.
20543 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20545 (libc_feupdateenv_53bit): Define.
20546 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20548 (libc_feupdateenv_53bit): Define.
20550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20551 53 bit (without extend i386 double precision).
20553 * math/libm-test.inc (sincos_test): Add tests for large input.
20557 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20559 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20563 2012-03-15 David S. Miller <davem@davemloft.net>
20565 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20566 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20567 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20568 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
20586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20593 fmin/fmax sysdep routines.
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20596 2012-03-14 David S. Miller <davem@davemloft.net>
20598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
20626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
20631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
20637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
20640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
20643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
20658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
20661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
20664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
20667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20670 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20675 * sysdeps/sparc/configure.in: New file.
20676 * sysdeps/sparc/configure: Generate.
20677 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20678 * configure: Regenerate.
20679 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20680 * config.make.in (have-as-vis3): New.
20681 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20682 available use -Av9d instead of -Av9a.
20683 * sysdeps/sparc/sparc64/Makefile: Likewise.
20684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
20685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
20696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
20697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
20699 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20700 fzeros/fnegs to load 0x80000000 into a float register instead of
20702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20704 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20708 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
20709 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
20710 ($(inst_includedir)/bits/syscall.h): Remove rule.
20711 ($(objpfx)bits/syscall.d): Include instead of
20712 $(objpfx)syscall-list.d.
20713 (generated): Change syscall-list.h and syscall-list.d to
20714 bits/syscall.h and bits/syscall.d.
20716 2012-03-14 Roland McGrath <roland@hack.frob.com>
20719 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20721 2012-03-14 Joseph Myers <joseph@codesourcery.com>
20724 * math/s_csqrt.c: Include <float.h>.
20725 (__csqrt): Scale large or subnormal inputs.
20726 * math/s_csqrtf.c: Likewise.
20727 * math/s_csqrtl.c: Likewise.
20728 * math/libm-test.inc (csqrt_test): Add more tests.
20729 * sysdeps/i386/fpu/libm-test-ulps: Update.
20730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20733 * math/libm-test.inc (hypot_test): Add more tests.
20735 2012-03-13 David S. Miller <davem@davemloft.net>
20738 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20739 double-precision for the calculation instead of scaling.
20741 2012-03-13 Joseph Myers <joseph@codesourcery.com>
20743 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
20744 manipulate bits before adding and subtracting TWO52[sx].
20745 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
20746 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
20748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20750 2012-03-13 David S. Miller <davem@davemloft.net>
20752 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
20753 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
20754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
20755 rtld-global-offsets.h
20756 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20758 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20761 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20763 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20764 'err' in the ifdef scope in which it is actually used.
20766 * nss/nss_db/db-init.c: Include string.h
20768 2012-03-12 David S. Miller <davem@davemloft.net>
20770 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20771 masking out of the most significant byte of random value used.
20772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20773 Fix coding style in previous change.
20775 * sysdeps/unix/sysv/linux/kernel-features.h
20776 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
20777 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
20779 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20782 2012-03-11 David S. Miller <davem@davemloft.net>
20784 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20785 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
20786 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
20787 for 'resultvar' otherwise things get truncated on 64-bit.
20789 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20790 Fix masking out of the most significant byte of random value used.
20792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20794 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20798 2012-03-09 David S. Miller <davem@davemloft.net>
20800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
20801 variables with appropriate CPP guards.
20802 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
20803 frame pointer, not the stack pointer. Correct layout comments. Fix test
20804 on resulting framesize and the management of the outregs buffer for pltexit.
20805 Preserve floating point return values across _dl_call_pltexit call.
20806 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
20807 framesize and the management of the outregs buffer for pltexit.
20808 Preserve floating point return values across _dl_call_pltexit
20810 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
20811 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
20812 (print_exit): Fix format string for return register value.
20814 2012-03-10 Joseph Myers <joseph@codesourcery.com>
20816 * sunrpc/Makefile (others): Add rpcgen.
20817 ($(objpfx)rpcgen): Remove special build rule and dependency on
20819 * sunrpc/rpcgen.c: New file.
20821 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20824 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
20825 * stdio-common/bug-vfprintf-nargs.c: Likewise.
20826 * sysdeps/i386/crti.S: Likewise.
20827 * sysdeps/i386/crtn.S: Likewise.
20828 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
20829 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
20830 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
20831 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
20832 * sysdeps/sh/crti.S: Likewise.
20833 * sysdeps/sh/crtn.S: Likewise.
20834 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20837 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20839 * locale/programs/locfile-kw.gperf: Likewise.
20840 * locale/programs/charmap-kw.h: Regenerated.
20841 * locale/programs/locfile-kw.h: Likewise.
20844 * intl/plural.y: Replace FSF snail mail address with URL.
20845 * intl/plural.c: Regenerated.
20847 2012-03-09 Richard Henderson <rth@twiddle.net>
20849 * include/math_private.h: Remove file.
20850 * math/math_private.h: Move file ...
20851 * sysdeps/generic/math_private.h: ... here.
20853 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
20854 * sysdeps/powerpc/fpu/math_private.h: Likewise.
20855 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20857 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
20858 and <math_private.h>.
20859 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20860 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20861 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20862 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20863 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20873 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20880 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20881 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20889 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20892 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20893 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20895 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20901 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20905 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
20906 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20909 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20910 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
20911 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20912 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20915 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20916 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20918 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
20919 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20920 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20922 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20923 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
20924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
20928 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
20929 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20930 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
20947 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20948 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20949 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20950 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20952 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20953 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20954 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20955 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20956 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20958 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20959 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20960 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20961 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20962 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20964 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20965 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20966 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20967 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20969 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20970 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20971 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20972 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20973 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
20974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20975 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20976 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20977 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20978 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20980 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20981 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20982 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
20983 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20984 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20985 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20986 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
20987 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20988 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
20989 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
20990 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20991 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20992 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
20993 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
20994 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20995 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20997 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
20998 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20999 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21000 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21001 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21002 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21003 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21004 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21005 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21006 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21007 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21008 * sysdeps/ieee754/k_standard.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21052 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21059 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21060 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21061 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21082 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21086 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21091 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21100 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21106 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21107 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21108 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21112 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21113 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21116 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21124 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21128 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21131 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21136 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21141 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21143 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21145 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21147 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21158 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21159 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21169 * sysdeps/ieee754/s_lib_version.c: Likewise.
21170 * sysdeps/ieee754/s_matherr.c: Likewise.
21171 * sysdeps/ieee754/s_signgam.c: Likewise.
21172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21174 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21175 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21176 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21177 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21178 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21179 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21180 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21181 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21182 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21183 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21184 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21185 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21186 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21187 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21188 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21189 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21190 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21194 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21196 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21197 * sunrpc/rpc_main.c: Likewise.
21198 * sunrpc/rpc_svcout.c: Likewise.
21200 2012-03-09 David S. Miller <davem@davemloft.net>
21202 * include/math_private.h: New file.
21204 2012-03-09 Joseph Myers <joseph@codesourcery.com>
21206 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21207 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21208 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21209 from <bits/socket_type.h>.
21210 (enum __socket_type): Don't define here.
21211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21213 bits/socket_type.h.
21216 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21217 checking __USE_GNU.
21219 * Makerules ($(inst_includedir)/%.h): New rule.
21220 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21221 (install-others): Remove variable setting.
21222 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21224 2012-03-08 Richard Henderson <rth@twiddle.net>
21226 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21227 from macro to inline function; merge with the
21228 !__LIBC_INTERNAL_MATH_INLINES version.
21229 (__ieee754_sqrtf): Likewise.
21231 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21232 to inline function.
21233 (__rintf, __floor, __floorf): Likewise.
21235 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21236 macro to inline function.
21237 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21239 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21240 not <math/math_private.h>.
21242 2012-03-08 David S. Miller <davem@davemloft.net>
21244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21246 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21248 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21250 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21252 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21253 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21255 2012-03-08 Ulrich Drepper <drepper@gmail.com>
21257 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21258 be defined individually, they must be defined as a block. Define
21259 S for printing a string instead of hidint the different by using a
21260 macro for adding the 'l'.
21261 * stdio-common/tst-fphex-wide.c: Adjust.
21263 2012-03-07 Marek Polacek <polacek@redhat.com>
21265 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21267 2012-03-08 Marek Polacek <polacek@redhat.com>
21270 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21271 * stdio-common/tst-fphex.c: Define a few macros to make the
21272 test reusable. Use them.
21273 * stdio-common/tst-fphex-wide.c: New file.
21275 2012-03-08 Joseph Myers <joseph@codesourcery.com>
21278 * manual/macros.texi (gnusystems): New macro.
21279 (nongnusystems): Likewise.
21280 (gnulinuxhurdsystems): Likewise.
21281 (gnuhurdsystems): Likewise..
21282 (gnulinuxsystems): Likewise.
21283 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21284 variants of the GNU system, not "GNU system".
21285 * manual/conf.texi: Likewise.
21286 * manual/errno.texi: Likewise. Update example of errno macro
21288 * manual/filesys.texi: Likewise.
21289 (getumask): Document as specific to GNU/Hurd.
21290 * manual/install.texi: Likewise. Reword some references to
21292 * manual/intro.texi: Likewise.
21293 * manual/io.texi: Likewise.
21294 (File Name Portability): Detail which constraints are inapplicable
21295 to all GNU systems and which are only inapplicable to GNU/Hurd.
21296 * manual/job.texi: Likewise.
21297 * manual/llio.texi: Likewise.
21298 (O_NOCTTY): Document as present on GNU/Linux.
21299 * manual/maint.texi: Likewise.
21300 * manual/memory.texi: Likewise.
21301 * manual/pattern.texi: Likewise.
21302 * manual/pipe.texi: Likewise.
21303 * manual/process.texi: Likewise.
21304 * manual/resource.texi: Likewise.
21305 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21307 * manual/setjmp.texi: Likewise.
21308 * manual/signal.texi: Likewise.
21309 * manual/startup.texi: Likewise.
21310 * manual/stdio.texi: Likewise.
21311 * manual/terminal.texi: Likewise.
21312 (ONLCR): Document as POSIX.
21313 (OXTABS): Document availability on GNU/Linux as XTABS.
21314 (ONOEOT): Document availability separately from other bits.
21315 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21316 * manual/time.texi: Likewise.
21317 * manual/users.texi: Likewise.
21318 * INSTALL: Regenerated.
21319 * sysdeps/gnu/errlist.c: Regenerated.
21321 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21322 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21323 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21325 * configure: Regenerated.
21327 2012-03-07 Joseph Myers <joseph@codesourcery.com>
21329 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21330 default includes instead of AC_HEADER_CHECK.
21331 * sysdeps/i386/configure: Regenerated.
21334 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21335 * math/s_cacoshf.c (__cacoshf): Likewise.
21336 * math/s_cacoshl.c (__cacoshl): Likewise.
21337 * math/s_casinh.c (__casinh): Set signs of result from argument.
21338 * math/s_casinhf.c (__casinhf): Likewise.
21339 * math/s_casinhl.c (__casinhl): Likewise.
21340 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21341 (casinh_test): Add more tests.
21342 * sysdeps/i386/fpu/libm-test-ulps: Update.
21343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21345 2012-03-07 Ulrich Drepper <drepper@gmail.com>
21347 * po/zh_TW.po: Update from translation team.
21349 * login/Makefile (distribute): Remove variable.
21350 * catgets/Makefile: Likewise.
21351 * mach/Makefile: Likewise.
21352 * malloc/Makefile: Likewise.
21353 * misc/Makefile: Likewise.
21354 * iconv/Makefile: Likewise.
21355 * nscd/Makefile: Likewise.
21356 * hurd/Makefile: Likewise.
21357 * manual/Makefile: Likewise.
21358 * locale/Makefile: Likewise.
21359 * intl/Makefile: Likewise.
21360 * conform/Makefile: Likewise.
21361 * nss/Makefile: Likewise.
21362 * time/Makefile: Likewise.
21363 * soft-fp/Makefile: Likewise.
21364 * dirent/Makefile: Likewise.
21365 * gmon/Makefile: Likewise.
21366 * po/Makefile: Likewise.
21367 * rt/Makefile: Likewise.
21368 * socket/Makefile: Likewise.
21369 * math/Makefile: Likewise.
21370 * signal/Makefile: Likewise.
21371 * debug/Makefile: Likewise.
21372 * elf/Makefile: Likewise.
21373 * timezone/Makefile: Likewise.
21374 * stdlib/Makefile: Likewise.
21375 * iconvdata/Makefile: Likewise.
21376 * sunrpc/Makefile: Likewise.
21377 * io/Makefile: Likewise.
21378 * argp/Makefile: Likewise.
21379 * inet/Makefile: Likewise.
21380 * hesiod/Makefile: Likewise.
21381 * grp/Makefile: Likewise.
21382 * csu/Makefile: Likewise.
21383 * wctype/Makefile: Likewise.
21384 * crypt/Makefile: Likewise.
21385 * libio/Makefile: Likewise.
21386 * string/Makefile: Likewise.
21387 * nis/Makefile: Likewise.
21388 * resolv/Makefile: Likewise.
21389 * stdio-common/Makefile: Likewise.
21390 * wcsmbs/Makefile: Likewise.
21391 * dlfcn/Makefile: Likewise.
21392 * posix/Makefile: Likewise.
21395 * timezone/Makefile: Don't install timezone files, just the programs
21398 2012-03-06 Ulrich Drepper <drepper@gmail.com>
21400 * nss/databases.def: Add missing gshadow entry.
21402 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21404 2012-03-06 Marek Polacek <polacek@redhat.com>
21407 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21408 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21409 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21410 * stdio-common/tst-long-dbl-fphex.c: New file.
21412 2012-03-06 David S. Miller <davem@davemloft.net>
21414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21415 (set_obp_int): New function.
21416 (get_obp_int): New function.
21417 (__get_clockfreq_via_dev_openprom): Likewise.
21418 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21419 Avoid unused variable warnings on 'val' and use builtin_expect.
21420 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21422 (INLINE_CLONE_SYSCALL): Likewise.
21424 2012-03-05 David S. Miller <davem@davemloft.net>
21426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21428 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21432 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21433 only for |x| >= 40.
21434 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21436 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
21438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21439 Replace gettimeofday with __vdso_gettimeofday.
21441 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21442 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21443 __vdso_clock_gettime and __vdso_getcpu.
21445 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21446 time with __vdso_time.
21448 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21450 * manual/lang.texi (size_t): Note types to which size_t may be
21451 equivalent with the GNU C Library, but do not describe when
21452 differences between them are significant.
21454 2012-03-05 Andreas Jaeger <aj@suse.de>
21456 * sysdeps/i386/fpu/libm-test-ulps: Update.
21458 2012-03-05 Joseph Myers <joseph@codesourcery.com>
21461 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21462 (__ieee754_pow): Save and restore rounding mode and use
21463 round-to-nearest for main computations.
21464 * math/libm-test.inc (pow_test_tonearest): New function.
21465 (pow_test_towardzero): Likewise.
21466 (pow_test_downward): Likewise.
21467 (pow_test_upward): Likewise.
21468 (main): Call the new functions.
21469 * sysdeps/i386/fpu/libm-test-ulps: Update.
21470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21473 * math/libm-test.inc (cosh_test_tonearest): New function.
21474 (cosh_test_towardzero): Likewise.
21475 (cosh_test_downward): Likewise.
21476 (cosh_test_upward): Likewise.
21477 (sinh_test_tonearest): Likewise.
21478 (sinh_test_towardzero): Likewise.
21479 (sinh_test_downward): Likewise.
21480 (sinh_test_upward): Likewise.
21481 (main): Call the new functions.
21482 * sysdeps/i386/fpu/libm-test-ulps: Update.
21483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21485 2012-03-05 Tom de Vries <tom@codesourcery.com>
21487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21488 default stack guard is set in last bytes.
21489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21491 2012-03-05 Kees Cook <keescook@chromium.org>
21493 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
21496 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21497 possibly allocate from heap instead of stack.
21498 * stdio-common/bug-vfprintf-nargs.c: New file.
21499 * stdio-common/Makefile (tests): Add nargs overflow test.
21501 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21505 2012-03-03 Marek Polacek <polacek@redhat.com>
21507 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21508 * math/math_private.h: Likewise.
21509 * stdlib/tst-strtod.c: Likewise.
21510 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21511 * sysdeps/x86_64/bits/atomic.h: Likewise.
21513 2012-03-02 David S. Miller <davem@davemloft.net>
21515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21519 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21520 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21521 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21522 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21524 2012-03-02 Roland McGrath <roland@hack.frob.com>
21527 * manual/examples/README: New file, says the example source files
21528 can be used under GPL>=2.
21529 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21530 line containing just "*/".
21531 * manual/examples/add.c: Add copyright header (GPL>=2).
21532 * manual/examples/argp-ex1.c: Likewise.
21533 * manual/examples/argp-ex2.c: Likewise.
21534 * manual/examples/argp-ex3.c: Likewise.
21535 * manual/examples/argp-ex4.c: Likewise.
21536 * manual/examples/atexit.c: Likewise.
21537 * manual/examples/db.c: Likewise.
21538 * manual/examples/dir.c: Likewise.
21539 * manual/examples/dir2.c: Likewise.
21540 * manual/examples/execinfo.c: Likewise.
21541 * manual/examples/filecli.c: Likewise.
21542 * manual/examples/filesrv.c: Likewise.
21543 * manual/examples/fmtmsgexpl.c: Likewise.
21544 * manual/examples/genpass.c: Likewise.
21545 * manual/examples/inetcli.c: Likewise.
21546 * manual/examples/inetsrv.c: Likewise.
21547 * manual/examples/isockad.c: Likewise.
21548 * manual/examples/longopt.c: Likewise.
21549 * manual/examples/memopen.c: Likewise.
21550 * manual/examples/memstrm.c: Likewise.
21551 * manual/examples/mkfsock.c: Likewise.
21552 * manual/examples/mkisock.c: Likewise.
21553 * manual/examples/mygetpass.c: Likewise.
21554 * manual/examples/pipe.c: Likewise.
21555 * manual/examples/popen.c: Likewise.
21556 * manual/examples/rprintf.c: Likewise.
21557 * manual/examples/search.c: Likewise.
21558 * manual/examples/select.c: Likewise.
21559 * manual/examples/setjmp.c: Likewise.
21560 * manual/examples/sigh1.c: Likewise.
21561 * manual/examples/sigusr.c: Likewise.
21562 * manual/examples/stpcpy.c: Likewise.
21563 * manual/examples/strdupa.c: Likewise.
21564 * manual/examples/strftim.c: Likewise.
21565 * manual/examples/strncat.c: Likewise.
21566 * manual/examples/subopt.c: Likewise.
21567 * manual/examples/swapcontext.c: Likewise.
21568 * manual/examples/termios.c: Likewise.
21569 * manual/examples/testopt.c: Likewise.
21570 * manual/examples/testpass.c: Likewise.
21571 * manual/examples/timeval_subtract.c: Likewise.
21574 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21576 * manual/timeval_subtract.c.texi: ... here, new file.
21578 2012-03-02 David S. Miller <davem@davemloft.net>
21580 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21582 2012-03-02 Joseph Myers <joseph@codesourcery.com>
21585 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21586 (__sin): Save and restore rounding mode and use round-to-nearest
21587 for all computations.
21588 (__cos): Save and restore rounding mode and use round-to-nearest
21589 for all computations.
21590 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21592 (tan): Save and restore rounding mode and use round-to-nearest for
21594 * math/libm-test.inc (cos_test_tonearest): New function.
21595 (cos_test_towardzero): Likewise.
21596 (cos_test_downward): Likewise.
21597 (cos_test_upward): Likewise.
21598 (sin_test_tonearest): Likewise.
21599 (sin_test_towardzero): Likewise.
21600 (sin_test_downward): Likewise.
21601 (sin_test_upward): Likewise.
21602 (tan_test_tonearest): Likewise.
21603 (tan_test_towardzero): Likewise.
21604 (tan_test_downward): Likewise.
21605 (tan_test_upward): Likewise.
21606 (main): Call the new functions.
21607 * sysdeps/i386/fpu/libm-test-ulps: Update.
21608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21611 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21612 small n, then large n, before computing and testing k+n.
21613 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21618 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21619 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21622 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21623 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21626 * math/libm-test.inc (scalbn_test): Add more tests.
21627 (scalbln_test): Likewise.
21629 * manual/filesys.texi (mode_t): Describe constraints on size and
21630 signedness, not exact equivalence to a particular type.
21632 (ino64_t): Likewise.
21634 (nlink_t): Likewise.
21635 (blkcnt_t): Likewise.
21636 (blkcnt64_t): Likewise.
21637 * manual/llio.texi (off_t): Likewise.
21640 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21641 (__ieee754_exp): Save and restore rounding mode and use
21642 round-to-nearest for all computations.
21643 * math/libm-test.inc (exp_test_tonearest): New function.
21644 (exp_test_towardzero): Likewise.
21645 (exp_test_downward): Likewise.
21646 (exp_test_upward): Likewise.
21647 (main): Call the new functions.
21648 * sysdeps/i386/fpu/libm-test-ulps: Update.
21649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21651 2012-03-01 Chris Demetriou <cgd@google.com>
21653 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21654 have predictable order.
21656 2012-03-01 David S. Miller <davem@davemloft.net>
21658 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21660 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21661 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21662 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21663 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21665 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21666 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21667 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21669 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21670 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21671 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21672 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21673 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21677 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21678 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21679 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21681 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21682 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21683 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21684 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21685 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21689 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21690 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21691 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21692 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21694 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21695 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21697 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
21698 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
21699 * sysdeps/sparc/elf/configure: Regenerated.
21701 2012-03-01 Joseph Myers <joseph@codesourcery.com>
21703 * configure.in (AS, LD): Require binutils 2.20 or later.
21704 * configure: Regenerated.
21705 * manual/install.texi (Tools for Compilation): Give binutils 2.20
21706 as required minimum version.
21707 * INSTALL: Regenerated.
21711 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
21712 before squaring exponent.
21713 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
21714 bottom long double and 27 bits of top long double before squaring
21716 * math/libm-test.inc (erfc_test): Add more tests.
21717 * sysdeps/i386/fpu/libm-test-ulps: Update.
21718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21721 2012-03-01 Kai Tietz <ktietz@redhat.com>
21723 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
21724 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
21725 containing bit-fields.
21726 * soft-fp/extended.h (_FP_UNION_E): Likewise.
21727 * soft-fp/single.h (_FP_UNION_S): Likewise.
21728 * soft-fp/double.h (_FP_UNION_D): Likewise.
21730 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21733 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
21734 not include ../strcmp.S.
21735 [USE_AS_STRNCASECMP_L]: Likewise.
21736 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
21737 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
21738 * sysdeps/i386/i686/multiarch/strncase_l-c.c
21739 (__strncasecmp_l_ia32): Define as alias to
21740 __strncasecmp_l_nonascii.
21743 * math/libm-test.inc (expm1_test): Add test for bug 5794.
21744 * sysdeps/i386/fpu/libm-test-ulps: Update.
21745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21747 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21750 2012-02-29 Jeff Law <law@redhat.com>
21752 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21753 out of bounds read.
21755 2012-02-29 Marek Polacek <polacek@redhat.com>
21758 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
21759 * elf/Makefile: Add rules to run tst-unused-dep.out.
21761 2012-02-28 David S. Miller <davem@davemloft.net>
21763 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
21764 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
21765 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
21766 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
21767 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
21768 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
21770 2012-02-29 Joseph Myers <joseph@codesourcery.com>
21772 * math/libm-test.inc (llround_test): Move one test from
21773 lround_test. Use TEST_f_L in moved test.
21774 (lround_test): Move misplaced test to llround_test. Add testcase
21777 2012-02-28 Ulrich Drepper <drepper@gmail.com>
21779 * sysdeps/x86_64/fpu/e_expf.S: New file.
21780 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21782 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21785 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21786 of remain_len that may cause incomplete multi-byte character and
21788 * posix/bug-regex33.c: New file.
21789 * posix/Makefile (tests): Add bug-regex33.
21791 2012-02-28 Joseph Myers <joseph@codesourcery.com>
21793 * manual/macros.texi: New file.
21794 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
21795 * manual/libc.texinfo: Include macros.texi.
21796 * manual/creatute.texi: Likewise.
21797 * manual/install.texi: Likewise.
21798 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
21799 @glibcadj{} in references to the GNU C Library.
21800 * manual/charset.texi: Likewise.
21801 * manual/conf.texi: Likewise.
21802 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
21803 when not using those macros.
21804 * manual/creature.texi: Likewise.
21805 * manual/crypt.texi: Likewise.
21806 * manual/errno.texi: Likewise.
21807 * manual/filesys.texi: Likewise.
21808 * manual/header.texi: Likewise.
21809 * manual/install.texi: Likewise.
21810 * manual/intro.texi: Likewise.
21811 * manual/io.texi: Likewise.
21812 * manual/job.texi: Likewise.
21813 * manual/lang.texi: Likewise.
21814 * manual/libc.texiinfo: Likewise.
21815 * manual/llio.texi: Likewise.
21816 * manual/locale.texi: Likewise.
21817 * manual/maint.texi: Likewise.
21818 * manual/math.texi: Likewise.
21819 * manual/memory.texi: Likewise.
21820 * manual/message.texi: Likewise.
21821 * manual/nss.texi: Likewise.
21822 * manual/pattern.texi: Likewise.
21823 * manual/process.texi: Likewise.
21824 * manual/resource.texi: Likewise.
21825 * manual/search.texi: Likewise.
21826 * manual/setjmp.texi: Likewise.
21827 * manual/signal.texi: Likewise.
21828 * manual/socket.texi: Likewise.
21829 * manual/startup.texi: Likewise.
21830 * manual/stdio.texi: Likewise.
21831 * manual/string.texi: Likewise.
21832 * manual/sysinfo.texi: Likewise.
21833 * manual/syslog.texi: Likewise.
21834 * manual/terminal.texi: Likewise.
21835 * manual/time.texi: Likewise.
21836 * manual/users.texi: Likewise.
21837 * INSTALL: Regenerated.
21838 * NOTES: Regenerated.
21839 * sysdeps/gnu/errlist.c: Regenerated.
21841 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21843 * include/dirent.h: Include <dirstream.h> before
21846 2012-02-28 David S. Miller <davem@davemloft.net>
21848 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
21849 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
21850 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
21851 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
21853 2012-02-27 David S. Miller <davem@davemloft.net>
21855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
21857 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
21858 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
21861 frame pointer instead of stack pointer relative arg slot.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21863 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21864 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21866 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21869 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21871 2012-02-27 David S. Miller <davem@davemloft.net>
21873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
21874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
21875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
21877 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
21878 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
21879 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
21880 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
21882 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21884 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21885 later. Allow versions 5-9.
21886 * configure: Regenerated.
21887 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
21888 required minimum version and 4.6 as recommended version. Do not
21889 mention bugs in GCC 2.7 and 2.8.
21890 * INSTALL: Regenerated.
21892 2012-02-27 David S. Miller <davem@davemloft.net>
21894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
21895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
21896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
21897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
21898 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
21899 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
21900 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
21901 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
21903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
21904 manipulate bits before adding and subtracting TWO112[sx].
21905 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21907 2012-02-27 Roland McGrath <roland@hack.frob.com>
21910 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
21911 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
21912 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
21913 being in POSIX, because they are in 1003.1-2008.
21915 * rt/tst-aio.c: Include <fcntl.h>.
21916 * rt/tst-aio7.c: Likewise.
21917 * rt/tst-aio64.c: Likewise.
21919 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21921 2012-02-27 Joseph Myers <joseph@codesourcery.com>
21923 * manual/install.texi (--with-headers): Describe headers as
21924 interface headers, not private headers.
21925 (Specific advice for GNU/Linux systems): Describe use of headers
21926 from "make headers_install", not private headers from older
21928 * INSTALL: Regenerated.
21929 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21931 * sysdeps/unix/sysv/linux/configure: Regenerated.
21933 * manual/llio.texi (fclean): Remove documentation.
21935 * manual/Makefile (libc-texi-generated): New variable. Include
21937 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
21938 $(libc-texi-generated), not duplicated list of files.
21939 (version.texi, stamp-version): New rules.
21940 (realclean): Remove $(libc-texi-generated), not individual files
21941 from that list. Do not remove dir-add.texinfo.
21942 * manual/libc.texinfo: Comment out uses of edition numbers and
21943 references to printed manual. Remove last-updated dates.
21944 (EDITION): Comment out.
21946 (VERSION, UPDATED): Remove.
21947 (version.texi): Include.
21949 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21951 * sysdeps/posix/spawni.c: Include <signal.h>.
21952 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21953 * sysdeps/pthread/aio_fsync.c: Likewise.
21955 2012-02-26 Ulrich Drepper <drepper@gmail.com>
21957 * conform/Makefile (tests): Run only when not cross-compiling and
21958 when fast-check is not defined.
21960 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
21961 * conform/data/limits.h-data: Fixes for POSIX2008.
21962 * conform/run-conformtest.sh: Run all tests.
21963 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
21965 * include/bits/dlfcn.h: Likewise.
21966 * include/langinfo.h: Likewise.
21967 * include/monetary.h: Likewise.
21968 * include/sys/poll.h: Likewise.
21970 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21972 * posix/spawn.h: Define __need_sigset_t.
21973 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
21974 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21975 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
21976 to get sigevent_t only.
21977 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
21978 only for __USE_GNU.
21979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21980 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21981 process_vm_writev only for __USE_GNU.
21982 * termios/termios.h: Declare tcgetsid also for POSIX2008.
21984 * conform/Makefile: For now ignore errors from run-conformtest.
21985 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
21986 POSIX to avoid namespace pollution. Don't prepend headers.
21987 * conform/data/aio.h-data: Fixes for POSIX testing.
21988 * conform/data/fcntl.h-data: Likewise.
21989 * conform/data/glob.h-data: Likewise.
21990 * conform/data/grp.h-data: Likewise.
21991 * conform/data/pthread.h-data: Likewise.
21992 * conform/data/pwd.h-data: Likewise.
21993 * conform/data/signal.h-data: Likewise.
21994 * conform/data/spawn.h-data: Likewise.
21995 * conform/data/stdio.h-data: Likewise.
21996 * conform/data/stdlib.h-data: Likewise.
21997 * conform/data/stropts.h-data: Likewise.
21998 * conform/data/sys/mman.h-data: Likewise.
21999 * conform/data/sys/stat.h-data: Likewise.
22000 * conform/data/sys/types.h-data: Likewise.
22001 * conform/data/sys/wait.h-data: Likewise.
22002 * conform/data/time.h-data: Likewise.
22003 * conform/data/unistd.h-data: Likewise.
22004 * conform/data/utime.h-data: Likewise.
22006 * io/sys/stat.h: fchmod was always in POSIX.
22007 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22008 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22009 * rt/aio.h: Define __need_timespec before including <time.h>.
22010 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22011 struct. Add forward declaration of pthread_attr_t and use it in
22013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22015 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22016 always remove CLK_TCK definition.
22018 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22020 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22022 2012-02-25 Ulrich Drepper <drepper@gmail.com>
22024 * conform/run-conformtest.sh: New file.
22025 * conform/Makefile: Run run-conformtest for tests.
22026 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22029 * conform/data/uchar.h-data: New file.
22030 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22031 * conform/data/arpa/inet.h-data: Likewise.
22032 * conform/data/assert.h-data: Likewise.
22033 * conform/data/complex.h-data: Likewise.
22034 * conform/data/cpio.h-data: Likewise.
22035 * conform/data/ctype.h-data: Likewise.
22036 * conform/data/dirent.h-data: Likewise.
22037 * conform/data/dlfcn.h-data: Likewise.
22038 * conform/data/errno.h-data: Likewise.
22039 * conform/data/fcntl.h-data: Likewise.
22040 * conform/data/float.h-data: Likewise.
22041 * conform/data/fmtmsg.h-data: Likewise.
22042 * conform/data/fnmatch.h-data: Likewise.
22043 * conform/data/ftw.h-data: Likewise.
22044 * conform/data/glob.h-data: Likewise.
22045 * conform/data/grp.h-data: Likewise.
22046 * conform/data/iconv.h-data: Likewise.
22047 * conform/data/inttypes.h-data: Likewise.
22048 * conform/data/langinfo.h-data: Likewise.
22049 * conform/data/libgen.h-data: Likewise.
22050 * conform/data/limits.h-data: Likewise.
22051 * conform/data/locale.h-data: Likewise.
22052 * conform/data/math.h-data: Likewise.
22053 * conform/data/monetary.h-data: Likewise.
22054 * conform/data/mqueue.h-data: Likewise.
22055 * conform/data/ndbm.h-data: Likewise.
22056 * conform/data/net/if.h-data: Likewise.
22057 * conform/data/netdb.h-data: Likewise.
22058 * conform/data/netinet/in.h-data: Likewise.
22059 * conform/data/nl_types.h-data: Likewise.
22060 * conform/data/poll.h-data: Likewise.
22061 * conform/data/pthread.h-data: Likewise.
22062 * conform/data/pwd.h-data: Likewise.
22063 * conform/data/regex.h-data: Likewise.
22064 * conform/data/sched.h-data: Likewise.
22065 * conform/data/search.h-data: Likewise.
22066 * conform/data/semaphore.h-data: Likewise.
22067 * conform/data/setjmp.h-data: Likewise.
22068 * conform/data/signal.h-data: Likewise.
22069 * conform/data/spawn.h-data: Likewise.
22070 * conform/data/stdarg.h-data: Likewise.
22071 * conform/data/stdio.h-data: Likewise.
22072 * conform/data/stdlib.h-data: Likewise.
22073 * conform/data/string.h-data: Likewise.
22074 * conform/data/strings.h-data: Likewise.
22075 * conform/data/stropts.h-data: Likewise.
22076 * conform/data/sys/ipc.h-data: Likewise.
22077 * conform/data/sys/mman.h-data: Likewise.
22078 * conform/data/sys/msg.h-data: Likewise.
22079 * conform/data/sys/resource.h-data: Likewise.
22080 * conform/data/sys/select.h-data: Likewise.
22081 * conform/data/sys/sem.h-data: Likewise.
22082 * conform/data/sys/shm.h-data: Likewise.
22083 * conform/data/sys/socket.h-data: Likewise.
22084 * conform/data/sys/stat.h-data: Likewise.
22085 * conform/data/sys/statvfs.h-data: Likewise.
22086 * conform/data/sys/time.h-data: Likewise.
22087 * conform/data/sys/timeb.h-data: Likewise.
22088 * conform/data/sys/times.h-data: Likewise.
22089 * conform/data/sys/types.h-data: Likewise.
22090 * conform/data/sys/uio.h-data: Likewise.
22091 * conform/data/sys/un.h-data: Likewise.
22092 * conform/data/sys/utsname.h-data: Likewise.
22093 * conform/data/sys/wait.h-data: Likewise.
22094 * conform/data/syslog.h-data: Likewise.
22095 * conform/data/tar.h-data: Likewise.
22096 * conform/data/termios.h-data: Likewise.
22097 * conform/data/utime.h-data: Likewise.
22098 * conform/data/utmpx.h-data: Likewise.
22099 * conform/data/varargs.h-data: Likewise.
22100 * conform/data/wchar.h-data: Likewise.
22101 * conform/data/wctype.h-data: Likewise.
22102 * conform/data/wordexp.h-data: Likewise.
22104 * include/stropts.h: New file.
22105 * include/uchar.h: New file.
22106 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22107 * include/assert.h: Likewise.
22108 * include/ctype.h: Likewise.
22109 * include/dirent.h: Likewise.
22110 * include/dlfcn.h: Likewise.
22111 * include/fcntl.h: Likewise.
22112 * include/fnmatch.h: Likewise.
22113 * include/glob.h: Likewise.
22114 * include/grp.h: Likewise.
22115 * include/libio.h: Likewise.
22116 * include/locale.h: Likewise.
22117 * include/math.h: Likewise.
22118 * include/net/if.h: Likewise.
22119 * include/netdb.h: Likewise.
22120 * include/netinet/in.h: Likewise.
22121 * include/pthread.h: Likewise.
22122 * include/pwd.h: Likewise.
22123 * include/regex.h: Likewise.
22124 * include/sched.h: Likewise.
22125 * include/search.h: Likewise.
22126 * include/setjmp.h: Likewise.
22127 * include/signal.h: Likewise.
22128 * include/stdio.h: Likewise.
22129 * include/stdlib.h: Likewise.
22130 * include/string.h: Likewise.
22131 * include/sys/cdefs.h: Likewise.
22132 * include/sys/mman.h: Likewise.
22133 * include/sys/msg.h: Likewise.
22134 * include/sys/resource.h: Likewise.
22135 * include/sys/select.h: Likewise.
22136 * include/sys/socket.h: Likewise.
22137 * include/sys/stat.h: Likewise.
22138 * include/sys/statvfs.h: Likewise.
22139 * include/sys/time.h: Likewise.
22140 * include/sys/times.h: Likewise.
22141 * include/sys/uio.h: Likewise.
22142 * include/sys/utsname.h: Likewise.
22143 * include/sys/wait.h: Likewise.
22144 * include/termios.h: Likewise.
22145 * include/time.h: Likewise.
22146 * include/ulimit.h: Likewise.
22147 * include/unistd.h: Likewise.
22148 * include/utime.h: Likewise.
22149 * include/wchar.h: Likewise.
22150 * include/wctype.h: Likewise.
22151 * include/wordexp.h: Likewise.
22153 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22155 * time/time.h: TIME_UTC must be a macro.
22156 Make timespec_get available for ISO C11 only as well.
22158 2012-02-24 Ulrich Drepper <drepper@gmail.com>
22160 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22161 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22163 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22165 * configure.in: Use -o not -a in test for unsupported multi-arch.
22167 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22169 * manual/texinfo.tex: Update to version 2012-01-19.16.
22171 2012-02-24 Joseph Myers <joseph@codesourcery.com>
22173 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22175 2012-02-24 Roland McGrath <roland@hack.frob.com>
22178 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22179 * manual/fdl-1.3.texi: New file.
22180 * manual/fdl-1.1.texi: File removed.
22183 * manual/libc.texinfo (FDL_VERSION): New @set.
22184 Use it for mention of FDL in cover text.
22185 (Documentation License): Use it in @include file name.
22187 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22188 Roland McGrath <roland@hack.frob.com>
22191 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22192 not LONG_LONG_MAX and LONG_LONG_MIN.
22193 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22194 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22196 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22198 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22202 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22203 manipulate bits before adding and subtracting TWO23[sx].
22204 * math/libm-test.inc (nearbyint_test): Add more tests.
22206 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22209 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22210 bits before adding and subtracting TWO23[sx].
22211 * math/libm-test.inc (rint_test): Add more tests.
22212 (rint_test_tonearest): Likewise.
22213 (rint_test_towardzero): Likewise.
22214 (rint_test_downward): Likewise.
22215 (rint_test_upward: Likewise.
22217 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22220 * include/stdc-predef.h: New file. Extracted from features.h.
22221 * include/features.h: Include stdc-predef.h.
22222 * Makefile (headers): Add stdc-predef.h.
22223 * CONFORMANCE (Compiler limitations): Update.
22225 2012-02-22 Joseph Myers <joseph@codesourcery.com>
22227 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22229 2012-02-21 David S. Miller <davem@davemloft.net>
22231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22234 2012-02-20 David S. Miller <davem@davemloft.net>
22236 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22237 using a normal save/restore sequence, rather than allocating a
22238 dummy stack frame just to store a frame pointer and restore.
22239 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22241 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22243 * manual/install.texi: Fix stray word in line-wrapped comment.
22245 2012-02-20 David S. Miller <davem@davemloft.net>
22247 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22248 both binutils and gcc support GOTDATA.
22250 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22251 "rd %pc" in the PIC register setup sequences.
22253 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22254 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22255 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22256 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22257 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22262 (SYSCALL_ERROR_HANDLER): Likewise.
22263 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22266 (SYSCALL_ERROR_HANDLER): Likewise.
22268 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22269 (HAVE_GCC_GOTDATA): New.
22270 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22271 relocation support in both binutils and gcc.
22272 * sysdeps/sparc/elf/configure: Regenerate.
22274 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22275 * sysdeps/sparc/sparc32/elf/configure: Delete.
22276 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22277 * sysdeps/sparc/sparc64/elf/configure: Delete.
22278 * sysdeps/sparc/elf/configure.in: New file.
22279 * sysdeps/sparc/elf/configure: Generate.
22281 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22282 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22283 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22284 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22285 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22287 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22289 * manual/install.texi: Do not mention specific glibc version
22291 * manual/libc.texinfo (VERSION, UPDATED): Update.
22292 (@copying): Use @copyright{} and range of years.
22294 2012-02-21 Joseph Myers <joseph@codesourcery.com>
22297 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22298 [crti.S not in sysdirs] (generated): Do not append.
22299 [crti.S not in sysdirs] (omit-deps): Likewise.
22300 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22301 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22302 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22303 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22304 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22306 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22307 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22308 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22309 * csu/defs.awk: Remove file.
22310 * sysdeps/generic/initfini.c: Likewise.
22311 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22313 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22316 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22318 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22319 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22320 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22323 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22325 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22326 (__EPOLL_PACKED): Define to empty if not defined by
22328 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22332 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22334 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22335 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22336 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22337 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22339 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22343 2012-02-20 Joseph Myers <joseph@codesourcery.com>
22345 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22348 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22349 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22352 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22355 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22357 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22359 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22360 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22362 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22364 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22367 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22369 * math/w_acos.c: Use non-signaling floating-point comparisons.
22370 * math/w_acosf.c: Likewise.
22371 * math/w_acosh.c: Likewise.
22372 * math/w_acoshf.c: Likewise.
22373 * math/w_acoshl.c: Likewise.
22374 * math/w_acosl.c: Likewise.
22375 * math/w_asin.c: Likewise.
22376 * math/w_asinf.c: Likewise.
22377 * math/w_asinl.c: Likewise.
22378 * math/w_atanh.c: Likewise.
22379 * math/w_atanhf.c: Likewise.
22380 * math/w_atanhl.c: Likewise.
22381 * math/w_exp2.c: Likewise.
22382 * math/w_exp2f.c: Likewise.
22383 * math/w_exp2l.c: Likewise.
22384 * math/w_j0.c: Likewise.
22385 * math/w_j0f.c: Likewise.
22386 * math/w_j0l.c: Likewise.
22387 * math/w_j1.c: Likewise.
22388 * math/w_j1f.c: Likewise.
22389 * math/w_j1l.c: Likewise.
22390 * math/w_jn.c: Likewise.
22391 * math/w_jnf.c: Likewise.
22392 * math/w_log.c: Likewise.
22393 * math/w_log10.c: Likewise.
22394 * math/w_log10f.c: Likewise.
22395 * math/w_log10l.c: Likewise.
22396 * math/w_log2.c: Likewise.
22397 * math/w_log2f.c: Likewise.
22398 * math/w_log2l.c: Likewise.
22399 * math/w_logf.c: Likewise.
22400 * math/w_logl.c: Likewise.
22401 * math/w_sqrt.c: Likewise.
22402 * math/w_sqrtf.c: Likewise.
22403 * math/w_sqrtl.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22407 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22408 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22410 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22413 * manual/string.texi (strnlen): Use correct parameter name in
22414 equivalent expression.
22416 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22419 * manual/users.texi (seteuid): Consistently use neweuid for
22422 2012-02-19 Joseph Myers <joseph@codesourcery.com>
22425 * manual/nss.texi (Services in the NSS configuration): Correct
22426 list of services in example configuration file.
22428 2012-02-19 Nick Bowler <nbowler@draconx.ca>
22431 * manual/arith.texi: Remove statements about negative zero
22432 behaving identically to zero.
22434 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22437 * manual/install.texi: Do not document upgrading from libc5.
22439 2012-02-18 Joseph Myers <joseph@codesourcery.com>
22442 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22444 2012-02-18 David S. Miller <davem@davemloft.net>
22446 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22447 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22448 %o7 across the call.
22449 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22452 SETUP_PIC_REG_LEAF.
22453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22454 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22455 * sysdeps/sparc/crtn.S: Likewise.
22457 2012-02-17 Ulrich Drepper <drepper@gmail.com>
22459 * aout/Makefile: Remove.
22461 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22464 * manual/examples/argp-ex1.c (main): Format definition in GNU
22466 * manual/examples/argp-ex2.c (main): Likewise.
22467 * manual/examples/argp-ex3.c (main): Likewise.
22468 * manual/examples/argp-ex4.c (main): Likewise.
22469 * manual/examples/longopt.c (main): Use new-style prototype
22471 * manual/examples/strncat.c (main): Specify return type and use
22472 (void) for arguments.
22473 * manual/examples/subopt.c (main): Use char **argv argument.
22475 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22478 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22481 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22484 * manual/string.texi (strchr): Change when strchrnul is
22487 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22490 * manual/locale.texi (setlocale): Document LOCPATH.
22492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22495 * manual/process.texi (execle): Move @dots{} before last argument.
22497 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
22500 * manual/charset.texi (Generic Charset Conversion): Fix typo
22501 (LC_TYPE -> LC_CTYPE).
22503 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22506 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22507 (scalbnf): Likewise.
22508 (scalbnl): Likewise.
22509 (scalbln): Likewise.
22510 (scalblnf): Likewise.
22511 (scalblnl): Likewise.
22512 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22513 (vwarnx): Likewise.
22516 * manual/filesys.texi (telldir): Use braces around return type.
22517 * manual/llio.texi (mmap): Add space after comma.
22518 (mmap64): Likewise.
22519 * manual/math.texi (jn): Use @var{} on parameter names.
22525 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22527 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22529 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22530 (sched_get_priority_max): Likewise.
22531 * manual/signal.texi (sigvec): Add space after comma.
22532 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22534 (if_indextoname): Likewise.
22535 (if_freenameindex): Likewise.
22536 (sendto): Use ',' instead of '.' in prototype.
22537 * manual/startup.texi (syscall): Use @dots{} instead of literal
22539 * manual/stdio.texi (__fpending): Separate initial words of
22540 paragraph from @deftypefun line.
22541 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22543 (vsyslog): Use @var{} on parameter names.
22544 * manual/terminal.texi (stty): Use @var{} on parameter names.
22545 * manual/users.texi (getutmp): Use @var{} on parameter names.
22546 (getutmpx): Likewise.
22548 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22551 * manual/stdio.texi (fopen): Fix typos in description of
22554 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22557 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22558 get clock_id definition.
22560 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
22563 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22564 (madvise): Cast every argument to void on its own.
22566 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22569 * manual/startup.texi (Exit Status): Fix typo.
22571 2012-02-17 Joseph Myers <joseph@codesourcery.com>
22574 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22575 * manual/examples/argp-ex2.c: Likewise.
22576 * manual/examples/argp-ex3.c: Likewise.
22578 2012-02-16 Richard Henderson <rth@redhat.com>
22580 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22581 * sysdeps/s390/s390-32/initfini.c: Remove.
22582 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22583 * sysdeps/s390/s390-64/initfini.c: Remove.
22585 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22587 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22588 compiler output for sysdeps/generic/initfini.c.
22589 * sysdeps/sh/elf/initfini.c: Remove file.
22591 2012-02-16 David S. Miller <davem@davemloft.net>
22594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22596 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22597 * sysdeps/sparc/crti.S: New file.
22598 * sysdeps/sparc/crtn.S: New file.
22599 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22600 * sysdeps/sparc/sparc64/Makefile: Likewise.
22602 2012-02-15 Mike Frysinger <vapier@gentoo.org>
22605 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22607 2012-02-15 Roland McGrath <roland@hack.frob.com>
22610 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22612 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22613 (write, read, close): Likewise.
22614 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22616 2012-02-15 Joseph Myers <joseph@codesourcery.com>
22618 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22619 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22620 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22621 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22623 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22627 2012-02-14 Marek Polacek <polacek@redhat.com>
22629 * sysdeps/x86_64/crti.S: New file.
22630 * sysdeps/x86_64/crtn.S: New file.
22631 * sysdeps/x86_64/elf/initfini.c: Remove file.
22633 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22635 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22636 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22637 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22638 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22640 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22644 2012-02-13 Joseph Myers <joseph@codesourcery.com>
22646 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22647 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22648 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22649 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22651 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22655 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22657 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22658 __feraiseexcept instead of feraiseexcept.
22660 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22661 nanosleep invocations.
22662 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22663 strings, and add error checking for a nanosleep invocations.
22665 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22667 Replace FSF snail mail address with URLs, as per GNU coding standards.
22668 Most of the snail mail addresses were wrong anyway, and omitting
22669 them makes the source code easier to maintain. Almost all of the
22670 changes are to license notices and to locale LC_IDENTIFICATION
22671 addresses, except for this one:
22672 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22673 not its snail mail address.
22675 2012-02-09 Richard Henderson <rth@twiddle.net>
22677 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22678 of kernel-features.h.
22680 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22682 2012-02-08 Marek Polacek <polacek@redhat.com>
22684 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22685 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22686 * sysdeps/gnu/_G_config.h: Likewise.
22687 * sysdeps/generic/_G_config.h: Likewise.
22689 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22691 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22695 * sysdeps/powerpc/powerpc32/crti.S: New file.
22696 * sysdeps/powerpc/powerpc32/crtn.S: New file.
22697 * sysdeps/powerpc/powerpc64/crti.S: New file.
22698 * sysdeps/powerpc/powerpc64/crtn.S: New file.
22700 * Makeconfig (have-initfini): Don't set.
22701 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
22702 * configure.in (nopic_initfini): Don't substitute.
22703 * config.h.in (HAVE_INITFINI): Don't #undef.
22704 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
22705 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
22707 2012-02-08 Joseph Myers <joseph@codesourcery.com>
22709 Support crti.S and crtn.S provided directly by architectures.
22710 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
22711 [crti.S in sysdirs] (omit-deps): Likewise.
22712 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
22713 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
22714 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
22715 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
22716 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
22717 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
22718 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
22719 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
22720 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
22721 compiler output for sysdeps/generic/initfini.c.
22722 * sysdeps/i386/elf/Makefile: Remove file.
22723 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
22725 2012-02-07 Marek Polacek <polacek@redhat.com>
22727 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
22728 * sysdeps/gnu/_G_config.h: Likewise.
22729 * sysdeps/mach/hurd/_G_config.h: Likewise.
22731 2012-02-07 Marek Polacek <polacek@redhat.com>
22733 * math/Makefile (tests): Add tst-CMPLX2.
22734 * math/tst-CMPLX2.c: New file.
22736 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22738 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22740 * math/libm-test.inc (jn_test): Add missing L suffix.
22742 2012-02-06 Marek Polacek <polacek@redhat.com>
22744 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
22745 * sysdeps/i386/fpu/e_powf.S: Likewise.
22746 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22747 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22748 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22749 * sysdeps/i386/fpu/e_pow.S: Likewise.
22750 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22752 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22753 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22754 * sysdeps/i386/fpu/e_log2.S: Likewise.
22755 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22757 * sysdeps/i386/fpu/e_powl.S: Likewise.
22758 * sysdeps/i386/fpu/s_log1p.S: Likewise.
22759 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22760 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22761 * sysdeps/i386/fpu/e_logl.S: Likewise.
22762 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22763 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
22764 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22765 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22766 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22767 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22768 * sysdeps/i386/fpu/e_log.S: Likewise.
22769 * sysdeps/i386/fpu/s_cexp.S: Likewise.
22770 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22771 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
22772 * sysdeps/i386/fpu/e_logf.S: Likewise.
22773 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22774 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22775 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
22776 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22777 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22778 * sysdeps/i386/fpu/e_log10.S: Likewise.
22779 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22780 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22781 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22782 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22783 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22784 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22785 * sysdeps/i386/asm-syntax.h: Likewise.
22786 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22787 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22788 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22789 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
22790 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
22791 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22792 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22793 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22794 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22795 * sysdeps/powerpc/sysdep.h: Likewise.
22796 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22797 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22799 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22802 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22804 2012-02-06 Joseph Myers <joseph@codesourcery.com>
22806 * sysdeps/i386/sysdep.h: Include <features.h>.
22807 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22810 2012-02-05 Joseph Myers <joseph@codesourcery.com>
22812 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22814 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22817 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22819 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
22820 (SETUP_PIC_REG): Use GET_PC_THUNK.
22821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
22824 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22826 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
22827 for non-PIC compilation.
22828 (SETUP_PIC_REG): Add .p2align directive.
22829 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
22830 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22831 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22832 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22833 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22834 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22835 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22837 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22838 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22839 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22840 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22841 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22842 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22844 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22845 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22846 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22847 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22848 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22849 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22850 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22852 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22856 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22857 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22858 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22859 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22860 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22861 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22862 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22863 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22864 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22865 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22866 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22867 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22868 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22869 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22871 2012-02-03 Joseph Myers <joseph@codesourcery.com>
22873 * math/tst-CMPLX.c: Include <stdio.h>.
22875 2012-01-31 Joseph Myers <joseph@codesourcery.com>
22877 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22880 * sysdeps/sparc/bits/mathdef.h: Likewise.
22882 2012-01-31 Marek Polacek <polacek@redhat.com>
22884 * libio/libio.h: Don't define _PARAMS.
22885 * locale/programs/config.h: Don't define PARAMS.
22886 * stdlib/strtol_l.c: Likewise.
22887 (__strtol_l): Remove PARAMS from the prototype.
22889 2012-01-31 Ulrich Drepper <drepper@gmail.com>
22891 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22892 names. Just use the correct names. Remove unnecessary wrapper
22894 * malloc/arena.c: Likewise.
22895 * malloc/hooks.c: Likewise.
22897 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
22898 ARENA_TEST says not to. Simplify test for creation of a new arena.
22899 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
22901 2012-01-30 Ulrich Drepper <drepper@gmail.com>
22903 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22905 (update_get_addr): New function.
22906 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22907 GET_ADDR_MODULE parameter.
22909 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22911 * crypt/cert.c: Remove __STDC__ conditionals.
22912 * crypt/crypt-entry.c: Likewise.
22913 * crypt/crypt_util.c: Likewise.
22914 * libio/filedoalloc.c: Likewise.
22915 * libio/fileops.c: Likewise.
22916 * libio/genops.c: Likewise.
22917 * libio/iofclose.c: Likewise.
22918 * libio/iofdopen.c: Likewise.
22919 * libio/iofopen.c: Likewise.
22920 * libio/iofopen64.c: Likewise.
22921 * libio/iogetdelim.c: Likewise.
22922 * libio/iopopen.c: Likewise.
22923 * libio/obprintf.c: Likewise.
22924 * libio/oldfileops.c: Likewise.
22925 * libio/oldiofclose.c: Likewise.
22926 * libio/oldiofdopen.c: Likewise.
22927 * libio/oldiofopen.c: Likewise.
22928 * libio/oldiopopen.c: Likewise.
22929 * libio/wfiledoalloc.c: Likewise.
22930 * libio/wgenops.c: Likewise.
22931 * locale/programs/xmalloc.c: Likewise.
22932 * misc/syslog.c: Likewise.
22933 * stdio-common/xbug.c: Likewise.
22934 * string/memchr.c: Likewise.
22935 * string/memcmp.c: Likewise.
22936 * string/memrchr.c: Likewise.
22937 * string/rawmemchr.c: Likewise.
22938 * sysdeps/posix/getcwd.c: Likewise.
22939 * time/strftime_l.c: Likewise.
22941 2012-01-30 Joseph Myers <joseph@codesourcery.com>
22943 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
22944 * config.make.in (config-cflags-sse2avx): Define.
22945 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22948 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22950 * scripts/config.guess: Update from upstream config git repository.
22951 * scripts/config.sub: Likewise.
22953 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22955 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22957 (R_TILEPRO_*, R_TILEGX_*): New macros.
22959 * scripts/firstversions.awk: Fix bug in version range handling.
22961 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22963 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22965 * include/sys/epoll.h: New file.
22966 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22969 2012-01-28 Ulrich Drepper <drepper@gmail.com>
22971 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
22972 Avoid unnecessary __WORDSIZE == 64 test.
22973 (fmaxf): Use VEX format if possible.
22978 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22979 * math/math_private.h: Remove libc_fegetround* and
22981 * sysdeps/i386/configure.in: Check for -msse2avx.
22982 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
22983 also if SSE2AVX is defined.
22984 Remove libc_fegetround* and libc_fesetround*.
22985 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
22986 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
22987 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
22989 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22990 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22995 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22997 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22999 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23001 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23003 2012-01-27 Ulrich Drepper <drepper@gmail.com>
23006 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23008 * Makeconfig (libm): Define.
23009 * elf/Makefile: Add rules to build and run tst-relsort1.
23010 * elf/tst-relsort1.c: New file.
23011 * elf/tst-relsort1mod1.c: New file.
23012 * elf/tst-relsort1mod2.c: New file.
23014 2012-01-27 Joseph Myers <joseph@codesourcery.com>
23016 * math/s_ldexp.c: Remove __STDC__ conditionals.
23017 * math/s_ldexpf.c: Likewise.
23018 * math/s_ldexpl.c: Likewise.
23019 * math/s_nextafter.c: Likewise.
23020 * math/s_nexttowardf.c: Likewise.
23021 * math/s_significand.c: Likewise.
23022 * math/s_significandf.c: Likewise.
23023 * math/s_significandl.c: Likewise.
23024 * math/w_jnl.c: Likewise.
23025 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23026 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23027 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23028 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23029 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23038 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23039 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23040 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23041 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23042 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23044 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23045 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23046 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23047 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23048 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23049 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23050 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23051 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23052 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23053 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23054 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23055 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23056 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23057 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23059 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23060 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23061 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23062 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23063 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23064 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23065 * sysdeps/ieee754/k_standard.c: Likewise.
23066 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23067 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23068 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23069 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23070 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23071 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23076 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23077 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23078 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23079 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23080 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23082 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23083 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23084 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23085 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23088 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23089 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23090 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23091 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23096 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23097 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23098 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23099 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23102 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23105 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23106 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23108 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23109 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23113 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23115 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23116 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23117 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23118 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23119 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23120 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23122 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23124 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23125 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23126 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23127 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23128 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23129 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23130 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23131 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23132 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23133 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23134 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23135 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23137 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23138 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23139 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23140 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23141 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23142 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23143 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23144 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23145 * sysdeps/ieee754/s_matherr.c: Likewise.
23146 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23147 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23151 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23153 * crypt/md5.h: Remove __STDC__ conditionals.
23154 * libio/libioP.h: Likewise.
23155 * locale/programs/config.h: Likewise.
23156 * sysdeps/generic/sysdep.h: Likewise.
23157 * sysdeps/i386/asm-syntax.h: Likewise.
23158 * sysdeps/s390/asm-syntax.h: Likewise.
23159 * sysdeps/unix/sysdep.h: Likewise.
23160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23163 2012-01-26 Joseph Myers <joseph@codesourcery.com>
23165 * libio/libio.h: Remove __STDC__ conditionals.
23166 * malloc/obstack.h: Likewise.
23167 * math/complex.h: Likewise.
23168 * math/math.h: Likewise.
23169 * sysdeps/generic/_G_config.h: Likewise.
23170 * sysdeps/gnu/_G_config.h: Likewise.
23171 * sysdeps/mach/hurd/_G_config.h: Likewise.
23172 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23173 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23174 * sysdeps/sparc/bits/mathdef.h: Likewise.
23176 2012-01-26 Ulrich Drepper <drepper@gmail.com>
23179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
23180 Clean up HAS_* macros.
23181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
23182 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23192 2012-01-25 Joseph Myers <joseph@codesourcery.com>
23194 * elf/tst-unique3.cc (gets): Remove declaration.
23195 * elf/tst-unique3lib.cc (gets): Likewise.
23196 * elf/tst-unique3lib2.cc (gets): Likewise.
23197 * elf/tst-unique4.cc (gets): Likewise.
23199 2012-01-24 Ulrich Drepper <drepper@gmail.com>
23201 * include/stdio.h: Add C++ protection. Add gets declarations and
23203 * debug/tst-chk1.c: Don't declare gets here.
23204 * stdio-common/tst-gets.c: Likewise.
23206 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23208 * posix/glob: Remove directory.
23210 2012-01-24 Joseph Myers <joseph@codesourcery.com>
23212 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23214 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23216 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23217 of the non-standard EPFNOSUPPORT.
23219 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23221 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23222 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23223 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23225 2012-01-21 Ulrich Drepper <drepper@gmail.com>
23227 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23229 2012-01-20 Ulrich Drepper <drepper@gmail.com>
23231 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23233 * nscd/grpcache.c (cache_addgr): Likewise.
23234 * nscd/hstcache.c (cache_addhst): Likewise.
23235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23236 * nscd/pwdcache.c (cache_addpw): Likewise.
23237 * nscd/servicescache.c (cache_addserv): Likewise.
23239 2012-01-16 Ulrich Drepper <drepper@gmail.com>
23241 * malloc/malloc.c: Various cleanups.
23242 * malloc/hooks.c: Likewise.
23244 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23245 * stdlib/bug-fmtmsg1.c: New file.
23247 * stdlib/fmtmsg.c (init): Add missing unlock.
23248 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23250 2012-01-12 Marek Polacek <polacek@redhat.com>
23252 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23255 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23257 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23258 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23259 macro to ensure uniqueness of label name.
23260 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23261 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23263 2012-01-11 Ulrich Drepper <drepper@gmail.com>
23265 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23268 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23272 2012-01-10 Ulrich Drepper <drepper@gmail.com>
23274 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23276 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23277 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23278 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23280 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23282 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
23283 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23284 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
23287 * math/bits/math-finite.h: Add ldexp support.
23289 2012-01-10 Marek Polacek <polacek@redhat.com>
23291 * locale/programs/localedef.h (show_archive_content): Add noreturn
23294 2012-01-09 Ulrich Drepper <drepper@gmail.com>
23296 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23298 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23300 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23302 * io/Makefile (headers): Add bits/poll2.h.
23304 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23307 typo #include statement.
23309 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23311 * include/sys/cdefs.h: Define __attribute_alloc_size.
23312 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23313 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23314 * elf/pldd.c: Likewise.
23315 * iconv/iconv_charmap.c: Likewise.
23316 * iconv/iconvconfig.c: Likewise.
23317 * iconv/strtab.c: Likewise.
23318 * locale/programs/locale.c: Likewise.
23319 * locale/programs/localedef.h: Likewise.
23320 * locale/programs/simple-hash.c: Likewise.
23321 * nscd/nscd.h: Likewise.
23322 * nss/makedb.c: Likewise.
23323 * sysdeps/generic/ldconfig.h: Likewise.
23324 * locale/programs/localedef.c: Remove xmalloc prototype.
23325 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23327 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23332 2012-01-08 Ulrich Drepper <drepper@gmail.com>
23334 * math/Makefile (tests): Add tst-CMPLX.
23335 * math/tst-CMPLX.c: New file.
23337 * math/complex.h (CMPLXL): Fix typo.
23339 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23340 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23342 * debug/tst-chk1.c: Add poll and ppoll tests.
23343 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23344 * include/sys/poll.h: Add hidden proto for ppoll.
23345 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23346 * sysdeps/mach/hurd/ppoll.c: Likewise.
23347 * io/ppoll.c: Likewise.
23348 * debug/poll_chk.c: New file.
23349 * debug/ppoll_chk.c: New file.
23350 * include/bits/poll2.h: New file.
23351 * io/bits/poll2.h: New file.
23354 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23356 * configure.in: static is always set to yes. Remove.
23357 * config.make.in: Don't set build-static.
23358 * Makeconfig: Remove use of build-static.
23359 * dlfcn/Makefile: Likewise.
23360 * elf/Makefile: Likewise.
23361 * math/Makefile: Likewise.
23362 * misc/Makefile: Likewise.
23363 * nptl/Makefile: Likewise.
23364 * sysdeps/mach/hurd/Makefile: Likewise.
23366 * configure.in: PWD_P is not used anymore.
23367 * config.make.in: Remove PWD_P entry.
23369 * configure.in: Remove last remnants of RANLIB.
23370 No need to check for signed size_t anymore.
23371 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23373 Remove __builtin_expect test because we require at least gcc 3.4.
23374 * aclocal.m4: Likewise.
23376 * wcsmbs/mbrtoc16.c: Implement using towc function.
23377 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23378 * wcsmbs/wcsmbsload.c: Likewise.
23379 * iconv/gconv_simple.c: Likewise.
23380 * iconv/gconv_int.h: Likewise.
23381 * iconv/gconv_builtin.h: Likewise.
23382 * iconv/iconv_prog.c: Remove CHAR16 handling.
23384 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23386 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23388 * configure.in: Remove --with-elf and --enable-bounded options.
23389 Dont set base_machine for ia64. More non-ELF conditions removed.
23390 Remove testing and setting of leading underscore information.
23391 * config.make.in (build-bounded): Set to no.
23392 * config.h.in: Remove NO_UNDERSCORES entry.
23393 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23395 * csu/start.c: Remove !NO_UNDERSCORE code.
23396 * locale/localeinfo.h: Likewise.
23397 * sysdeps/generic/machine-gmon.h: Likewise.
23398 * sysdeps/generic/sysdep.h: Likewise.
23399 * sysdeps/i386/sysdep.h: Likewise.
23400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23401 * sysdeps/mach/sysdep.h: Likewise.
23402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23404 * sysdeps/sh/sysdep.h: Likewise.
23405 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23406 * sysdeps/unix/i386/sysdep.S: Likewise.
23407 * sysdeps/unix/sparc/start.c: Likewise.
23408 * sysdeps/unix/sparc/sysdep.S: Likewise.
23409 * sysdeps/unix/sparc/sysdep.h: Likewise.
23410 * sysdeps/unix/start.c: Likewise.
23411 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23412 * sysdeps/x86_64/sysdep.h: Likewise.
23414 2012-01-07 Ulrich Drepper <drepper@gmail.com>
23417 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23419 * argp/argp-fmtstream.h: Use const instead __const.
23420 * argp/argp.h: Likewise.
23421 * assert/assert.h: Likewise.
23422 * bits/fenv.h: Likewise.
23423 * bits/sched.h: Likewise.
23424 * bits/sigset.h: Likewise.
23425 * bits/sigthread.h: Likewise.
23426 * catgets/nl_types.h: Likewise.
23427 * conform/data/pthread.h-data: Likewise.
23428 * crypt/crypt-private.h: Likewise.
23429 * crypt/crypt.h: Likewise.
23430 * crypt/crypt_util.c: Likewise.
23431 * ctype/ctype.h: Likewise.
23432 * debug/execinfo.h: Likewise.
23433 * debug/mbsnrtowcs_chk.c: Likewise.
23434 * debug/mbsrtowcs_chk.c: Likewise.
23435 * debug/wcsnrtombs_chk.c: Likewise.
23436 * debug/wcsrtombs_chk.c: Likewise.
23437 * debug/wcstombs_chk.c: Likewise.
23438 * dirent/dirent.h: Likewise.
23439 * dlfcn/dlfcn.h: Likewise.
23440 * elf/neededtest4.c: Likewise.
23441 * grp/grp.h: Likewise.
23442 * gshadow/gshadow.h: Likewise.
23443 * iconv/gconv.h: Likewise.
23444 * iconv/gconv_int.h: Likewise.
23445 * iconv/gconv_simple.c: Likewise.
23446 * iconv/iconv.h: Likewise.
23447 * iconv/loop.c: Likewise.
23448 * iconv/skeleton.c: Likewise.
23449 * include/aio.h: Likewise.
23450 * include/aliases.h: Likewise.
23451 * include/argz.h: Likewise.
23452 * include/arpa/inet.h: Likewise.
23453 * include/assert.h: Likewise.
23454 * include/dirent.h: Likewise.
23455 * include/dlfcn.h: Likewise.
23456 * include/execinfo.h: Likewise.
23457 * include/fcntl.h: Likewise.
23458 * include/fenv.h: Likewise.
23459 * include/glob.h: Likewise.
23460 * include/grp.h: Likewise.
23461 * include/libintl.h: Likewise.
23462 * include/mntent.h: Likewise.
23463 * include/netdb.h: Likewise.
23464 * include/pwd.h: Likewise.
23465 * include/rpc/netdb.h: Likewise.
23466 * include/sched.h: Likewise.
23467 * include/search.h: Likewise.
23468 * include/shadow.h: Likewise.
23469 * include/signal.h: Likewise.
23470 * include/stdio.h: Likewise.
23471 * include/stdlib.h: Likewise.
23472 * include/string.h: Likewise.
23473 * include/sys/socket.h: Likewise.
23474 * include/sys/stat.h: Likewise.
23475 * include/sys/statfs.h: Likewise.
23476 * include/sys/statvfs.h: Likewise.
23477 * include/sys/syslog.h: Likewise.
23478 * include/sys/time.h: Likewise.
23479 * include/sys/uio.h: Likewise.
23480 * include/time.h: Likewise.
23481 * include/unistd.h: Likewise.
23482 * include/utmp.h: Likewise.
23483 * include/wchar.h: Likewise.
23484 * include/wctype.h: Likewise.
23485 * inet/aliases.h: Likewise.
23486 * inet/arpa/inet.h: Likewise.
23487 * inet/netinet/ether.h: Likewise.
23488 * inet/netinet/in.h: Likewise.
23489 * intl/libintl.h: Likewise.
23490 * io/bits/fcntl2.h: Likewise.
23491 * io/fcntl.h: Likewise.
23492 * io/ftw.h: Likewise.
23493 * io/sys/poll.h: Likewise.
23494 * io/sys/stat.h: Likewise.
23495 * io/sys/statfs.h: Likewise.
23496 * io/sys/statvfs.h: Likewise.
23497 * io/utime.h: Likewise.
23498 * libio/bits/stdio.h: Likewise.
23499 * libio/bits/stdio2.h: Likewise.
23500 * libio/libio.h: Likewise.
23501 * libio/libioP.h: Likewise.
23502 * libio/stdio.h: Likewise.
23503 * locale/lc-ctype.c: Likewise.
23504 * locale/locale.h: Likewise.
23505 * login/utmp.h: Likewise.
23506 * malloc/arena.c: Likewise.
23507 * malloc/malloc.c: Likewise.
23508 * malloc/malloc.h: Likewise.
23509 * malloc/mcheck.c: Likewise.
23510 * malloc/mtrace.c: Likewise.
23511 * math/bits/mathcalls.h: Likewise.
23512 * math/fenv.h: Likewise.
23513 * math/math_private.h: Likewise.
23514 * misc/bits/error.h: Likewise.
23515 * misc/bits/syslog.h: Likewise.
23516 * misc/err.h: Likewise.
23517 * misc/error.h: Likewise.
23518 * misc/fstab.h: Likewise.
23519 * misc/mntent.h: Likewise.
23520 * misc/regexp.h: Likewise.
23521 * misc/search.h: Likewise.
23522 * misc/sgtty.h: Likewise.
23523 * misc/sys/mman.h: Likewise.
23524 * misc/sys/syslog.h: Likewise.
23525 * misc/sys/uio.h: Likewise.
23526 * misc/sys/xattr.h: Likewise.
23527 * misc/ttyent.h: Likewise.
23528 * nis/rpcsvc/ypclnt.h: Likewise.
23529 * nss/nss.h: Likewise.
23530 * posix/bits/unistd.h: Likewise.
23531 * posix/fnmatch.h: Likewise.
23532 * posix/glob.h: Likewise.
23533 * posix/sched.h: Likewise.
23534 * posix/spawn.h: Likewise.
23535 * posix/sys/wait.h: Likewise.
23536 * posix/unistd.h: Likewise.
23537 * posix/wordexp.h: Likewise.
23538 * pwd/pwd.h: Likewise.
23539 * resolv/netdb.h: Likewise.
23540 * resource/sys/resource.h: Likewise.
23541 * rt/aio.h: Likewise.
23542 * rt/bits/mqueue2.h: Likewise.
23543 * rt/mqueue.h: Likewise.
23544 * shadow/shadow.h: Likewise.
23545 * signal/signal.h: Likewise.
23546 * socket/send.c: Likewise.
23547 * socket/sendto.c: Likewise.
23548 * socket/sys/socket.h: Likewise.
23549 * stdio-common/printf.h: Likewise.
23550 * stdlib/bits/stdlib.h: Likewise.
23551 * stdlib/fmtmsg.h: Likewise.
23552 * stdlib/monetary.h: Likewise.
23553 * stdlib/stdlib.h: Likewise.
23554 * stdlib/ucontext.h: Likewise.
23555 * streams/stropts.h: Likewise.
23556 * string/argz.h: Likewise.
23557 * string/bits/string2.h: Likewise.
23558 * string/string.h: Likewise.
23559 * string/strings.h: Likewise.
23560 * sunrpc/rpc/auth.h: Likewise.
23561 * sunrpc/rpc/auth_des.h: Likewise.
23562 * sunrpc/rpc/clnt.h: Likewise.
23563 * sunrpc/rpc/netdb.h: Likewise.
23564 * sunrpc/rpc/pmap_clnt.h: Likewise.
23565 * sunrpc/rpc/xdr.h: Likewise.
23566 * sysdeps/generic/inttypes.h: Likewise.
23567 * sysdeps/generic/net/if.h: Likewise.
23568 * sysdeps/generic/sys/swap.h: Likewise.
23569 * sysdeps/gnu/net/if.h: Likewise.
23570 * sysdeps/gnu/utmpx.h: Likewise.
23571 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23572 * sysdeps/i386/i486/bits/string.h: Likewise.
23573 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23574 * sysdeps/s390/bits/string.h: Likewise.
23575 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23576 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23577 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23578 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23579 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23580 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23581 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23582 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23583 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23584 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23585 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23586 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23587 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23588 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23589 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23590 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23591 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23594 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23596 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23597 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23598 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23599 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23600 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23601 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23602 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23603 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23605 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23606 * sysvipc/sys/ipc.h: Likewise.
23607 * sysvipc/sys/msg.h: Likewise.
23608 * sysvipc/sys/sem.h: Likewise.
23609 * sysvipc/sys/shm.h: Likewise.
23610 * termios/termios.h: Likewise.
23611 * time/sys/time.h: Likewise.
23612 * time/time.h: Likewise.
23613 * wcsmbs/bits/wchar2.h: Likewise.
23614 * wcsmbs/uchar.h: Likewise.
23615 * wcsmbs/wchar.h: Likewise.
23616 * wctype/wctype.h: Likewise.
23619 * Makeconfig: Remove all but ELF support including AIX support.
23620 * Makerules: Likewise.
23621 * config.h.in: Likewise.
23622 * config.make.in: Likewise.
23623 * configure: Likewise.
23624 * configure.in: Likewise.
23625 * csu/Makefile: Likewise.
23626 * csu/version.c: Likewise.
23627 * debug/Makefile: Likewise.
23628 * dlfcn/Makefile: Likewise.
23629 * elf/Makefile: Likewise.
23630 * extra-lib.mk: Likewise.
23631 * iconv/Makefile: Likewise.
23632 * include/libc-symbols.h: Likewise.
23633 * include/shlib-compat.h: Likewise.
23634 * resolv/Makefile: Likewise.
23635 * resolv/res_libc.c: Likewise.
23636 * rt/Makefile: Likewise.
23637 * sysdeps/i386/asm-syntax.h: Likewise.
23638 * sysdeps/i386/sysdep.h: Likewise.
23639 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23640 * sysdeps/mach/sysdep.h: Likewise.
23641 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23642 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23643 * sysdeps/s390/asm-syntax.h: Likewise.
23644 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23646 * sysdeps/sh/sysdep.h: Likewise.
23647 * sysdeps/unix/sparc/sysdep.h: Likewise.
23648 * sysdeps/wordsize-32/divdi3.c: Likewise.
23649 * sysdeps/x86_64/sysdep.h: Likewise.
23651 * argp/Versions: Remove _argp_unlock_xxx.
23654 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23655 * abilist/libBrokenLocale.abilist: Likewise.
23656 * abilist/libanl.abilist: Likewise.
23657 * abilist/libc.abilist: Likewise.
23658 * abilist/libcrypt.abilist: Likewise.
23659 * abilist/libdl.abilist: Likewise.
23660 * abilist/libm.abilist: Likewise.
23661 * abilist/libnsl.abilist: Likewise.
23662 * abilist/libpthread.abilist: Likewise.
23663 * abilist/libresolv.abilist: Likewise.
23664 * abilist/librt.abilist: Likewise.
23665 * abilist/libthread_db.abilist: Likewise.
23666 * abilist/libutil.abilist: Likewise.
23667 * abilist/libnss_db.abilist: New file.
23669 * scripts/abilist.awk: Add support for indirect functions.
23671 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23673 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23675 * shlib-versions: Remove entries for ports architectures.
23677 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23679 * elf/stackguard-macros.h: Remove support for IA-64.
23680 * elf/tst-auditmod1.c: Likewise.
23681 * sysdeps/generic/ldsodefs.h: Likewise.
23683 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23684 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23688 * configure.in: Remove --enable-omitfp support.
23690 * config.make.in: Likewise.
23691 * Makeconfig: Likewise.
23692 * manual/install.texi: Likewise.
23694 In case anyone cares, the IA-64 architecture could move to ports.
23695 * sysdeps/ia64/*: Removed.
23696 * sysdeps/unix/sysv/linux/ia64/*: Removed.
23697 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
23700 * configure.in: Remove entries for unsupported architectures.
23703 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
23704 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
23706 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
23707 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
23708 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
23709 fall back to using wcrtomb.
23710 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
23711 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
23713 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23714 * wcsmbs/tst-c16c32-1.c: New file.
23716 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23719 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23721 * elf/tst-unique3.cc: Add explicit declaration of gets.
23722 * elf/tst-unique3lib.cc: Likewise.
23723 * elf/tst-unique3lib2.cc: Likewise.
23724 * elf/tst-unique4.cc: Likewise.
23726 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23728 2012-01-06 Joseph Myers <joseph@codesourcery.com>
23731 * assert/assert.h (static_assert): Don't define for C++.
23732 * libio/stdio.h (gets): Do declare for C++ <= C++11.
23733 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
23735 2012-01-03 Ulrich Drepper <drepper@gmail.com>
23737 * iconv/loop.c (single loop): Fix assertion in storing of
23740 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23742 2012-01-01 Ulrich Drepper <drepper@gmail.com>
23744 * posix/getconf.c: Update copyright year.
23745 * nss/getent.c: Likewise.
23746 * nss/makedb.c: Likewise.
23747 * iconv/iconvconfig.c: Likewise.
23748 * iconv/iconv_prog.c: Likewise.
23749 * elf/ldconfig.c: Likewise.
23750 * elf/pldd.c: Likewise.
23751 * elf/sotruss.ksh: Likewise.
23752 * catgets/gencat.c: Likewise.
23753 * csu/version.c: Likewise.
23754 * elf/ldd.bash.in: Likewise.
23755 * elf/sprof.c (print_version): Likewise.
23756 * locale/programs/locale.c: Likewise.
23757 * locale/programs/localedef.c: Likewise.
23758 * login/programs/pt_chown.c: Likewise.
23759 * nscd/nscd.c (print_version): Likewise.
23760 * debug/xtrace.sh: Likewise.
23761 * malloc/memusage.sh: Likewise.
23762 * malloc/mtrace.pl: Likewise.
23763 * debug/catchsegv.sh: Likewise.
23765 2011-12-30 Jakub Jelinek <jakub@redhat.com>
23767 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23770 2011-12-24 Ulrich Drepper <drepper@gmail.com>
23773 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23774 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23776 * iconv/gconv_int.h: Likewise.
23777 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
23778 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
23779 from libc for GLIBC_2.16.
23780 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
23781 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
23782 * wcsmbs/uchar.h: Really define mbstate_t.
23783 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
23784 * wcsmbs/c16rtomb.c: New file.
23785 * wcsmbs/mbrtoc16.c: New file.
23786 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
23787 for C/POSIX locale.
23788 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
23789 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
23791 * wcsmbs/wchar.h: Add missing __restrict.
23793 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23796 * time/Makefile (routines): Add timespec_get.
23797 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
23798 * time/time.h: Define TIME_UTC and declare timespec_get. Define
23799 timespec for ISO C11.
23800 * time/timespec_get.c: New file.
23801 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
23802 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
23805 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
23806 * stdlib/stdlib.h: Declare aligned_alloc.
23807 * Versions.def: Add GLIBC_2.16 for libc.
23808 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
23811 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23814 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
23818 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23821 * assert/assert.h (static_assert): Define.
23823 * version.h: Update for 2.16 development version.
23826 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23829 * version.h (RELEASE): Bump for 2.15 release.
23830 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23832 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23833 Patch by Marek Polacek <mpolacek@redhat.com>.
23835 * bits/byteswap.h: Protect long long constants with __extension__.
23836 * sysdeps/i386/bits/byteswap.h: Likewise.
23837 * sysdeps/ia64/bits/byteswap.h: Likewise.
23838 * sysdeps/s390/bits/byteswap.h: Likewise.
23839 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23841 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23845 destination buffer.
23846 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23848 2011-12-23 Marek Polacek <polacek@redhat.com>
23850 * elf/dl-addr.c (determine_info): Add inline keyword.
23851 * elf/tst-auditmod4b.c (check_avx): Likewise.
23852 * elf/tst-auditmod6b.c (check_avx): Likewise.
23853 * elf/tst-auditmod6c.c (check_avx): Likewise.
23854 * elf/tst-auditmod7b.c (check_avx): Likewise.
23856 2011-12-23 Ulrich Drepper <drepper@gmail.com>
23858 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23861 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23864 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23865 processing for last bytes.
23867 2011-08-06 Bruno Haible <bruno@clisp.org>
23870 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23871 U+0385, not to U+1FEE.
23874 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23875 entry for U+00A5 U+0301.
23877 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23880 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23881 buffer for the output is too small.
23883 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23887 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23888 SSE flags if possible.
23890 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23894 processing for last bytes.
23896 2011-12-22 Joseph Myers <joseph@codesourcery.com>
23898 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
23899 (syscall-list-default-options, syscall-list-default-condition)
23900 (syscall-list-includes): Define.
23901 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
23902 list of ABIs and options and #if conditions for each ABI. Do not
23903 handle common syscalls between ABIs specially.
23904 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
23906 (syscall-list-variants, syscall-list-32bit-options)
23907 (syscall-list-32bit-condition, syscall-list-64bit-options)
23908 (syscall-list-64bit-condition): Define.
23909 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
23910 (syscall-list-variants, syscall-list-32bit-options)
23911 (syscall-list-32bit-condition, syscall-list-64bit-options)
23912 (syscall-list-64bit-condition): Define.
23913 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
23915 (syscall-list-variants, syscall-list-32bit-options)
23916 (syscall-list-32bit-condition, syscall-list-64bit-options)
23917 (syscall-list-64bit-condition): Define.
23918 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
23920 (syscall-list-variants, syscall-list-32bit-options)
23921 (syscall-list-32bit-condition, syscall-list-64bit-options)
23922 (syscall-list-64bit-condition): Define.
23924 2011-12-22 Ulrich Drepper <drepper@gmail.com>
23926 * locale/iso-639.def: Add brx entry.
23929 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23930 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23932 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23933 __feraiseexcept_renamed.
23935 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23938 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
23939 EPOLLET with unsigned values.
23940 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23943 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
23944 to large cancellation.
23945 * math/s_cacoshf.c: Likewise.
23946 * math/s_cacoshl.c: Likewise.
23948 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23952 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23953 * math/s_cacoshf.c: Likewise.
23954 * math/s_cacoshl.c: Likewise.
23956 2011-12-21 Ulrich Drepper <drepper@gmail.com>
23959 * iconv/gconv.h: Define __GCONV_SWAP.
23960 * iconvdata/unicode.c: The swap bit must be stored in __flags.
23961 * iconvdata/utf-16.c: Likewise.
23962 * iconvdata/utf-32.c: Likewise.
23964 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23967 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23968 numerator after shifting it by one limb.
23970 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23972 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23973 under [__USE_EXTERN_INLINES].
23975 2011-12-17 Ulrich Drepper <drepper@gmail.com>
23978 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23980 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23982 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23983 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23985 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23986 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
23987 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
23988 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
23989 for strncasecmp/strncasecmp_l compilation.
23990 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
23991 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
23993 2011-12-08 Marek Polacek <mpolacek@redhat.com>
23996 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23999 2011-12-17 Ulrich Drepper <drepper@gmail.com>
24002 * time/tzfile.c (__tzfile_read): Check values from file header.
24004 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24006 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24007 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24008 * powerpc/powerpc32/dl-start.S: Likewise.
24009 * powerpc/powerpc32/elf/start.S: Likewise.
24010 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24011 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24012 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24013 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24014 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24015 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24016 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24017 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24018 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24019 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24020 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24021 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24022 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24023 * powerpc/powerpc32/memset.S: Likewise.
24024 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24025 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24026 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24027 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24028 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24029 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24030 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24031 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24032 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24033 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24034 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24035 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24036 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24038 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24040 * math/libm-test.inc: Added more nearbyint tests.
24041 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24046 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24048 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24051 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24053 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24054 Add wcscpy-ssse3 wcscpy-c.
24055 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24056 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24057 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24058 * sysdeps/x86_64/wcschr.S: New file.
24059 * sysdeps/x86_64/wcsrchr.S: New file.
24060 * string/test-strcmp.c: Remove checking of wcscmp function for
24062 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24063 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24064 wcsrchr-sse2 wcsrchr-c.
24065 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24066 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24067 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24068 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24069 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24070 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24071 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24072 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24073 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24074 * wcsmbc/wcschr.c (WCSCHR): New macro.
24076 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24078 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24079 * wcsmbs/test-wcsrchr.c: New file.
24080 * string/test-strrchr.c: Add wcsrchr support.
24082 * wcsmbs/test-wcscpy.c: New file.
24083 * string/test-strcpy.c: Add wcscpy support.
24086 2011-12-10 Ulrich Drepper <drepper@gmail.com>
24088 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24091 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24094 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24096 2011-12-04 Ulrich Drepper <drepper@gmail.com>
24098 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
24099 Minor optimizations.
24101 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24102 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24103 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24105 2011-12-03 Ulrich Drepper <drepper@gmail.com>
24107 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24108 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24109 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24110 for gcc to avoid warnings.
24111 * inet/Makefile (tests): Add tst-checks.
24112 * inet/tst-checks.c: New file.
24114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24117 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24120 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24121 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24123 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24125 2011-12-02 Ulrich Drepper <drepper@gmail.com>
24127 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24130 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24132 2011-11-29 Joseph Myers <joseph@codesourcery.com>
24134 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24135 conditional on GCC version.
24136 (__arch_compare_and_exchange_val_8_acq)
24137 (__arch_compare_and_exchange_val_16_acq)
24138 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24139 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24140 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24142 2011-12-02 Joseph Myers <joseph@codesourcery.com>
24144 * sysdeps/sh/backtrace.c: New file.
24146 2011-12-02 Andreas Schwab <schwab@redhat.com>
24148 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24151 2011-12-01 Andreas Schwab <schwab@redhat.com>
24153 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24154 falling back to utime.
24156 2011-11-30 Andreas Schwab <schwab@redhat.com>
24158 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24159 expectations for float.
24161 2011-11-29 Andreas Schwab <schwab@redhat.com>
24163 * locale/weight.h (findidx): Add parameter len.
24164 * locale/weightwc.h (findidx): Likewise.
24165 * posix/fnmatch_loop.c (FCT): Adjust caller.
24166 * posix/regcomp.c (build_equiv_class): Likewise.
24167 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24168 * posix/regexec.c (check_node_accept_bytes): Likewise.
24169 * string/strcoll_l.c (STRCOLL): Likewise.
24170 * string/strxfrm_l.c (STRXFRM): Likewise.
24172 2011-11-17 Ulrich Drepper <drepper@gmail.com>
24174 * Makefile.in: Remove CVSOPT handling.
24175 * configure.in: Remove use of AC_REVISION.
24176 * iconvdata/Makefile (distribute): No need to filter out CVS.
24177 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24180 2011-11-16 Andreas Schwab <schwab@redhat.com>
24182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24183 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24184 [USE_AS_STRNCASECMP_L]: Likewise.
24185 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24186 NO_TLS_DIRECT_SEG_REFS.
24187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24188 Fix argument offsets for non-PIC.
24189 [USE_AS_STRNCASECMP_L]: Likewise.
24190 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24191 NO_TLS_DIRECT_SEG_REFS.
24193 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24195 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
24197 * locale/loadlocale.c (_nl_load_locale): Likewise.
24199 2011-11-15 Andreas Schwab <schwab@redhat.com>
24201 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24202 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24204 (SYSCALL_GETTIME): Set errno on error.
24206 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24207 count references to noai6ai_cached.
24209 2011-11-15 Ulrich Drepper <drepper@gmail.com>
24211 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24213 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24214 FD_CLOEXEC for /proc/self/maps.
24216 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24217 FD_CLOEXEC for /proc/meminfo.
24219 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24222 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24223 FD_CLOEXEC for given file.
24225 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24227 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24228 FD_CLOEXEC for /etc/hosts.
24229 (_gethtent): Likewise.
24231 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24233 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24234 cancellation and set FD_CLOEXEC for /etc/netgroup.
24236 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24237 reading /etc/publickey.
24239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24240 allow cancellation when reading /etc/group.
24242 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24244 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24246 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24247 when using data file.
24249 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24251 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24252 (write_nis_obj): Use "c" and "e" in fopen.
24254 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24256 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24258 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24260 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24262 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24265 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24267 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24269 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24271 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24272 file parsing and set FD_CLOEXEC.
24274 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24276 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24278 2011-11-14 Andreas Schwab <schwab@redhat.com>
24280 * malloc/arena.c (arena_get2): Don't call reused_arena when
24281 _int_new_arena failed.
24283 2011-11-14 Ulrich Drepper <drepper@gmail.com>
24285 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24286 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24287 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24288 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24289 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24291 to compile strcasecmp and strncasecmp.
24292 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24293 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24297 2011-11-13 Ulrich Drepper <drepper@gmail.com>
24299 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24300 locale-defines.sym to gen-as-const-headers.
24301 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24302 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24304 to compile strcasecmp and strncasecmp.
24305 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24306 strcasecmp_l and strncasecmp_l.
24307 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24308 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24309 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24310 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24311 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24312 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24313 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24314 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24315 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24316 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24317 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24319 2011-11-12 Ulrich Drepper <drepper@gmail.com>
24321 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24322 result of SYSDEP_GETTIME_CPU to retval.
24323 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24324 parameter list to macro. Remove trailing semicolon. Adjust users.
24326 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24329 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24331 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24333 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24334 from unused variable.
24336 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24338 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24341 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24344 * sunrpc/rpc_prot.c (rejected): Fix case value.
24346 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24347 unsigned long long int to avoid warnings in shift.
24349 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24351 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24354 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24355 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24358 * nis/nis_table.c (nis_list): Use variable of correct type for
24359 result of __follow_path call.
24361 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24363 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24364 of math functions ceil, trunc, floor, round, and sqrt, when
24365 avaliable on the platform.
24366 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24368 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24369 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24370 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24372 2011-10-30 Marek Polacek <mpolacek@redhat.com>
24374 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24375 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24377 2011-11-11 Roland McGrath <roland@hack.frob.com>
24379 * include/unistd.h: Fix __readlink return type.
24380 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24382 2011-11-11 Ulrich Drepper <drepper@gmail.com>
24384 * stdlib/ucontext.h: Undo last change for makecontext.
24386 2011-11-11 Andreas Schwab <schwab@redhat.com>
24388 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24390 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24391 * setjmp/setjmp.h: Mark functions as non-leaf.
24392 * setjmp/bits/setjmp2.h: Likewise.
24393 * stdlib/ucontext.h: Likewise.
24395 2011-11-10 Andreas Schwab <schwab@redhat.com>
24397 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24398 (reused_arena): Don't check arena limit.
24399 (arena_get2): Atomically check arena limit.
24401 2011-11-08 Ulrich Drepper <drepper@gmail.com>
24403 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24404 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24409 2011-11-07 Andreas Schwab <schwab@redhat.com>
24411 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24412 handler when locking.
24414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24415 Fix size of allocated buffer.
24417 2011-11-04 Andreas Schwab <schwab@redhat.com>
24420 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24421 declarations for long double functions.
24422 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24424 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24426 2011-11-03 Andreas Schwab <schwab@redhat.com>
24428 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24431 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24434 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24436 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24438 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24440 * include/alloca.h (stackinfo_alloca_round): Define.
24441 (extend_alloca): Use it.
24442 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24443 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24446 * scripts/check-local-headers.sh: Ignore libaudit.h.
24448 * nscd/Makefile (extra-objs): Make recursively expanded.
24450 2011-11-01 Ulrich Drepper <drepper@gmail.com>
24452 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24455 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24456 * posix/tst-rfc3484-2.c: Likewise.
24457 * posix/tst-rfc3484-3.c: Likewise.
24459 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24461 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24463 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24464 process_vm_writev from libc using GLIBC_2.15 version.
24466 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24468 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24470 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24473 2011-10-31 Ulrich Drepper <drepper@gmail.com>
24476 * nss/getent.c (initgroups_keys): Show error message in case no group
24479 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24480 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24481 __bump_nl_timestamp.
24482 * nscd/connections (nscd_init): When host database is served open
24483 netlink socket and request notification about configuration changes.
24484 (main_loop_poll): Track netlink file descriptor and bump timestamp
24485 in case data becomes available.
24486 (main_loop_epoll): Likewise.
24487 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24488 (database_pers_head): Add extra_data fileds.
24489 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24490 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24491 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24494 in6ai data, call __free_in6ai.
24495 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24496 Add -DHAVE_NETLINK.
24497 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24498 interface information. Reuse previous data if netlink timestamp
24500 (__bump_nl_timestamp): New function.
24501 (__free_in6ai): New function.
24503 2011-10-30 Ulrich Drepper <drepper@gmail.com>
24505 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24506 close_not_cancel_no_status here.
24507 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24509 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24512 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24515 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
24516 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24517 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24519 2011-07-03 Andreas Jaeger <aj@suse.de>
24522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24523 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24524 * math/libm-test.inc (sin_test): Add test case.
24526 2011-10-29 Ulrich Drepper <drepper@gmail.com>
24529 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24530 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24532 * elf/chroot_canon.c (chroot_canon): Cleanups.
24534 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24537 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24538 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24540 * string/test-strchr.c: Make usable for strchrnul testing.
24541 * string/test-strchrnul.c: New file.
24542 * string/Makefile (strop-tests): Add strchrnul.
24544 * po/it.po: Update from translation team.
24545 * po/es.po: Likewise.
24547 2011-10-28 Ulrich Drepper <drepper@gmail.com>
24549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24550 the three constants needed as parameters. Drop the others.
24551 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24552 __m128i_strloadu_tolower.
24553 Create and initialize variable zero and use it in all the places
24554 where _mm_setzero_si128 was used.
24556 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24557 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24558 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24559 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24561 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24562 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24563 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24564 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24566 __mpranred, __mptan.
24567 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24568 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24569 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24570 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24571 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24572 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24574 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24575 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24577 2011-10-28 Andreas Schwab <schwab@redhat.com>
24579 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24580 redefine if SHARED.
24581 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24584 wide char related routines to wcsmbs subdir.
24586 2011-10-27 Andreas Schwab <schwab@redhat.com>
24589 * misc/sys/cdefs.h (__THROWNL): Define.
24590 * posix/unistd.h: Use __THREADNL instead of __THREAD
24591 for memory synchronization functions.
24593 2011-10-26 Roland McGrath <roland@hack.frob.com>
24596 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24598 * manual/stdio.texi (Obstack Streams): Node removed.
24600 2011-10-26 Andreas Schwab <schwab@redhat.com>
24602 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24603 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24604 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24606 * math/math_private.h (math_force_eval): Allow non-addressable
24608 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24610 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24612 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24613 file is not needed.
24615 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24617 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24618 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24620 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24621 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24622 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24624 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24625 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24626 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24627 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24628 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24629 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24630 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24631 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24632 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24633 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24634 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24635 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24638 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24639 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24640 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24641 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24642 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24644 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24645 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24648 place. Use VEX encoding when compiling for AVX.
24650 2011-10-25 Andreas Schwab <schwab@redhat.com>
24652 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24653 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24655 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24657 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24659 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
24660 useless if() expression.
24661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24662 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24663 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24667 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24670 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24672 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24673 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24674 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24675 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24676 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24677 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24679 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24681 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24683 2011-10-25 Andreas Schwab <schwab@redhat.com>
24685 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24687 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24689 2011-10-25 Ulrich Drepper <drepper@gmail.com>
24691 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24692 .text section. Avoid duplicate constants.
24693 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24694 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24695 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24701 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24702 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
24703 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24704 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24705 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24706 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24707 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24708 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24709 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24710 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24712 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24713 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24714 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24715 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24716 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
24717 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
24718 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
24719 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
24720 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
24721 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
24722 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
24723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
24724 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
24725 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24726 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
24727 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
24728 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
24729 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
24730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
24731 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
24732 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
24733 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
24734 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
24735 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
24736 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
24737 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
24739 2011-10-24 Ulrich Drepper <drepper@gmail.com>
24741 * sysdeps/x86_64/dla.h: Move to ...
24742 * sysdeps/x86_64/fpu/dla.h: ...here.
24743 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
24744 situations. Use __builtin_fma only for gcc 4.6 and up.
24746 * config.make.in: Add have-mfma4 entry.
24747 * configure.in: Substitute libc_cv_cc_fma4.
24748 * math/Makefile (dbl-only-routines): Add sincostab.
24749 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
24750 Use __sincostab not sincos.
24751 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
24753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
24758 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
24759 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
24760 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
24761 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
24763 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24764 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24766 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
24767 define aliases when function name is a macro.
24768 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
24769 sysdeps/ieee754/dbl-64/sincos.tbl.
24770 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
24771 fma4-enabled routines.
24772 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
24773 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
24774 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
24775 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
24776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
24777 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
24778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
24779 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
24780 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
24781 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
24782 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
24783 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
24784 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
24785 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
24786 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
24787 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
24788 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
24789 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
24790 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
24791 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
24792 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
24793 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
24794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
24795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
24796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
24797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
24798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
24799 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
24800 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
24801 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
24803 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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/halfulp.c: Likewise.
24811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24814 2011-10-24 Andreas Schwab <schwab@redhat.com>
24816 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24820 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24822 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24824 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24826 * string/strnlen.c: Don't define STRNLEN, reverse logic.
24827 Remove unused variable magic_bits.
24828 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
24830 * string/strnlen.c: Define and use STRNLEN macro.
24831 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
24832 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
24833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
24834 * wcsmbs/wcslen.c: Define and use WCSLEN.
24835 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
24836 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
24837 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
24838 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
24839 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
24840 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
24841 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24843 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24846 strnlen-sse2-no-bsf.
24847 Rename strlen-no-bsf to strlen-sse2-no-bsf.
24848 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
24849 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
24850 Add strnlen support.
24851 (USE_AS_STRNLEN): New macro.
24852 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
24853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
24854 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
24855 * sysdeps/x86_64/wcslen.S: New file.
24857 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24860 XMM-moves are used for copying on small sizes.
24862 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24864 * wcsmbs/Makefile (strop-tests): Add wcschr.
24865 * wcsmbs/test-wcschr.c: New file.
24866 * string/test-strchr.c: Update.
24867 Add wcschr support.
24870 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24872 * wcsmbs/Makefile (strop-tests): Add wcslen.
24873 * wcsmbs/test-wcslen.c: New file.
24874 * string/test-strlen.c: Update.
24875 Add wcslen support.
24878 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24880 * po/it.po: Update from translation team.
24882 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24884 * sysdeps/x86_64/wcscmp.S: Update.
24885 Fix wrong comparison semantics.
24886 wcscmp shall use signed comparison not unsigned.
24887 Don't use substraction to avoid overflow bug.
24888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24889 * wcsmbc/wcscmp.c: Likewise.
24890 * string/test-strcmp.c: Likewise.
24891 Add new tests to check cases with negative values.
24893 2011-10-23 Ulrich Drepper <drepper@gmail.com>
24895 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
24896 * sysdeps/x86_64/dla.h: ...here. New file.
24897 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
24898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24907 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24910 __ynl_finite aliases.
24912 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24916 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24918 [DLA_FMA] (EMULV): Use DLA_FMA.
24919 [DLA_FMA] (MUL12): Use EMULV.
24920 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
24921 that are not needed.
24922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24930 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24932 * math/s_nan.c: Undef __nan.
24933 * math/s_nanf.c: Undef __nanf.
24934 * math/s_nanl.c: Undef __nanl.
24935 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
24938 2011-10-22 Ulrich Drepper <drepper@gmail.com>
24940 * math/s_catan.c: Add branch predictions.
24941 * math/s_catanf.c: Likewise.
24942 * math/s_catanh.c: Likewise.
24943 * math/s_catanhf.c: Likewise.
24944 * math/s_catanhl.c: Likewise.
24945 * math/s_catanl.c: Likewise.
24946 * math/s_cexp.c: Likewise.
24947 * math/s_cexpf.c: Likewise.
24948 * math/s_cexpl.c: Likewise.
24949 * math/s_clog.c: Likewise.
24950 * math/s_clog10.c: Likewise.
24951 * math/s_clog10f.c: Likewise.
24952 * math/s_clog10l.c: Likewise.
24953 * math/s_clogf.c: Likewise.
24954 * math/s_clogl.c: Likewise.
24955 * math/s_csqrt.c: Likewise.
24956 * math/s_csqrtf.c: Likewise.
24957 * math/s_csqrtl.c: Likewise.
24958 * math/s_ctanf.c: Likewise.
24959 * math/s_ctanh.c: Likewise.
24960 * math/s_ctanhf.c: Likewise.
24961 * math/s_ctanhl.c: Likewise.
24962 * math/s_ctanl.c: Likewise.
24964 * math/math_private.h: Define __nan, __nanf, __nanl.
24965 * math/s_cacosh.c: Include <math_private.h>.
24966 * math/s_cacoshl.c: Likewise.
24967 * math/s_casinh.c: Likewise.
24968 * math/s_casinhf.c: Likewise.
24969 * math/s_casinhl.c: Likewise.
24970 * math/s_ccos.c: Rely entire on ccosh.
24971 * math/s_ccosf.c: Rely entire on ccoshf.
24972 * math/s_ccosl.c: Rely entirely on ccoshl.
24973 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
24974 Remove tests for FE_INVALID.
24975 * math/s_ccoshf.c: Likewise.
24976 * math/s_ccoshl.c: Likewise.
24977 * math/s_csin.c: Likewise.
24978 * math/s_csinf.c: Likewise.
24979 * math/s_csinh.c Likewise.
24980 * math/s_csinhf.c: Likewise.
24981 * math/s_csinhl.c: Likewise.
24982 * math/s_csinl.c: Likewise.
24983 * math/s_ctan.c: Likewise.
24984 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
24985 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
24986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
24988 2011-10-21 Ulrich Drepper <drepper@gmail.com>
24990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24991 compilation problems.
24993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24996 2011-10-20 Ulrich Drepper <drepper@gmail.com>
24998 * sysdeps/i386/configure.in: Test for -mfma4 option.
24999 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25000 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25001 COMMON_CPUID_INDEX_80000001.
25002 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25003 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25004 use it if FMA3 is not supported.
25005 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25007 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25008 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25010 2011-10-20 Andreas Schwab <schwab@redhat.com>
25013 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25014 it would create a cycle with a link time dependency.
25016 2011-10-19 Ulrich Drepper <drepper@gmail.com>
25018 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25020 * string/Makefile (strop-tests): Add rawmemchr.
25021 * string/test-rawmemchr.c: New file.
25023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25024 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25025 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25026 when compiling str{,n}casecmp and when AVX is available. Hook up
25027 new optimized code in initializers.
25029 2011-10-19 Andreas Schwab <schwab@redhat.com>
25031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25032 __feraiseexcept instead of feraiseexcept.
25034 2011-10-18 Ulrich Drepper <drepper@gmail.com>
25036 * math/math_private.h: Define defaults for libc_fetestexcept and
25038 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25039 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25040 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25041 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25042 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25043 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25044 libc_fetestexcept and libc_feupdateenv.
25046 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25047 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25048 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25049 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25050 libc_feholdexcept_setround.
25052 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25053 Add s_nearbyint-c and s_nearbyintf-c.
25054 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25055 nearbyintf inlines.
25056 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25057 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25058 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25061 * math/math_private.h: Define defaults for libc_fegetround,
25062 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25063 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25064 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25066 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25067 standard functions.
25068 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25069 Remove comments and hacks for old compiler versions.
25070 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25071 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25072 libc_feholdexceptl.
25074 2011-10-18 Andreas Schwab <schwab@redhat.com>
25076 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
25077 (__feraiseexcept_renamed): Add __NTH.
25078 (feraiseexcept): Add __NTH. Rename local variables to fix
25079 namespace violations.
25081 2011-10-17 Ulrich Drepper <drepper@gmail.com>
25083 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25085 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25087 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25088 recently added interfaces.
25089 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25091 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25092 about macro parameter expansion.
25094 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25095 __NO_MATH_INLINES is defined. Cleanups.
25097 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25098 and __floorf is target has SSE4.1.
25099 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25100 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25101 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25102 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25104 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25106 (floorf): Likewise.
25108 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25110 2011-10-17 Andreas Schwab <schwab@redhat.com>
25112 * misc/sys/cdefs.h: Fix last change.
25114 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25117 2011-10-16 Ulrich Drepper <drepper@gmail.com>
25119 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25121 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25123 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25124 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25127 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25128 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25129 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25130 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25131 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25132 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25133 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25134 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25135 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25136 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25137 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25138 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25139 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25140 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25141 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25142 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25144 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25145 ceil, ceilf, floor, floorf.
25147 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25148 Perform IRELATIVE relocations last.
25150 * elf/do-rel.h: Add another parameter nrelative, replacing the
25151 local variable with the same name. Change name of the function
25152 to end in Rel or Rela (uppercase).
25153 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25154 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25155 elf_dynamic_do_##reloc function.
25157 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25159 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25160 is sufficient, at least on modern CPUs.
25162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25164 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25167 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25169 * math/bits/math-finite.h: Add entries for exp.
25170 * math/e_expl.c: Add __*_finite alias.
25171 * sysdeps/i386/fpu/e_exp.S: Likewise.
25172 * sysdeps/i386/fpu/e_expf.S: Likewise.
25173 * sysdeps/i386/fpu/e_expl.c: Likewise.
25174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25175 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25178 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25179 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25180 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25182 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25183 is sufficient, at least on modern CPUs.
25185 * ctype/ctype-info.c (__ctype_init): Define.
25186 * include/ctype.h (__ctype_init): Declare.
25187 (__ctype_b_loc): The variable is always initialized.
25188 (__ctype_toupper_loc): Likewise.
25189 (__ctype_tolower_loc): Likewise.
25190 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25191 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25193 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25195 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25197 * configure.in: Also look in $cxxmachine/include for C++ system
25200 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25202 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25203 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25204 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25205 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25206 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25207 (USE_AS_WMEMCMP): New macro.
25209 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25210 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25211 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25212 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25214 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25215 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25216 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25217 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25218 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25219 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25220 (USE_AS_WMEMCMP): New macro.
25221 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25222 * sysdeps/string/test-memcmp.c: Update.
25223 Fix simple_wmemcmp.
25225 * wcsmbs/wmemcmp.c: Update.
25226 (WMEMCMP): New macro.
25229 2011-10-12 Andreas Jaeger <aj@suse.de>
25232 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25234 2011-10-15 Ulrich Drepper <drepper@gmail.com>
25236 * libio/iofwide.c (do_length): Avoid warning.
25238 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25240 2011-10-14 Ulrich Drepper <drepper@gmail.com>
25242 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25244 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25245 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25246 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25247 * sysdeps/i386/i686/fpu/e_log.S: New file.
25248 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25249 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25251 * ctype/ctype.h: Add support for inlined isXXX functions when
25252 compiling C++ code.
25254 2011-10-14 Andreas Schwab <schwab@redhat.com>
25256 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25258 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25260 2011-10-13 Roland McGrath <roland@hack.frob.com>
25263 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25265 2011-10-13 Andreas Schwab <schwab@redhat.com>
25267 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25268 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25271 * sysdeps/x86_64/memrchr.S: Check for zero size.
25273 * string/stratcliff.c: Add memrchr tests.
25275 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25278 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25279 rawmemchr-sse2 rawmemchr-sse2-bsf.
25280 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25281 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25282 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25283 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25284 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25285 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25286 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25287 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25288 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25289 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25290 * string/memrchr.c (MEMRCHR): New macro.
25292 2011-10-12 Ulrich Drepper <drepper@gmail.com>
25294 Add integration with gcc's -ffinite-math-only and optimize wrapper
25296 * Versions.def: Define GLIBC_2.15 version for libm.
25297 * math/Makefile (headers): Add bits/math-finite.h.
25298 * math/bits/math-finite.h: New file.
25299 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25300 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25301 * math/e_acoshl.c: Add __*_finite alias.
25302 * math/e_acosl.c: Likewise.
25303 * math/e_asinl.c: Likewise.
25304 * math/e_atan2l.c: Likewise.
25305 * math/e_atanhl.c: Likewise.
25306 * math/e_coshl.c: Likewise.
25307 * math/e_exp10.c: Likewise.
25308 * math/e_exp10f.c: Likewise.
25309 * math/e_exp10l.c: Likewise.
25310 * math/e_exp2l.c: Likewise.
25311 * math/e_fmodl.c: Likewise.
25312 * math/e_gammal_r.c: Likewise.
25313 * math/e_hypotl.c: Likewise.
25314 * math/e_j0l.c: Likewise.
25315 * math/e_j1l.c: Likewise.
25316 * math/e_jnl.c: Likewise.
25317 * math/e_lgammal_r.c: Likewise.
25318 * math/e_log10l.c: Likewise.
25319 * math/e_log2l.c: Likewise.
25320 * math/e_logl.c: Likewise.
25321 * math/e_powl.c: Likewise.
25322 * math/e_sinhl.c: Likewise.
25323 * math/e_sqrtl.c: Likewise.
25324 * math/e_scalb.c: Completely rewritten and optimized.
25325 * math/e_scalbf.c: Likewise.
25326 * math/e_scalbl.c: Likewise.
25327 * math/w_acos.c: Likewise.
25328 * math/w_acosf.c: Likewise.
25329 * math/w_acosl.c: Likewise.
25330 * math/w_acosh.c: Likewise.
25331 * math/w_acoshf.c: Likewise.
25332 * math/w_acoshl.c: Likewise.
25333 * math/w_asin.c: Likewise.
25334 * math/w_asinf.c: Likewise.
25335 * math/w_asinl.c: Likewise.
25336 * math/w_atan2.c: Likewise.
25337 * math/w_atan2f.c: Likewise.
25338 * math/w_atan2l.c: Likewise.
25339 * math/w_atanh.c: Likewise.
25340 * math/w_atanhf.c: Likewise.
25341 * math/w_atanhl.c: Likewise.
25342 * math/w_exp10.c: Likewise.
25343 * math/w_exp10f.c: Likewise.
25344 * math/w_exp10l.c: Likewise.
25345 * math/w_fmod.c: Likewise.
25346 * math/w_fmodf.c: Likewise.
25347 * math/w_fmodl.c: Likewise.
25348 * math/w_j0.c: Likewise.
25349 * math/w_j0f.c: Likewise.
25350 * math/w_j0l.c: Likewise.
25351 * math/w_j1.c: Likewise.
25352 * math/w_j1f.c: Likewise.
25353 * math/w_j1l.c: Likewise.
25354 * math/w_jn.c: Likewise.
25355 * math/w_jnf.c: Likewise.
25356 * math/w_log.c: Likewise.
25357 * math/w_logf.c: Likewise.
25358 * math/w_logl.c: Likewise.
25359 * math/w_log10.c: Likewise.
25360 * math/w_log10f.c: Likewise.
25361 * math/w_log10l.c: Likewise.
25362 * math/w_log2.c: Likewise.
25363 * math/w_log2f.c: Likewise.
25364 * math/w_log2l.c: Likewise.
25365 * math/w_pow.c: Likewise.
25366 * math/w_powf.c: Likewise.
25367 * math/w_powl.c: Likewise.
25368 * math/w_remainder.c: Likewise.
25369 * math/w_remainderf.c: Likewise.
25370 * math/w_remainderl.c: Likewise.
25371 * math/w_scalb.c: Likewise.
25372 * math/w_scalbf.c: Likewise.
25373 * math/w_scalbl.c: Likewise.
25374 * math/w_sqrt.c: Likewise.
25375 * math/w_sqrtf.c: Likewise.
25376 * math/w_sqrtl.c: Likewise.
25377 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25378 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25380 * math/math_private.h: Declare __kernel_standard_f.
25381 * math/w_cosh.c: Remove cruft and optimize a bit.
25382 * math/w_coshf.c: Likewise.
25383 * math/w_coshl.c: Likewise.
25384 * math/w_exp2.c: Likewise.
25385 * math/w_exp2f.c: Likewise.
25386 * math/w_exp2l.c: Likewise.
25387 * math/w_hypot.c: Likewise.
25388 * math/w_hypotf.c: Likewise.
25389 * math/w_hypotl.c: Likewise.
25390 * math/w_lgamma.c: Likewise.
25391 * math/w_lgamma_r.c: Likewise.
25392 * math/w_lgammaf.c: Likewise.
25393 * math/w_lgammaf_r.c: Likewise.
25394 * math/w_lgammal.c: Likewise.
25395 * math/w_lgammal_r.c: Likewise.
25396 * math/w_sinh.c: Likewise.
25397 * math/w_sinhf.c: Likewise.
25398 * math/w_sinhl.c: Likewise.
25399 * math/w_tgamma.c: Likewise.
25400 * math/w_tgammaf.c: Likewise.
25401 * math/w_tgammal.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25404 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25405 Minor optimizations. Pretty printing. Remove cruft.
25406 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25407 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25410 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25411 * sysdeps/i386/fpu/e_asin.S: Likewise.
25412 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25413 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25414 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25415 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25416 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25417 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25419 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25420 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25421 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25422 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25423 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25424 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25425 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25426 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25427 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25428 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25429 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25430 * sysdeps/i386/fpu/e_log.S: Likewise.
25431 * sysdeps/i386/fpu/e_log10.S: Likewise.
25432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25433 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25434 * sysdeps/i386/fpu/e_log2.S: Likewise.
25435 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25436 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25437 * sysdeps/i386/fpu/e_logf.S: Likewise.
25438 * sysdeps/i386/fpu/e_logl.S: Likewise.
25439 * sysdeps/i386/fpu/e_pow.S: Likewise.
25440 * sysdeps/i386/fpu/e_powf.S: Likewise.
25441 * sysdeps/i386/fpu/e_powl.S: Likewise.
25442 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25443 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25444 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25445 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25448 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25449 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25450 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25454 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25455 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25456 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25457 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25458 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25459 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25460 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25461 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25472 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25473 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25474 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25475 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25476 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25477 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25478 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25479 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25480 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25485 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25486 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25487 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25488 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25489 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25490 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25491 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25492 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25531 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25534 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25536 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25537 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25539 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25542 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25543 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25544 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25545 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25546 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25547 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25548 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25549 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25550 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25551 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25552 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25553 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25554 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25555 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25556 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25557 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25559 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25560 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25561 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25562 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25563 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25564 (__isnanf): Likewise.
25565 (__isinf_ns): Likewise.
25566 (__isinf_nsf): Likewise.
25567 (__finite): Likewise.
25568 (__finitef): Likewise.
25569 (__ieee754_sqrt): Define as macro.
25570 (__ieee754_sqrtf): Define as macro.
25571 (__ieee754_sqrtl): Define as macro.
25572 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25574 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25575 __FINITE_MATH_ONLY__ consistent.
25576 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25578 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25580 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25585 2011-10-09 Ulrich Drepper <drepper@gmail.com>
25587 * po/ja.po: Update from translation team.
25589 2011-10-08 Roland McGrath <roland@hack.frob.com>
25591 * locale/programs/locarchive.c (prepare_address_space): New function.
25592 (create_archive, enlarge_archive, open_archive): Use it.
25594 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25595 inside [SHARED], where it is used.
25597 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25599 * nss/getent.c (netgroup_keys): Remove unused variable.
25600 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25602 2011-10-08 Ulrich Drepper <drepper@gmail.com>
25604 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25605 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25607 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25608 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25609 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25610 * math/Makefile (libm-calls): Add s_isinf_ns.
25611 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25612 * math/multc3.c: Likewise.
25613 * math/s_casin.c: Likewise.
25614 * math/s_casinf.c: Likewise.
25615 * math/s_casinl.c: Likewise.
25616 * math/s_ccos.c: Likewise.
25617 * math/s_ccosf.c: Likewise.
25618 * math/s_ccosl.c: Likewise.
25619 * math/s_ctan.c: Likewise.
25620 * math/s_ctanf.c: Likewise.
25621 * math/s_ctanh.c: Likewise.
25622 * math/s_ctanhf.c: Likewise.
25623 * math/s_ctanhl.c: Likewise.
25624 * math/s_ctanl.c: Likewise.
25625 * math/w_fmod.c: Likewise.
25626 * math/w_fmodf.c: Likewise.
25627 * math/w_fmodl.c: Likewise.
25628 * math/w_remainder.c: Likewise.
25629 * math/w_remainderf.c: Likewise.
25630 * math/w_remainderl.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25632 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25635 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25636 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25637 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25638 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25640 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25642 * stdio-common/printf_fphex.c: Likewise.
25643 * stdio-common/printf_size.c: Likewise.
25645 * math/e_exp10.c: Include math_private.h using <...> not "...".
25646 * math/e_exp10f.c: Likewise.
25647 * math/e_exp10l.c: Likewise.
25648 * math/e_exp2l.c: Likewise.
25649 * math/e_j0l.c: Likewise.
25650 * math/e_j1l.c: Likewise.
25651 * math/e_jnl.c: Likewise.
25652 * math/e_lgammal_r.c: Likewise.
25653 * math/e_rem_pio2l.c: Likewise.
25654 * math/e_scalb.c: Likewise.
25655 * math/e_scalbf.c: Likewise.
25656 * math/e_scalbl.c: Likewise.
25657 * math/k_cosl.c: Likewise.
25658 * math/k_sinl.c: Likewise.
25659 * math/k_tanl.c: Likewise.
25660 * math/s_cacoshf.c: Likewise.
25661 * math/s_catan.c: Likewise.
25662 * math/s_catanf.c: Likewise.
25663 * math/s_catanh.c: Likewise.
25664 * math/s_catanhf.c: Likewise.
25665 * math/s_catanhl.c: Likewise.
25666 * math/s_catanl.c: Likewise.
25667 * math/s_ccosh.c: Likewise.
25668 * math/s_ccoshf.c: Likewise.
25669 * math/s_ccoshl.c: Likewise.
25670 * math/s_cexp.c: Likewise.
25671 * math/s_cexpf.c: Likewise.
25672 * math/s_cexpl.c: Likewise.
25673 * math/s_clog.c: Likewise.
25674 * math/s_clog10.c: Likewise.
25675 * math/s_clog10f.c: Likewise.
25676 * math/s_clog10l.c: Likewise.
25677 * math/s_clogf.c: Likewise.
25678 * math/s_clogl.c: Likewise.
25679 * math/s_csin.c: Likewise.
25680 * math/s_csinf.c: Likewise.
25681 * math/s_csinh.c: Likewise.
25682 * math/s_csinhf.c: Likewise.
25683 * math/s_csinhl.c: Likewise.
25684 * math/s_csinl.c: Likewise.
25685 * math/s_csqrt.c: Likewise.
25686 * math/s_csqrtf.c: Likewise.
25687 * math/s_csqrtl.c: Likewise.
25688 * math/s_ctan.c: Likewise.
25689 * math/s_ctanf.c: Likewise.
25690 * math/s_ctanh.c: Likewise.
25691 * math/s_ctanhf.c: Likewise.
25692 * math/s_ctanhl.c: Likewise.
25693 * math/s_ctanl.c: Likewise.
25694 * math/s_ldexp.c: Likewise.
25695 * math/s_ldexpf.c: Likewise.
25696 * math/s_ldexpl.c: Likewise.
25697 * math/s_significand.c: Likewise.
25698 * math/s_significandf.c: Likewise.
25699 * math/s_significandl.c: Likewise.
25700 * math/w_acos.c: Likewise.
25701 * math/w_acosf.c: Likewise.
25702 * math/w_acosh.c: Likewise.
25703 * math/w_acoshf.c: Likewise.
25704 * math/w_acoshl.c: Likewise.
25705 * math/w_acosl.c: Likewise.
25706 * math/w_asin.c: Likewise.
25707 * math/w_asinf.c: Likewise.
25708 * math/w_asinl.c: Likewise.
25709 * math/w_atan2.c: Likewise.
25710 * math/w_atan2f.c: Likewise.
25711 * math/w_atan2l.c: Likewise.
25712 * math/w_atanh.c: Likewise.
25713 * math/w_atanhf.c: Likewise.
25714 * math/w_atanhl.c: Likewise.
25715 * math/w_cosh.c: Likewise.
25716 * math/w_coshf.c: Likewise.
25717 * math/w_coshl.c: Likewise.
25718 * math/w_dremf.c: Likewise.
25719 * math/w_exp10.c: Likewise.
25720 * math/w_exp10f.c: Likewise.
25721 * math/w_exp10l.c: Likewise.
25722 * math/w_exp2.c: Likewise.
25723 * math/w_exp2f.c: Likewise.
25724 * math/w_fmod.c: Likewise.
25725 * math/w_fmodf.c: Likewise.
25726 * math/w_fmodl.c: Likewise.
25727 * math/w_hypot.c: Likewise.
25728 * math/w_hypotf.c: Likewise.
25729 * math/w_hypotl.c: Likewise.
25730 * math/w_j0.c: Likewise.
25731 * math/w_j0f.c: Likewise.
25732 * math/w_j0l.c: Likewise.
25733 * math/w_j1.c: Likewise.
25734 * math/w_j1f.c: Likewise.
25735 * math/w_j1l.c: Likewise.
25736 * math/w_jn.c: Likewise.
25737 * math/w_jnf.c: Likewise.
25738 * math/w_jnl.c: Likewise.
25739 * math/w_lgamma.c: Likewise.
25740 * math/w_lgamma_r.c: Likewise.
25741 * math/w_lgammaf.c: Likewise.
25742 * math/w_lgammaf_r.c: Likewise.
25743 * math/w_lgammal.c: Likewise.
25744 * math/w_lgammal_r.c: Likewise.
25745 * math/w_log.c: Likewise.
25746 * math/w_log10.c: Likewise.
25747 * math/w_log10f.c: Likewise.
25748 * math/w_log10l.c: Likewise.
25749 * math/w_log2.c: Likewise.
25750 * math/w_log2f.c: Likewise.
25751 * math/w_log2l.c: Likewise.
25752 * math/w_logf.c: Likewise.
25753 * math/w_logl.c: Likewise.
25754 * math/w_pow.c: Likewise.
25755 * math/w_powf.c: Likewise.
25756 * math/w_powl.c: Likewise.
25757 * math/w_remainder.c: Likewise.
25758 * math/w_remainderf.c: Likewise.
25759 * math/w_remainderl.c: Likewise.
25760 * math/w_scalb.c: Likewise.
25761 * math/w_scalbf.c: Likewise.
25762 * math/w_scalbl.c: Likewise.
25763 * math/w_sinh.c: Likewise.
25764 * math/w_sinhf.c: Likewise.
25765 * math/w_sinhl.c: Likewise.
25766 * math/w_sqrt.c: Likewise.
25767 * math/w_sqrtf.c: Likewise.
25768 * math/w_sqrtl.c: Likewise.
25769 * math/w_tgamma.c: Likewise.
25770 * math/w_tgammaf.c: Likewise.
25771 * math/w_tgammal.c: Likewise.
25773 * po/ja.po: Update from translation team.
25775 2011-09-29 Andreas Jaeger <aj@suse.de>
25778 * sunrpc/netname.c (netname2host): Fix logic.
25782 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25784 * math/w_remainder.c (__remainder): Likewise.
25785 * math/w_remainderf.c (__remainderf): Likewise.
25786 * math/libm-test.inc (remainder_test): Add test cases.
25788 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25790 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25793 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25795 * string/test-memcmp.c: Avoid unncessary #defines.
25796 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25798 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25800 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
25801 Use new sse2 version for core i3 - i7 as it's faster
25802 than sse42 version.
25803 (bit_Prefer_PMINUB_for_stringop): New.
25804 * sysdeps/x86_64/rawmemchr.S: Update.
25805 Replace with faster SSE2 version.
25806 * sysdeps/x86_64/memrchr.S: New file.
25807 * sysdeps/x86_64/memchr.S: Update.
25808 Replace with faster SSE2 version.
25810 2011-09-12 Marek Polacek <mpolacek@redhat.com>
25812 * elf/dl-load.c (lose): Add cast to avoid warning.
25814 2011-10-07 Ulrich Drepper <drepper@gmail.com>
25816 * po/ca.po: Update from translation team.
25818 * inet/getnetgrent_r.c: Hook up nscd.
25819 * nscd/Makefile (routines): Add nscd_netgroup.
25820 (nscd-modules): Add netgroupcache.
25821 (CFLAGS-netgroupcache.c): Define.
25822 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
25823 (cache_search): Add const to second parameter.
25824 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
25826 (dbs): Add netgrdb entry.
25827 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
25828 (verify_persistent_db): Handle netgrdb.
25829 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
25830 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
25832 (netgroup_response_header): Define.
25833 (innetgroup_response_header): Define.
25834 (datahead): Add netgroup_response_header and innetgroup_response_header
25836 * nscd/nscd.conf: Add entries for netgroup cache.
25837 * nscd/nscd.h (dbtype): Add netgrdb.
25838 (_PATH_NSCD_NETGROUP_DB): Define.
25839 (netgroup_iov_disabled): Declare.
25840 (xmalloc, xcalloc, xrealloc): Move declarations here.
25841 (cache_search): Adjust prototype.
25842 Add netgroup-related prototypes.
25843 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
25844 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
25845 (__nscd_innetgr): Declare.
25846 * nscd/selinux.c (perms): Use access_vector_t as element type and
25847 add netgroup-related initializers.
25848 * nscd/netgroupcache.c: New file.
25849 * nscd/nscd_netgroup.c: New file.
25850 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
25851 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
25852 For four parameters use innetgr.
25853 * nss/nss_files/files-init.c: Add definition and callback for netgr.
25854 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
25855 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
25856 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
25858 * nscd/connections.c (register_traced_file): Don't register file
25859 for disabled databases.
25861 2011-10-06 Ulrich Drepper <drepper@gmail.com>
25863 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25865 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25866 from tree and freeing node.
25868 2011-09-25 Jiri Olsa <jolsa@redhat.com>
25870 * nss/nsswitch.c (__nss_database_lookup): Handle
25871 nss_parse_service_list out of memory case.
25873 2011-09-15 Jiri Olsa <jolsa@redhat.com>
25875 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25876 out of memory case.
25878 2011-10-04 Andreas Schwab <schwab@redhat.com>
25880 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25881 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25883 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
25884 elf_machine_rela, elf_machine_lazy_rel.
25885 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
25886 (ELF_DYNAMIC_DO_REL): Likewise.
25887 (ELF_DYNAMIC_DO_RELA): Likewise.
25888 (ELF_DYNAMIC_RELOCATE): Likewise.
25889 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
25890 to ELF_DYNAMIC_DO_REL.
25891 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
25892 (dl_main): In trace mode always set __RTLD_NOIFUNC.
25893 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
25895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
25896 skip_ifunc, don't call ifunc function if non-zero.
25897 (elf_machine_rela): Likewise.
25898 (elf_machine_lazy_rel): Likewise.
25899 (elf_machine_lazy_rela): Likewise.
25900 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
25901 (elf_machine_lazy_rel): Likewise.
25902 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
25904 (elf_machine_lazy_rel): Likewise.
25905 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25907 (elf_machine_lazy_rel): Likewise.
25908 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
25909 (elf_machine_lazy_rel): Likewise.
25910 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
25911 (elf_machine_lazy_rel): Likewise.
25912 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25913 (elf_machine_lazy_rel): Likewise.
25914 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
25915 (elf_machine_lazy_rel): Likewise.
25916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
25917 (elf_machine_lazy_rel): Likewise.
25918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25919 (elf_machine_lazy_rel): Likewise.
25921 2011-09-28 Ulrich Drepper <drepper@gmail.com>
25923 * nss/nss_files/files-init.c (_nss_files_init): Use static
25924 initialization for all the *_traced_file variables.
25926 2011-09-28 Andreas Schwab <schwab@redhat.com>
25928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25930 2011-09-27 Roland McGrath <roland@hack.frob.com>
25933 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25935 2011-09-27 Andreas Schwab <schwab@redhat.com>
25937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25938 Reread the line before reparsing it.
25940 2011-09-26 Andreas Schwab <schwab@redhat.com>
25942 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25944 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25945 Maxim Kuvyrkov <maxim@codesourcery.com>
25946 Joseph Myers <joseph@codesourcery.com>
25948 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25949 if needed for __stack_chk_guard.
25951 2011-09-19 Roland McGrath <roland@hack.frob.com>
25953 * sysdeps/posix/spawni.c (script_execute): Always define it.
25954 It will be optimized away if unused.
25955 (maybe_script_execute): New function.
25956 (__spawni): Call it.
25958 * Makerules: Don't include tls.make.
25959 (config-tls): Always set to thread.
25960 * tls.make.c: File removed.
25962 2011-09-19 Mike Frysinger <vapier@gentoo.org>
25964 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25965 * config.make.in (CPPFLAGS-config): New substituted variable.
25967 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25972 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25973 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25975 2011-09-15 Roland McGrath <roland@hack.frob.com>
25977 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
25978 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
25979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25980 (CALL_FAIL): Likewise.
25981 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
25982 (CALL_FAIL): Macro removed.
25983 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
25985 2011-09-15 Ulrich Drepper <drepper@gmail.com>
25987 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25988 for __FINITE_MATH_ONLY__ == 1.
25990 2011-09-15 Andreas Schwab <schwab@redhat.com>
25992 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
25993 __ieee754_sqrt instead of sqrt.
25994 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
25995 __ieee754_sqrtf instead of sqrtf.
25996 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
25997 __floorf instead of floorf.
25998 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
25999 __floorf, __truncf instead of floorf, truncf.
26001 2011-09-14 Ulrich Drepper <drepper@gmail.com>
26003 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26005 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26006 __extern_always_inline.
26007 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26010 2011-09-14 Andreas Schwab <schwab@redhat.com>
26012 * elf/rtld.c (dl_main): Also relocate in dependency order when
26013 doing symbol dependency testing.
26015 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26018 Always define `refsym'.
26020 2011-09-13 Andreas Schwab <schwab@redhat.com>
26022 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26023 (__FD_ELT): Renamed from __FDELT.
26024 * misc/bits/select2.h (__FD_ELT): Likewise.
26025 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26026 __FD_MASK instead of __FDELT, __FDMASK.
26027 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26029 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26032 * elf/Makefile (gen-ldd): Fix pattern.
26034 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26035 (init_tls): Likewise.
26037 2011-09-12 Ulrich Drepper <drepper@gmail.com>
26039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26041 2011-09-12 Andreas Schwab <schwab@redhat.com>
26043 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26044 `struct cmsghdr *' instead of `void *'.
26045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26048 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26050 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26052 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26053 ldd_rewrite_script.
26055 2011-09-11 Ulrich Drepper <drepper@gmail.com>
26057 * configure.in: Remove --with-tls option.
26058 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26059 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26060 out in case it is missing.
26061 * sysdeps/ia64/elf/configure.in: Likewise.
26062 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26063 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26064 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26065 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26066 * sysdeps/sh/elf/configure.in: Likewise.
26067 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26068 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26069 * sysdeps/x86_64/elf/configure.in: Likewise.
26070 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26071 * sysdeps/mach/hurd/tls.h: Likewise.
26074 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26077 * configure.in: Fix use of AC_INIT.
26079 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26081 2011-09-10 Ulrich Drepper <drepper@gmail.com>
26083 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26085 * malloc/hooks.c: Likewise.
26088 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26089 variables statically.
26090 (narenas): Initialize.
26091 (list_lock): Initialize.
26092 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26093 initializtion of main_arena and list_lock. Small cleanups.
26094 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26095 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26096 Add initializers to main_arena and mp_.
26097 (malloc_state): Remove pagesize member. Change all users to use
26100 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26101 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26102 is always initialized.
26104 * malloc/malloc.c: Removed unused configurations and dead code.
26105 * malloc/arena.c: Likewise.
26106 * malloc/hooks.c: Likewise.
26107 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
26109 * include/tls.h: Removed. USE___THREAD must always be defined.
26110 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26111 * elf/dl-libc.c: Likewise.
26112 * elf/dl-tsd.c: Likewise.
26113 * include/errno.h: Likewise.
26114 * include/netdb.h: Likewise.
26115 * include/resolv.h: Likewise.
26116 * inet/herrno-loc.c: Likewise.
26117 * inet/herrno.c: Likewise.
26118 * malloc/arena.c: Likewise.
26119 * malloc/hooks.c: Likewise.
26120 * malloc/malloc.c: Likewise.
26121 * resolv/res-state.c: Likewise.
26122 * resolv/res_libc.c: Likewise.
26123 * sysdeps/i386/dl-machine.h: Likewise.
26124 * sysdeps/ia64/dl-machine.h: Likewise.
26125 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26126 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26127 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26128 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26129 * sysdeps/sh/dl-machine.h: Likewise.
26130 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26131 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26132 * sysdeps/unix/i386/sysdep.S: Likewise.
26133 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26134 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26139 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26144 * sysdeps/x86_64/dl-machine.h: Likewise.
26145 * tls.make.c: Likewise.
26147 * configure.in: Remove --with-__thread option. Make tests for
26148 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26149 tls_model attribute fail if no support is available. Remove
26151 * Makeconfig: Adjust for dropped configure option. All features are
26153 * Makerules: Likewise.
26154 * Versions.def: Likewise.
26155 * argp/argp-fmtstream.c: Likewise.
26156 * argp/argp-fmtstream.h: Likewise.
26157 * argp/argp-help.c: Likewise.
26158 * assert/assert.c: Likewise.
26159 * config.h.in: Likewise.
26160 * config.make.in: Likewise.
26161 * configure: Likewise.
26162 * configure.in: Likewise.
26163 * csu/Versions: Likewise.
26164 * csu/init.c: Likewise.
26165 * elf/tst-audit2.c: Likewise.
26166 * elf/tst-tls10.c: Likewise.
26167 * elf/tst-tls10.h: Likewise.
26168 * elf/tst-tls11.c: Likewise.
26169 * elf/tst-tls12.c: Likewise.
26170 * elf/tst-tls14.c: Likewise.
26171 * elf/tst-tlsmod11.c: Likewise.
26172 * elf/tst-tlsmod12.c: Likewise.
26173 * elf/tst-tlsmod13.c: Likewise.
26174 * elf/tst-tlsmod13a.c: Likewise.
26175 * elf/tst-tlsmod14a.c: Likewise.
26176 * elf/tst-tlsmod15b.c: Likewise.
26177 * elf/tst-tlsmod16a.c: Likewise.
26178 * elf/tst-tlsmod16b.c: Likewise.
26179 * elf/tst-tlsmod7.c: Likewise.
26180 * elf/tst-tlsmod8.c: Likewise.
26181 * elf/tst-tlsmod9.c: Likewise.
26182 * gmon/gmon.c: Likewise.
26183 * grp/fgetgrent_r.c: Likewise.
26184 * grp/putgrent.c: Likewise.
26185 * hurd/fopenport.c: Likewise.
26186 * include/libc-symbols.h: Likewise.
26187 * include/tls.h: Likewise.
26188 * intl/gettextP.h: Likewise.
26189 * intl/loadinfo.h: Likewise.
26190 * locale/global-locale.c: Likewise.
26191 * locale/localeinfo.h: Likewise.
26192 * mach/devstream.c: Likewise.
26193 * malloc/arena.c: Likewise.
26194 * malloc/set-freeres.c: Likewise.
26195 * misc/err.c: Likewise.
26196 * misc/getttyent.c: Likewise.
26197 * misc/mntent_r.c: Likewise.
26198 * posix/getopt.c: Likewise.
26199 * posix/wordexp.c: Likewise.
26200 * pwd/fgetpwent_r.c: Likewise.
26201 * resolv/Versions: Likewise.
26202 * resolv/res_hconf.c: Likewise.
26203 * shadow/fgetspent_r.c: Likewise.
26204 * shadow/putspent.c: Likewise.
26205 * stdio-common/printf_fphex.c: Likewise.
26206 * stdio-common/tmpfile.c: Likewise.
26207 * stdlib/abort.c: Likewise.
26208 * stdlib/fmtmsg.c: Likewise.
26209 * sunrpc/auth_unix.c: Likewise.
26210 * sunrpc/clnt_perr.c: Likewise.
26211 * sunrpc/clnt_tcp.c: Likewise.
26212 * sunrpc/clnt_udp.c: Likewise.
26213 * sunrpc/clnt_unix.c: Likewise.
26214 * sunrpc/openchild.c: Likewise.
26215 * sunrpc/svc_simple.c: Likewise.
26216 * sunrpc/svc_tcp.c: Likewise.
26217 * sunrpc/svc_udp.c: Likewise.
26218 * sunrpc/svc_unix.c: Likewise.
26219 * sunrpc/xdr.c: Likewise.
26220 * sunrpc/xdr_array.c: Likewise.
26221 * sunrpc/xdr_rec.c: Likewise.
26222 * sunrpc/xdr_ref.c: Likewise.
26223 * sunrpc/xdr_stdio.c: Likewise.
26225 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26227 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26229 2011-07-03 Andreas Jaeger <aj@suse.de>
26231 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26232 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26233 regenerate with gen-libm-tests.pl.
26235 2010-05-12 Petr Baudis <pasky@suse.cz>
26238 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26239 around j0() zero points by switching to j1().
26240 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26245 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26247 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26249 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
26251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26252 Patch in part by Pavel Roskin <proski@gnu.org>.
26255 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26257 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26258 Free memory block if necessary.
26261 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26262 be NULL. Don't lock in this case.
26264 2011-09-09 Roland McGrath <roland@hack.frob.com>
26266 * elf/elf.h (ELFOSABI_GNU): New macro.
26267 (ELFOSABI_LINUX): Define to that.
26269 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26271 * string/strncat.c (strncat): Undef the symbol in case it has been
26272 defined in bits/string.h.
26274 2011-09-09 Ulrich Drepper <drepper@gmail.com>
26276 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26278 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
26281 2011-08-17 Andreas Jaeger <aj@suse.de>
26283 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26285 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26286 Ian Lance Taylor <iant@google.com>
26288 * math/libm-test.inc (lround_test): New testcase.
26289 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26291 2011-09-08 Ulrich Drepper <drepper@gmail.com>
26293 * Makefile: Remove support for automatic cvs check-ins.
26294 * Makerules: Likewise.
26295 * config.make.in: Likewise.
26296 * configure.in: Likewise.
26297 * intl/Makefile: Likewise.
26298 * locale/Makefile: Likewise.
26299 * po/Makefile: Likewise.
26300 * posix/Makefile: Likewise.
26301 * sysdeps/gnu/Makefile: Likewise.
26302 * sysdeps/mach/hurd/Makefile: Likewise.
26303 * sysdeps/sparc/sparc32/Makefile: Likewise.
26306 * posix/Makefile (bug-regex32-ENV): Define.
26307 Patch by John Stanley <jpsinthemix@verizon.net>.
26309 * misc/Makefile (headers): Add bits/select2.h.
26310 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26311 * misc/bits/select2.h: New file.
26312 * include/bits/select2.h: New file.
26313 * debug/Makefile (routines): Add fdelt_chk.
26314 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26315 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26317 * debug/fdelt_chk.c: New file.
26319 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26320 * wcsmbs/test-wmemcmp.c: Likewise.
26321 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
26322 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
26324 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26326 * string/Makefile (strop-tests): Add memcmp.
26327 * string/test-wmemcmp.c: New file.
26328 * string/test-memcmp.c: Add wmemcmp support.
26330 2011-09-08 Roland McGrath <roland@hack.frob.com>
26333 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26336 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26337 garbage value in a __mach_port_mod_refs call in the cases of the
26338 task-self and thread-self ports.
26340 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26342 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26344 2011-09-08 Andreas Schwab <schwab@redhat.com>
26346 * elf/dl-load.c (lose): Check for non-null L.
26348 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26350 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26352 * elf/dl-libc.c (dlerror_run): Pass back error code from
26356 * elf/dl-load.c (lose): Free l_origin if it is valid.
26358 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26360 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26361 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26362 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26365 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26367 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26369 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26370 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26371 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26372 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26373 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26374 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26375 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26376 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26377 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26378 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26380 2011-08-15 Alan Modra <amodra@gmail.com>
26383 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26384 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26385 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26386 ppc_mcount to static-only-routines.
26387 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26389 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26390 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26392 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26394 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26395 for finite and infinity parameters.
26397 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26400 and add nop instructions for throughput optimization.
26401 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26403 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26406 aligned copy for power7 with vector-scalar instructions.
26407 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26409 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26414 2011-09-07 Andreas Schwab <schwab@redhat.com>
26417 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26420 2011-09-07 Ulrich Drepper <drepper@gmail.com>
26422 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26423 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26424 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26425 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26428 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26430 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26431 Forgot to demangle the pointer.
26433 * sysdeps/i386/sysdep.h: Define atom_text_section.
26434 * sysdeps/x86_64/sysdep.h: Likewise.
26435 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26436 section with atom_text_section.
26437 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26439 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26441 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26444 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26445 already be defined. Change to take two parameters and don't assign
26446 result to variable. Adjust all users.
26447 Define INTERNAL_GETTIME if not already defined.
26448 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26451 HAVE_CLOCK_GETTIME_VSYSCALL.
26452 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26455 gettimeofday vsyscall, just use time.
26457 2011-09-06 Andreas Schwab <schwab@redhat.com>
26459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26462 2011-09-06 Ulrich Drepper <drepper@gmail.com>
26464 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26468 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26469 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26470 syscall if possible.
26472 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26474 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26475 e_ident. Don't pass to find_mapsXX.
26476 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26478 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26481 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26482 * sysdeps/x86_64/multiarch/strchr.S: Update.
26483 Check bit_slow_BSF bit.
26484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26486 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26488 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26491 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26493 (tryshell): Define.
26494 (__spawni): Change last parameter to be flag. Test
26495 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26496 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26497 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26498 * posix/spawni.c: Likewise.
26499 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26500 * posix/spawnp.c: Likewise. Change normal version to use
26501 SPAWN_XFLAGS_USE_PATH.
26502 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26503 SPAWN_XFLAGS_TRY_SHELL.
26506 * posix/glob.h: Remove gcc 1.x support.
26509 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26511 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26514 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26516 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26517 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26518 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26519 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26521 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26523 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26525 * sysdeps/x86_64/wcscmp.S: New file.
26527 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26528 wcscmp-c wcscmp-sse2
26529 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26530 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26531 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26532 * wcsmbs/wcscmp.c: Allow renaming.
26534 2011-09-05 David S. Miller <davem@davemloft.net>
26536 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26537 stack slot, rather than the struct return pointer slot.
26538 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26539 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26541 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26543 2011-09-05 Ulrich Drepper <drepper@gmail.com>
26545 * po/ja.po: Update from translation team.
26548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26549 kernel in 64-bit binaries.
26551 2011-09-01 David S. Miller <davem@davemloft.net>
26553 * elf/elf.h (HWCAP_SPARC_*): Move to..
26554 * sysdeps/sparc/sysdep.h: this new file and add new values.
26555 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26556 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26557 _DL_HWCAP_COUNT to 24.
26558 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26560 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26561 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26562 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26564 instead of magic constants.
26565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26567 2011-08-31 David S. Miller <davem@davemloft.net>
26569 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26571 Reimplement to do errno handling inline.
26572 (SYSCALL_ERROR_HANDLER): New macro.
26573 (__SYSCALL_STRING): Do not do errno handling in asm.
26574 (__CLONE_SYSCALL_STRING): Delete.
26575 (__INTERNAL_SYSCALL_STRING): Delete.
26576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26577 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26578 (PSEUDO): Reimplement to do errno handling inline.
26579 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26580 (SYSCALL_ERROR_HANDLER): New macro.
26581 (__SYSCALL_STRING): Do not do errno handling in asm.
26582 (__CLONE_SYSCALL_STRING): Delete.
26583 (__INTERNAL_SYSCALL_STRING): Delete.
26584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26585 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26587 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26588 (inline_syscall*): Add 'err' argument.
26589 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26590 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26591 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26592 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26594 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26595 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26597 2011-08-30 Andreas Schwab <schwab@redhat.com>
26599 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26601 2011-08-29 Jiri Olsa <jolsa@redhat.com>
26603 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26606 2011-08-24 David S. Miller <davem@davemloft.net>
26608 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26610 2011-08-24 Andreas Schwab <schwab@redhat.com>
26612 * elf/Makefile: Add rules to build and run unload8 test.
26613 * elf/unload8.c: New file.
26614 * elf/unload8mod1.c: New file.
26615 * elf/unload8mod1x.c: New file.
26616 * elf/unload8mod2.c: New file.
26617 * elf/unload8mod3.c: New file.
26619 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26622 2011-08-23 David S. Miller <davem@davemloft.net>
26624 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26625 subtract stack bias.
26626 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26627 %sp not %fp in calculations.
26628 (_JMPBUF_UNWINDS_ADJ): Likewise.
26630 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26631 (aio_suspend): Call it to force an exception region around the
26632 AIO_MISC_WAIT() invocation.
26634 2011-08-23 Andreas Schwab <schwab@redhat.com>
26636 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26639 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26641 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26643 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26644 and <dl-machine.h>.
26645 (Elf64_FuncDesc): Remove.
26647 2011-08-22 David S. Miller <davem@davemloft.net>
26649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26650 sigaltstack check, add missing cfi directives.
26651 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26652 missing cfi directives, and sigaltstack handling.
26654 2011-08-16 Andreas Schwab <schwab@redhat.com>
26657 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26658 object is seen twice.
26659 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26661 * elf/Makefile (distribute): Add tst-initorder2.c.
26662 (tests): Add tst-initorder2.
26663 (modules-names): Add tst-initorder2a tst-initorder2b
26664 tst-initorder2c tst-initorder2d. Add rules to build them.
26665 ($(objpfx)tst-initorder2.out): New rule.
26666 * elf/tst-initorder2.c: New file.
26667 * elf/tst-initorder2.exp: New file.
26669 2011-08-22 Andreas Schwab <schwab@redhat.com>
26671 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26673 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26674 dependencies back to end of function.
26676 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26677 $(elfobjdir)/ld.so.
26679 2011-08-21 Ulrich Drepper <drepper@gmail.com>
26681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26682 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26684 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26685 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26686 of __vdso_gettimeofday.
26687 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26688 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26690 (_libc_vdso_platform_setup): Remove initialization of
26691 __vdso_gettimeofday and __vdso_time.
26693 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26695 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
26696 and fgetc_unlocked.
26697 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
26700 * elf/dl-open.c (add_to_global): Report additions to the global scope
26701 for LD_DEBUG=scopes.
26702 (dl_open_worker): Also print scope of newly loaded dependencies.
26703 (_dl_show_scope): Indicate if there is no scope.
26706 * stdio-common/Makefile (tests): Add bug24.
26707 * stdio-common/bug24.c: New file.
26709 2011-08-19 Andreas Jaeger <aj@suse.de>
26712 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26713 non-existant file when using close-on-exec mode.
26715 2011-08-20 Ulrich Drepper <drepper@gmail.com>
26717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26718 the very first instruction.
26720 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
26721 the CFI state in the end.
26722 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
26723 inclusion of dl-trampoline.h.
26724 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
26726 2011-08-19 Andreas Schwab <schwab@redhat.com>
26728 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26729 expectations for long double.
26731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26732 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26734 2011-08-14 David S. Miller <davem@davemloft.net>
26736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26737 artificual limit depends upon the system page size.
26739 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26741 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26742 * resolv/Makefile: Define CFLAGS-libresolv.
26744 2011-08-17 Andreas Schwab <schwab@redhat.com>
26746 * nss/makedb.c (compute_tables): Make variables used in nested
26749 2011-08-17 Ulrich Drepper <drepper@gmail.com>
26751 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
26752 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
26753 if buffer was too small.
26755 * elf/pldd.c (main): Attach to all threads in the process.
26756 Rewrite /proc handling to use *at functions.
26758 2011-08-16 Ulrich Drepper <drepper@gmail.com>
26760 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
26761 specifies first scope to show.
26762 (dl_open_worker): Update callers. Move printing scope of new
26763 object to before the relocation.
26764 * elf/rtld.c (dl_main): Update _dl_show_scope call.
26765 * sysdeps/generic/ldsodefs.h: Update declaration.
26767 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26768 string for the scope number.
26770 2011-08-14 Ulrich Drepper <drepper@gmail.com>
26772 * nscd/servicescache.c (cache_addserv): Make sure written is always
26775 2011-08-14 Roland McGrath <roland@hack.frob.com>
26777 * sysdeps/i386/i486/bits/atomic.h
26778 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
26779 statement expression, so as to suppress "set but not used" warning.
26780 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
26782 * string/strncat.c (STRNCAT): Use prototype definition.
26784 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26785 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26787 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26788 (localedef-modules): Add localedef.
26789 (locale-modules): Add locale.
26791 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
26792 * elf/rtld.c (dl_main): Invert order of assignment in last change,
26793 to avoid a warning.
26795 2011-08-14 David S. Miller <davem@davemloft.net>
26797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26798 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26800 2011-08-13 Ulrich Drepper <drepper@gmail.com>
26802 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
26803 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
26804 * elf/rtld.c (dl_main): Set l_name of vDSO.
26805 Call _dl_show_scope when DL_DEBUG_SCOPES.
26806 (process_dl_debug): Recognize scopes flag and also set it for all.
26807 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
26808 Declare _dl_show_scope.
26810 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
26811 (do_dlopen): Pass caller_dlopen to dl_open.
26812 (__libc_dlopen_mode): Initialize caller_dlopen.
26814 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
26815 of libc. Make tolower call locale-independent. Optimize a bit by
26816 using isdigit instead of isalnum.
26817 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
26819 2011-08-12 Ulrich Drepper <drepper@gmail.com>
26821 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26822 was a dependency or dynamically loaded.
26824 2011-08-11 Ulrich Drepper <drepper@gmail.com>
26826 * intl/l10nflist.c: Allow architecture-specific pop function.
26827 * sysdeps/x86_64/l10nflist.c: New file.
26829 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26832 2011-08-10 Andreas Schwab <schwab@redhat.com>
26834 * include/dirent.h: Add libc_hidden_proto for scandirat and
26835 scandirat64. Don't declare __scandirat64.
26836 * dirent/scandirat.c: Add libc_hidden_def.
26837 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
26838 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
26840 2011-08-10 David S. Miller <davem@davemloft.net>
26842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26848 2011-08-09 Ulrich Drepper <drepper@gmail.com>
26850 * Versions.def [libc]: Add GLIBC_2.15.
26851 * dirent/Makefile (routines): Add scandirat and scandirat64.
26852 * dirent/Versions [libc]: Export scandirat and scandirat64 for
26854 * dirent/dirent.h: Declare scandirat and scandirat64.
26855 * dirent/scandirat.c: New file.
26856 * dirent/scandirat64.c: New file.
26857 * sysdeps/wordsize-64/scandirat.c: New file.
26858 * sysdeps/wordsize-64/scandirat64.c: New file.
26859 * dirent/opendir.c: Define opendirat.
26860 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
26862 * dirent/scandir64.c: Adjust for scandir.c change.
26863 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
26864 __scandirat64, and __scandir_cancel_handler.
26865 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
26866 additional parameter and use openat instead of open (outside of ld.so).
26867 Add new __opendir as wrapper around __opendirat.
26868 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
26869 here without requiring old scandirat implementation.
26871 2011-08-08 Ulrich Drepper <drepper@gmail.com>
26873 * dirent/scandir.c (cancel_handler): Renamed to
26874 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
26875 defined. Adjust users.
26876 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
26877 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
26879 2011-08-04 Ulrich Drepper <drepper@gmail.com>
26881 * string/test-string.h (IMPL): Use __STRING to expand name and then
26884 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26887 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26889 * string/Makefile: Update.
26890 (strop-tests): Append strncat.
26891 * string/test-wcscmp.c: New file.
26892 New comprehensive test for wcscmp.
26893 * string/test-strcmp.c: Update.
26894 (WIDE): New define.
26896 2011-07-22 Andreas Schwab <schwab@redhat.com>
26898 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26901 2011-07-26 Andreas Schwab <schwab@redhat.com>
26903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26904 encoding to ACE if AI_IDN.
26906 2011-08-01 Jakub Jelinek <jakub@redhat.com>
26908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
26909 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
26911 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26914 Fix overflow bug in strncat.
26915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26917 * string/test-strncat.c: Update.
26918 Add new tests for checking overflow bugs.
26920 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26923 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
26924 * sysdeps/i386/i686/multiarch/strcat.S: New file.
26925 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
26926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
26927 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
26928 * sysdeps/i386/i686/multiarch/strncat.S: New file.
26929 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
26930 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
26932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
26933 (USE_AS_STRCAT): Define.
26934 Add strcat and strncat support.
26935 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26937 2011-07-25 Andreas Schwab <schwab@redhat.com>
26939 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26940 __n bigger than INT_MAX+1.
26941 (__strncmp_g): Likewise.
26943 2011-07-23 Ulrich Drepper <drepper@gmail.com>
26945 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26946 * libio/stido.h: Likewise.
26948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26953 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
26954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26956 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26960 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26965 (_dl_x86_64_save_sse): Likewise.
26967 2011-07-22 Ulrich Drepper <drepper@gmail.com>
26969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26971 (_dl_x86_64_save_sse): Likewise.
26973 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26975 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26977 2011-07-21 Andreas Schwab <schwab@redhat.com>
26979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26981 (_dl_x86_64_save_sse): Use correct AVX check.
26983 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26985 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
26986 bug in strncpy/strncat.
26987 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26989 2011-07-21 Ulrich Drepper <drepper@gmail.com>
26991 * string/tester.c (test_strcat): Add tests for different alignments
26992 of source and destination.
26993 (test_strncat): Likewise.
26995 2011-07-20 Ulrich Drepper <drepper@gmail.com>
26998 * posix/glob.c (glob): Check passed in values before using them in
26999 expressions to avoid some overflows.
27000 (glob_in_dir): Likewise.
27003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27004 check for AVX enablement so that we don't crash with old kernels and
27006 * elf/tst-audit4.c: Add same checks here.
27007 * elf/tst-audit6.c: Likewise.
27009 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
27011 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27013 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27015 2011-07-20 Ulrich Drepper <drepper@gmail.com>
27017 * po/cs.po: Update from translation team.
27018 * po/bg.po: Likewise.
27020 2011-07-12 Marek Polacek <mpolacek@redhat.com>
27022 * misc/sys/cdefs.h: Add support for const attribute.
27023 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27024 to gnu_dev_{major,minor,makedev} functions.
27026 2011-07-20 Marek Polacek <mpolacek@redhat.com>
27028 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27030 2011-07-20 Andreas Schwab <schwab@redhat.com>
27032 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27035 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27038 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27039 register in order to avoid conflicts with the soft frame pointer
27040 being held in r11 when necessary.
27041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27042 (INTERNAL_VSYSCALL_NCS): Likewise.
27044 2011-07-14 Marek Polacek <mpolacek@redhat.com>
27046 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27047 * elf/dl-fini.c (_dl_fini): Adjust caller.
27048 * elf/dl-close.c (_dl_close_worker): Likewise.
27049 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27051 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27053 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27054 "aux_cache->nlibs < 0".
27056 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27057 in the reload-count case.
27059 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27062 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27063 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27064 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27065 * sysdeps/x86_64/multiarch/strcat.S: New file.
27066 * sysdeps/x86_64/multiarch/strncat.S: New file.
27067 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27068 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27069 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27070 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27072 (USE_AS_STRCAT): Define.
27073 Add strcat and strncat support.
27074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27075 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27076 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27077 * string/strncat.c: Update.
27078 (USE_AS_STRNCAT): Define.
27079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27080 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27082 * sysdeps/x86_64/multiarch/init-arch.h
27083 (bit_Prefer_PMINUB_for_stringop): New.
27084 (index_Prefer_PMINUB_for_stringop): Likewise.
27085 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27086 bit_Prefer_PMINUB_for_stringop.
27088 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27090 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27092 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27093 of casting of buffer.
27094 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27095 buffer32 and buffer64.
27096 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27097 writes instead of casting of buffer.
27098 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27100 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27103 2011-07-19 Andreas Schwab <schwab@redhat.com>
27105 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27107 2011-07-19 Ulrich Drepper <drepper@gmail.com>
27109 * nscd/nscd.c (termination_handler): Don't do anything for a database
27110 if it has not yet been initialized.
27112 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27114 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27116 2011-07-15 Marek Polacek <mpolacek@redhat.com>
27118 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27120 2011-07-18 Ulrich Drepper <drepper@gmail.com>
27122 * po/nl.po: Update from translation team.
27123 * po/sv.po: Likewise.
27125 2011-07-16 Roland McGrath <roland@hack.frob.com>
27127 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27128 now disallowed by GCC.
27130 * configure.in (use-default-link): Default to yes if a test -shared
27131 link meets our qualifications.
27132 * configure: Regenerated.
27134 * config.make.in (output-format): New variable.
27135 * configure.in: Check for ld --print-output-format support.
27136 * configure: Regenerated.
27137 * Makerules ($(common-objpfx)format.lds)
27138 [$(output-format) != unknown]: Just use $(output-format),
27139 instead of the linker-script munging.
27141 2011-07-14 Roland McGrath <roland@hack.frob.com>
27143 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27144 of $(common-objpfx)shlib.lds.
27145 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27147 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27148 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27150 * configure.in (-z relro check): Adjust test code to add a large
27151 writable data section after it.
27152 * configure: Regenerated.
27154 2011-07-11 Roland McGrath <roland@hack.frob.com>
27156 * configure.in (-z relro check): Fix test code to make the variable
27158 * configure: Regenerated.
27160 2011-07-11 Ulrich Drepper <drepper@gmail.com>
27162 * nscd/nscd.h (struct traced_file): Define.
27163 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27164 elements. Add traced_files.
27165 (inotify_fd): Declare.
27166 (register_traced_file): Declare.
27167 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27168 (inotify_fd): Export.
27169 (resolv_conf_descr): Remove.
27170 (nscd_init): Move inotify descriptor creation to main.
27171 Don't register files for notification here.
27172 (register_traced_file): New function.
27173 (invalidate_cache): Don't use reset_res to determine whether to call
27174 res_init, go through the list of registered files.
27175 (main_loop_poll): The inotify descriptors are now stored in the
27176 structures for the traced files.
27177 (main_loop_epoll): Likewise
27178 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27179 to __nss_disable_nscd.
27180 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27181 for a database anymore. Check the records for all the registered
27183 * nss/Makefile (libnss_files-routines): Add files-init.
27184 (libnss_db-routines): Add db-init.
27185 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27186 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27187 * nss/nss_db/db-init.c: New file.
27188 * nss/nss_files/files-init.c: New file.
27189 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27190 __nss_lookup_function.
27191 (__nss_lookup_function): Call nss_load_library.
27192 (nss_load_all_libraries): New function.
27193 (__nss_disable_nscd): Take parameter with callback function for files
27194 to register. Set is_nscd. Load all the DSOs for the NSS modules
27195 used for the cached services.
27196 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27197 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27198 options for features to all the files in nscd.
27200 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27202 2011-07-10 Roland McGrath <roland@hack.frob.com>
27204 * csu/elf-init.c (__libc_csu_init): Comment typo.
27206 2011-07-09 Ulrich Drepper <drepper@gmail.com>
27208 * po/pl.po: Update from translation team.
27209 * po/ja.po: Likewise.
27210 * po/ru.po: Likewise.
27211 * po/ko.po: Likewise.
27212 * po/fr.po: Likewise.
27214 2011-07-09 Roland McGrath <roland@hack.frob.com>
27216 * configure.in (.ctors/.dtors header and trailer check):
27217 Use an empirical test on a built program.
27218 * configure: Regenerated.
27220 * configure.in (-z relro check): Use an empirical test on a built DSO.
27221 Detect, but do not require, on ia64.
27222 * configure: Regenerated.
27224 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27225 Update tests that use readelf to use $READELF instead.
27226 * configure: Regenerated.
27228 2011-07-08 Ulrich Drepper <drepper@gmail.com>
27230 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27231 if the result is not used.
27233 2011-07-05 Andreas Jaeger <aj@suse.de>
27236 * stdlib/tst-strtod.c: Add testcase.
27238 2011-07-07 Ulrich Drepper <drepper@gmail.com>
27240 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
27241 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
27242 The latter has a higher limit. Take additional parameter to pass to
27244 (__pathconf): Pass file to __statfs_link_max.
27245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27247 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27251 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27254 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27255 (__statfs_filesize_max): Likewise.
27256 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27258 2011-07-05 Andreas Jaeger <aj@suse.de>
27260 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27262 2011-07-06 Marek Polacek <mpolacek@redhat.com>
27264 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27266 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27269 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27271 * Makefile (strop-tests): Add strncat.
27272 * string/test-strncat.c: New file.
27274 2011-06-30 Marek Polacek <mpolacek@redhat.com>
27276 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27278 2011-06-21 Andreas Jaeger <aj@suse.de>
27280 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27281 Copy rule from iconvdata/Makefile.
27283 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27286 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27287 but no long options are defined, just return 'W'.
27289 2011-06-22 Marek Polacek <mpolacek@redhat.com>
27292 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27294 2011-07-06 Ulrich Drepper <drepper@gmail.com>
27296 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27298 (innetgr): Likewise.
27300 2011-07-05 Roland McGrath <roland@hack.frob.com>
27302 * config.make.in (install_root): Default to $(DESTDIR).
27304 2011-07-05 Ulrich Drepper <drepper@gmail.com>
27306 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27308 2011-07-02 Roland McGrath <roland@hack.frob.com>
27310 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27312 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27313 containing directory rather than embedding absolute directory names.
27315 * scripts/check-local-headers.sh: Rewritten using awk.
27316 Match by word, not by line. Print error messages for matches.
27317 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27319 * Makerules [shlib-lds-flags empty]:
27320 ($(common-objpfx)libc_pic.opts): New target.
27321 ($(common-objpfx)libc_pic.os.clean): New target.
27322 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27324 * config.make.in (OBJCOPY): New variable.
27325 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27326 * configure: Regenerated.
27328 * config.make.in (use-default-link): New variable.
27329 * configure.in (use_default_link): Grok --with-default-link to set it.
27330 * configure: Regenerated.
27331 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27332 (shlib-lds, shlib-lds-flags): Define to empty.
27334 * Makerules (shlib-lds): New variable.
27335 (shlib-lds-flags): New variable.
27336 (build-shlib, build-moduile, build-module-asneeded): Use it.
27337 ($(common-objpfx)libc.so): Use $(shlib-lds).
27338 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27339 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27341 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27342 DT_FLAGS/DT_FLAGS_1 with zero flags.
27344 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27345 linker script munging.
27347 2011-07-02 Ulrich Drepper <drepper@gmail.com>
27349 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27351 * crypt/sha512.c (sha512_process_block): Perform total addition using
27352 128-bit if possible.
27353 (__sha512_finish_ctx): Likewise.
27354 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27356 * crypt/sha256.c (SWAP64): Define.
27357 (sha256_process_block): Perform total addition using 64-bit if
27359 (__sha256_finish_ctx): Likewise.
27361 2011-07-01 Ulrich Drepper <drepper@gmail.com>
27363 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27365 * nscd/hstcache.c (cache_addhst): Likewise.
27366 * nscd/grpcache.c (cache_addgr): Likewise.
27367 * nscd/aicache.c (addhstaiX): Likewise
27368 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27370 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
27372 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27373 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27374 * nscd/hstcache.c (cache_addhst): Likewise.
27375 * nscd/grpcache.c (cache_addgr): Likewise.
27376 * nscd/aicache.c (addhstaiX): Likewise
27378 2011-07-01 Andreas Schwab <schwab@redhat.com>
27380 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27381 domain only when needed.
27383 2011-06-30 Andreas Schwab <schwab@redhat.com>
27385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27386 is always restored.
27388 2011-06-29 Ulrich Drepper <drepper@gmail.com>
27390 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27391 are re-adding the entry.
27392 * nscd/servicescache.c (cache_addserv): Likewise.
27394 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27396 * sysdeps/generic/dl-irel.h: fix protection against multiple
27398 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27400 2011-06-28 Ulrich Drepper <drepper@gmail.com>
27403 * malloc/memusage.sh: Fix quoting in message.
27404 * debug/xtrace.sh: Likewise.
27406 * configure.in: Remove support for --experimental-malloc option, make
27408 * config.make.in: Likewise.
27409 * malloc/Makefile: Likewise.
27411 2011-06-27 Andreas Schwab <schwab@redhat.com>
27413 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27414 two-byte characters.
27416 2011-06-27 Roland McGrath <roland@hack.frob.com>
27418 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27419 AC_CACHE_CHECK invocation.
27420 * configure: Regenerated.
27422 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27424 2011-06-27 Ulrich Drepper <drepper@gmail.com>
27427 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27428 bit from old_res_options.
27430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27432 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27433 value type for setfct.
27435 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27438 __gettimeofday instead of gettimeofday.
27440 2011-06-26 Ulrich Drepper <drepper@gmail.com>
27442 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27444 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27448 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27451 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27454 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27455 strcpy-sse2-unaligned strncpy-sse2-unaligned
27456 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27457 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27458 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27459 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27460 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27462 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27463 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27464 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27465 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27466 (STRCPY): Support SSE2 and SSSE3 versions.
27468 2011-06-24 Ulrich Drepper <drepper@gmail.com>
27471 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27472 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27473 kernels which artificially limit size of requests.
27475 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27478 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27479 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27480 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27481 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27482 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27483 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27484 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27487 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27488 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27489 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27490 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27491 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27493 Enable unaligned load optimization for Intel Core i3, i5 and i7
27495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27497 (index_Fast_Unaligned_Load): Define.
27498 (HAS_FAST_UNALIGNED_LOAD): Define.
27500 2011-06-23 Marek Polacek <mpolacek@redhat.com>
27502 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27504 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27507 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27508 until it is clear that the information is realy needed.
27509 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27511 2011-06-22 Andreas Schwab <schwab@redhat.com>
27513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27515 2011-06-22 Ulrich Drepper <drepper@gmail.com>
27517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27518 /sys/devices/system/cpu/online if it is usable.
27520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27521 reading the information from the /proc filesystem to once a second.
27523 2011-06-21 Andreas Jaeger <aj@suse.de>
27525 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27526 NULL after inclusion of kernel headers.
27528 2011-06-21 Ulrich Drepper <drepper@gmail.com>
27530 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27531 calls to internal_setent.
27534 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27535 addresses using gethostbyname4_r ignore IPv4 addresses.
27537 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27538 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27540 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27542 2011-06-20 David S. Miller <davem@davemloft.net>
27544 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27546 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27548 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27549 (elf_irel): Use it.
27550 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27551 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27552 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27553 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27554 * sysdeps/x86_64/dl-irel.h: Likewise.
27556 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27557 * elf/dl-sym.c: Likewise.
27559 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27561 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27562 need to dereference resplen2.
27564 2011-06-14 Andreas Schwab <schwab@redhat.com>
27566 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27568 2011-06-15 Ulrich Drepper <drepper@gmail.com>
27570 * Makeconfig: Define vardbdir and inst_vardbdir.
27571 * nss/Makefile: Add rules to install db-Makefile.
27573 * nss/nss_db/db-XXX.c: Cleanup.
27575 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27576 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27578 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27579 * nss/makedb.c: Implement -g option to specify that value strings
27580 are generated and should not be added to table iterated over for
27582 * nss/nss_db/db-initgroups.c: New file.
27584 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27587 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27588 (internal_getgrouplist): Adjust to name change.
27589 Update use_initgroups_entry if this is not the first call.
27590 * nss/databases.def: Add initgroups entry.
27592 * nss/makedb.c (compute_tables): Check result of multiple hash table
27593 sizes to minimize maximum chain length.
27595 2011-06-14 Ulrich Drepper <drepper@gmail.com>
27597 * Versions.def: Add entry for libnss_db.
27598 * shlib-versions: Likewise.
27599 * nss/Makefile: Add rules to build libnss_db.
27600 * nss/Versions: Add libnss_db information. Organize libnss_files
27602 * nss/db-Makefile: Add gshadow support. Change rules for the new
27603 makedb progra. Some minor improvements to generate smaller files.
27604 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27606 * nss/makedb.c: ...here.
27607 Improve database format to be smaller and require less memory at
27609 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27611 * nss/nss_db/db-netgrp.c: Likewise.
27612 * nss/nss_db/db-open.c: Likewise.
27613 * nss/nss_files/flies-XXX.x: Adjust comments.
27614 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27615 * nss/nss_files/files-grp.c: Likewise.
27616 * nss/nss_files/files-hosts.c: Likewise.
27617 * nss/nss_files/files-network.c: Likewise.
27618 * nss/nss_files/files-proto.c: Likewise.
27619 * nss/nss_files/files-pwd.c: Likewise.
27620 * nss/nss_files/files-rpc.c: Likewise.
27621 * nss/nss_files/files-service.c: Likewise.
27622 * nss/nss_files/files-sgrp.c: Likewise.
27623 * nss/nss_files/files-spwd.c: Likewise.
27624 * nss/nss_db/db-alias.c: Removed.
27625 * nss/nss_db/dummy-db.h: Removed.
27627 2011-06-02 Ulrich Drepper <drepper@gmail.com>
27629 * nss/makedb.c: Rewritten to not use database library.
27630 * nss/Makefile: Update to build new makedb program.
27632 2011-06-14 Andreas Jaeger <aj@suse.de>
27634 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27635 memset declaration.
27637 2011-06-10 Andreas Schwab <schwab@redhat.com>
27639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27642 2011-06-10 Roland McGrath <roland@hack.frob.com>
27644 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27645 * elf/Makefile ($(objpfx)ld.so): Likewise.
27647 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27648 Don't list ld.so twice in dependencies.
27650 * posix/bug-regex31.c: Include <stdlib.h>.
27652 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27654 * nis/nss_compat/compat-spwd.c
27655 (getspent_next_nss_netgr): Remove unused variable.
27656 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27658 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27659 nonmembers" output to use the right array.
27661 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27663 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27665 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27666 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27667 * catgets/gencat.c (read_input_file): Likewise.
27668 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27670 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27671 variable definition inside #if's controlling its use.
27673 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27675 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27677 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27679 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27682 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27684 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27685 * configure: Regenerated.
27687 * Makerules: Revert last change.
27688 * elf/Makefile: Likewise.
27690 2011-06-09 Roland McGrath <roland@hack.frob.com>
27692 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27693 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27694 (reloc-link): Likewise.
27696 2011-06-09 Ulrich Drepper <drepper@gmail.com>
27698 * elf/Makefile: Add rules to build pldd.
27699 * elf/pldd.c: New file.
27700 * elf/pldd-xx.c: New file.
27702 2011-06-07 Ulrich Drepper <drepper@gmail.com>
27704 * version.h: Update for 2.15 development version.
27706 2011-06-07 David S. Miller <davem@davemloft.net>
27708 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
27711 elf_machine_lazy_rel): Likewise.
27712 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
27714 elf_machine_lazy_rel): Likewise.
27715 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
27716 dl_hwcap via passed in argument.
27717 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
27720 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27722 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27724 2011-06-06 Roland McGrath <roland@hack.frob.com>
27727 * manual/fdl-1.1.texi: New file, verbatim from:
27728 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
27729 * manual/lgpl-2.1.texi: New file, verbatim from:
27730 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
27731 * manual/Makefile (licenses): New variable, list those new file names.
27733 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27735 * manual/fdl.texi: File removed.
27736 * manual/lesser.texi: File removed.
27737 * manual/libc.texinfo (Copying, Documentation License):
27738 Use new @include file names, put @appendix directive before @include.
27740 2011-06-04 Jakub Jelinek <jakub@redhat.com>
27743 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
27744 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
27745 (mq_open): Add __NTH.
27747 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27750 Assume Intel Core i3/i5/i7 processor if AVX is available.
27752 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27757 2011-05-31 Andreas Schwab <schwab@redhat.com>
27759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27760 memory. Use alloca_account. Fix memory leak when retrying.
27762 2011-05-31 Ulrich Drepper <drepper@gmail.com>
27764 * version.h (RELEASE): Bump for 2.14 release.
27765 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27767 * config.make.in (RANLIB): Remove entry.
27769 2011-05-30 Ulrich Drepper <drepper@gmail.com>
27771 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27772 (libc.pot): Work around missing support for .ksh extension in xgettext.
27775 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
27776 if both request failed.
27777 (send_dg): In case of server errors clear resplen or *resplen2.
27780 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
27781 when there are multiple maps.
27782 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
27783 (_dl_fini): Remove test here.
27785 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27787 2011-05-29 Ulrich Drepper <drepper@gmail.com>
27790 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27791 bit from old_res_options.
27792 (gaih_inet): Likewise.
27795 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
27798 * resolv/res_init.c (res_setoptions): Make the code more compact.
27801 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27805 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27807 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27810 * malloc/malloc.h: Declare malloc hook variables as volatile.
27812 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27816 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
27817 raise in the comment.
27818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27819 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27820 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
27822 2011-05-28 Ulrich Drepper <drepper@gmail.com>
27825 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
27826 grow the buffers more if it already has to be sufficient.
27827 (build_wcs_upper_buffer): Likewise.
27828 * posix/regexec.c (check_matching): Likewise.
27829 (clean_state_log_if_needed): Likewise.
27830 (extend_buffers): Don't enlarge buffers beyond size of the input
27832 Patches mostly by Emil Wojak <emil@wojak.eu>.
27833 * posix/bug-regex32.c: New file.
27834 * posix/Makefile (tests): Add bug-regex32.
27836 * locale/findlocale.c (_nl_find_locale): Return right away if
27837 _nl_explode_name failed.
27838 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27842 * debug/xtrace.sh: Unify messages.
27843 * malloc/memusage.sh: Likewise.
27846 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
27847 time symbol from vDSO. Substitute with vsyscall if not available.
27848 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
27851 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
27852 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
27853 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
27854 Add sendmmsg and internal_sendmmsg.
27855 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
27856 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
27857 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
27859 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
27860 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
27861 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
27863 2011-05-27 Ulrich Drepper <drepper@gmail.com>
27866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27867 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27869 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27873 * iconvdata/Makefile (tests): Add bug-iconv9.
27874 * iconvdata/bug-iconv9.c: New file.
27876 2011-05-27 Andreas Schwab <schwab@redhat.com>
27879 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27881 2011-05-25 Jakub Jelinek <jakub@redhat.com>
27883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27884 (struct user_regs_struct): Change intcs field back to cs.
27886 2011-05-25 Ulrich Drepper <drepper@gmail.com>
27888 * po/ja.po: Update from translation team.
27890 2011-05-23 Ulrich Drepper <drepper@gmail.com>
27893 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27896 2011-05-20 Andreas Schwab <schwab@redhat.com>
27898 * stdlib/longlong.h: Update from GCC.
27900 2011-05-23 Andreas Schwab <schwab@redhat.com>
27902 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27904 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27905 Add parameter name.
27906 (__sysconf): Pass it down.
27908 2011-05-22 Ulrich Drepper <drepper@gmail.com>
27911 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27913 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27914 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
27915 add in in __libc_use_alloca calls. Adjust callers.
27916 (glob): Use malloc in some situations.
27918 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
27919 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
27922 2011-05-21 Ulrich Drepper <drepper@gmail.com>
27924 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27925 and CLOCK_BOOTTIME_ALARM.
27928 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27931 * string/_strerror.c (__strerror_r): Print negative errors as signed
27935 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
27936 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
27937 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
27939 * configure.in: Fix typo in redirection and correct removal of test
27940 files in two cases.
27943 * locale/setlocale.c (new_composite_name): Fix test to check for
27944 identical name of all categories.
27947 * libio/filedoalloc.c (local_isatty): New function.
27948 (_IO_file_doallocate): Use local_isatty.
27949 * stdio-common/perror.c (perror): In case a new stream is used
27950 forward the stream error.
27951 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
27954 2011-05-20 Ulrich Drepper <drepper@gmail.com>
27957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27959 * include/alloca.h (extend_alloca_account): Define.
27962 * posix/regex.h: Fix comments with documentation of user-accessible
27963 fields after compilation and describe correct free'ing of pattern
27964 after re_compile_pattern.
27965 Patch by Reuben Thomas <rrt@sc3d.org>.
27967 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27969 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
27970 and -mno-altivec to prevent the compiler from using Altivec and/or
27971 VSX instructions when the corresponding registers are not available.
27973 2011-05-19 Andreas Schwab <schwab@redhat.com>
27975 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27977 2011-05-19 Ulrich Drepper <drepper@gmail.com>
27979 * libio/freopen.c (freopen): Use __dup2, not dup2.
27980 * libio/freopen64.c (freopen64): Likewise.
27982 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27985 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
27986 * math/Makefile (tests): Add test-powl.
27987 (CFLAGS-test-powl.c): Define.
27988 * math/test-powl.c: New file.
27990 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27992 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27994 2011-05-17 Ulrich Drepper <drepper@gmail.com>
27997 * iconvdata/gb18030.c: Update to GB18020-2005.
27999 2011-05-16 Ulrich Drepper <drepper@gmail.com>
28001 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28002 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28003 Patch by Aharon Robbins <arnold@skeeve.com>.
28006 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28010 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28011 through underflows.
28014 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28015 point to strings before performing equality test for error_one_per_line
28019 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28023 (struct user_fpregs_struct): Avoid __uint*_t types.
28026 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28027 symbol info. Use it instead of calling _dl_addr locally.
28028 (lock_and_info): New function.
28029 (tr_freehook): Call lock_and_info and pass symbol info as additional
28030 parameter to tr_where.
28031 (tr_mallochook): Likewise.
28032 (tr_reallochook): Likewise.
28033 (tr_memalignhook): Likewise.
28035 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28036 used and couldn't be at all thread-safe.
28038 2011-05-15 Ulrich Drepper <drepper@gmail.com>
28040 * libio/freopen.c (freopen): Don't close old file descriptor
28041 before the new one is opened. Instead dup the new file descriptor
28042 to the old one after the new stream is created.
28043 * libio/freopen64.c (freopen64): Likewise.
28044 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28045 * libio/fileops.c (_IO_new_file_close_it): Handle new
28046 _IO_FLAGS2_NOCLOSE flag.
28047 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28048 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28049 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28050 _IO_FLAGS2_NOCLOSE flag.
28051 * include/unistd.h: Add hidden_proto for dup3.
28052 Define __have_dup3.
28053 * io/dup3.c: Define hidden symbol.
28054 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28057 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28058 when an incomplete long option is used.
28059 * posix/tst-getopt_long1.c: New file.
28060 * posix/Makefile (tests): Add tst-getopt_long1.
28063 * scripts/config.guess: Update from autoconf-2.68.
28064 * scripts/config.sub: Likewise.
28067 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28069 (has_cpuclock): ...this. New function.
28070 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28071 macro here based on has_cpuclock code.
28074 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28075 First byte (not low byte) is now always NUL.
28076 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28078 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28079 Use non-cancelable interfaces.
28082 * locale/iso-639.def: Add entry for Sorani.
28085 * include/stdlib.h: Move include protection to the right place.
28086 Define abort_msg_s. Declare __abort_msg with it.
28087 * stdlib/abort.c (__abort_msg): Adjust type.
28088 * assert/assert.c (__assert_fail_base): New function. Majority
28089 of code from __assert_fail. Allocate memory for __abort_msg with
28091 (__assert_fail): Now call __assert_fail_base.
28092 * assert/assert-perr.c: Remove bulk of implementation. Use
28093 __assert_fail_base.
28094 * include/assert.hL Declare __assert_fail_base.
28095 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28097 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28099 2011-05-14 Ulrich Drepper <drepper@gmail.com>
28103 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28104 until all modules are registered in the DTV.
28105 * elf/Makefile: Add rules to build and run tst-tls19.
28106 * elf/tst-tls19.c: New file.
28107 * elf/tst-tls19mod1.c: New file.
28108 * elf/tst-tls19mod2.c: New file.
28109 * elf/tst-tls19mod3.c: New file.
28110 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28113 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28117 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28118 two-byte sequence errors.
28119 * iconvdata/Makefile (tests): Add bug-iconv8.
28120 * iconvdata/bug-iconv8.c: New file.
28123 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28126 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28129 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28130 (dummy_getcfa): New function.
28131 (init): Get _Unwind_GetCFA address, use dummy if not found.
28132 (backtrace_helper): In recursion check, also check whether CFA changes.
28133 (__backtrace): Completely initialize arg.
28135 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
28136 storing incomplete byte sequence in state object. Avoid testing for
28137 guaranteed too small input if we know there is enough data available.
28139 2011-05-11 Andreas Schwab <schwab@redhat.com>
28141 * Makeconfig (+link-pie): Indent.
28142 * Rules (binaries-pie): Define if $(have-fpie) and
28144 (binaries-shared): Also filter out $(binaries-pie).
28145 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28146 * nscd/Makefile (others-pie): Add nscd.
28147 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28148 ($(objpfx)nscd): Remove command override.
28149 * login/Makefile (others-pie): Add pt_chown.
28150 ($(objpfx)pt_chown): Remove command override.
28151 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28152 remove command overrides.
28154 2011-05-13 Ulrich Drepper <drepper@gmail.com>
28156 * libio/tst_putwc.c: Fix error messages.
28159 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28160 currently writing and seek to current position when not.
28161 * libio/Makefile (tests): Add bug-fclose1.
28162 * libio/bug-fclose1.c: New file.
28164 2011-05-12 Ulrich Drepper <drepper@gmail.com>
28167 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28168 don't set DF_1_NODELETE here.
28169 (do_lookup_x): When entering new entry test for copy relocation
28170 and if necessary set DF_1_NODELETE flag.
28171 * elf/tst-unique4.cc: New file.
28172 * elf/tst-unique4.h: New file.
28173 * elf/tst-unique4lib.cc: New file.
28174 * elf/Makefile: Add rules to build and run tst-unique4.
28175 Patch by Piotr Bury <pbury@goahead.com>.
28177 2011-05-11 Ulrich Drepper <drepper@gmail.com>
28180 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28183 * misc/mntent_r.c (addmntent): Flush the stream after the output
28186 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28187 (is_trusted_path_normalize): Skip initial colon. Append slash
28188 to empty buffer. Duplicate is_trusted_path code but allow
28189 constructed patch to be prefix.
28190 (is_dst): Allow $ORIGIN followed by /.
28191 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28192 Correct testing of result of is_trusted_path_normalize
28193 (decompose_rpath): Fix warning.
28195 2011-05-10 Ulrich Drepper <drepper@gmail.com>
28198 * grp/initgroups.c (internal_getgrouplist): When we found the service
28199 list through the initgroups entry in nsswitch.conf do not always
28200 continue on a successful lookup. Don't always use the
28201 __nss_group_database value if it is set.
28202 * nss/nsswitch.conf (initgroups): Change action for successful db
28203 lookup to continue for compatibility.
28205 2011-05-09 Ulrich Drepper <drepper@gmail.com>
28208 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28210 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28212 * iconvdata/tst-tables.sh: Likewise.
28213 * iconvdata/cp770.c: New file.
28214 * iconvdata/cp771.c: New file.
28215 * iconvdata/cp772.c: New file.
28216 * iconvdata/cp773.c: New file.
28217 * iconvdata/cp774.c: New file.
28218 * iconvdata/testdata/CP770: New file.
28219 * iconvdata/testdata/CP770..UTF8: New file.
28220 * iconvdata/testdata/CP771: New file.
28221 * iconvdata/testdata/CP771..UTF8: New file.
28222 * iconvdata/testdata/CP772: New file.
28223 * iconvdata/testdata/CP772..UTF8: New file.
28224 * iconvdata/testdata/CP773: New file.
28225 * iconvdata/testdata/CP773..UTF8: New file.
28226 * iconvdata/testdata/CP774: New file.
28227 * iconvdata/testdata/CP774..UTF8: New file.
28229 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28231 * iconvdata/gen-8bit-gap.sh: Likewise.
28232 * iconvdata/gen-8bit.sh: Likewise.
28234 * locale/iso-639.def: Add ary entry.
28237 * locale/C-translit.h.in: Add U20A1 transliteration.
28240 * locale/iso-639.def: Add wae entry.
28241 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28244 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28248 * locale/C-translit.h.in: Add entry for U20B9.
28249 Patch by pravin.d.s@gmail.com.
28251 2011-05-08 Ulrich Drepper <drepper@gmail.com>
28254 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28255 ENAMETOOLONG use generic getcwd.
28256 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28257 in rtld. Use *stat64.
28258 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
28259 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
28260 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
28261 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28262 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28263 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28264 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28265 __fstatat64 macros.
28266 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28267 * dirent/rewinddir.c: Add libc_hidden_def.
28268 * sysdeps/mach/hurd/rewinddir.c: Likewise.
28269 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
28271 * include/dirent.h (__alloc_dir): Add flags parameter.
28272 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28273 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28275 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28276 from fdopendir if O_CLOEXEC is already set.
28278 2011-03-15 Alan Modra <amodra@gmail.com>
28280 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28281 l_tls_firstbyte_offset non-zero. Save padding offset in
28282 l_tls_firstbyte_offset for later use.
28283 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28284 freeing static tls block.
28286 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28288 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28289 where #ifdef was intended. The intent is to prevent ARG_MAX from
28290 being defined by the kernel headers.
28292 2011-05-07 Ulrich Drepper <drepper@gmail.com>
28295 * resolv/resolv.h: Define RES_NOTLDQUERY.
28296 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28297 no-tld-query and set RES_NOTLDQUERY.
28298 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28299 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28300 modern BIND to search name as TLD unless forbidden.
28302 2011-05-07 Petr Baudis <pasky@suse.cz>
28303 Ulrich Drepper <drepper@gmail.com>
28306 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28307 (is_trusted_path): ...to here.
28308 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
28309 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
28310 using is_trusted_path_normalize() in setuid scripts.
28312 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28314 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28315 __BEGIN/__END_DECLS.
28317 2011-05-06 Ulrich Drepper <drepper@gmail.com>
28319 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28320 NSS_STATUS_NOTFOUND if no record was found.
28322 2011-05-05 Andreas Schwab <schwab@redhat.com>
28324 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28325 (headers-not-in-tirpc): Remove rpc/netdb.h
28326 * resolv/netdb.h: Revert last change.
28328 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28330 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28331 circular dependency between libgcc.a and libc.a.
28333 2011-05-05 Andreas Schwab <schwab@redhat.com>
28335 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28336 * nis/Makefile: Don't install rpcsvc/*.
28337 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28338 instead of <rpc/types.h>.
28339 (MAXHOSTNAMELEN): Define.
28341 2011-05-03 Andreas Schwab <schwab@redhat.com>
28343 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28345 2011-04-28 Maciej Babinski <mbabinski@google.com>
28348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28349 gethostbyname4_r when IPv6 results are possible.
28351 2011-05-02 Ulrich Drepper <drepper@gmail.com>
28354 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28355 _PC_PIPE_BUF handling.
28357 2011-04-30 Bruno Haible <bruno@clisp.org>
28360 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28361 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28363 * inet/getnameinfo.c (getnameinfo): Likewise.
28365 2011-04-29 Ulrich Drepper <drepper@gmail.com>
28367 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28368 to groups setting in database lookup.
28369 * nss/nsswitch.conf: Add initgroups entry.
28371 2011-04-22 Ulrich Drepper <drepper@gmail.com>
28374 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28376 Patch by Eric Blake <eblake@redhat.com>.
28378 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28380 * sunrpc/Makefile (need-export-routines): Add svc_run.
28381 (routines): Remove svc_run.
28382 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28383 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28384 * sunrpc/svc_run.c (svc_run): Likewise.
28385 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28387 2011-04-21 Ulrich Drepper <drepper@gmail.com>
28389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28390 problem in reallocation in last patch.
28392 2011-04-20 Ulrich Drepper <drepper@gmail.com>
28394 * sunrpc/Makefile: Move inclusion of Rules.
28396 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28398 * nss/nss_files/files-initgroups.c: New file.
28399 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28400 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28401 _nss_files_initgroups_dyn.
28403 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28405 * elf/elf.h (R_ARM_IRELATIVE): Define.
28407 2011-04-19 Ulrich Drepper <drepper@gmail.com>
28409 * po/ru.po: Update from translation team.
28411 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28413 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28416 2011-02-06 Mike Frysinger <vapier@gentoo.org>
28419 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28420 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28425 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28427 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28433 2011-04-17 Ulrich Drepper <drepper@gmail.com>
28436 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28438 * stdlib/bug-getcontext.c: New file.
28439 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28441 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28443 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28444 instructions into .machine "z9-109".
28445 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28446 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28448 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28450 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28451 between environment variables and auxiliary vector.
28453 2011-04-16 Ulrich Drepper <drepper@gmail.com>
28455 * Makefile: Add rules to build linkobj/libc.so.
28456 * include/libc-symbols.h: Define libc_hidden_nolink.
28457 * include/rpc/auth.h: Mark functions which are to be hidden.
28458 * include/rpc/auth_des.h: Likewise.
28459 * include/rpc/auth_unix.h: Likewise.
28460 * include/rpc/clnt.h: Likewise.
28461 * include/rpc/des_crypt.h: Likewise.
28462 * include/rpc/key_prot.h: Likewise.
28463 * include/rpc/pmap_clnt.h: Likewise.
28464 * include/rpc/pmap_prot.h: Likewise.
28465 * include/rpc/pmap_rmt.h: Likewise.
28466 * include/rpc/rpc_msg.h: Likewise.
28467 * include/rpc/svc.h: Likewise.
28468 * include/rpc/svc_auth.h: Likewise.
28469 * include/rpc/xdr.h: Likewise.
28470 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28471 * nss/Makefile: Likewise.
28472 * sunrpc/Makefile: Don't install headers. Build library with normal
28473 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28474 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28475 for the compat linking library. Remove use of INTDEF/INTUSE.
28476 * sunrpc/auth_none.c: Likewise.
28477 * sunrpc/auth_unix.c: Likewise.
28478 * sunrpc/authdes_prot.c: Likewise.
28479 * sunrpc/authuxprot.c: Likewise.
28480 * sunrpc/clnt_gen.c: Likewise.
28481 * sunrpc/clnt_perr.c: Likewise.
28482 * sunrpc/clnt_raw.c: Likewise.
28483 * sunrpc/clnt_simp.c: Likewise.
28484 * sunrpc/clnt_tcp.c: Likewise.
28485 * sunrpc/clnt_udp.c: Likewise.
28486 * sunrpc/clnt_unix.c: Likewise.
28487 * sunrpc/des_crypt.c: Likewise.
28488 * sunrpc/des_soft.c: Likewise.
28489 * sunrpc/get_myaddr.c: Likewise.
28490 * sunrpc/key_call.c: Likewise.
28491 * sunrpc/key_prot.c: Likewise.
28492 * sunrpc/netname.c: Likewise.
28493 * sunrpc/pm_getmaps.c: Likewise.
28494 * sunrpc/pm_getport.c: Likewise.
28495 * sunrpc/pmap_clnt.c: Likewise.
28496 * sunrpc/pmap_prot.c: Likewise.
28497 * sunrpc/pmap_prot2.c: Likewise.
28498 * sunrpc/pmap_rmt.c: Likewise.
28499 * sunrpc/publickey.c: Likewise.
28500 * sunrpc/rpc_cmsg.c: Likewise.
28501 * sunrpc/rpc_common.c: Likewise.
28502 * sunrpc/rpc_dtable.c: Likewise.
28503 * sunrpc/rpc_prot.c: Likewise.
28504 * sunrpc/rpc_thread.c: Likewise.
28505 * sunrpc/rtime.c: Likewise.
28506 * sunrpc/svc.c: Likewise.
28507 * sunrpc/svc_auth.c: Likewise.
28508 * sunrpc/svc_authux.c: Likewise.
28509 * sunrpc/svc_raw.c: Likewise.
28510 * sunrpc/svc_run.c: Likewise.
28511 * sunrpc/svc_simple.c: Likewise.
28512 * sunrpc/svc_tcp.c: Likewise.
28513 * sunrpc/svc_udp.c: Likewise.
28514 * sunrpc/svc_unix.c: Likewise.
28515 * sunrpc/svcauth_des.c: Likewise.
28516 * sunrpc/xcrypt.c: Likewise.
28517 * sunrpc/xdr.c: Likewise.
28518 * sunrpc/xdr_array.c: Likewise.
28519 * sunrpc/xdr_float.c: Likewise.
28520 * sunrpc/xdr_intXX_t.c: Likewise.
28521 * sunrpc/xdr_mem.c: Likewise.
28522 * sunrpc/xdr_rec.c: Likewise.
28523 * sunrpc/xdr_ref.c: Likewise.
28524 * sunrpc/xdr_sizeof.c: Likewise.
28525 * sunrpc/xdr_stdio.c: Likewise.
28527 2011-04-10 Ulrich Drepper <drepper@gmail.com>
28530 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28531 * sysdeps/ia64/dl-tls.h: Likewise.
28532 * sysdeps/powerpc/dl-tls.h: Likewise.
28533 * sysdeps/s390/dl-tls.h: Likewise.
28534 * sysdeps/sh/dl-tls.h: Likewise.
28535 * sysdeps/sparc/dl-tls.h: Likewise.
28536 * sysdeps/x86_64/dl-tls.h: Likewise.
28537 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28539 2011-03-14 Andreas Schwab <schwab@redhat.com>
28541 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28542 rpath element also skip the following colon.
28543 (expand_dynamic_string_token): Add is_path parameter and pass
28544 down to DL_DST_REQUIRED and _dl_dst_substitute.
28545 (decompose_rpath): Call expand_dynamic_string_token with
28546 non-zero is_path. Ignore empty rpaths.
28547 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28550 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28555 2011-04-09 Ulrich Drepper <drepper@gmail.com>
28558 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28559 Patch by Filipe David Manana <fdmanana@apache.org>.
28561 2011-04-07 Andreas Schwab <schwab@redhat.com>
28563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28564 Maintain aligned stack.
28565 (CHECK_RSP): Remove unused macro.
28567 2011-04-03 Ulrich Drepper <drepper@gmail.com>
28569 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28570 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28572 2011-04-02 Ulrich Drepper <drepper@gmail.com>
28574 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28576 * include/features.h: Mention __USE_XOPEN2K8 in comment.
28578 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28581 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28582 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28583 * sysdeps/x86_64/memmove.c: New file.
28584 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28585 (memcpy): Renamed to ...
28586 (__new_memcpy): This.
28587 (memcpy): Provide GLIBC_2_14 memcpy.
28588 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28589 (memcpy): Provide GLIBC_2_2_5 memcpy.
28591 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28594 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28596 2011-03-30 Andreas Schwab <schwab@redhat.com>
28598 * misc/syncfs.c: New file.
28599 * misc/Makefile (routines): Add syncfs.
28600 * posix/unistd.h: Declare syncfs.
28601 * sysdeps/unix/syscalls.list: Add syncfs.
28603 2011-04-01 Andreas Schwab <schwab@redhat.com>
28605 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28607 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28608 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28612 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28615 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28618 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28625 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28626 sync_file_range.c with -fexceptions.
28627 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28628 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28629 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28630 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28631 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28632 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
28634 sync_file_range as cancellation point
28635 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28636 now a wrapper around __call_sync_file_range with cancellation handling.
28637 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28638 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28639 function name to __call_sync_file_range.
28640 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28641 Add call_sync_file_range.
28643 2011-04-01 Andreas Schwab <schwab@redhat.com>
28645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28648 2011-04-01 Ulrich Drepper <drepper@gmail.com>
28650 * iconv/iconv.h: Fix typo in comment.
28651 * io/fcntl.h: Likewise.
28652 * libio/stdio.h: Likewise.
28653 * posix/spawn.h: Likewise.
28654 * posix/unistd.h: Likewise.
28655 * stdlib/stdlib.h: Likewise.
28656 * time/time.h: Likewise.
28657 * wcsmbs/wchar.h: Likewise.
28659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28660 open_by_handle): Add.
28661 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28662 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28663 Augment a few comments.
28664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28666 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28669 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28672 * io/fcntl.h (AT_EMPTY_PATH): Define.
28674 2011-03-30 Ulrich Drepper <drepper@gmail.com>
28676 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28677 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28678 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28680 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
28681 * Versions.def: Add GLIBC_2.14.
28682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28685 2011-03-22 Ulrich Drepper <drepper@gmail.com>
28687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28689 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28691 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28694 * string/test-strncmp.c (do_page_test): New function.
28695 (check2): Likewise.
28696 (test_main): Call check2.
28697 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
28699 2011-03-20 Ulrich Drepper <drepper@gmail.com>
28702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
28703 Handle cache information in CPU leaf 4.
28704 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28706 2011-03-18 Ulrich Drepper <drepper@gmail.com>
28709 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
28710 character representation.
28711 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
28713 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28715 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
28716 END(__isnan) to END(__isnanf) to match function entry point/label
28717 EALIGN(__isnanf,...).
28719 2011-03-10 Jakub Jelinek <jakub@redhat.com>
28721 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28723 2011-03-10 Ulrich Drepper <drepper@gmail.com>
28726 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
28727 copy from the symbol referenced in the relocation to initialize the
28729 Patch by Piotr Bury <pbury@goahead.com>.
28730 * elf/Makefile: Add rules to build and tst-unique3.
28731 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
28732 * elf/tst-unique3.cc: New file.
28733 * elf/tst-unique3.h: New file.
28734 * elf/tst-unique3lib.cc: New file.
28735 * elf/tst-unique3lib2.cc: New file.
28737 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28739 2011-03-10 Mike Frysinger <vapier@gentoo.org>
28741 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28742 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28745 2011-03-06 Ulrich Drepper <drepper@gmail.com>
28747 * elf/dl-load.c (_dl_map_object): If we are looking for the first
28748 to-be-loaded object along a path to loader is ld.so.
28750 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28751 Ulrich Drepper <drepper@gmail.com>
28753 * sysdeps/x86_64/memset.S: After aligning destination, code
28754 branches to different locations depending on the value of
28755 misalignment, when multiarch is enabled. Fix this.
28757 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28759 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
28760 Set _x86_64_preferred_memory_instruction for AMD processsors.
28761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28762 Set bit_Prefer_SSE_for_memop for AMD processors.
28764 2011-03-04 Ulrich Drepper <drepper@gmail.com>
28766 * libio/fmemopen.c (fmemopen): Optimize a bit.
28768 2011-03-03 Andreas Schwab <schwab@redhat.com>
28770 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28772 2011-03-03 Roland McGrath <roland@redhat.com>
28774 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28776 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28778 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
28779 __bzero_ultra1 instead of __memset_ultra1.
28781 2011-02-23 Andreas Schwab <schwab@redhat.com>
28782 Ulrich Drepper <drepper@gmail.com>
28785 * include/link.h (struct link_map): Add l_orig_initfini.
28786 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
28787 returning unsuccessfully.
28788 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
28789 close of a file loaded at startup, restore the original l_initfini
28791 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
28792 list, store the pointer.
28793 * elf/Makefile ($(objpfx)noload-mem): New rule.
28794 (noload-ENV): Define.
28795 (tests): Add $(objpfx)noload-mem.
28796 * elf/noload.c: Include <memcheck.h>.
28797 (main): Call mtrace. Close all opened handles.
28799 2011-02-17 Andreas Schwab <schwab@redhat.com>
28802 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28803 dependencies are missing.
28805 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28807 Fix __if_freereq crash: Unlike the generic version which uses free,
28809 * sysdeps/mach/hurd/ifreq.h: New file.
28811 2011-01-27 Petr Baudis <pasky@suse.cz>
28812 Ulrich Drepper <drepper@gmail.com>
28815 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
28816 to extend_alloca().
28817 * stdio-common/bug23.c: New file.
28818 * stdio-common/Makefile (tests): Add bug23.
28820 2010-09-28 Andreas Schwab <schwab@redhat.com>
28821 Ulrich Drepper <drepper@gmail.com>
28824 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
28825 before performing relro protection. At old place add assertion
28826 to make sure nothing changed.
28828 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28829 Glauber de Oliveira Costa <glommer@gmail.com>
28831 * elf/elf.h: Add new ARM TLS relocs.
28833 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28836 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28838 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28840 * sysdeps/wordsize-64/tst-writev.c: New file.
28842 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28844 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
28845 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
28846 insns in _dl_start to prevent a TOC reference before relocs are
28849 2011-02-15 Ulrich Drepper <drepper@gmail.com>
28852 * Makeconfig: Remove RANLIB definition.
28853 * Makerules: Don't use RANLIB.
28854 * aclocal.m4: Remove ranlib test.
28855 * configure.in: No need to check for ranlib.
28856 * elf/rtld-Rules: Don't use RANLIB.
28858 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28860 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28862 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28863 inclusion protection macro.
28865 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
28866 SIGRTMIN and SIGRTMAX and print information in that case only when
28867 SIGRTMIN is defined.
28869 2011-02-11 Jakub Jelinek <jakub@redhat.com>
28871 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28872 arginfo fn returning -1.
28874 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28875 and thousands string is zero terminated.
28877 2011-02-03 Andreas Schwab <schwab@redhat.com>
28879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28880 sysdeps/unix/sysv/linux/bits/socket.h.
28882 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28884 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
28885 (__CPU_COUNT): Remove old macros.
28886 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
28887 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
28888 (__CPU_ALLOC, __CPU_FREE): Add macros.
28889 (__sched_cpualloc, __sched_cpufree): Add declarations.
28891 2011-02-05 Ulrich Drepper <drepper@gmail.com>
28893 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
28894 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
28895 * nscd/aicache.c (addhstaiX): Return timeout of added value.
28896 (readdhstai): Return value of addhstaiX call.
28897 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
28898 (addgrbyX): Return value returned by cache_addgr.
28899 (readdgrbyname): Return value returned by addgrbyX.
28900 (readdgrbygid): Likewise.
28901 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
28902 (addpwbyX): Return value returned by cache_addpw.
28903 (readdpwbyname): Return value returned by addhstbyX.
28904 (readdpwbyuid): Likewise.
28905 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
28906 (addservbyX): Return value returned by cache_addserv.
28907 (readdservbyname): Return value returned by addservbyX:
28908 (readdservbyport): Likewise.
28909 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
28910 (addhstbyX): Return value returned by cache_addhst.
28911 (readdhstbyname): Return value returned by addhstbyX.
28912 (readdhstbyaddr): Likewise.
28913 (readdhstbynamev6): Likewise.
28914 (readdhstbyaddrv6): Likewise.
28915 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
28916 (readdinitgroups): Return value returned by addinitgroupsX.
28917 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
28918 (prune_cache): Keep track of timeout value of re-added entries.
28919 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
28920 * nscd/nscd.h: Adjust prototypes of readd* functions.
28922 2011-02-04 Roland McGrath <roland@redhat.com>
28924 * nis/nis_server.c (nis_servstate): Use the right name for 0.
28925 (nis_stats): Likewise.
28926 * nis/nis_modify.c (nis_modify): Likewise.
28927 * nis/nis_remove.c (nis_remove): Likewise.
28928 * nis/nis_add.c (nis_add): Likewise.
28930 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28932 * posix/fnmatch_loop.c: Add some consts.
28934 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28936 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28939 * config.make.in (config-cflags-novzeroupper): Define.
28940 * configure.in: Substitute libc_cv_cc_novzeroupper.
28941 * elf/Makefile (AVX-CFLAGS): Define.
28942 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
28943 (CFLAGS-tst-auditmod4a.c): Likewise.
28944 (CFLAGS-tst-auditmod4b.c): Likewise.
28945 (CFLAGS-tst-auditmod6b.c): Likewise.
28946 (CFLAGS-tst-auditmod6c.c): Likewise.
28947 (CFLAGS-tst-auditmod7b.c): Likewise.
28948 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
28950 2011-02-02 Ulrich Drepper <drepper@gmail.com>
28952 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
28953 function to the callback.
28954 Patch partly by Jiri Olsa <jolsa@redhat.com>.
28956 2011-02-02 Andreas Schwab <schwab@redhat.com>
28958 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28961 2011-01-19 Ulrich Drepper <drepper@gmail.com>
28964 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28966 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28968 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28971 * elf/Makefile: Add rules to build and run new test.
28972 * elf/tst-initorder.c: New file.
28973 * elf/tst-initorder.exp: New file.
28974 * elf/tst-initordera1.c: New file.
28975 * elf/tst-initordera2.c: New file.
28976 * elf/tst-initordera3.c: New file.
28977 * elf/tst-initordera4.c: New file.
28978 * elf/tst-initorderb1.c: New file.
28979 * elf/tst-initorderb2.c: New file.
28980 * elf/tst-order-a1.c: New file.
28981 * elf/tst-order-a2.c: New file.
28982 * elf/tst-order-a3.c: New file.
28983 * elf/tst-order-a4.c: New file.
28984 * elf/tst-order-b1.c: New file.
28985 * elf/tst-order-b2.c: New file.
28986 * elf/tst-order-main.c: New file.
28987 New test case by George Gensure <werkt0@gmail.com>.
28989 2010-10-01 Andreas Schwab <schwab@redhat.com>
28991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28992 decoding ACE if AI_CANONIDN.
28994 2011-01-18 Ulrich Drepper <drepper@gmail.com>
28996 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28998 2011-01-17 Ulrich Drepper <drepper@gmail.com>
29000 * version.h (RELEASE): Bump for 2.13 release.
29001 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29003 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29005 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29007 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29009 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29010 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29014 * posix/getconf.c: Update copyright year.
29015 * catgets/gencat.c: Likewise.
29016 * csu/version.c: Likewise.
29017 * debug/catchsegv.sh: Likewise.
29018 * debug/xtrace.sh: Likewise.
29019 * elf/ldconfig.c: Likewise.
29020 * elf/ldd.bash.in: Likewise.
29021 * elf/sprof.c (print_version): Likewise.
29022 * iconv/iconv_prog.c: Likewise.
29023 * iconv/iconvconfig.c: Likewise.
29024 * locale/programs/locale.c: Likewise.
29025 * locale/programs/localedef.c: Likewise.
29026 * malloc/memusage.sh: Likewise.
29027 * malloc/mtrace.pl: Likewise.
29028 * nscd/nscd.c (print_version): Likewise.
29029 * nss/getent.c: Likewise.
29031 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29032 PF_CAIF, and PF_ALG.
29033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29035 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29037 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29038 (modules-names): Use them.
29039 (ifunc-test-modules, ifunc-pie-tests): Define.
29040 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29041 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29042 (test-extras): Likewise.
29043 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29044 $(compile-command.c).
29045 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29046 (all-built-dso): Define.
29047 (check-textrel.out, check-execstack.out): Depend on it.
29049 * configure.in: Don't override --enable-multi-arch.
29051 2011-01-15 Ulrich Drepper <drepper@gmail.com>
29054 * nscd/hstcache.c (tryagain): Define.
29055 (cache_addhst): Return tryagain not notfound for temporary errors.
29056 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29059 2011-01-14 Ulrich Drepper <drepper@gmail.com>
29062 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29063 to make the syscall.
29064 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29067 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29068 and fall back to matching as normal character if the string ends before
29069 the matching ']' is found. This is what POSIX requires.
29070 * posix/testfnm.c: Adjust test result.
29071 * posix/globtest.sh: Adjust test result. Add new test.
29072 * posix/tst-fnmatch.input: Likewise.
29073 * posix/tst-fnmatch2.c: Add new test.
29075 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29077 * elf/Makefile (check-execstack): Revert last change. Depend on
29079 (check-execstack.h): New target.
29080 (generated): Add check-execstack.h.
29081 * elf/check-execstack.c: Include "check-execstack.h".
29082 (main): Revert last change.
29083 (handle_file): Return zero if GNU_STACK is absent and
29084 DEFAULT_STACK_PERMS doesn't include PF_X.
29086 2011-01-13 Ulrich Drepper <drepper@gmail.com>
29088 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29089 in child fails because the descriptor is already closed.
29090 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29091 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
29095 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29099 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29100 temporary buffer used to handle multi lookups locally.
29101 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
29103 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29105 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29108 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29110 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29111 alignment for SSE2.
29113 2011-01-12 Ulrich Drepper <drepper@gmail.com>
29116 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29117 characters. When rounding increased number of integer digits recompute
29119 * stdio-common/tst-grouping.c: New file.
29120 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29122 2011-01-09 Ulrich Drepper <drepper@gmail.com>
29124 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29125 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29127 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29129 * bits/select.h: Likewise.
29131 2011-01-08 Ulrich Drepper <drepper@gmail.com>
29133 * po/ja.po: Update from translation team.
29135 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
29138 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29139 implementation just like for lxstat, fxstatat, et al.
29141 2010-12-27 Jim Meyering <meyering@redhat.com>
29144 * posix/regexec.c (build_trtable): Return failure indication upon
29145 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29147 2010-12-25 Ulrich Drepper <drepper@gmail.com>
29150 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29151 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29152 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29153 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29156 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29159 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29160 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29162 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29164 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29165 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29166 script has SORT_BY_INIT_PRIORITY.
29167 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29168 NO_CTORS_DTORS_SECTIONS is defined.
29169 * elf/soinit.c: Likewise.
29170 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29171 NO_CTORS_DTORS_SECTIONS is defined.
29172 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29173 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29174 * sysdeps/sh/init-first.c: Likewise.
29175 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29177 2010-12-24 Ulrich Drepper <drepper@gmail.com>
29179 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29180 always use the slow path.
29182 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29184 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29185 similar rule which adds the sysdep directories to the header search in
29186 order to pick up the correct platform stackinfo.h.
29187 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29188 perform test if it is, otherwise return successfully without testing.
29189 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29190 DEFAULT_STACK_PERMS define in stackinfo.h.
29191 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29192 defined in stackinfo.h.
29193 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29194 DEFAULT_STACK_PERMS defined in stackinfo.h.
29195 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29196 * sysdeps/ia64/stackinfo.h: Likewise.
29197 * sysdeps/s390/stackinfo.h: Likewise.
29198 * sysdeps/sh/stackinfo.h: Likewise.
29199 * sysdeps/sparc/stackinfo.h: Likewise.
29200 * sysdeps/x86_64/stackinfo.h: Likewise.
29201 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29202 PF_X for powerpc64. Retain PF_X for powerpc32.
29204 2010-12-19 Ulrich Drepper <drepper@gmail.com>
29206 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29208 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29209 GETDENTS_64BIT_ALIGNED.
29211 2010-12-14 Ulrich Drepper <dreper@gmail.com>
29213 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
29215 2010-12-10 Andreas Schwab <schwab@redhat.com>
29217 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29220 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29221 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29223 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29224 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29226 2010-12-09 Ulrich Drepper <drepper@gmail.com>
29229 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29232 2010-12-09 Jakub Jelinek <jakub@redhat.com>
29234 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29236 2010-12-03 Ulrich Drepper <drepper@gmail.com>
29238 * po/it.po: Update from translation team.
29240 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29245 2010-11-30 Ulrich Drepper <drepper@gmail.com>
29247 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29249 2010-11-24 Andreas Schwab <schwab@redhat.com>
29251 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29253 (gaih_getanswer_slice): Likewise.
29255 2010-10-20 Jakub Jelinek <jakub@redhat.com>
29257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29259 2010-05-31 Petr Baudis <pasky@suse.cz>
29262 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29263 silently even in the chroot mode.
29265 2010-11-22 Ulrich Drepper <drepper@gmail.com>
29267 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29268 last patch a bit. Pretty printing
29270 2010-05-31 Petr Baudis <pasky@suse.cz>
29273 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29274 initialization of skip_initgroups_dyn.
29276 2010-11-19 Ulrich Drepper <drepper@gmail.com>
29278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29281 2010-11-16 Ulrich Drepper <drepper@gmail.com>
29283 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29285 2010-11-11 Andreas Schwab <schwab@redhat.com>
29287 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29288 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29289 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29290 ($(objpfx)tst-fnmatch-mem): New rule.
29291 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29292 * posix/tst-fnmatch.c (main): Call mtrace.
29294 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29297 Support Intel processor model 6 and model 0x2c.
29299 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
29301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29304 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29307 * string/test-strncasecmp.c (check_result): New function.
29308 (do_one_test): Use it.
29309 (check1): New function.
29310 (test_main): Use it.
29311 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29312 Support strcasecmp and strncasecmp.
29314 2010-11-08 Ulrich Drepper <drepper@gmail.com>
29317 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29320 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29322 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29326 * sysdeps/x86_64/multiarch/bzero.S: New file.
29327 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29328 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29329 * sysdeps/x86_64/multiarch/memset.S: New file.
29330 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29332 Set bit_Prefer_SSE_for_memop for Intel processors.
29333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29335 (index_Prefer_SSE_for_memop): Define.
29336 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29338 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
29340 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29341 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29343 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29346 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29347 (__x86_64_raw_data_cache_size_half): Likewise.
29348 (__x86_64_raw_shared_cache_size): Likewise.
29349 (__x86_64_raw_shared_cache_size_half): Likewise.
29351 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29352 (__x86_64_raw_data_cache_size_half): Likewise.
29353 (__x86_64_raw_shared_cache_size): Likewise.
29354 (__x86_64_raw_shared_cache_size_half): Likewise.
29355 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29356 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29357 and __x86_64_raw_shared_cache_size_half. Round
29358 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29359 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29360 to multiple of 256 bytes.
29362 2010-11-03 Ulrich Drepper <drepper@gmail.com>
29365 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29366 of inacessible symlinks. Verify result of symlink before returning it.
29367 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29368 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29370 2010-10-28 Erich Ritz <erichritz@gmail.com>
29372 * math/math.h (isinf): Fix typo in comment.
29374 2010-11-01 Ulrich Drepper <drepper@gmail.com>
29376 * po/da.po: Update from translation team.
29378 2010-10-26 Ulrich Drepper <drepper@gmail.com>
29380 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29381 is added to the list.
29383 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29384 Ulrich Drepper <drepper@gmail.com>
29386 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29387 the global list here. Move code to...
29388 (_dl_add_to_namespace_list): ...here. New function.
29389 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29390 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29391 * elf/dl-load.c (lose): Don't remove the element from the list.
29392 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29393 (_dl_map_object): Likewise.
29395 2010-10-25 Ulrich Drepper <drepper@gmail.com>
29398 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29399 into all bytes of SSE register.
29400 Patch by Richard Li <richardpku@gmail.com>.
29402 2010-10-24 Ulrich Drepper <drepper@gmail.com>
29405 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29408 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29410 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29411 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29412 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29413 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29418 2010-10-22 Andreas Schwab <schwab@redhat.com>
29420 * include/dlfcn.h (__RTLD_SECURE): Define.
29421 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29422 mode & __RTLD_SECURE instead.
29423 (open_path): Rename preloaded parameter to secure.
29424 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29425 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29426 * elf/dl-deps.c (openaux): Likewise.
29427 * elf/rtld.c (struct map_args): Remove is_preloaded.
29428 (map_doit): Don't use it.
29429 (dl_main): Likewise.
29430 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29431 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29433 2010-09-09 Andreas Schwab <schwab@redhat.com>
29435 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29436 (sysd-rules-targets): Remove duplicates.
29437 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29438 rtld-%.$o dependency.
29440 2010-10-18 Andreas Schwab <schwab@redhat.com>
29442 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29443 _dl_map_object do it.
29445 2010-10-19 Ulrich Drepper <drepper@gmail.com>
29447 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29448 fast fma builtins, define the macros in the C99 standard.
29449 (FP_FAST_FMAF): Likewise.
29450 (FP_FAST_FMAL): Likewise.
29451 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29453 * bits/mathdef.h: Update copyright year.
29454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29456 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29458 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29459 builtins, define the macros in the C99 standard.
29460 (FP_FAST_FMAF): Likewise.
29461 (FP_FAST_FMAL): Likewise.
29462 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29464 (FP_FAST_FMAF): Likewise.
29466 2010-10-15 Jakub Jelinek <jakub@redhat.com>
29469 * math/libm-test.inc (fma_test): Some new testcases.
29470 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29472 y and infinite z. Do multiplication by C already in long double.
29473 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29475 y and infinite z. Do bitwise or of inexact bit into u.d.
29476 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29477 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29478 * sysdeps/i386/fpu/s_fma.S: Removed.
29479 * sysdeps/i386/fpu/s_fmal.S: Removed.
29481 2010-10-16 Jakub Jelinek <jakub@redhat.com>
29484 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29486 computation is not scheduled after fetestexcept. Fix value
29487 of minimum denormal long double.
29489 2010-10-14 Jakub Jelinek <jakub@redhat.com>
29492 * math/libm-test.inc (fma_test): Add some more tests.
29493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29496 2010-10-15 Andreas Schwab <schwab@redhat.com>
29498 * scripts/data/localplt-s390-linux-gnu.data: New file.
29499 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29501 2010-10-13 Jakub Jelinek <jakub@redhat.com>
29504 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29505 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29507 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29509 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29511 if one of x and y is very large and the other is subnormal.
29512 * sysdeps/s390/fpu/s_fmaf.c: New file.
29513 * sysdeps/s390/fpu/s_fma.c: New file.
29514 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29515 * sysdeps/powerpc/fpu/s_fma.S: New file.
29516 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29517 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29518 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29520 2010-10-12 Jakub Jelinek <jakub@redhat.com>
29523 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29526 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29527 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29528 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29529 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29530 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29531 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29533 2010-10-12 Ulrich Drepper <drepper@redhat.com>
29536 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29537 * posix/bug-regex31.input: Add test case.
29539 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29541 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29542 * posix/bug-regex31.input: New file.
29545 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29546 (parse_sub_exp): Fix last change, use postorder.
29548 * posix/bug-regex31.c: New file.
29549 * posix/Makefile: Add rules to build and run bug-regex31.
29551 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29554 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29557 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29558 to have entries in sys_siglist.
29561 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29564 2010-10-07 Jakub Jelinek <jakub@redhat.com>
29567 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29568 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29569 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29570 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29571 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29572 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29573 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29574 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29575 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29576 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29577 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29578 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29579 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29580 * math/ftestexcept.c (fetestexcept): Likewise.
29581 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29582 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29583 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29584 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29585 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29586 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29587 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29589 2010-10-11 Ulrich Drepper <drepper@gmail.com>
29592 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29595 2010-10-06 Ulrich Drepper <drepper@gmail.com>
29597 * string/bug-strstr1.c: New file.
29598 * string/Makefile: Add rules to build and run bug-strstr1.
29600 2010-10-05 Eric Blake <eblake@redhat.com>
29603 * string/str-two-way.h (two_way_long_needle): Always clear memory
29604 when skipping input due to the shift table.
29606 2010-10-03 Ulrich Drepper <drepper@gmail.com>
29609 * malloc/mcheck.c: Handle large requests.
29612 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29613 for strncmp and strncasecmp.
29614 * string/stratcliff.c: Add tests for strcmp and strncmp.
29615 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29617 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29619 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29622 2010-09-30 Andreas Jaeger <aj@suse.de>
29624 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29625 (CGROUP_SUPER_MAGIC): Define.
29626 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29627 Handle btrfs and cgroup file systems.
29628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29631 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
29633 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29634 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29636 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29639 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29640 trying to locate the ELF header.
29642 2010-09-27 Andreas Schwab <schwab@redhat.com>
29645 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29646 Mask out sign-bit copies when constructing f_fsid.
29648 2010-09-24 Petr Baudis <pasky@suse.cz>
29650 * debug/stack_chk_fail_local.c: Add missing licence exception.
29651 * debug/warning-nop.c: Likewise.
29653 2010-09-15 Joseph Myers <joseph@codesourcery.com>
29655 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29656 implementing getdents64 using getdents syscall, set d_type if
29657 __ASSUME_GETDENTS32_D_TYPE.
29659 2010-09-16 Andreas Schwab <schwab@redhat.com>
29661 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29662 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29664 2010-09-21 Ulrich Drepper <drepper@redhat.com>
29667 * posix/unistd.h: Undo change of feature selection for ftruncate from
29670 2010-09-20 Ulrich Drepper <drepper@redhat.com>
29672 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
29675 2010-09-20 Andreas Schwab <schwab@redhat.com>
29677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29681 2010-09-14 Andreas Schwab <schwab@redhat.com>
29683 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29684 variables after CHECK_SP call.
29685 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29687 2010-09-13 Andreas Schwab <schwab@redhat.com>
29688 Ulrich Drepper <drepper@redhat.com>
29690 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29691 re-relocationg ld.so.
29692 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29693 _dl_init_paths call.
29694 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29697 2010-09-14 Ulrich Drepper <drepper@redhat.com>
29699 * resolv/res_init.c (__res_vinit): Count the default server we added.
29701 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29702 Ulrich Drepper <drepper@redhat.com>
29705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29706 (____longjmp_chk): Use %ebx for saving value across system call.
29709 2010-09-06 Andreas Schwab <schwab@redhat.com>
29711 * manual/Makefile: Don't mix pattern rules with normal rules.
29713 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29715 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29717 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
29718 * libio/iofopncook.c (_IO_cookie_init): Likewise.
29719 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
29720 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29724 2010-09-04 Ulrich Drepper <drepper@redhat.com>
29727 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29728 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29730 2010-09-02 Ulrich Drepper <drepper@redhat.com>
29732 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
29733 * sysdeps/x86_64/addmul_1.S: Likewise.
29734 * sysdeps/x86_64/lshift.S: Likewise.
29735 * sysdeps/x86_64/mul_1.S: Likewise.
29736 * sysdeps/x86_64/rshift.S: Likewise.
29737 * sysdeps/x86_64/sub_n.S: Likewise.
29738 * sysdeps/x86_64/submul_1.S: Likewise.
29740 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29742 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
29743 Define __sched_param instead of SCHED_* and sched_param when
29744 <bits/sched.h> is included with __need_schedparam defined.
29745 * bits/sched.h [__need_schedparam]
29746 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
29747 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29748 (__defined_schedparam): Define to 1.
29749 (__sched_param): New structure, identical to sched_param.
29750 (__need_schedparam): Undefine.
29752 2010-08-31 Mike Frysinger <vapier@gentoo.org>
29754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29755 (epoll_create1): Declare.
29757 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29759 2010-08-31 Andreas Schwab <schwab@redhat.com>
29762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29763 shifting retval into place.
29765 2010-09-01 Ulrich Drepper <drepper@redhat.com>
29767 * nis/rpcsvc/nis.h: Update copyright notice.
29768 * nis/rpcsvc/nis.x: Likewise.
29769 * nis/rpcsvc/nis_callback.h: Likewise.
29770 * nis/rpcsvc/nis_callback.x: Likewise.
29771 * nis/rpcsvc/nis_object.x: Likewise.
29772 * nis/rpcsvc/nis_tags.h: Likewise.
29773 * nis/rpcsvc/yp.h: Likewise.
29774 * nis/rpcsvc/yp.x: Likewise.
29775 * nis/rpcsvc/ypupd.h: Likewise.
29776 * nis/yp_xdr.c: Likewise.
29777 * nis/ypupdate_xdr.c: Likewise.
29779 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
29780 mainly the body of pmap_getport. Add parameters to specify timeouts.
29781 (pmap_getport): Use __libc_rpc_getport.
29782 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
29783 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
29784 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
29786 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29791 2010-08-27 Roland McGrath <roland@redhat.com>
29793 * sysdeps/i386/i686/multiarch/Makefile
29794 (CFLAGS-varshift.c): New variable.
29796 2010-08-27 Ulrich Drepper <drepper@redhat.com>
29798 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29799 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29803 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29805 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29807 * sysdeps/x86_64/strlen.S: Unroll the loop.
29808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29809 strlen-sse2 strlen-sse2-bsf.
29810 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
29811 __strlen_no_bsf if bit_Slow_BSF is set.
29812 (__strlen_sse42): Removed.
29813 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29814 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
29816 2010-08-25 Roland McGrath <roland@redhat.com>
29818 * sysdeps/x86_64/multiarch/varshift.S: File removed.
29819 * sysdeps/x86_64/multiarch/varshift.c: New file.
29820 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
29821 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
29822 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
29823 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29825 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29828 strlen-sse2 strlen-sse2-bsf.
29829 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
29830 __strlen_sse2_bsf if bit_Slow_BSF is unset.
29831 (__strlen_sse2): Removed.
29832 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
29833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
29834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29835 bit_Slow_BSF for Atom.
29836 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
29837 (index_Slow_BSF): Define.
29838 (HAS_SLOW_BSF): Define.
29840 2010-08-25 Ulrich Drepper <drepper@redhat.com>
29843 * resolv/res_init.c (__res_vinit): When no server address at all
29844 is given default to loopback.
29846 2010-08-24 Roland McGrath <roland@redhat.com>
29848 * configure.in: Remove config-name.h generation.
29849 * configure: Regenerated.
29850 * config-name.in: File removed.
29851 * scripts/config-uname.sh: New file.
29852 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
29853 ($(objdir)config-name.h): New target.
29855 * sunrpc/rpc_parse.h: Avoid nested comment.
29857 2010-08-24 Richard Henderson <rth@redhat.com>
29858 Ulrich Drepper <drepper@redhat.com>
29859 H.J. Lu <hongjiu.lu@intel.com>
29861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
29862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
29863 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
29864 Replace _mm_srli_si128 with __m128i_shift_right. Replace
29865 _mm_alignr_epi8 with _mm_loadu_si128.
29866 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
29867 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
29868 (__m128i_shift_right): Removed.
29869 * sysdeps/i386/i686/multiarch/varshift.h: New file.
29870 * sysdeps/i386/i686/multiarch/varshift.S: New file.
29871 * sysdeps/x86_64/multiarch/varshift.h: New file.
29872 * sysdeps/x86_64/multiarch/varshift.S: New file.
29874 2010-08-21 Mike Frysinger <vapier@gentoo.org>
29876 * configure.in: Move assembler checks to before sysdep dir checking.
29878 2010-08-20 Petr Baudis <pasky@suse.cz>
29880 * LICENSES: Sync the sunrpc license.
29882 2010-08-19 Ulrich Drepper <drepper@redhat.com>
29884 * sunrpc/auth_des.c: Update copyright notice once again.
29885 * sunrpc/auth_none.c: Likewise.
29886 * sunrpc/auth_unix.c: Likewise.
29887 * sunrpc/authdes_prot.c: Likewise.
29888 * sunrpc/authuxprot.c: Likewise.
29889 * sunrpc/bindrsvprt.c: Likewise.
29890 * sunrpc/clnt_gen.c: Likewise.
29891 * sunrpc/clnt_perr.c: Likewise.
29892 * sunrpc/clnt_raw.c: Likewise.
29893 * sunrpc/clnt_simp.c: Likewise.
29894 * sunrpc/clnt_tcp.c: Likewise.
29895 * sunrpc/clnt_udp.c: Likewise.
29896 * sunrpc/clnt_unix.c: Likewise.
29897 * sunrpc/des_crypt.c: Likewise.
29898 * sunrpc/des_soft.c: Likewise.
29899 * sunrpc/get_myaddr.c: Likewise.
29900 * sunrpc/getrpcport.c: Likewise.
29901 * sunrpc/key_call.c: Likewise.
29902 * sunrpc/key_prot.c: Likewise.
29903 * sunrpc/openchild.c: Likewise.
29904 * sunrpc/pm_getmaps.c: Likewise.
29905 * sunrpc/pm_getport.c: Likewise.
29906 * sunrpc/pmap_clnt.c: Likewise.
29907 * sunrpc/pmap_prot.c: Likewise.
29908 * sunrpc/pmap_prot2.c: Likewise.
29909 * sunrpc/pmap_rmt.c: Likewise.
29910 * sunrpc/rpc/auth.h: Likewise.
29911 * sunrpc/rpc/auth_unix.h: Likewise.
29912 * sunrpc/rpc/clnt.h: Likewise.
29913 * sunrpc/rpc/des_crypt.h: Likewise.
29914 * sunrpc/rpc/key_prot.h: Likewise.
29915 * sunrpc/rpc/netdb.h: Likewise.
29916 * sunrpc/rpc/pmap_clnt.h: Likewise.
29917 * sunrpc/rpc/pmap_prot.h: Likewise.
29918 * sunrpc/rpc/pmap_rmt.h: Likewise.
29919 * sunrpc/rpc/rpc.h: Likewise.
29920 * sunrpc/rpc/rpc_des.h: Likewise.
29921 * sunrpc/rpc/rpc_msg.h: Likewise.
29922 * sunrpc/rpc/svc.h: Likewise.
29923 * sunrpc/rpc/svc_auth.h: Likewise.
29924 * sunrpc/rpc/types.h: Likewise.
29925 * sunrpc/rpc/xdr.h: Likewise.
29926 * sunrpc/rpc_clntout.c: Likewise.
29927 * sunrpc/rpc_cmsg.c: Likewise.
29928 * sunrpc/rpc_common.c: Likewise.
29929 * sunrpc/rpc_cout.c: Likewise.
29930 * sunrpc/rpc_dtable.c: Likewise.
29931 * sunrpc/rpc_hout.c: Likewise.
29932 * sunrpc/rpc_main.c: Likewise.
29933 * sunrpc/rpc_parse.c: Likewise.
29934 * sunrpc/rpc_parse.h: Likewise.
29935 * sunrpc/rpc_prot.c: Likewise.
29936 * sunrpc/rpc_sample.c: Likewise.
29937 * sunrpc/rpc_scan.c: Likewise.
29938 * sunrpc/rpc_scan.h: Likewise.
29939 * sunrpc/rpc_svcout.c: Likewise.
29940 * sunrpc/rpc_tblout.c: Likewise.
29941 * sunrpc/rpc_util.c: Likewise.
29942 * sunrpc/rpc_util.h: Likewise.
29943 * sunrpc/rpcinfo.c: Likewise.
29944 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
29945 * sunrpc/rpcsvc/key_prot.x: Likewise.
29946 * sunrpc/rpcsvc/klm_prot.x: Likewise.
29947 * sunrpc/rpcsvc/mount.x: Likewise.
29948 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
29949 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
29950 * sunrpc/rpcsvc/rex.x: Likewise.
29951 * sunrpc/rpcsvc/rstat.x: Likewise.
29952 * sunrpc/rpcsvc/rusers.x: Likewise.
29953 * sunrpc/rpcsvc/sm_inter.x: Likewise.
29954 * sunrpc/rpcsvc/spray.x: Likewise.
29955 * sunrpc/rpcsvc/yppasswd.x: Likewise.
29956 * sunrpc/rtime.c: Likewise.
29957 * sunrpc/svc.c: Likewise.
29958 * sunrpc/svc_auth.c: Likewise.
29959 * sunrpc/svc_authux.c: Likewise.
29960 * sunrpc/svc_raw.c: Likewise.
29961 * sunrpc/svc_run.c: Likewise.
29962 * sunrpc/svc_simple.c: Likewise.
29963 * sunrpc/svc_tcp.c: Likewise.
29964 * sunrpc/svc_udp.c: Likewise.
29965 * sunrpc/svc_unix.c: Likewise.
29966 * sunrpc/svcauth_des.c: Likewise.
29967 * sunrpc/xcrypt.c: Likewise.
29968 * sunrpc/xdr.c: Likewise.
29969 * sunrpc/xdr_array.c: Likewise.
29970 * sunrpc/xdr_float.c: Likewise.
29971 * sunrpc/xdr_mem.c: Likewise.
29972 * sunrpc/xdr_rec.c: Likewise.
29973 * sunrpc/xdr_ref.c: Likewise.
29974 * sunrpc/xdr_sizeof.c: Likewise.
29975 * sunrpc/xdr_stdio.c: Likewise.
29977 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29980 2010-08-19 Andreas Schwab <schwab@redhat.com>
29982 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29984 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
29986 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
29987 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
29988 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
29989 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
29990 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
29991 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
29992 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
29993 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
29994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
29995 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
29996 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
29997 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
29998 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
29999 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30001 2010-07-26 Anton Blanchard <anton@samba.org>
30003 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30004 * malloc/arena.c (heap_trim): Likewise.
30006 2010-08-16 Ulrich Drepper <drepper@redhat.com>
30008 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30011 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30013 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30015 * sysdeps/i386/elf/Makefile: New file.
30017 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30019 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30020 from fanotify_init.
30021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30024 2010-08-15 Ulrich Drepper <drepper@redhat.com>
30026 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30028 * sysdeps/multiarch/strcmp.S: Likewise.
30030 2010-08-14 Ulrich Drepper <drepper@redhat.com>
30032 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30033 strncase_l-nonascii.
30034 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30035 Add strncase_l-ssse3.
30036 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30037 * sysdeps/x86_64/strcmp.S: Likewise.
30038 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30039 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30040 * sysdeps/x86_64/strncase.S: New file.
30041 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30042 * sysdeps/x86_64/strncase_l.S: New file.
30043 * string/Makefile (strop-tests): Add strncasecmp.
30044 * string/test-strncasecmp.c: New file.
30046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30049 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30050 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30052 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30054 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30056 2010-08-12 Ulrich Drepper <drepper@redhat.com>
30058 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30059 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30060 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30062 2010-05-01 Alan Modra <amodra@gmail.com>
30064 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30065 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30066 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30067 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30068 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30069 tidying. Don't tail-call __sigjmp_save for static lib.
30070 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30072 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30073 (CALL_MCOUNT): Add eh info, and nop after bl.
30074 (TAIL_CALL_SYSCALL_ERROR): New macro.
30075 (PSEUDO_RET): Use it.
30076 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30077 Correct save location of integer regs and cr.
30078 (_dl_profile_resolve): Correct cr save location. Delete nops
30079 after bl when SHARED. Reduce cfi size a little by better
30080 placement of cfi directives.
30081 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30082 make a stack frame. Instead use parm save area as a temp.
30083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30084 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30086 Don't make a stack frame for parent, use parm save area.
30087 Increase child stack frame to 112 bytes. Don't save unused reg,
30088 and adjust reg usage. Set up cfi on error recovery and
30089 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30091 (__makecontext): Add dummy nop after jump to exit.
30092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30093 Use correct parm save area and cr save, reduce stack frame.
30094 Correct cfi for possible PSEUDO_RET frame setup.
30095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30096 Branch to local label emitted by PSEUDO_RET rather than
30099 2010-08-12 Andreas Schwab <schwab@redhat.com>
30102 * locale/programs/locale.c (print_assignment): New function.
30103 (show_locale_vars): Use it.
30105 2010-08-11 Ulrich Drepper <drepper@redhat.com>
30107 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30109 (struct statfs64): Likewise.
30110 (_STATFS_F_FLAGS): Define.
30111 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30112 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30113 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30114 (ST_VALID): Define locally.
30115 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30116 __statvfs_getflags, use the provided value.
30117 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30118 __ASSUME_STATFS_F_FLAGS.
30120 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30122 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30123 Add sys/fanotify.h.
30124 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30125 fanotify_mask for GLIBC_2.13.
30126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30127 fanotify_init and fanotify_mark.
30128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30129 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30131 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30133 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30134 prlimit64 for GLIBC_2.13.
30135 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30140 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30141 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30142 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30145 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30148 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30149 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30151 * nss/Makefile: Add rules to build and run tst-nss-test1.
30152 * shlib-versions: Add entry for libnss_test1.
30153 * nss/nss_test1.c: New file.
30154 * nss/tst-nss-test1.c: New file.
30156 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30157 (__nss_configure_lookup): Set appropriate entry in
30158 __nss_configure_lookup to true.
30159 * nss/nsswitch.h: Define enum with indeces of databases in
30160 databases and __nss_database_custom arrays. Declare
30161 __nss_database_custom.
30162 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30163 to avoid using nscd when custom rules are installed.
30164 * nss/getXXbyYY_r.c: Likewise.
30165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30167 * nss/nss_files/files-parse.c: Whitespace fixes.
30169 2010-08-09 Ulrich Drepper <drepper@redhat.com>
30172 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30173 * posix/fnmatch_loop.c: Likewise.
30175 2010-07-17 Andi Kleen <ak@linux.intel.com>
30177 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30178 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30179 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30180 * Versions.def [GLIBC_2.13]: Add.
30182 2010-08-06 Ulrich Drepper <drepper@redhat.com>
30184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30185 Also fail if tpwd after pwuid call is NULL.
30187 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30189 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30190 when converting to ms.
30192 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30194 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30195 EOPNOTSUPP errors with ENOTTY.
30196 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30197 EOPNOTSUPP errors with ENOTTY.
30199 2010-07-31 Ulrich Drepper <drepper@redhat.com>
30201 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30202 Add strcasecmp_l-ssse3.
30203 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30205 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30206 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30207 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30209 2010-07-30 Ulrich Drepper <drepper@redhat.com>
30211 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30213 * string/Makefile (strop-tests): Add strcasecmp.
30214 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30215 strcasecmp_l-nonascii.
30216 (gen-as-const-headers): Add locale-defines.sym.
30217 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30218 * sysdeps/x86_64/strcasecmp.S: New file.
30219 * sysdeps/x86_64/strcasecmp_l.S: New file.
30220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30221 * sysdeps/x86_64/locale-defines.sym: New file.
30222 * string/test-strcasecmp.c: New file.
30224 * string/test-strcasestr.c: Test both ends of the range of characters.
30225 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30227 2010-07-29 Roland McGrath <roland@redhat.com>
30230 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30232 2010-07-27 Ulrich Drepper <drepper@redhat.com>
30234 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30237 2010-07-27 Andreas Schwab <schwab@redhat.com>
30239 * manual/memory.texi (Malloc Tunable Parameters): Document
30242 2010-07-26 Roland McGrath <roland@redhat.com>
30245 * configure.in (-fgnu89-inline check): Set and substitute
30246 gnu89_inline, not libc_cv_gnu89_inline.
30247 * configure: Regenerated.
30248 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30250 2010-07-26 Ulrich Drepper <drepper@redhat.com>
30252 * string/test-strnlen.c: New file.
30253 * string/Makefile (strop-tests): Add strnlen.
30254 * string/tester.c (test_strnlen): Add a few more test cases.
30255 * string/tst-strlen.c: Better error reporting.
30257 * sysdeps/x86_64/strnlen.S: New file.
30259 2010-07-24 Ulrich Drepper <drepper@redhat.com>
30261 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30262 lower-latency instructions.
30264 2010-07-23 Ulrich Drepper <drepper@redhat.com>
30266 * string/test-strcasestr.c: New file.
30267 * string/test-strstr.c: New file.
30268 * string/Makefile (strop-tests): Add strstr and strcasestr.
30269 * string/str-two-way.h: Don't undefine MAX.
30270 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30272 2010-07-21 Andreas Schwab <schwab@redhat.com>
30274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30275 strcasestr-nonascii.
30276 (CFLAGS-strcasestr-nonascii.c): Define.
30277 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30278 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30279 Remove unused attribute.
30281 2010-07-20 Roland McGrath <roland@redhat.com>
30283 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30284 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30285 ld.so.cache was broken. With it, there is no way to disable dsocaps
30286 like LD_HWCAP_MASK can disable hwcaps.
30288 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30290 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30292 2010-07-16 Ulrich Drepper <drepper@redhat.com>
30294 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30295 call in strcasestr.
30296 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30297 __strcasestr_sse42_nonascii.
30298 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30299 strcasestr-nonascii.c.
30300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30302 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
30304 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30305 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30306 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30307 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30309 2010-07-09 Ulrich Drepper <drepper@redhat.com>
30311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30314 2010-07-06 Andreas Schwab <schwab@redhat.com>
30317 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30320 2010-07-06 Ulrich Drepper <drepper@redhat.com>
30322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30323 _PC_PIPE_BUF using F_GETPIPE_SZ.
30325 2010-07-05 Roland McGrath <roland@redhat.com>
30327 * manual/arith.texi (Rounding Functions): Fix rint description
30328 implicit in round description.
30330 2010-07-02 Ulrich Drepper <drepper@redhat.com>
30332 * elf/Makefile: Fix linking for a few tests to make recent linker
30335 2010-06-30 Andreas Schwab <schwab@redhat.com>
30337 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30338 $(common-objpfx)libc_nonshared.a.
30340 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
30342 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30343 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30344 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30345 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30346 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30347 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30348 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30349 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30364 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30365 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30366 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30367 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30368 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30369 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30370 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30371 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30372 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30373 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30374 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30375 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30391 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30393 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30394 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30395 * string/memmove.c (memmove): Renamed to ...
30396 (MEMMOVE): ...this. Default to memmove.
30397 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30398 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30401 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30402 mempcpy-ssse3-back memmove-ssse3-back.
30403 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30406 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30407 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30408 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30409 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30410 * sysdeps/x86_64/multiarch/memmove.c: New file.
30411 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30412 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30413 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30414 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30415 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30418 (index_Fast_Copy_Backward): Define.
30419 (HAS_ARCH_FEATURE): Define.
30420 (HAS_FAST_REP_STRING): Define.
30421 (HAS_FAST_COPY_BACKWARD): Define.
30423 2010-06-21 Andreas Schwab <schwab@redhat.com>
30425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30426 Restore proper fallback handling.
30428 2010-06-19 Ulrich Drepper <drepper@redhat.com>
30431 * posix/group_member.c (__group_member): Correct checking loop.
30433 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30434 OOM in getpwuid_r correctly. Return error number when the caller
30435 should return, otherwise -1.
30436 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30437 call returning > 0 value.
30438 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30440 2010-06-07 Andreas Schwab <schwab@redhat.com>
30442 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30443 libc_nonshared.a from targets in modules-names.
30445 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30447 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30450 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
30452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30457 2010-06-02 Andreas Schwab <schwab@redhat.com>
30459 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30461 2010-06-14 Ulrich Drepper <drepper@redhat.com>
30463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30469 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30472 2010-06-14 Roland McGrath <roland@redhat.com>
30474 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30476 2010-06-07 Jakub Jelinek <jakub@redhat.com>
30478 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30479 __REDIRECT followed by __THROW.
30480 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30481 * posix/getopt.h (getopt): Likewise.
30483 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30485 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30486 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30487 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30489 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30490 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30492 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
30494 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30496 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30500 Properly check family and model.
30502 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30504 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30506 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
30508 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30510 2010-05-21 Ulrich Drepper <drepper@redhat.com>
30512 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30515 2010-05-19 Andreas Schwab <schwab@redhat.com>
30517 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30520 2010-05-21 Andreas Schwab <schwab@redhat.com>
30522 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30523 and internal_recvmmsg.
30524 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30525 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30526 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30527 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30529 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30530 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30531 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30533 2010-05-20 Andreas Schwab <schwab@redhat.com>
30535 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30537 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
30539 POWER7 optimizations.
30540 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30541 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30543 2010-05-19 Ulrich Drepper <drepper@redhat.com>
30545 * version.h: Update for 2.13 development version.
30547 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
30549 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30550 exceptions. Return 0.
30552 2010-05-07 Roland McGrath <roland@redhat.com>
30554 * elf/ldconfig.c (main): Add a const.
30556 2010-05-06 Ulrich Drepper <drepper@redhat.com>
30558 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30559 (args_options): Add no-idn option.
30560 (ahosts_keys_int): Add idn_flags to ai_flags.
30561 (parse_option): Handle 'i' option to clear idn_flags.
30563 * malloc/malloc.c (_int_free): Possible race in the most recently
30564 added check. Only act on the data if no current modification
30567 See ChangeLog.17 for earlier changes.