]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #14256]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
96945714
JL
12012-05-30 Jeff Law <law@redhat.com>
2
3 [BZ #14256]
4 * manual/errno.texi (ESTALE): Update to account for more than
5 just NFS file systems.
6 * sysdeps/gnu/errlist.c: Regenerated.
7
b9375348
SP
82013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9
10 [BZ #15465]
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.
24 (_dl_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):
43 Likewise.
44 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45 Likewise.
46 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47 Likewise.
48 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50 Likewise.
51 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52 Likewise.
53 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54
8a9f20c8
CD
552013-05-28 Carlos O'Donell <carlos@redhat.com>
56
57 * po/be.po: Add descriptive title.
58 * po/zh_CN.po: Likewise.
59 * po/header.pot: Likewise.
60
0e60d68e
MF
612013-05-28 Mike Frysinger <vapier@gentoo.org>
62
63 * locale/programs/locarchive.c (create_archive): Inlucde fname in
64 error message.
65 (enlarge_archive): Likewise.
66
56b672e9
BN
672013-05-28 Ben North <ben@redfrontdoor.org>
68
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.
71
5e056687
AZ
722013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73
74 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75
2b66ef5d
TS
762013-05-26 Thomas Schwinge <thomas@codesourcery.com>
77
528c2405
TS
78 * stdio-common/bug26.c (main): Correct fscanf template.
79
07b4c13d
TS
80 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
81 declare _dl_skip_args.
82
ec9dd97c
TS
83 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
84 Don't declare.
85
2b66ef5d
TS
86 * manual/platform.texi: Add missing @end deftypefun.
87
4f8dfe27
JM
882013-05-24 Joseph Myers <joseph@codesourcery.com>
89
0323d086
JM
90 [BZ #15529]
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.
94
dd4259b9
JM
95 * math/libm-test.inc: Add drem and pow10 to list of tested
96 functions.
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.
104
4f8dfe27
JM
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.
111
d116b7c4
AZ
1122013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
113
114 * manual/platform.texi: Add PowerPC PPR function set documentation.
115 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
116 implementation.
117
e96e3767
CD
1182013-05-24 Carlos O'Donell <carlos@redhat.com>
119
120 * math/libm-test.inc (MAX_EXP): Define.
121 (ULPDIFF): Define.
122 (ulp): New function.
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.
127
b679a606
JM
1282013-05-24 Joseph Myers <joseph@codesourcery.com>
129
e8bdba36
JM
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
133 END_DATA.
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.
301
b679a606
JM
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.
305 (END): Likewise.
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.
403 (j0_test): Likewise.
404 (j1_test): Likewise.
405 (jn_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.
471 (y0_test): Likewise.
472 (y1_test): Likewise.
473 (yn_test): Likewise.
474 (significand_test): Likewise.
475
bae143d2
OB
4762013-05-24 Ondřej Bílka <neleai@seznam.cz>
477
478 [BZ #15381]
479 * libio/genops.c (_IO_no_init): Initialize wide struct info.
480
9323d39b
EM
4812013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
482
d4ea44a0 483 [BZ #14894]
9323d39b
EM
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.
488
13e23af7
CD
4892013-05-22 Carlos O'Donell <carlos@redhat.com>
490
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.
494
351fe550
JM
4952013-05-22 Joseph Myers <joseph@codesourcery.com>
496
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
503 field to arg_str.
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
521 and extra2_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
527 macros.
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
530 macros.
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
533 cleanup macros.
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
536 macros.
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
539 macros.
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
542 cleanup macros.
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
545 cleanup macros.
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
548 cleanup macros.
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
551 macros.
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
554 macros.
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
557 macros.
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
560 cleanup macros.
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
563 cleanup macros.
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
566 macros.
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
569 cleanup macros.
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
572 macros.
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
575 macros.
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
578 cleanup macros.
579 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
580
85118d4d
EBM
5812013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
582
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.
589
7a44c18f
CD
5902013-05-03 Carlos O'Donell <carlos at redhat.com>
591
592 [BZ #15441]
593 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
594 returns -1.
595 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
596 null return -1.
597 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
598 loading the domain.
599
b50a7181
JM
6002013-05-22 Joseph Myers <joseph@codesourcery.com>
601
602 * math/gen-libm-test.pl (parse_args): Do not include expected
603 result in test name.
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.
610
051063c8
SP
6112013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
612
3ce9e010
SP
613 * benchtests/Makefile: Sort function entries.
614
051063c8
SP
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.
626
47c22455
DL
6272013-05-21 Dmitry V. Levin <ldv@altlinux.org>
628
629 [BZ #15339]
630 * posix/tst-getaddrinfo4.c: New test.
631 * posix/Makefile (tests): Add it.
632
3d04f5db
SP
6332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
634
635 [BZ #15339]
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.
640
d5dd6189
AS
6412013-05-21 Andreas Schwab <schwab@suse.de>
642
643 [BZ #15014]
644 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
645 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
646 successful.
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.
654
fef94eab
SP
6552013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * benchtests/Makefile: Remove instructions for adding
658 benchmark tests.
659 * benchtests/README: New file to explain how to execute and
660 enhance the benchmark tests.
661
e39adf43
AS
6622013-05-21 Andreas Schwab <schwab@suse.de>
663
664 [BZ #15493]
665 * setjmp/Makefile (tests): Add tst-sigsetjmp.
666 * setjmp/tst-sigsetjmp.c: New test.
667
b2b671b6
OB
6682013-05-20 Ondřej Bílka <neleai@seznam.cz>
669
670 * sysdeps/x86_64/memset.S (memset): New implementation.
671 (__bzero): Likewise.
672 (__memset_tail): New function.
673
2d48b41c
OB
6742013-05-20 Ondřej Bílka <neleai@seznam.cz>
675
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.
683
f16cc3eb
JM
6842013-05-19 Joseph Myers <joseph@codesourcery.com>
685
3e694268
JM
686 [BZ #15490]
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):
691 Likewise.
692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
693 <math_private.h>.
694 (__nearbyintl): Use math_force_eval before restoring
695 floating-point environment.
696 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
697
db62a907
JM
698 * math/gen-libm-test.pl (special_functions): Remove.
699 (parse_args): Don't handle TEST_extra. Handle functions with no
700 return value.
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.
717
f16cc3eb
JM
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.
722
3779b5b6
JM
7232013-05-18 Joseph Myers <joseph@codesourcery.com>
724
2ee094ff
JM
725 [BZ #15488]
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
729 double tests.
730 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
731 disable.
732 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
733 check_long_double.
734
3779b5b6
JM
735 * math/gen-libm-test.pl (@tests): Remove variable.
736 ($count): Likewise.
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
757 find_function_ulps.
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.
822
8269107f
JM
8232013-05-17 Joseph Myers <joseph@codesourcery.com>
824
bb38759d
JM
825 [BZ #15480]
826 [BZ #15485]
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"
831 exceptions.
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.
841
a00bdcf0
JM
842 * math/libm-test.inc (struct test_f_f1_data): Remove field
843 extra_init.
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.
860
de407f79
JM
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.
865
8269107f
JM
866 * math/libm-test.inc (ceil_test_data): Test for "inexact"
867 exceptions.
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
902 test input.
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
907 that test input.
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
912 test input.
913 (lrint_upward_test_data): Test for "inexact" exceptions.
914 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
915 test input.
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.
936
48a18de1
SP
9372013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
938
939 [BZ #15424]
940 * benchtests/bench-modf.c (struct args): Mark arg0 as
941 volatile.
942 * scripts/bench.pl: Mark members of struct args as volatile.
943
13d3b41a
AZ
9442013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
68191c1d 946 [BZ # 15497]
13d3b41a
AZ
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.
950
2848b105
MR
9512013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
952
953 [BZ #15442]
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
966 into account.
967 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
968 New macro.
969 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
970 Likewise.
971
323e5cb7
JM
9722013-05-16 Joseph Myers <joseph@codesourcery.com>
973
c58b274f
JM
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.
982
0ab34904
JM
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.
1086
323e5cb7
JM
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
1092 parse_args.
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.
1109
e054f494
RA
11102013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1111
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.
1306
8c75f674
JM
13072013-05-16 Joseph Myers <joseph@codesourcery.com>
1308
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.
1313
e6e49e59
RH
13142013-05-16 Richard Henderson <rth@redhat.com>
1315
1316 * math/atest-exp2.c (LIMB64): New macro.
1317 (CONSTSZ): New macro.
1318 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1319 (hexdig): Move ...
1320 (print_mpn_fp): ... to function scope.
1321 (read_mpn_hex): Remove.
1322 (get_log2): Remove.
1323 (exp2_mpn): Use mp_log2.
1324 (main): Use mp_exp1.
1325
15c7c18d
JM
13262013-05-16 Joseph Myers <joseph@codesourcery.com>
1327
105a07df
JM
1328 * math/libm-test.inc: Remove comment about not testing "inexact"
1329 exceptions.
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
1345 INEXACT_EXCEPTION.
1346 (rint_towardzero_test_data): Likewise.
1347 (rint_downward_test_data): Likewise.
1348 (rint_upward_test_data): Likewise.
1349
e9eee333
JM
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.
1359
1c38ff73
JM
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.
1364
15c7c18d
JM
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.
1379
f137ff13
PC
13802013-05-13 Peter Collingbourne <pcc@google.com>
1381
1382 * math/atest-exp2.c (get_log2): Remove const attribute.
1383
3608cb24
JM
13842013-05-15 Joseph Myers <joseph@codesourcery.com>
1385
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.
1400
39b1f617
PC
14012013-05-15 Peter Collingbourne <pcc@google.com>
1402
1deff3dc
PC
1403 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1404 (EXTRACT_WORDS64) Use where appropriate.
1405 (INSERT_WORDS64) Likewise.
1406
791f3ba0
PC
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.
1410
39b1f617
PC
1411 * malloc/obstack.c (_obstack_compat): Add initializer.
1412
12fba011
EM
14132013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1414
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.
1420
d369f531
JM
14212013-05-15 Joseph Myers <joseph@codesourcery.com>
1422
b861c6c4
JM
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.
1430
7abeee12
JM
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.
1448
cbe8c4d3
JM
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.
1463
5575c0e5
JM
1464 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1465 function contents.
1466
d369f531
JM
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.
1481
781fd748
DM
14822013-05-14 David S. Miller <davem@davemloft.net>
1483
1484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1485
87aa21df
JM
14862013-05-14 Joseph Myers <joseph@codesourcery.com>
1487
5e908270
JM
1488 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1489
f71172e5
JM
1490 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1491 extra_test to int.
1492 (struct test_f_i_data): Change type of max_ulp to int.
1493
8cfa635a
JM
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.
1498
2bcb36b2
JM
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).
1503
acbd839a
JM
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.
1511
e414d745
JM
1512 * math/libm-test.inc (scalbln_test): Correct function name in END
1513 call.
1514
d9c2a0fd
JM
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.
1519
9dc9095d
JM
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.
1524
87aa21df
JM
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.
1531
141af660
CD
15322013-05-13 Carlos O'Donell <carlos@redhat.com>
1533
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.
1537
6d33265c
JM
15382013-05-13 Joseph Myers <joseph@codesourcery.com>
1539
68fc074c
JM
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.
1544
243216e1
JM
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.
1551
6a1992e2
JM
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.
1562
0e400df5
JM
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.
1569
6d33265c
JM
1570 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1571
f98ece5f
AZ
15722013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573
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.
1576
0f7d347b
SP
15772013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1578
43fe811b
SP
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.
1585
0f7d347b
SP
1586 [BZ #14582]
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.
1590
601a3a5f
JM
15912013-05-12 Joseph Myers <joseph@codesourcery.com>
1592
4f184d30
JM
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.
1603
08198877
JM
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
1660 of BUILD_COMPLEX.
1661
601a3a5f
JM
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.
1699
74c57478
JM
17002013-05-11 Joseph Myers <joseph@codesourcery.com>
1701
8329e4da
JM
1702 * math/libm-test.inc (fma_test): Use max_value instead of local
1703 variable fltmax.
1704 (nextafter_test): Likewise.
1705
74c57478
JM
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.
1852
7187d844
CG
18532013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
1854
1855 [BZ #12387]
1856 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
1857
f63fae73
PT
18582013-05-10 Pino Toscano <toscano.pino@tiscali.it>
1859
1860 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
1861
8a67a4b3
AJ
18622013-05-10 Andreas Jaeger <aj@suse.de>
1863
1864 [BZ #15448]
1865 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
1866 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
1867
51df539d
JM
18682013-05-10 Joseph Myers <joseph@codesourcery.com>
1869
1870 * math/gen-libm-test.pl (adjust_arg): New function.
1871 (special_functions): Handle generating output in both functions
1872 and arrays.
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.
1892
5c637fe5
SP
18932013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1894
1895 * benchtests/bench-skeleton.c (startup): Fix coding style.
1896
ab2b9461
JM
18972013-05-10 Joseph Myers <joseph@codesourcery.com>
1898
1899 [BZ #6809]
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
1907 domain errors.
1908
4c0fe6fe
FW
19092013-05-10 Florian Weimer <fweimer@redhat.com>
1910
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
1919 stat.
1920
a3375d29
AJ
19212013-05-10 Andreas Jaeger <aj@suse.de>
1922
1923 [BZ #15395]
1924 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
1925 localization.
1926 Include <locale.h>.
1927
36129722
CD
19282013-05-09 Carlos O'Donell <carlos@redhat.com>
1929
1930 * elf/dl-close.c (_dl_close_worker): Add comments.
1931
faa7f811
JM
19322013-05-09 Joseph Myers <joseph@codesourcery.com>
1933
ed41ffef
JM
1934 [BZ #15359]
1935 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
1936 high part of pi/2.
1937 (__ieee754_rem_pio2l): Update comments.
1938
d0213cd0
JM
1939 [BZ #15429]
1940 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
1941 high part of pi/2.
1942 (__ieee754_rem_pio2l): Update comments.
1943
0d3e777a
JM
1944 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
1945 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
1946
24f56066
JM
1947 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
1948 M_PI_4l.
1949
faa7f811
JM
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.
1955
e9a5e0fd
AZ
19562013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957
1958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1959
d8cd06db
JM
19602013-05-08 Joseph Myers <joseph@codesourcery.com>
1961
a0d9f9d7
JM
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.
1978
ae08db3b
JM
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.
1983
f44bf14a
JM
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
2007 value.
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.
2012
d8cd06db
JM
2013 [BZ #2546]
2014 [BZ #2560]
2015 [BZ #5159]
2016 [BZ #15426]
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
2025 other arguments.
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
2032 other arguments.
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
2039 other arguments.
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
2059 prototype.
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.
2066
bb7cf681
OB
20672013-05-08 Ondřej Bílka <neleai@seznam.cz>
2068
2069 * benchtests/bench-skeleton.c (main): Preheat CPU.
2070
ba853947
AJ
20712013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2072
2073 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2074
8347c74c
RM
20752013-05-07 Roland McGrath <roland@hack.frob.com>
2076
2077 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2078 and _dl_skip_args_internal.
2079
e8dd4791
CD
20802013-05-07 Carlos O'Donell <carlos@redhat.com>
2081
2082 * manual/message.texi (Message Translation): Talk about users.
2083 Message to key mapping impacts design.
2084
c7405830
RM
20852013-05-06 Roland McGrath <roland@hack.frob.com>
2086
a9173057
RM
2087 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2088
976e2f03
RM
2089 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2090
9723ffc5
RM
2091 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2092 * sysdeps/wordsize-64/glob64.c: ... here.
2093
962e6658
RM
2094 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2095 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2096 New macros.
2097
ee586a6d
RM
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.
2104
355f9165
RM
2105 * io/poll.c (__poll): Renamed from poll.
2106 Add libc_hidden_def.
2107 (poll): Define as weak alias.
2108
bd9ffde6
RM
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.
2115
8fb16a04
RM
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.
2126
b99b892f
RM
2127 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2128 (setrlimit): Define as weak alias.
2129
c7405830
RM
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.
2134
5bf96de5
JM
21352013-05-06 Joseph Myers <joseph@codesourcery.com>
2136
9ea3513c
JM
2137 * math/gen-libm-test.pl (parse_args): Initialize x before each
2138 test of frexp, modf and remquo.
2139
5bf96de5
JM
2140 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2141 test signgam value.
2142
16e616a7
AZ
21432013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144
2145 [BZ #15418]
2146 [BZ #15419]
2147 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2148 internal tests.
2149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2150
d5e82754
RM
21512013-05-06 Roland McGrath <roland@hack.frob.com>
2152
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.
2157
a7548d41
JM
21582013-05-04 Joseph Myers <joseph@codesourcery.com>
2159
b7dab1e4
JM
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
2167 functions.
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.
2190
a7548d41
JM
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.
2200
60bfd54c
RM
22012013-05-03 Roland McGrath <roland@hack.frob.com>
2202
cc0e6ed8
RM
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.
2221
60bfd54c
RM
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].
2226
83e7640f
AZ
22272013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2228
2229 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2230 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2231 definition.
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.
2237
d5dc2af3
JM
22382013-05-03 Joseph Myers <joseph@codesourcery.com>
2239
c31a5b1e
JM
2240 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2241 test signgam value.
2242
d5dc2af3
JM
2243 * math/libm-test.inc (hypot_test): Do not use
2244 IGNORE_ZERO_INF_SIGN.
2245
164fd39d
AJ
22462013-05-03 Andreas Jaeger <aj@suse.de>
2247
2248 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2249 Linux 3.9.
2250 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2251 (PF_MAX): Adjust for VSOCK change.
2252
8237f48c
AZ
22532013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254
2255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2256
9df02941
CD
22572013-05-02 Carlos O'Donell <carlos@redhat.com>
2258
2259 [BZ #15264]
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.
2263
d422395e
DM
22642013-05-02 David S. Miller <davem@davemloft.net>
2265
2266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2267
a07c5731
OB
22682013-05-01 Ondřej Bílka <neleai@seznam.cz>
2269
2270 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2271
1324e37f
RM
22722013-05-01 Roland McGrath <roland@hack.frob.com>
2273
2274 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2275
0695940b
RS
22762013-05-01 Richard Smith <richard@metafoo.co.uk>
2277
bb5f27ad 2278 [BZ #14952]
0695940b
RS
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__)).
2284
10de07f5
JM
22852013-05-01 Joseph Myers <joseph@codesourcery.com>
2286
2287 [BZ #15423]
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.
2299
cb4d5414
AZ
23002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301
2302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2303
caf84319
JM
23042013-04-30 Joseph Myers <joseph@codesourcery.com>
2305
2306 [BZ #15416]
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.
2318
d569c6ee
SP
23192013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2320
6dbe713d
SP
2321 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2322
f0ee064b
SP
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.
2327 (VARIANT): Define.
2328 * benchtests/bench-skeleton.c (main): Run benchmark for each
2329 variant.
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.
2348
d569c6ee
SP
2349 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2350 in CPPFLAGS.
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
2355 iterations.
2356 * scripts/bench.pl: Don't expect iterations in parameters.
2357
a6a242fe
RM
23582013-04-29 Roland McGrath <roland@hack.frob.com>
2359
2360 * io/fchdir.c (__fchdir): Renamed from fchdir.
2361 (fchdir): Define as weak alias.
2362
f2da7793
JM
23632013-04-29 Joseph Myers <joseph@codesourcery.com>
2364
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
2379 check_int.
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.
2392
b1a36ceb
AJ
23932013-04-29 Andreas Jaeger <aj@suse.de>
2394
c3ed8088
AJ
2395 [BZ #15084]
2396 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2397 and RES_USEVC.
2398
f1a24198
AJ
2399 [BZ #15085]
2400 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2401 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2402 unimplemented.
2403
9ce3b2cb
AJ
2404 [BZ #15380]
2405 * stdlib/random.c (__initstate): Return NULL if
2406 __initstate fails.
2407
f1a24198 2408 [BZ #15086]
b1a36ceb
AJ
2409 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2410 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2411 RES_SNGLKUPREOP.
2412
7e7b6f36
AZ
24132013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414
2415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2416
4d14f449
JM
24172013-04-29 Joseph Myers <joseph@codesourcery.com>
2418
2419 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2420 of individual tests.
2421 (casin_test): Likewise.
2422 (casinh_test): Likewise.
2423
5b4217d7
JM
24242013-04-27 Joseph Myers <joseph@codesourcery.com>
2425
2426 [BZ #15409]
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
2433 and redefine.
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
2437 and redefine.
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.
2444
4220c3ef
AJ
24452013-04-27 Andreas Jaeger <aj@suse.de>
2446
2447 [BZ #15007]
2448 * stdlib/stdlib.h: Update guards for qecvt.
2449 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2450 <stdlib.h>.
2451
4721b2d1
AM
24522013-04-27 Allan McRae <allan@archlinux.org>
2453
2454 * sysdeps/i386/fpu/libm-test-ulps: Update.
2455
f0302940
JM
24562013-04-26 Joseph Myers <joseph@codesourcery.com>
2457
9457fd95
JM
2458 [BZ #15406]
2459 * math/s_catan.c: Include <float.h>.
2460 (__catan): Ensure underflow exception occurs for underflowed
2461 result.
2462 * math/s_catanf.c: Include <float.h>.
2463 (__catanf): Ensure underflow exception occurs for underflowed
2464 result.
2465 * math/s_catanh.c: Include <float.h>.
2466 (__catanh): Ensure underflow exception occurs for underflowed
2467 result.
2468 * math/s_catanhf.c: Include <float.h>.
2469 (__catanhf): Ensure underflow exception occurs for underflowed
2470 result.
2471 * math/s_catanhl.c: Include <float.h>.
2472 (__catanhl): Ensure underflow exception occurs for underflowed
2473 result.
2474 * math/s_catanl.c: Include <float.h>.
2475 (__catanl): Ensure underflow exception occurs for underflowed
2476 result.
2477 * math/libm-test.inc (catan_test): Add more tests.
2478 (catanh_test): Likewise.
2479
f0302940
JM
2480 [BZ #15405]
2481 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2482 underflowed result.
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.
2495
aa630f59
AZ
24962013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2497
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.
2505
2506
1b835983
MT
25072013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2508
2509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2510
73709b26
JM
25112013-04-25 Joseph Myers <joseph@codesourcery.com>
2512
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
2544 tests.
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):
2561 Likewise.
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.
2606
1ef74943
PP
26072013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2608
2609 [BZ #15366]
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.
2615
93fd48c5
MR
26162013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2617
ae9552cf
MR
2618 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2619 __ehdr_start with hidden visibility.
2620
93fd48c5
MR
2621 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2622
418601aa
CD
26232013-04-24 Carlos O'Donell <carlos@redhat.com>
2624
2625 * math/libm-test.inc (cos_test): Use accurate hex constants.
2626 (sincost_test): Likewise.
2627
2f38fbfe
JM
26282013-04-24 Joseph Myers <joseph@codesourcery.com>
2629
5e221800
JM
2630 * math/libm-test.inc (catan_test): Add more tests.
2631 (catanh_test): Likewise.
2632
77f143fd
JM
2633 * math/s_catanf.c (__catanf): Use suffixed floating-point
2634 constants.
2635 * math/s_catanhf.c (__catanhf): Likewise.
2636 * math/s_catanhl.c (__catanhl): Likewise.
2637 * math/s_catanl.c (__catanl): Likewise.
2638
2f38fbfe
JM
2639 [BZ #15394]
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.
2652
45d69176
SP
26532013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2654
2655 * benchtests/Makefile: Mention files in which fast and slow
2656 paths of math functions are implemented.
2657
87f51853
RM
26582013-04-23 Roland McGrath <roland@hack.frob.com>
2659
2660 * sysdeps/posix/timespec_get.c: New file.
2661
3c026539
AZ
26622013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2663
2664 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2665 POWER.
2666 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2667 for POWER.
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
2673
ff491d14
SP
26742013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
2676 [BZ #14888]
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.
2681
7ed3f4e8
AS
26822013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2683
2684 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2685 member.
2686 (_nss_files_init): Set it here.
2687
5c95f7b6
HC
26882013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2689
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
2692 unsigned.
2693
d34c9158
JBG
26942013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2695
2696 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
2697
2169712d
SP
26982013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2699
2700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
2701 size just once.
2702
29c5de99
DM
27032013-04-21 David S. Miller <davem@davemloft.net>
2704
2705 * po/ru.po: Update Russion translation from translation project.
2706
ccdad15d
AC
27072013-04-17 Adam Conrad <adconrad@0c3.net>
2708
2709 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
2710 and setfsgid.
2711
0f122b8d
CD
27122013-04-17 Carlos O'Donell <carlos@redhat.com>
2713
5c5b07da 2714 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 2715 * configure: Regenerate.
5c5b07da 2716 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
2717 Add example to error message.
2718 * sysdeps/i386/configure: Regenerate.
2719
037714dd
SP
27202013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2721
2722 * benchtests/Makefile (bench): Add cos, tan, slowcos and
2723 slowtan.
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.
2730
e913141d
RM
27312013-04-16 Roland McGrath <roland@hack.frob.com>
2732
2733 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
2734 considered kosher.
2735
a2964074
SP
27362013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2737
4856bcd2
SP
2738 * benchtests/Makefile: Include cppflags-iterator.mk to add
2739 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
2740
a2964074
SP
2741 * Makefile.in (bench-clean): New target.
2742 * benchtests/Makefile (bench-clean): Likewise.
2743
9fbf9aca
DH
27442013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
2745
2746 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
2747
207d1e2a
TS
27482013-04-15 Thomas Schwinge <thomas@codesourcery.com>
2749
2750 * stdio-common/tstdiomisc.c: Fix coding-style violation.
2751
306dfba9
AS
27522013-04-15 Andreas Schwab <schwab@suse.de>
2753
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
2758 more than recsize.
2759
206a6699
SP
27602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2761
2762 * benchtests/Makefile (bench): Write all output to
2763 bench-out.tmp together.
2764
0582f6b3
AS
27652013-04-15 Andreas Schwab <schwab@suse.de>
2766
2767 * nscd/nscd.c (main): Don't fork again after closing files.
2768
acb4325f
SP
27692013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2770
5cb26d0a
SP
2771 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
2772
acb4325f
SP
2773 * benchtests/Rules (bench-deps): Collect dependencies into a
2774 single variable. Add Makefile to dependencies.
2775 ($(objpfx)bench-%.c): Depend on bench-deps.
2776
47792506
RM
27772013-04-12 Roland McGrath <roland@hack.frob.com>
2778 Xavier Roche <roche+kml2@exalead.com>
2779
2780 [BZ #15361]
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.
2785
8fc1bee5
SP
27862013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2787
2788 * Rules (bench): Move target definition...
2789 * benchtests/Makefile: ... here.
2790
aba5e333
CD
27912013-04-11 Carlos O'Donell <carlos@redhat.com>
2792
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.
2797
273cdee8
AS
27982013-04-11 Andreas Schwab <schwab@suse.de>
2799
6ecec3b6
AS
2800 [BZ #13988]
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.
2805
273cdee8
AS
2806 [BZ #14293]
2807 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
2808 non-freeable.
2809
8da491f5
SP
28102013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2811
01dc6df9
SP
2812 * Makeconfig (rtld-prefix): Define built linker prefix.
2813 * Rules (run-bench): Use it.
2814 * math/Makefile (run-regen-ulps): Likewise.
2815
8da491f5
SP
2816 * Rules (bench): Remove eval.
2817
abe7f530
SP
28182013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2819 Roland McGrath <roland@hack.frob.com>
2820 Ondrej Bilka <neleai@seznam.cz>
2821
2822 [BZ #15346]
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
2826 trailing spaces.
2827
61c23e62
RM
28282013-04-08 Roland McGrath <roland@hack.frob.com>
2829
2830 [BZ #14280]
2831 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
2832 when computing value.
2833
7208a313
CD
28342013-04-06 Carlos O'Donell <carlos@redhat.com>
2835
085b2d41
CD
2836 * math/README.libm-test (How can I generate "libm-test-ulps"?):
2837 Use testrun.sh to run libm tests.
2838
7208a313
CD
2839 [BZ #15309]
2840 * elf/dl-open.c (dl_open_worker): memset all of seen array.
2841
872c0acd
MM
28422013-04-06 Marko Myllynen <myllynen@redhat.com>
2843
2844 [BZ #15264]
2845 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
2846
26510bdd
CD
28472013-04-06 Carlos O'Donell <carlos@redhat.com>
2848
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
2859 otherwise use "".
2860 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
2861
a01f19c8
CD
28622013-04-06 Carlos O'Donell <carlos@redhat.com>
2863
2864 [BZ #10060, #10062]
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.
2872
b7a329a5
CD
28732013-04-06 Carlos O'Donell <carlos@redhat.com>
2874
2875 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
2876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2877
bf0f50df
TS
28782013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2879
ee091edf
TS
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).
2885
a8b792d6
TS
2886 * stdio-common/tstdiomisc.c (F): Properly collect individual
2887 tests' results.
2888
a1cbf437
TS
2889 [BZ #14686, #15336]
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.
2895
8b43a0c9
TS
2896 [BZ #15335, #15342]
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.
2900
d91da4ce
TS
2901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
2902 unreachable code.
2903
bf0f50df
TS
2904 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
2905 definitions.
2906
05e166c8
JM
29072013-04-03 Joseph Myers <joseph@codesourcery.com>
2908
2909 [BZ #14478]
2910 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
2911 underflowed result.
2912 * math/s_cexpf.c (__cexpf): Likewise.
2913 * math/s_cexpl.c (__cexpl): Likewise.
2914 * math/libm-test.inc (cexp_test): Add more tests.
2915
1cef1b19
AS
29162013-04-03 Andreas Schwab <schwab@suse.de>
2917
2918 [BZ #15330]
2919 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
2920 order arrays from heap if bigger than alloca cutoff.
2921
74d87055
TS
29222013-04-03 Thomas Schwinge <thomas@codesourcery.com>
2923
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
2927 GCC PR56828.
2928
d755bba4
SP
29292013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2930
90d5d5bb
SP
2931 * Rules (bench): Move bench.out after the run is complete.
2932
73e0cd5d
SP
2933 * Rules (bench): Echo currently running benchmark.
2934
64aabd4b
SP
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.
2939
c871eccd
SP
2940 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
2941 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
2942 its value.
2943
d755bba4
SP
2944 [BZ #15305]
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.
2951
52ce4860
JM
29522013-04-02 Joseph Myers <joseph@codesourcery.com>
2953
2954 [BZ #15327]
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.
2964
81f311c2
SP
29652013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2966
e7906a47
SP
2967 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
2968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
2969
92e3664b
SP
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.
2974
81f311c2
SP
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.
2985
ab0f1aa9
AZ
29862013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2987
2988 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
2989 instructions.
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.
2995
57267616
TS
29962013-04-02 Thomas Schwinge <thomas@codesourcery.com>
2997
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
3006 declaration.
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
3017 issignaling.
3018 * math/libm-test.inc (print_float, issignaling_test): New
3019 functions.
3020 (check_float_internal): Add issignaling checks.
3021 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3022 default definition.
3023 * sysdeps/powerpc/math-tests.h: New file.
3024 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3025 tests.
3026 * math/test-snan.c (TEST_FUNC): Likewise.
3027
6142896d
DM
30282013-03-30 David S. Miller <davem@davemloft.net>
3029
3030 * po/de.po: Update from translation team.
3031
ccc8cadf
JM
30322013-03-30 Joseph Myers <joseph@codesourcery.com>
3033
3034 [BZ #10357]
3035 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3036 imaginary part less than 1.0 and real part less than 0.5
3037 specially.
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.
3046
0f6a8d4b
SP
30472013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3048
0d1029de
SP
3049 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3050 ONE with its value.
3051
c2d94018
SP
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.
3060
27ec37f1
SP
3061 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3062
a64d7e0e
SP
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.
3071 (__sqr): Likewise.
3072
d26dd3eb
SP
3073 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3074
0f6a8d4b
SP
3075 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3076
e57b0c61
RM
30772013-03-28 Roland McGrath <roland@hack.frob.com>
3078
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.
3083
356b3480
RM
30842013-03-28 Roland McGrath <roland@hack.frob.com>
3085
288f7d79
RM
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.
3091
dc0a0263
RM
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.
3097
3d3436ae
RM
3098 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3099 Declare them here.
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.
3103
356b3480
RM
3104 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3105 (__libc_message): Never call vsyslog.
3106
b0f1246a
AM
31072013-03-28 Alan Modra <amodra@gmail.com>
3108
3109 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3110 Define as empty.
3111 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3112 Likewise.
3113
fbbe2b9a
AZ
31142013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115
3116 [BZ #15214]
3117 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3118 underflow.
3119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3120
1728ab37
SP
31212013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3122
7a86be6e
SP
3123 [BZ #15304]
3124 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3125 Don't add gid passed as argument.
3126
1728ab37
SP
3127 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3128
3a7182a1
JM
31292013-03-27 Joseph Myers <joseph@codesourcery.com>
3130
3131 [BZ #15307]
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
3134 specially.
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.
3142
6f2e90e7
SP
31432013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3144
5739f705
SP
3145 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3146 constants.
3147 (norm): Likewise.
3148 (denorm): Likewise.
3149 (__dbl_mp): Likewise.
3150 (add_magnitudes): Likewise.
3151 (sub_magnitudes): Likewise.
3152 (__add): Likewise.
3153 (__sub): Likewise.
3154 (__mul): Likewise.
3155 (__sqr): Likewise.
3156 (__inv): Likewise.
3157 (__dvd): Likewise.
3158
e375e83d
SP
3159 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3160 commented code.
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.
3167 (__exp1): Likewise.
3168 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3170 (log1): 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.
3177 (bsloww): Likewise.
3178 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3179
6f2e90e7
SP
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.
3184 (denorm): Likewise.
3185 (__dbl_mp): Likewise.
3186 (add_magnitudes): Likewise.
3187 (sub_magnitudes): Likewise.
3188 (__mul): Likewise.
3189 (__sqr): 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.
3196
fce14d4e
AZ
31972013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3198
3199 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3200 llroundl symbol when building for PPC32.
3201
9ad027fb
MW
32022013-03-24 Mark H Weaver <mhw@netris.org>
3203
3204 * manual/arith.texi (Normalization Functions): Fix prototypes for
3205 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3206
e42a38dd
AZ
32072013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3208
3209 [BZ #13889]
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.
3215
2e0fb521
DL
32162013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3217
3218 [BZ #11120]
3219 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3220 with NOT_IN_libc.
3221
b5784d95
AZ
32222013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3223
3224 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3225 symbol.
3226
5aa4a1a1
TS
32272013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3228
bdef0be7
TS
3229 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3230 wrap blocks consisting of several statements.
3231
5aa4a1a1
TS
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.
3236
98c48fe5
JM
32372013-03-21 Joseph Myers <joseph@codesourcery.com>
3238
3239 [BZ #15285]
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.
3253
3775a8bc
SP
32542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3255
3256 * Rules ($(objpfx)bench-%.c): Include code from a C source
3257 file.
3258
0a1b2ae6
JM
32592013-03-21 Joseph Myers <joseph@codesourcery.com>
3260
3261 [BZ #15287]
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.
3271
b33d4ce4
SP
32722013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3273
3274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3275 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3276
bef0b507
JM
32772013-03-20 Joseph Myers <joseph@codesourcery.com>
3278
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.
3287 (MIG): 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
3298 LIBC_CONFIG_VAR.
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
3307 LIBC_CONFIG_VAR.
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.
3317
912cc4b3
RM
33182013-03-20 Roland McGrath <roland@hack.frob.com>
3319
3320 [BZ #14812]
3321 * locale/programs/localedef.c (options): Put N_ translation marker
3322 on argument names, not just descriptions.
3323
04eed2b0
MS
33242013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3325
3326 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3327
a065ceff
OB
33282013-03-20 Ondřej Bílka <neleai@seznam.cz>
3329
9bb2a810 3330 [BZ #14176]
a065ceff
OB
3331 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3332
a600e5ce
RM
33332013-03-19 Roland McGrath <roland@hack.frob.com>
3334
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.
3348
6b18bea6
JM
33492013-03-19 Joseph Myers <joseph@codesourcery.com>
3350
3351 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3352 constants.
3353 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3354 double constants.
3355
aaa8cb4b
AS
33562013-03-19 Andreas Schwab <schwab@suse.de>
3357
44673770
AS
3358 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3359 * sysdeps/gnu/configure: Regenerate.
3360
aaa8cb4b
AS
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
3372 for source.
3373
d3cfc668
SP
33742013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3375
3376 * manual/nptl.texi: Renamed to ...
3377 * manual/threads.texi: ... this.
3378 * manual/Makefile (chapters): Update.
3379
0e2b9cdd
RM
33802013-03-18 Roland McGrath <roland@hack.frob.com>
3381
3382 [BZ #14812]
3383 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3384 on argument names, not just descriptions.
0e2b9cdd
RM
3385 * malloc/memusagestat.c (options): Likewise.
3386 * nss/getent.c (options): Likewise.
63270c24
RM
3387
33882013-03-18 Benno Schulenberg <bensberg@justemail.net>
3389
3390 [BZ #14812]
3391 * iconv/iconv_prog.c (options): Put N_ translation marker
3392 on argument names, not just descriptions.
3393 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3394
b2e1393c
OB
33952013-03-18 Ondrej Bilka <neleai@seznam.cz>
3396
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.
3401
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.
3406
3407 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3408 Inline strlen part.
3409 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3410
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.
3417
ec4ff04d
CD
34182013-03-17 Carlos O'Donell <carlos@redhat.com>
3419
3420 * manual/memory.texi (Malloc Tunable Parameters):
3421 Sort parameters alphabetically. Add comments for missing entries.
3422
cd18e90a
DM
34232013-03-17 David S. Miller <davem@davemloft.net>
3424
3425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3426
2a185d32
JM
34272013-03-16 Joseph Myers <joseph@codesourcery.com>
3428
d2f9799e
JM
3429 [BZ #15283]
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.
3438
2a185d32
JM
3439 [BZ #14155]
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.
3449
6cbec759
TS
34502013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3451
3452 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3453 variable.
3454
bc16e260
RM
34552013-03-15 Roland McGrath <roland@hack.frob.com>
3456
aefc9b8c
RM
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.
3460
bc16e260
RM
3461 * sysdeps/unix/sysv/linux/ldsodefs.h
3462 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3463 * sysdeps/generic/ldsodefs.h: ... here.
3464
a57da955
TS
34652013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3466
af00a34d
TS
3467 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3468
495ded2c
TS
3469 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3470 math/test-snan.c.
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
3475 test-powerpc-snan.
3476
777b0332
TS
3477 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3478 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3479 functions.
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):
3485 Remove variables.
3486 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3487 Remove functions.
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,
3491 respectively.
3492
64d063b8
TS
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.
3498
67e971f1
TS
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):
3508 Likewise.
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.
3515
64487e12
TS
3516 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3517 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3518 doubles.
3519
e015e27b
TS
3520 * math/test-misc.c (main): Fix copy'n'pastos.
3521 * misc/tst-efgcvt.c (special): Likewise.
3522
a57da955
TS
3523 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3524 Remove declarations.
3525
1e380345
SP
35262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3527
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.
3532
ef26eece
AZ
35332013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534
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.
3539
8cfdb7e0
SP
35402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3541 Richard Henderson <rth@redhat.com>
3542 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3543
3544 * Makefile.in (bench): New target.
3545 * NEWS: Mention the benchmark framework.
3546 * Rules (bench): Likewise.
3547 (binaries-bench): Generate binaries for functions to
3548 benchmark.
3549 * benchtests/Makefile: New makefile for benchmark tests.
3550 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3551 programs.
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
3555 benchmark programs.
3556
bcda9880
SP
35572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3558
d22ca8cd
SP
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
3562 division.
3563 (denorm): Likewise.
3564 (__dbl_mp): Likewise.
3565 (add_magnitudes): Likewise.
3566 (sub_magnitudes): Likewise.
3567 (__mul): Likewise.
3568 (__sqr): 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.
3575
bcda9880
SP
3576 * manual/nptl.texi (cindex): Modify threads to pthreads.
3577
06d5adfb
JM
35782013-03-15 Joseph Myers <joseph@codesourcery.com>
3579
3580 * sysdeps/x86_64/preconfigure: Regenerated.
3581
41c7328e
JM
35822013-03-14 Joseph Myers <joseph@codesourcery.com>
3583
3584 [BZ #14155]
3585 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3586 0x1p28 and above.
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
3589 0x1p28 and above.
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.
3594
e25cfa60
SP
35952013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
0409959c
SP
3597 * manual/Makefile (chapters): Add nptl.
3598 * manual/debug.texi (Debugging Support): Add link to Threads
3599 chapter.
3600 * manual/nptl.texi: New file.
3601
e25cfa60
SP
3602 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3603
58a1335e
PB
36042013-03-14 Petr Baudis <pasky@ucw.cz>
3605
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>.
3609
9dc7c64f
AS
36102013-03-13 Andreas Schwab <schwab@suse.de>
3611
3612 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3613 instead of .os.
3614
54206aa6
JM
36152013-03-13 Joseph Myers <joseph@codesourcery.com>
3616
3617 * timezone/zic.c: Update from tzcode 2013b.
3618
e98cdb38
CD
36192013-03-12 Carlos O'Donell <carlos@redhat.com>
3620
3621 * manual/install.texi (Configuring and compiling):
3622 Mention i686 and i586.
3623 * INSTALL: Regenerate.
3624
9967e003
RM
36252013-03-12 Roland McGrath <roland@hack.frob.com>
3626
3627 * sysdeps/init_array/elf-init.c: New file.
3628 * csu/elf-init.c
3629 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3630 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3631
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.
3637
e6b5a293 36382013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3639
3640 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3641 definining bcopy.
80f844c9
OB
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.
80f844c9
OB
3647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3648 memset-x86-64.
80f844c9 3649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3650 Remove bzero, memset ifunc support.
80f844c9
OB
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.
3655
fb6b0fcb
AS
36562013-03-11 Andreas Schwab <schwab@suse.de>
3657
3658 [BZ #15234]
3659 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3660 by SHLIB_COMPAT.
3661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3662 (GLIBC_2.16): Remove pthread_atfork.
3663
3e6bd4b1
PP
36642013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3665
3666 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3667 (ptestcases.h): Likewise.
3668
222d7f00
RM
36692013-03-08 Roland McGrath <roland@hack.frob.com>
3670
3671 * Makeconfig ($(common-objpfx)config.status): Depend on
3672 sysdeps/*/preconfigure{,.in} too.
3673
1ba4f030
JM
36742013-03-08 Joseph Myers <joseph@codesourcery.com>
3675
a222d91a
JM
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.
3704
5cc45e10
JM
3705 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
3706
dd54b864
JM
3707 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
3708 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
3709 __malloc_ptrdiff_t.
3710
1ba4f030
JM
3711 * malloc/malloc.h (__malloc_size_t): Remove macro.
3712 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
3713 __malloc_size_t.
3714 (old_memalign_hook): Likewise.
3715 (old_realloc_hook): Likewise.
3716 (struct hdr): Likewise.
3717 (flood): 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.
3727
edf66e57
AZ
37282013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3729
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
3733 implementation.
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.
3743
6d9145d8
SP
37442013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3745
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.
3754
4dd4e157
AJ
37552013-03-07 Andreas Jaeger <aj@suse.de>
3756
3757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3758 bits/mman-linux.h.
3759
adbb8027
SP
37602013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
ce544b5b
SP
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.
3771
4cc149fd
SP
3772 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
3773 (__slowpow): Use long double EXPL and LOGL functions to
3774 compute POW.
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.
3781
e6ebd4a7
SP
3782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
3783 intermediate variable to calculate exponent.
3784 (__sqr): Likewise.
3785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3786 Likewise.
3787 (__sqr): Likewise.
3788
82a9811d
SP
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.
3795
adbb8027
SP
3796 [BZ #12723]
3797 * posix/Makefile (tests): Add tst-pathconf.
3798 * posix/tst-pathconf.c: New test case.
3799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
3800 _PC_PIPE_BUF.
3801 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
3802
39120df9
PF
38032013-03-06 Patsy Franklin <pfrankli@redhat.com>
3804
3805 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
3806
67525cb8
AJ
38072013-03-06 Andreas Jaeger <aj@suse.de>
3808
664a9ce4
AJ
3809 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
3810 definition via __MAP_ANONYMOUS.
3811
8e39047d
AJ
3812 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
3813 it's not part of Linux headers.
3814
67525cb8
AJ
3815 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
3816 (MAP_HUGE_MASK): Define.
3817
3818 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3819 Define.
3820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3822 Define.
3823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3824 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
3825 Define.
3826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
3828 Define.
3829 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
3830
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.
3837
3838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3839 Handle f2fs.
3840
3841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3842 Handle f2fs and efivarfs.
3843
3844 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
3845 f2fs.
3846
3847 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
3848 (EFIVARFS_MAGIC): Add.
3849 (F2FS_LINK_MAX): Add.
3850
e1b42695
PP
38512013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3852
3853 * stdio-common/vfprintf.c: Replace __builtin_expect with
3854 __glibc_unlikely.
3855
2d67d91a
JM
38562013-03-06 Joseph Myers <joseph@codesourcery.com>
3857
3858 [BZ #13550]
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>
3865 and <bp-asm.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
3871 <bp-asm.h>.
3872 (memcpy): Don't use BP_SYM.
3873 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
3874 <bp-asm.h>.
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
3884 pointers.
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
3899 pointers.
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
3917 pointers.
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
3949 pointers.
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.
3960 (_start): Likewise.
3961 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
3962 <bp-asm.h>.
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
3968 <bp-asm.h>.
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
3975 <bp-asm.h>.
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
3980 <bp-asm.h>.
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
3987 <bp-asm.h>.
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>
3991 and <bp-asm.h>.
3992 (strncmp): Don't use BP_SYM. Remove comment about bounded
3993 pointers.
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
4000 comment.
4001
cdcf361f
PP
40022013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4003
4004 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4005 call free(NULL).
4006
3c4a2b15
DM
40072013-03-05 David S. Miller <davem@davemloft.net>
4008
4009 * po/es.po: Update from translation team.
4010
cdcf361f 40112013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4012
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
4016 is fine.
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
4020 is fine.
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
4024 is fine.
4025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4026 <bits/mman-linux.h> to end of file.
4027
4028 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4029 (MCL_CURRENT, MCL_FUTURE): Define here.
4030
5f67c04f
AK
40312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4032
8a4473cc 4033 [BZ #15232]
5f67c04f
AK
4034 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4035 attribute_hidden.
4036 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4037
c3e94a95
AK
40382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4039
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.
4048
cfb6382a
JM
40492013-03-04 Joseph Myers <joseph@codesourcery.com>
4050
4051 [BZ #13550]
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.
4056
539d8e01
AJ
40572013-03-04 Andreas Jaeger <aj@suse.de>
4058
4059 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4060 common definitions.
4061
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.
539d8e01
AJ
4067 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4068
2e167a70 40692013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4070
4071 [BZ #15055]
4072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4073 __ieee754_sqrl instead of __sqrl.
4074
68508633
JM
40752013-03-01 Joseph Myers <joseph@codesourcery.com>
4076
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.
4083
7775448e
RM
40842013-03-01 Roland McGrath <roland@hack.frob.com>
4085
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.
4096
4e9b5995
CD
40972013-03-01 Carlos O'Donell <carlos@redhat.com>
4098
4099 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4100 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4101
e23872c8
SP
41022013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4103
e5c74c63
SP
4104 * NEWS: Mention libm performance improvements and non-x86 PI
4105 futex support.
4106
e23872c8
SP
4107 * csu/libc-start.c (__pthread_initialize_minimal): Change
4108 function arguments.
4109 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4110
b5510883
JM
41112013-02-28 Joseph Myers <joseph@codesourcery.com>
4112
4113 [BZ #13550]
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>
4119 and <bp-asm.h>.
4120 (memcpy): Don't use BP_SYM.
4121 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4122 <bp-asm.h>.
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>
4126 and <bp-asm.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
4130 <bp-sym.h>.
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
4136 <bp-sym.h>.
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
4151 <bp-asm.h>.
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
4155 <bp-asm.h>.
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
4160 <bp-asm.h>.
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
4221 <bp-asm.h>.
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.
4229 (_start): Likewise.
4230 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4231 <bp-asm.h>.
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
4236 <bp-asm.h>.
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
4241 <bp-asm.h>.
4242 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4243 comments.
4244 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4245 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4246 <bp-asm.h>.
4247 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4248 FIXME comments.
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
4252 <bp-asm.h>.
4253 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4254 comment.
4255 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4256 and <bp-asm.h>.
4257 (strncmp): Don't use BP_SYM,
4258 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4259 <bp-asm.h>.
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>
4263 and <bp-asm.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
4272 comment.
4273
8d19fe64
SP
42742013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4275
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.
4282
85bd816a
RM
42832013-02-27 Roland McGrath <roland@hack.frob.com>
4284
4285 * csu/gmon-start.c: Add special exception to license text.
4286
b5977bf2
RH
42872013-02-27 Richard Henderson <rth@redhat.com>
4288
4289 * scripts/config.guess: Update from config.git.
4290 * scripts/config.sub: Likewise.
4291
11d6e2f2
SP
42922013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4293
09c14ed2
SP
4294 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4295
a688864e
SP
4296 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4297
6295157a
SP
4298 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4299
b8de2202
SP
4300 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4301
11d6e2f2
SP
4302 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4303
7e80ddb8
RM
43042013-02-26 Roland McGrath <roland@hack.frob.com>
4305
4306 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4307 [$(build-shared = yes].
7e80ddb8 4308
7da6d9ed
SP
43092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4310
45f05884
SP
4311 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4312 (__mul): Reduce iterations for calculating mantissa.
4313
2236d359
SP
4314 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4315 MPTWO.
4316 (__mpranred): Likewise.
4317
7da6d9ed
SP
4318 [BZ #15160]
4319 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4320 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4321
b7688c42
PE
43222013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4323
4324 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4325 Define __attribute__.
4326
53a5c423
SP
43272013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4328
4329 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4330 unused.
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
4335 unused.
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.
4341
60f5a8b5
SP
43422013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4343
2a983a2e
SP
4344 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4345 code.
4346 (cc32): Likewise.
4347
e69804d1
SP
4348 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4349 (__acr): Likewise.
4350 (__cpy): Likewise.
4351 (norm): Likewise.
4352 (denorm): Likewise.
4353 (__dbl_mp): Likewise.
4354 (add_magnitudes): Likewise.
4355 (sub_magnitudes): Likewise.
4356 (__mul): Likewise.
4357 (__inv): Likewise.
4358
2f22a1e8
SP
4359 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4360 style.
4361
8930ddc7
SP
4362 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4363 style.
4364
dc60cb11
SP
4365 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4366 code.
4367
60f5a8b5
SP
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):
4371 Likewise.
4372
b4d1fd33
AM
43732013-02-24 Allan McRae <allan@archlinux.org>
4374
faf6f8bc
AM
4375 * manual/socket.texi (The Internet Namespace): Order menu items
4376 to match that in the file.
4377
b4d1fd33
AM
4378 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4379 node listing of the info page menu.
4380
2366713d
JM
43812013-02-21 Joseph Myers <joseph@codesourcery.com>
4382
4383 [BZ #13550]
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.
4387 (S1): Likewise.
4388 (S2): Likewise.
4389 (SIZE): Likewise.
4390 (__mpn_add_n): Do not use BP_SYM
4391 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4392 "bp-asm.h".
4393 (PARMS): Do not use macros from bp-asm.h.
4394 (S1): Likewise.
4395 (SIZE): Likewise.
4396 (__mpn_addmul_1): Do not use BP_SYM
4397 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4398 "bp-asm.h".
4399 (PARMS): Do not use macros from bp-asm.h.
4400 (SIGMSK): Likewise.
4401 (_setjmp): Likewise. Do not use BP_SYM.
4402 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4403 "bp-asm.h".
4404 (PARMS): Do not use macros from bp-asm.h.
4405 (SIGMSK): Likewise.
4406 (setjmp): Likewise. Do not use BP_SYM.
4407 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4408 "bp-asm.h".
4409 (PARMS): Do not use macros from bp-asm.h.
4410 (__frexp): Do not use BP_SYM.
4411 (frexp): Likewise.
4412 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4413 "bp-asm.h".
4414 (PARMS): Do not use macros from bp-asm.h.
4415 (__frexpf): Do not use BP_SYM.
4416 (frexpf): Likewise.
4417 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4418 "bp-asm.h".
4419 (PARMS): Do not use macros from bp-asm.h.
4420 (__frexpl): Do not use BP_SYM.
4421 (frexpl): Likewise.
4422 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4423 "bp-asm.h".
4424 (PARMS): Do not use macros from bp-asm.h.
4425 (__remquo): Do not use BP_SYM.
4426 (remquo): Likewise.
4427 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4428 "bp-asm.h".
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
4433 "bp-asm.h".
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
4438 "bp-asm.h".
4439 (PARMS): Do not use macros from bp-asm.h.
4440 (DEST): Likewise.
4441 (SRC): Likewise.
4442 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4443 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4444 "bp-asm.h".
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
4448 "bp-asm.h".
4449 (PARMS): Do not use macros from bp-asm.h.
4450 (S1): Likewise.
4451 (S2): Likewise.
4452 (SIZE): Likewise.
4453 (__mpn_add_n): Do not use BP_SYM.
4454 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4455 "bp-asm.h".
4456 (PARMS): Do not use macros from bp-asm.h.
4457 (S1): Likewise.
4458 (SIZE): Likewise.
4459 (__mpn_addmul_1): Do not use BP_SYM.
4460 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4461 weak_alias.
4462 (bzero): Likewise.
4463 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4464 "bp-asm.h".
4465 (PARMS): Do not use macros from bp-asm.h.
4466 (S): Likewise.
4467 (SIZE): Likewise.
4468 (__mpn_lshift): Do not use BP_SYM.
4469 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4470 "bp-asm.h".
4471 (PARMS): Do not use macros from bp-asm.h.
4472 (DEST): Likewise.
4473 (SRC): Likewise.
4474 (LEN): Likewise.
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
4480 "bp-asm.h".
4481 (PARMS): Do not use macros from bp-asm.h.
4482 (DEST): Likewise.
4483 (LEN): Likewise.
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
4487 "bp-asm.h".
4488 (PARMS): Do not use macros from bp-asm.h.
4489 (S1): Likewise.
4490 (SIZE): Likewise.
4491 (__mpn_mul_1): Do not use BP_SYM.
4492 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4493 "bp-asm.h".
4494 (PARMS): Do not use macros from bp-asm.h.
4495 (S): Likewise.
4496 (SIZE): Likewise.
4497 (__mpn_rshift): Do not use BP_SYM.
4498 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4499 "bp-asm.h".
4500 (PARMS): Do not use macros from bp-asm.h.
4501 (STR): Likewise.
4502 (CHR): Likewise.
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
4506 "bp-asm.h".
4507 (PARMS): Do not use macros from bp-asm.h.
4508 (DEST): Likewise.
4509 (SRC): Likewise.
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
4512 "bp-asm.h".
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
4516 "bp-asm.h".
4517 (PARMS): Do not use macros from bp-asm.h.
4518 (S1): Likewise.
4519 (S2): Likewise.
4520 (SIZE): Likewise.
4521 (__mpn_sub_n): Do not use BP_SYM.
4522 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4523 "bp-asm.h".
4524 (PARMS): Do not use macros from bp-asm.h.
4525 (S1): Likewise.
4526 (SIZE): Likewise.
4527 (__mpn_submul_1): Do not use BP_SYM.
4528 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4529 "bp-asm.h".
4530 (PARMS): Do not use macros from bp-asm.h.
4531 (S1): Likewise.
4532 (S2): Likewise.
4533 (SIZE): Likewise.
4534 (__mpn_add_n): Do not use BP_SYM.
4535 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4536 weak_alias.
4537 (bzero): Likewise.
4538 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4539 "bp-asm.h".
4540 (PARMS): Do not use macros from bp-asm.h.
4541 (BLK2): Likewise.
4542 (LEN): Likewise.
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
4546 "bp-asm.h".
4547 (PARMS): Do not use macros from bp-asm.h.
4548 (DEST): Likewise.
4549 (SRC): Likewise.
4550 (LEN): Likewise.
4551 (memcpy): Likewise. Do not use BP_SYM.
4552 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4553 "bp-asm.h".
4554 (PARMS): Do not use macros from bp-asm.h.
4555 (DEST): Likewise.
4556 (SRC): Likewise.
4557 (LEN): Likewise.
4558 (memmove): Likewise. Do not use BP_SYM.
4559 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4560 "bp-asm.h".
4561 (PARMS): Do not use macros from bp-asm.h.
4562 (DEST): Likewise.
4563 (SRC): Likewise.
4564 (LEN): Likewise.
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
4568 "bp-asm.h".
4569 (PARMS): Do not use macros from bp-asm.h.
4570 (DEST): Likewise.
4571 (LEN): Likewise.
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
4575 "bp-asm.h".
4576 (PARMS): Do not use macros from bp-asm.h.
4577 (STR2): Likewise.
4578 (strcmp): Do not use BP_SYM.
4579 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4580 "bp-asm.h".
4581 (PARMS): Do not use macros from bp-asm.h.
4582 (STR): Likewise.
4583 (DELIM): Likewise.
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
4587 aliases.
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.
4592 (S): Likewise.
4593 (SIZE): Likewise.
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.
4597 (STR): Likewise.
4598 (CHR): Likewise.
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.
4603 (BLK2): Likewise.
4604 (LEN): Likewise.
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.
4609 (S1): Likewise.
4610 (SIZE): Likewise.
4611 (__mpn_mul_1): Do not use BP_SYM.
4612 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4613 "bp-asm.h".
4614 (PARMS): Do not use macros from bp-asm.h.
4615 (STR): Likewise.
4616 (CHR): Likewise.
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.
4621 (S): Likewise.
4622 (SIZE): Likewise.
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.
4626 (SIGMSK): Likewise.
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.
4632 (DEST): Likewise.
4633 (SRC): Likewise.
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
4637 "bp-asm.h".
4638 (PARMS): Do not use macros from bp-asm.h.
4639 (DEST): Likewise.
4640 (SRC): Likewise.
4641 (LEN): Likewise.
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.
4646 (STR): Likewise.
4647 (CHR): Likewise.
4648 (strchr): Likewise. Do not use BP_SYM.
4649 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4650 "bp-asm.h".
4651 (PARMS): Do not use macros from bp-asm.h.
4652 (STR): Likewise.
4653 (CHR): Likewise.
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
4657 "bp-asm.h".
4658 (PARMS): Do not use macros from bp-asm.h.
4659 (STOP): Likewise.
4660 (strcspn): Do not use BP_SYM.
4661 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4662 "bp-asm.h".
4663 (PARMS): Do not use macros from bp-asm.h.
4664 (STR): Likewise.
4665 (STOP): Likewise.
4666 (strpbrk): Likewise. Do not use BP_SYM.
4667 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4668 "bp-asm.h".
4669 (PARMS): Do not use macros from bp-asm.h.
4670 (STR): Likewise.
4671 (CHR): Likewise.
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.
4675 (SKIP): Likewise.
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.
4679 (STR): Likewise.
4680 (DELIM): Likewise.
4681 (SAVE): Likewise.
4682 (FUNCTION): Likewise. Do not use BP_SYM.
4683 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4684 aliases.
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.
4689 (S1): Likewise.
4690 (S2): Likewise.
4691 (SIZE): Likewise.
4692 (__mpn_sub_n): Do not use BP_SYM.
4693 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4694 "bp-asm.h".
4695 (PARMS): Do not use macros from bp-asm.h.
4696 (S1): Likewise.
4697 (SIZE): Likewise.
4698 (__mpn_submul_1): Do not use BP_SYM.
4699 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
4700 <bp-sym.h>.
4701 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
4702 and <bp-asm.h>.
4703 (PARMS): Do not use macros from bp-asm.h.
4704 (FLAGS): Likewise.
4705 (PTID): Likewise.
4706 (TLS): Likewise.
4707 (CTID): Likewise.
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>
4711 and <bp-asm.h>.
4712 (PARMS): Do not use macros from bp-asm.h.
4713 (LEN): Likewise.
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.
4722 (NSOPS): Likewise.
4723 (semtimedop): Do not use BP_SYM.
4724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
4725 and <bp-asm.h>.
4726
582a3cff
AM
47272013-02-21 Allan McRae <allan@archlinux.org>
4728
4729 * manual/message.texi (Charset conversion in gettext):
4730 Move @end statement to beginning of line.
4731
bab8a695
SP
47322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4733
80945231
SP
4734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
4735 static.
4736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4737 Likewise.
4738
bab8a695
SP
4739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
4740 (denorm): Likewise.
4741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
4742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
4743
e21d7aa7
AK
47442013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4745
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.
4748
4c7a4263
SP
47492013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4750
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):
4754 Likewise.
4755
41f49342
CD
47562013-02-20 Carlos O'Donell <carlos@redhat.com>
4757
4758 * manual/nss.texi (System Databases and Name Service Switch):
4759 Remove frobnicate @pxref.
4760
50022a93
TS
47612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4762
4763 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4764 __attribute__ ((unused)) to __attribute__ ((__unused__)).
4765
08cbd996
PM
47662013-02-20 Petr Machata <pmachata@redhat.com>
4767
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.
4813
c7b275d6
TS
48142013-02-20 Thomas Schwinge <thomas@codesourcery.com>
4815
4816 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
4817 __attribute_used__ to __attribute__ ((unused)).
4818
20cd7fb3
SP
48192013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4820
4821 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
4822 powerpc mpa.c.
4823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
4824 comment formatting.
4825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
4826
92945b52
JM
48272013-02-19 Joseph Myers <joseph@codesourcery.com>
4828
4829 [BZ #13550]
4830 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
4831 Remove macro.
4832 (ENTER): Remove both macro definitions.
4833 (LEAVE): Likewise.
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
4845 macros.
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
4860 removed macros.
4861 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4862 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
4863 macros.
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
4870 macros.
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
4879 removed macros.
4880 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4881 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
4882 macros.
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__]:
4894 Likewise.
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
4907 macros.
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
4921 conditional code.
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
4926 L(1_3) into L(1_1).
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
4930 macros.
4931 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4932
2389741a
JJ
49332013-02-19 Jakub Jelinek <jakub@redhat.com>
4934
4935 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
4936 macro.
4937
2016b3cd
SP
49382013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4939
e4f22324
SP
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.
4943
2016b3cd
SP
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.
4947
4be9b544
MF
49482013-02-18 Mike Frysinger <vapier@gentoo.org>
4949
4950 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4951 and __attribute_alloc_size__.
4952
2f62b9ee
MF
49532013-02-18 Mike Frysinger <vapier@gentoo.org>
4954
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.
4959
6ff444c4
MF
49602013-02-18 Mike Frysinger <vapier@gentoo.org>
4961
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.
4975
be179c8a
SP
49762013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4977
ba384f6e
SP
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:
4985 Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4987 Likewise.
4988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4989 Likewise.
4990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4991 Likewise.
4992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
4994 Likewise.
4995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
4996 Likewise.
4997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4999 Likewise.
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
5006 for libstdc++.
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.
5010
ffaa74cf 5011 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5012
be179c8a
SP
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.
5019
f78b5caa
AK
50202013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5021
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.
5025
29691210
JM
50262013-02-17 Joseph Myers <joseph@codesourcery.com>
5027
5028 [BZ #13550]
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
5037 "bp-asm.h".
5038 (_setjmp): Do not use BP_SYM.
5039 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5040 "bp-asm.h".
5041 (setjmp): Do not use BP_SYM.
5042 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5043 libc_hidden_def.
5044 (mempcpy): Do not use BP_SYM in weak_alias.
5045 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5046 "bp-asm.h".
5047 (strchr): Do not use BP_SYM.
5048 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5049 "bp-asm.h".
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
5054 "bp-asm.h".
5055 (strcat): Do not use BP_SYM.
5056 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5057 "bp-asm.h".
5058 (STRCMP): Do not use BP_SYM.
5059 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5060 "bp-asm.h".
5061 (STRCPY): Do not use BP_SYM.
5062 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5063 "bp-asm.h".
5064 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5065 "bp-asm.h".
5066 (FUNCTION): Do not use BP_SYM.
5067 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5068 weak_alias.
5069 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5070
f238fd19
AJ
50712013-02-17 Andreas Jaeger <aj@suse.de>
5072
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.
5080
bd07f23c 50812013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5082
22af19f9
SP
5083 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5084 loop termination condition.
5085
4709fe76
SP
5086 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5087 variable to calculate EZ.
5088 (__sqr): Likewise.
2d0e0f29
SP
5089
5090 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5091 the lower precision input.
5092
daaa7713
JM
50932013-02-15 Joseph Myers <joseph@codesourcery.com>
5094
5095 [BZ #13550]
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
5121 append to variable.
5122 [$(build-bounded) = yes] (install-lib): Likewise.
5123 [$(build-bounded) = yes] (generated): Likewise.
5124 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5125 Remove rule.
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)):
5134 Remove dependency.
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.
5143
e97ed6dd
JM
51442013-02-14 Joseph Myers <joseph@codesourcery.com>
5145
2bdd4ca6
JM
5146 [BZ #13550]
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__]:
5153 Likewise.
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
5159 condition.
5160
e97ed6dd
JM
5161 [BZ #13550]
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
5170 <bp-sym.h>.
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):
5208 Likewise.
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
5216 <bp-sym.h>.
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
5243 <bp-sym.h>.
5244 (__libc_start_main): Do not use BP_SYM.
5245
d6752ccd
SP
52462013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
cb57ce60
SP
5248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5249 redundant return line.
5250 (norm): Likewise.
5251 (denorm): Likewise.
5252 (dbl_mp): Likewise.
5253 (sub_magnitudes): Likewise.
5254 (__add): Likewise.
5255 (__sub): Likewise.
5256 (__mul): Likewise.
5257 (__inv): Likewise.
5258 (__dvd): Likewise.
5259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5260 (norm): Likewise.
5261 (denorm): Likewise.
5262 (dbl_mp): Likewise.
5263 (sub_magnitudes): Likewise.
5264 (__add): Likewise.
5265 (__sub): Likewise.
5266 (__mul): Likewise.
5267 (__inv): Likewise.
5268 (__dvd): Likewise.
5269
f414520d
SP
5270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5271 instead of __mul.
5272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5273 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5274 (cc32): Likewise.
5275
d6752ccd
SP
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
5281 function
5282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5283 Likewise.
5284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5285 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5286
70d9946a
JM
52872013-02-13 Joseph Myers <joseph@codesourcery.com>
5288
5289 [BZ #13550]
5290 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5291 code.
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
5300 definition.
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
5310 use __ptrvalue.
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):
5314 Likewise.
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
5326 not use __ptrvalue.
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
5334 use __unbounded.
5335 (__new_msgctl): Do not use __ptrvalue.
5336 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5337 __unbounded.
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
5345 __ptrvalue.
5346 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5347 use __unbounded.
5348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5349 or __ptrvalue.
5350 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5351 use __unbounded.
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):
5355 Likewise.
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):
5361 Likewise.
5362 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5363
cc7834d6
OB
53642013-02-13 Ondřej Bílka <neleai@seznam.cz>
5365
ffb1ec7b 5366 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5367
5368 * string/mempcpy.c: Implement by calling memcpy.
5369
bdf02814
SP
53702013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5371
c2af38aa
SP
5372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5373
4e92d59e
SP
5374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5375 evaluation.
5376
909279a5
SP
5377 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5378 values in the mantissa.
5379
bdf02814
SP
5380 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5381 minimize writes to Z.
5382 (sub_magnitudes): Simplify code a bit.
5383
cd525923
RM
53842013-02-12 Roland McGrath <roland@hack.frob.com>
5385
5386 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5387 from the message. The linker prefixes all warnings with that already.
5388
7e2f0d2d
AS
53892013-02-12 Andreas Schwab <schwab@suse.de>
5390
a445af0b
AS
5391 [BZ #15078]
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.
5399
7e2f0d2d
AS
5400 [BZ #11561]
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.
5406
a175b684
TV
54072013-02-11 Tom de Vries <tom@codesourcery.com>
5408
5409 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5410 comment.
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.
5414
310998fe 54152013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5416
5417 * bits/stdlib-bsearch.h: New file.
5418 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5419 * stdlib/stdlib.h: Likewise.
41eda41d 5420
8ded91fb
RM
54212013-02-11 Roland McGrath <roland@hack.frob.com>
5422
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
5425 declaration.
5426 * manual/search.texi (Array Search Function): Add missing const in
5427 lfind prototype.
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
5467 take no arguments.
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
5478 argument.
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
5490 prototype.
5491 (Simple Calendar Time): Likewise for stime.
5492 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5493 prototype.
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.
5498
fe77fe6d
TV
54992013-02-11 Tom de Vries <tom@codesourcery.com>
5500
5501 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5502 Remove.
5503
3a09b620
RM
55042013-02-11 Roland McGrath <roland@hack.frob.com>
5505
5506 * misc/sys/mman.h: Fix typo in mremap comment.
5507
550a0b89
RM
55082013-02-08 Roland McGrath <roland@hack.frob.com>
5509
5510 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5511 the '\0' terminator.
5512
a2da1673
JM
55132013-02-08 Joseph Myers <joseph@codesourcery.com>
5514
5515 [BZ #13550]
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
5531 <bp-checks.h>.
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
5543 <bp-checks.h>.
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
5567 <bp-checks.h>.
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
5572 <bp-checks.h>.
5573 (__libc_pread64): Don't use CHECK_N.
5574 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5575 <bp-checks.h>.
5576 (__libc_pwrite): Don't use CHECK_N.
5577 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5578 <bp-checks.h>.
5579 (__libc_pwrite64): Don't use CHECK_N.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5581 <bp-checks.h>.
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.
5587
b84660a8
RM
55882013-02-08 Roland McGrath <roland@hack.frob.com>
5589
7f3e75f8
RM
5590 * string/strcpy.c: Removed unused variable.
5591
b84660a8
RM
5592 * Makeconfig (+sysdep-includes): Define with := rather than =.
5593 Use an existing include/ subdir of each sysdeps dir before it.
5594
471514d3
CD
55952013-02-08 Carlos O'Donell <carlos@redhat.com>
5596
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
5602 clear_db_cache.
5603 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5604
b2d3c3be
CD
56052013-02-08 Carlos O'Donell <carlos@redhat.com>
5606
5607 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5608 loaded if not already and that a failure is permanent.
5609
b39949d2
CD
56102013-02-08 Carlos O'Donell <carlos@redhat.com>
5611
ddacd1db 5612 [BZ #15006]
b39949d2
CD
5613 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5614 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5615
b2c9eff4
JM
56162013-02-08 Joseph Myers <joseph@codesourcery.com>
5617
f3aae3f3
JM
5618 [BZ #13550]
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
5624 <bp-checks.h>.
5625 (___fxstat64): Do not use CHECK_1.
5626 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5627 <bp-checks.h>.
5628 (__fxstatat): Do not use CHECK_1.
5629 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5630 <bp-checks.h>.
5631 (__fxstatat64): Do not use CHECK_1.
5632 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5633 <bp-checks.h>.
5634 (__fxstat): Do not use CHECK_1.
5635 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5636 <bp-checks.h>.
5637 (__fxstatat): Do not use CHECK_1.
5638 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5639 <bp-checks.h>.
5640 (__getresgid): Do not use CHECK_1.
5641 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5642 <bp-checks.h>.
5643 (__getresuid): Do not use CHECK_1.
5644 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5645 <bp-checks.h>.
5646 (__lxstat): Do not use CHECK_1.
5647 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5648 <bp-checks.h>.
5649 (__old_msgctl): Do not use CHECK_1.
5650 (__new_msgctl): Likewise.
5651 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5652 <bp-checks.h>.
5653 (__new_setrlimit): Do not use CHECK_1.
5654 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5655 <bp-checks.h>.
5656 (__old_shmctl): Do not use CHECK_1.
5657 (__new_shmctl): Likewise.
5658 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5659 <bp-checks.h>.
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
5664 <bp-checks.h>.
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
5670 <bp-checks.h>.
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
5675 <bp-checks.h>.
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
5681 <bp-checks.h>.
5682 (do_sigtimedwait): Do not use CHECK_1.
5683 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5684 <bp-checks.h>.
5685 (do_sigwaitinfo): Do not use CHECK_1.
5686 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5687 <bp-checks.h>.
5688 (msgctl): Do not use CHECK_1.
5689 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5690 <bp-checks.h>.
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
5695 <bp-checks.h>.
5696 (__fxstat): Do not use CHECK_1.
5697 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5698 <bp-checks.h>.
5699 (__fxstatat): Do not use CHECK_1.
5700 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
5701 <bp-checks.h>.
5702 (__lxstat): Do not use CHECK_1.
5703 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
5704 <bp-checks.h>.
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.
5710
b2c9eff4
JM
5711 [BZ #13550]
5712 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
5713 definitions.
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.
5717
f1d70dad
RM
57182013-02-07 Roland McGrath <roland@hack.frob.com>
5719
5720 * nscd/nscd-client.h (__nscd_drop_map_ref):
5721 Add __attribute__ ((unused)).
5722 * nis/nss-nisplus.h (niserr2nss): Likewise.
5723
5724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
5725 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
5726
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.
5756
eab55bfb
RM
57572013-02-05 Roland McGrath <roland@hack.frob.com>
5758
7bd642f5
RM
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.
5764
573c29b2
RM
5765 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
5766 instead of calling alloca.
5767
b2e25af0
RM
5768 * io/lseek.c (__lseek): Rename to __libc_lseek.
5769 Define __lseek as an alias.
5770
eab55bfb
RM
5771 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
5772
9a0d1941
CD
57732013-02-04 Carlos O'Donell <carlos@redhat.com>
5774
5775 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
5776 else clause and remove check for non-standard endianness.
5777
b83bbec4
DM
57782013-02-04 David S. Miller <davem@davemloft.net>
5779
5780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5781
6277fdab
JM
57822013-02-04 Joseph Myers <joseph@codesourcery.com>
5783
5784 [BZ #13550]
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):
5792 Remove alias.
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
5801 CHECK_STRING.
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
5806 <bp-checks.h>.
5807 (__real_chown): Do not use CHECK_STRING.
5808 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
5809 <bp-checks.h>.
5810 (fchownat): Do not use CHECK_STRING.
5811 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
5812 CHECK_STRING.
5813 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5814 <bp-checks.h>.
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
5824 <bp-checks.h>.
5825 (__real_chown): Do not use CHECK_STRING.
5826 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5827 <bp-checks.h>.
5828 (__lchown): Do not use CHECK_STRING.
5829 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5830 <bp-checks.h>.
5831 (__chown): Do not use CHECK_STRING.
5832 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
5833 <bp-checks.h>.
5834 (truncate64): Do not use CHECK_STRING.
5835 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
5836 Likewise.
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
5840 <bp-checks.h>.
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.
5844
903ae060
AS
58452013-02-04 Andreas Schwab <schwab@suse.de>
5846
5847 [BZ #14142]
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>.
5851
542f9466
JK
58522013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5853
5854 * elf/link.h (struct link_map): Extend the l_addr comment.
5855 * include/link.h (struct link_map): Likewise.
5856
e782a927
JM
58572013-02-01 Joseph Myers <joseph@codesourcery.com>
5858
5859 [BZ #13550]
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
5866 <bp-checks.h>.
5867 (__backtrace): Don't use BOUNDED_1.
5868 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
5869 <bp-checks.h>.
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.
5875
8cf28c5e
JM
58762013-01-31 Joseph Myers <joseph@codesourcery.com>
5877
3a7ac8a0
JM
5878 [BZ #13550]
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
5884 <bp-start.h>.
5885
f3499f95
JM
5886 [BZ #13550]
5887 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
5888 definitions.
5889 (CHECK_FCNTL): Likewise.
5890 (CHECK_N_PAGES): Likewise.
5891
32a45bea
JM
5892 [BZ #13550]
5893 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
5894 definitions.
5895 (CHECK_SIGSET_NULL_OK): Likewise.
5896 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
5897 <bp-checks.h>.
5898 (sigpending): Don't use CHECK_SIGSET.
5899 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
5900 <bp-checks.h>.
5901 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5902 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
5903 <bp-checks.h>.
5904 (do_sigsuspend): Don't use CHECK_SIGSET.
5905 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
5906 use CHECK_SIGSET.
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
5910 use CHECK_SIGSET.
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
5918 <bp-checks.h>.
5919 (sigpending): Don't use CHECK_SIGSET.
5920 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
5921 <bp-checks.h>.
5922 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
5923
2e8a5c8c
JM
5924 [BZ #13550]
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>
5931 and <bp-semctl.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.
5941
c2d54929
JM
5942 [BZ #13550]
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
5951 include.
5952 (common-generated): Do not add s-proto-bp.d.
5953 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
5954 (int): Likewise.
5955 (typ): Likewise.
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.
5960
8cf28c5e
JM
5961 [BZ #15062]
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.
5972
c4e33b8d
DM
59732013-01-31 David S. Miller <davem@davemloft.net>
5974
5975 * po/de.po: Update from translation team.
5976
3b60b421
MK
59772013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
5978
5979 * time/tzfile.c: Include stdint.h for SIZE_MAX.
5980
bb931195
TS
59812013-01-25 Thomas Schwinge <thomas@codesourcery.com>
5982
b5a5da23
TS
5983 * configure.in (_AC_PROG_CC_C89): New definition.
5984 * configure: Regenerate.
5985
bb931195
TS
5986 * configure.in (AC_PROG_CPP): New definition.
5987 * configure: Regenerate.
5988
8c53a12c
JM
59892013-01-23 Joseph Myers <joseph@codesourcery.com>
5990
5991 * debug/tst-backtrace.h: New file.
5992 * debug/tst-backtrace2.c: Include tst-backtrace.h.
5993 (ret): Remove variable.
5994 (x): Likewise.
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.
6000 (x): Likewise.
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.
6006 (x): Likewise.
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.
6012 (x): Likewise.
6013 (FAIL): Remove macro.
6014 (NO_INLINE): Likewise.
6015 (handle_signal): Use match function instead of strstr.
6016
4858fa2a
RM
60172013-01-23 Roland McGrath <roland@hack.frob.com>
6018
6019 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6020
bae8e7f5
DM
60212013-01-23 David S. Miller <davem@davemloft.net>
6022
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.
6029
9cbbc4ae
PT
60302013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6031
6032 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6033 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6034 Include <limits.h>.
67b3f58c 6035 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6036
5655a0b5
AC
60372013-01-23 Adam Conrad <adconrad@0c3.net>
6038
6039 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6040 (LDFLAGS-tst-array5): Likewise.
6041
052aff95
JM
60422013-01-23 Joseph Myers <joseph@codesourcery.com>
6043
6044 [BZ #15036]
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.
6049
7c1e01aa
DM
60502013-01-21 David S. Miller <davem@davemloft.net>
6051
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
6058 -funwind-tables.
6059
ab087e0a
AS
60602013-01-21 Andreas Schwab <schwab@suse.de>
6061
6062 [BZ #15020]
6063 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6064 closed its stdout.
6065
ed689c2f
AS
60662013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6067
6068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6069 "mpa2.h".
6070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6071
31d470ac
JM
60722013-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>
6076
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.
6091
90567f30 60922013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6093 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6094
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
6105 64-bit values.
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.
6113
d3b9ea61
SP
61142013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6115
0b57daeb
SP
6116 [BZ #14496]
6117 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6118 Fix application of SIMD FP exception mask.
6119
caa99d06
SP
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.
6124
d3b9ea61
SP
6125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6126 multiplication.
6127
1dbaee3c
DM
61282013-01-17 David S. Miller <davem@davemloft.net>
6129
6130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6131
728d7b43
JM
61322013-01-17 Joseph Myers <joseph@codesourcery.com>
6133
6134 [BZ #15023]
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
6153 k_casinhf.c.
6154 * math/s_casinhl.c: Do not include <float.h>.
6155 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6156 redefine.
6157 (__casinhl): Move code for finite nonzero arguments to
6158 k_casinhl.c.
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.
6162
2a26ef3a
PT
61632013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6164
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>.
6169
a897655d
SP
61702013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6171
6172 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6173
881ebe89 61742013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6175
6176 * elf/elf.h (R_386_SIZE32): New relocation.
6177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6178 R_386_SIZE32.
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.
6182
59981e9b
JM
61832013-01-17 Joseph Myers <joseph@codesourcery.com>
6184
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
6194 value.
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
6201 file.
6202
cfa8054f
AS
62032013-01-16 Andreas Schwab <schwab@suse.de>
6204
6205 [BZ #14327]
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.
6209
dd930cc5
SP
62102013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6211
881ebe89
SP
6212 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6213 definitions.
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
6217 definitions here.
6218 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6219 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6220 definitions.
6221 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6222 and ONE.
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
6226 definitions.
6227 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6228 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6229 definitions.
6230 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6231
dd930cc5
SP
6232 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6233
c19a9f89
DM
62342013-01-15 David S. Miller <davem@davemloft.net>
6235
1aa61767
DM
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
6240 file.
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6243 file.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6245 file.
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.
6254
c42d5e98
DM
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:
6259 New file.
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6261 file.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6263 New file.
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6265 file.
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
6269 file.
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6272 file.
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.
6276
c19a9f89
DM
6277 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6278 libc_feholdexcept and libc_fesetenv.
6279
357679d2
MF
62802013-01-15 Mike Frysinger <vapier@gentoo.org>
6281
6282 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6283
65a82e3d
DM
62842013-01-14 David S. Miller <davem@davemloft.net>
6285
8b954ab9
DM
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:
6292 Likewise.
6293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6294 Likewise.
6295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6296 Likewise.
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
6302 file.
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6304 file.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6306 file.
6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6308 file.
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
6314 new VIS2 routines.
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:
6318 Likewise.
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.
6326
65a82e3d
DM
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
6330 file.
6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6333 file.
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.
6341
e34ab705
SP
63422013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6343
2a91b573
SP
6344 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6345 to optimize copies.
6346
1066a534
SP
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.
6350
e34ab705
SP
6351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6352 local variable MPTWO.
6353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6354 Likewise.
6355
aba5e596
MF
63562013-01-13 Mike Frysinger <vapier@gentoo.org>
6357
6358 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6359 GLOB_NOESCAPE.
6360
e557e9e5
MF
63612013-01-13 Mike Frysinger <vapier@gentoo.org>
6362
6363 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6364
0428cec9
MF
63652013-01-13 Mike Frysinger <vapier@gentoo.org>
6366
6367 * manual/pattern.texi (glob_t): Document gl_flags.
6368 (glob64_t): Likewise.
6369
8794a964
DM
63702013-01-11 David S. Miller <davem@davemloft.net>
6371
66438c3f
RM
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.
32fcb36d
DM
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.
6385
4ae4244d
DM
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.
6390
8794a964
DM
6391 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6392 Move to...
6393 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6394 Here.
6395
6270516e
RM
63962013-01-11 Roland McGrath <roland@hack.frob.com>
6397
6398 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6399 not in the main loop.
6400 * configure: Regenerated.
6401
6a57d931
JM
64022013-01-11 Joseph Myers <joseph@codesourcery.com>
6403
6404 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6405 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6406 to just #else.
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
6415 unconditional.
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.
6423
0e8529e9
SE
64242013-01-11 Steve Ellcey <sellcey@mips.com>
6425
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.
6430
740b3dbe
L
64312013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6432
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
6455 $(rtld-LDFLAGS).
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
6469 option.
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).
6556
c6fe55cf
AJ
65572013-01-11 Andreas Jaeger <aj@suse.de>
6558
6559 [BZ #15003]
6560 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6561 value. Sync with Linux 3.7.
6562
9e6919c8
DM
65632013-01-10 David S. Miller <davem@davemloft.net>
6564
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.
6568
1c9f1a02
RM
65692013-01-10 Roland McGrath <roland@hack.frob.com>
6570
6571 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6572 never set.
6573 * configure: Regenerated.
6574
b9de2dde
DM
65752013-01-10 David S. Miller <davem@davemloft.net>
6576
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.
6581
e7f68ef4
RM
65822013-01-10 Roland McGrath <roland@hack.frob.com>
6583
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.
6611
5a47cc9c
DM
66122013-01-10 David S. Miller <davem@davemloft.net>
6613
6614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6615
4cf8f209
L
66162013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6617
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.
6626
fed0faa1
JM
66272013-01-10 Joseph Myers <joseph@codesourcery.com>
6628
828beb13
JM
6629 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6630 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):
6637 Likewise.
6638 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6639 Likewise.
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
6645 definitions.
6646 (llrint): Likewise, for all definitions.
6647 (llrintl): Likewise.
6648
fed0faa1
JM
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].
6654
1a20cb20
L
66552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6656
6657 [BZ #14200]
6658 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6659 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6660 defined.
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.
6665
751b85f7
SP
66662013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6667
7490eb81
SP
6668 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6669
751b85f7
SP
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):
6673 Remove.
6674
988197f0
AS
66752013-01-10 Andreas Schwab <schwab@suse.de>
6676
6677 [BZ #14964]
6678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6679 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6680
e83d7298
DM
66812013-01-09 David S. Miller <davem@davemloft.net>
6682
034ed64b 6683 [BZ #15003]
e83d7298
DM
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
6690 enum values.
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.
6695
d5e0b9bd
AB
66962013-01-09 Anton Blanchard <anton@samba.org>
6697
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.
6702
0c07e3ea
JM
67032013-01-09 Joseph Myers <joseph@codesourcery.com>
6704
6705 * include/features.h (__USE_ANSI): Remove.
6706
232f7002
RM
67072013-01-09 Roland McGrath <roland@hack.frob.com>
6708
ad98e30c
RM
6709 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
6710
232f7002
RM
6711 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
6712
950c99ca
SP
67132013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6714
b5792741
SP
6715 * sysdeps/s390/fpu/libm-test-ulps: Update.
6716
47cf2278
SP
6717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6718
950c99ca
SP
6719 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
6720 (__acr): Likewise.
6721 (__cpy): Likewise.
6722 (norm): Likewise.
6723 (denorm): Likewise.
6724 (__mp_dbl): Likewise.
6725 (__dbl_mp): Likewise.
6726 (add_magnitudes): Likewise.
6727 (sub_magnitudes): Likewise.
6728 (__add): Likewise.
6729 (__sub): Likewise.
6730 (__mul): Likewise.
6731 (__inv): Likewise.
6732 (__dvd): Likewise.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
6734 (__acr): Likewise.
6735 (__cpy): Likewise.
6736 (norm): Likewise.
6737 (denorm): Likewise.
6738 (__mp_dbl): Likewise.
6739 (__dbl_mp): Likewise.
6740 (add_magnitudes): Likewise.
6741 (sub_magnitudes): Likewise.
6742 (__add): Likewise.
6743 (__sub): Likewise.
6744 (__mul): Likewise.
6745 (__inv): Likewise.
6746 (__dvd): Likewise.
6747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
6748 (__acr): Likewise.
6749 (__cpy): Likewise.
6750 (norm): Likewise.
6751 (denorm): Likewise.
6752 (__mp_dbl): Likewise.
6753 (__dbl_mp): Likewise.
6754 (add_magnitudes): Likewise.
6755 (sub_magnitudes): Likewise.
6756 (__add): Likewise.
6757 (__sub): Likewise.
6758 (__mul): Likewise.
6759 (__inv): Likewise.
6760 (__dvd): Likewise.
6761
eede9df9
JM
67622013-01-08 Joseph Myers <joseph@codesourcery.com>
6763
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.
6768
c40ea3d9
AJ
67692013-01-08 Andreas Jaeger <aj@suse.de>
6770
6771 [BZ# 14985]
6772 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
6773 Remove.
6774 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6775 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
6776
2ccdea26
AB
67772013-01-07 Anton Blanchard <anton@samba.org>
6778
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.
6822
a9708fed
JM
68232013-01-07 Joseph Myers <joseph@codesourcery.com>
6824
375607b9
JM
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
6837 declaration.
6838 (__libc_valloc): Likewise.
6839 (__libc_pvalloc): Likewise.
6840 (__libc_calloc): Likewise.
6841 (__posix_memalign): Likewise.
6842
a9708fed
JM
6843 [BZ #14996]
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.
6858
afec409a
L
68592013-01-04 H.J. Lu <hongjiu.lu@intel.com>
6860
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
6870 to ...
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.
6891
0b3986d0
DM
68922013-01-04 David S. Miller <davem@davemloft.net>
6893
6894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6895
e47686e9
AS
68962013-01-04 Andreas Schwab <schwab@linux-m68k.org>
6897
d643bac1
AS
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.
6902
e47686e9
AS
6903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6904
b18decba
SP
69052013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6906
fffb407f
SP
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.
6911 (denorm): Likewise.
6912 (__mp_dbl): Likewise.
6913 (__inv): Likewise.
6914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
6915 (__cpymn): Likewise.
6916 (norm): Remove commented code.
6917 (denorm): Likewise.
6918 (__mp_dbl): Likewise.
6919 (__inv): Likewise.
6920
b18decba
SP
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.
6924 (denorm): Likewise.
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.
6929 (denorm): Likewise.
6930 (__mul): Use 0.0 instead of zero.d.
6931
cdc1c96f
JM
69322013-01-04 Joseph Myers <joseph@codesourcery.com>
6933
6934 [BZ #14994]
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.
6943
302913e1
SP
69442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6945
6420d207
SP
6946 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
6947
a9e48ab4
SP
6948 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
6949
b7837264
SP
6950 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
6951 declarations.
6952 (denorm): Likewise.
6953 (__mp_dbl): Likewise.
6954 (__inv): Likewise.
6955
f8af25d2
SP
6956 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
6957 and adjust the header comment.
6958
302913e1
SP
6959 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
6960 variable name from declaration.
6961
5d7dd1ca
L
69622013-01-03 H.J. Lu <hongjiu.lu@intel.com>
6963
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.
6970
2f5f40f4
AS
69712013-01-03 Andreas Schwab <schwab@linux-m68k.org>
6972
6973 [BZ #14981]
6974 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
6975 size is zero, record memory as freed.
6976
4056f4a0
AJ
69772013-01-03 Andreas Jaeger <aj@suse.de>
6978
6979 * po/ia.po: Add new Interlingua translation.
6980
ab15736f 69812012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
6982
6983 * locale/programs/localedef.c: Fix description of '--posix' flag.
6984
568035b7
JM
69852013-01-02 Joseph Myers <joseph@codesourcery.com>
6986
e6898b8d
JM
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
6991 output.
6992
0e2f9562
JM
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.
7009
568035b7
JM
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.
7015
da08f647
SP
70162013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7017
0f5477af
SP
7018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7019 four values.
7020
44e0d4c2
SP
7021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7022 calculation loop and add branch prediction.
7023
4d55b4e5
SP
7024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7025 check access beyond bounds of m1np.
7026
da08f647
SP
7027 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7028 MPTWO.
7029 (__inv): Remove local variable MPTWO to use the global
7030 constant.
7031 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7033 variable MPTWO.
7034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7035 MP3HALFS static const.
7036
8e051029
DM
70372013-01-01 David S. Miller <davem@davemloft.net>
7038
7039 * po/ca.po: Update from translation team.
7040
f4cf5f2d
JM
70412013-01-01 Joseph Myers <joseph@codesourcery.com>
7042
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.
7148
0549fbba
DM
71492013-01-01 David S. Miller <davem@davemloft.net>
7150
a141f1a7
DM
7151 * po/fr.po: Update from translation team.
7152
0549fbba
DM
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.
7175
18ea052c
SP
71762012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7177
7178 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7179 numbers.
7180
9c89fca6
MF
71812012-12-30 Mike Frysinger <vapier@gentoo.org>
7182
7183 * math/bits/mathcalls.h (modf): Use __nonnull.
7184
085ec079
SP
71852012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7186
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
7190 could be used.
7191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7192 instead of the bare value.
7193 (power1): Likewise.
7194
6d9f97e1
SP
71952012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7196
d63f73be
SP
7197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7198 __ATAN_TWOM.
7199 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7200
6d9f97e1
SP
7201 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7202 their values.
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.
7207
4c4febf5
AJ
72082012-12-28 Andreas Jaeger <aj@suse.de>
7209
af5843ef
AJ
7210 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7211 values are from Linux 3.7.
7212
4c4febf5
AJ
7213 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7214 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7215
99136f82
SP
72162012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7217
2f216c3c 7218 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7219 TRUE case.
7220
99136f82
SP
7221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7222 (norm): Likewise.
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.
7228
7fffbdff
BH
72292012-12-27 Bruno Haible <bruno@clisp.org>
7230
7231 [BZ #14317]
7232 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7233 only if needed.
7234
b76eb5f0
SP
72352012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7236
31a7fe5c
SP
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.
7240
b76eb5f0
SP
7241 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7242 MPONE.
7243 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7245 variable MPONE.
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.
7253
2c8bfe7d
DM
72542012-12-25 David S. Miller <davem@davemloft.net>
7255
7256 * version.h (RELEASE): Set to "development".
7257 (VERSION): Set to "2.17.90".
7258 * NEWS: Add 2.18 section.
7259
147d03b0
DM
72602012-12-21 David S. Miller <davem@davemloft.net>
7261
7262 * po/hr.po: Update from translation team.
7263
a8ebb2b9
AK
72642012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7265
7266 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7267
95b4f1b6
SE
72682012-12-19 Steve Ellcey <sellcey@mips.com>
7269
b2d94007 7270 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7271
cedb2a90
MS
72722012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7273
7274 * manual/contrib.texi (Contributors): Spelling correction.
7275
bbf527d6
DM
72762012-12-15 David S. Miller <davem@davemloft.net>
7277
7278 * po/ru.po: Update from translation team.
7279
bc38c906
DM
72802012-12-13 David S. Miller <davem@davemloft.net>
7281
85429b1a
DM
7282 * NEWS: Mention IFUNC testsuite enhancements.
7283
d283e353
DM
7284 * po/pl.po: Update from translation team.
7285 * po/bg.po: Likewise.
7286
bc38c906
DM
7287 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7288 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7289
a181b0d7
DM
72902012-12-11 David S. Miller <davem@davemloft.net>
7291
4641d57e
DM
7292 * po/sv.po: Update from translation team.
7293
f7bc6495
DM
7294 * po/vi.po: Update from translation team.
7295
6fc9048f
DM
7296 * po/cs.po: Update from translation team.
7297
a181b0d7
DM
7298 * po/de.po: Update from translation team.
7299 * po/eo.po: Likewise.
7300 * po/nl.po: Likewise.
7301
f70bfe80
SP
73022012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7303
3c8b4190
SP
7304 [BZ #14246]
7305 * manual/argp.texi (Argp Helper Functions): Move node to follow
7306 Argp Parsing State.
7307
f70bfe80
SP
7308 [BZ #14872]
7309 * manual/conf.texi (Limits on File System Capacity): Mention if
7310 terminating null is included in the max size.
7311
188f0adf
AJ
73122012-12-10 Andreas Jaeger <aj@suse.de>
7313
7314 * po/cs.po: Update from translation team.
7315
56e7d3ad
SP
73162012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7317
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
7321 path.
7322 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7323 * sysdeps/s390/s390-64/memset.S: Likewise.
7324
76f2d2ea 73252012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7326
7327 [BZ #14833]
7328 * menual/message.texi (Message Translation): Fix typos.
7329 (Helper programs for gettext): Likewise.
7330
67cbf9a2
AS
73312012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7332
7333 [BZ #14898]
7334 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7335 Change to -1.
7336
682d0e9a
DM
73372012-12-07 David S. Miller <davem@davemloft.net>
7338
7339 * po/libc.pot: Update.
7340
573cd484
RH
73412012-12-07 Richard Henderson <rth@redhat.com>
7342
7e9da188 7343 [BZ #10114]
573cd484
RH
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.
7347
e933a943
MF
73482012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7349 Mike Frysinger <vapier@gentoo.org>
7350
7351 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7352 check for __NR_fadvise64_64.
7353
82123268
CM
73542012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7355
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
7359 with cw.
7360
d9814526
JM
73612012-12-06 Joseph Myers <joseph@codesourcery.com>
7362
7363 * NEWS: Use sourceware.org in Bugzilla URL.
7364
7728c574
SP
73652012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7366
f16946dd
SP
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7368 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7369
5704bbcb
SP
7370 * stdio-common/tst-put-error.c (do_test): Add newline to the
7371 padded test to ensure flush.
7372
17aa0516
JL
73732012-12-05 Jeff Law <law@redhat.com>
7374
7375 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7376
363313b5
JM
73772012-12-05 Joseph Myers <joseph@codesourcery.com>
7378
effbd42a
JM
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.
7381
87600365
JM
7382 * LICENSES: Add more non-FSF copyright and license notices.
7383
a0d7066a
JM
7384 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7385 ((unused)).
7386
66ca5a5b
JM
7387 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7388
363313b5
JM
7389 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7390 10000 as width of padded output.
7391
b37984ad
JM
73922012-12-04 Joseph Myers <joseph@codesourcery.com>
7393
9003570a
JM
7394 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7395
b37984ad
JM
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):
7399 Likewise.
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)).
7404
c8df52ec
DM
74052012-12-04 David S. Miller <davem@abraco.davemloft.net>
7406
7407 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7408
b3b099af
JM
74092012-12-04 Joseph Myers <joseph@codesourcery.com>
7410
c33aa6e3
JM
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.
7510
20f0018d
JM
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7512 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7513
b3b099af
JM
7514 [BZ #14914]
7515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7516 whole low double instead of just low 47 bits when splitting values
7517 into two parts.
7518
029264d1
AM
75192012-12-03 Allan McRae <allan@archlinux.org>
7520
7521 * manual/stdio.texi (Predefined Printf Handlers): Remove
7522 @hsep and @vsep usage.
7523
c9d6789e
MF
75242012-12-03 Mike Frysinger <vapier@gentoo.org>
7525
7526 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7527 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7528
4b7634a5
JL
75292012-12-03 Jeff Law <law@redhat.com>
7530
7531 * time/sys/time.h (settimeofday): Do not mark TV argument
7532 as __nonnull.
7533
eb6cbd24
MF
75342012-12-01 Mike Frysinger <vapier@gentoo.org>
7535
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.
7540
f638872a
JM
75412012-12-01 Joseph Myers <joseph@codesourcery.com>
7542
7543 * manual/arith.texi (feenableexcept): Fix typo.
7544 (fedisableexcept): Likewise.
7545
48085d14
RM
75462012-11-30 Roland McGrath <roland@hack.frob.com>
7547
7548 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7549 second, differently-typed declaration, rather than a cast.
7550
1a538b9f
SP
75512012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7552
7553 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7554 * include/rpc/svc.h: ... here.
7555
d07f2ff1 75562012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7557
7558 [BZ #13013]
7559 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7560 depending n and resplen2 to catch cases where answer
7561 equals answerp2.
7562
c93ec1f0
CD
75632012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7564
7565 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7566 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7567
37db69de
MF
75682012-11-29 Mike Frysinger <vapier@gentoo.org>
7569
7570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7571
e10c4e4f
RM
75722012-11-29 Roland McGrath <roland@hack.frob.com>
7573
7574 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7575
2af1b328
JL
75762012-11-28 Jeff Law <law@redhat.com>
7577
7578 [BZ #13761]
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.
7582
111db5b1
FW
75832012-06-04 Florian Weimer <fweimer@redhat.com>
7584
f06cc227 7585 [BZ #14197]
111db5b1
FW
7586 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7587
dd694abd
DM
75882012-11-28 David S. Miller <davem@davemloft.net>
7589
7590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7591
9984dd01
JM
75922012-11-28 Joseph Myers <joseph@codesourcery.com>
7593
7594 [BZ #14803]
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
7598 nearest to 64 bits.
7599 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7600 bits.
7601
14bc93a9
JL
76022012-11-28 Jeff Law <law@redhat.com>
7603 Martin Osvald <mosvald@redhat.com>
7604
7605 [BZ #14889]
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.
7613
e3c6aa3a
AS
76142012-11-28 Andreas Schwab <schwab@suse.de>
7615
7616 * scripts/abilist.awk: Also handle indirect functions in .opd
7617 section.
7618
1bead169
JM
76192012-11-28 Joseph Myers <joseph@codesourcery.com>
7620
7621 [BZ #13881]
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.
7625 (p3): New 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.
7629 (p3): New 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.
7636
0817d63d
SP
76372012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7638 Carlos O'Donell <carlos_odonell@mentor.com>
7639
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.
7643
de2fd463
SP
76442012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7645
7646 [BZ #11741]
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.
7651
c515fb51
L
76522012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7653
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.
7668
4cf77aa9
JM
76692012-11-26 Joseph Myers <joseph@codesourcery.com>
7670
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.
7676
d260b3b4
AS
76772012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7678
7679 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7680
67060746
AC
76812012-11-24 Adam Conrad <adconrad@0c3.net>
7682
7683 * configure.in: Autodetect C++ header directories.
7684 * configure: Regenerated.
7685
800938a1
MF
76862012-11-23 Mike Frysinger <vapier@gentoo.org>
7687
7688 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7689
4e6e34e6
AS
76902012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7691
7692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7693
7c7feb47
JM
76942012-11-22 Joseph Myers <joseph@codesourcery.com>
7695
7184dcdf
JM
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]:
7699 Likewise.
7700 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
7701 Likewise.
7702
0a42601f
JM
7703 [BZ #14871]
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.
7707
79c9b9fe
JM
7708 * sysdeps/generic/unwind-dw2-fde-glibc.c
7709 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
7710 __attribute__ ((unused)).
7711
c60d3bf2
JM
7712 [BZ #14645]
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.
7715
ef1e0867
JM
7716 [BZ #14811]
7717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
7718 nonzero exponents with absolute value below 0x1p-117 to +/-
7719 0x1p-117.
7720
1468ded3
JM
7721 [BZ #14869]
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.
7725
8e27e3cc
JM
7726 [BZ #14868]
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.
7730
c9c0279b
JM
7731 * math/libm-test.inc (clog_test): Use
7732 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
7733 (clog10_test): Likewise.
7734
7c7feb47
JM
7735 [BZ #6778]
7736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
7737
fff1530e
AS
77382012-11-22 Andreas Schwab <schwab@suse.de>
7739
7740 * sysdeps/i386/fpu/libm-test-ulps: Update.
7741
94558d30
PT
77422012-11-22 Pino Toscano <toscano.pino@tiscali.it>
7743
7744 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
7745 printf output with newline.
7746
7e1be741
L
77472012-11-21 H.J. Lu <hongjiu.lu@intel.com>
7748
6bfea974
L
7749 [BZ #14865]
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.
7754
7e1be741
L
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.
7767
105ce2ce
CD
77682012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
7769
7770 * sysdeps/unix/make-syscalls.sh: Document prefixes.
7771
123be9de
TS
77722012-11-20 Thomas Schwinge <thomas@codesourcery.com>
7773
d072f3f7
TS
7774 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
7775 macro.
7776
123be9de
TS
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
7782 include it from...
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
7798 sendmmsg.
7799
cf9a5d18
JM
78002012-11-20 Joseph Myers <joseph@codesourcery.com>
7801
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.
7805
ecd4caf9
JM
78062012-11-19 Joseph Myers <joseph@codesourcery.com>
7807
be14d48f
JM
7808 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
7809 DUMMY variables with __attribute__ ((unused)).
7810
ecd4caf9
JM
7811 * bits/byteswap.h: Include <bits/types.h>.
7812 (__bswap_64): Use __uint64_t instead of unsigned long long int.
7813
986cab95
PT
78142012-11-19 Pino Toscano <toscano.pino@tiscali.it>
7815
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
7820 failure.
7821
6d33cc9d
DM
78222012-11-19 David S. Miller <davem@davemloft.net>
7823
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.
7831
ee663277
JM
78322012-11-19 Joseph Myers <joseph@codesourcery.com>
7833
877f2d8e
JM
7834 [BZ #14856]
7835 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
7836 Define to 3.
7837
116fc08a
JM
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
7885 require.
7886 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
7887 sigevent): Specify elements.
7888 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
7889 entry.
7890 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
7891 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
7892
a483863f
JM
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):
7907 Likewise.
7908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
7909 Likewise.
7910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
7911 Likewise.
7912 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
7913 Likewise.
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
7928 value.
7929 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
7930 as optional.
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
7947 entry.
7948 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
7949 optional.
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):
7956 Likewise.
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
7964 as optional.
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
7989 optional-constant.
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.
7996
5ba924e3
JM
7997 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
7998 expect.
7999 [XPG3 || XPG4] (O_RSYNC): Likewise.
8000 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8001 Likewise.
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):
8009 Likewise.
8010 [XPG3 || XPG4] (blksize_t): Likewise.
8011 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8012 Likewise.
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.
8035
ee663277
JM
8036 [BZ #14835]
8037 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8038 <bits/siginfo.h>.
8039
942caa16
PT
80402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8041
e19af380
PT
8042 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8043 finalizing MALLSTREAM.
8044
942caa16
PT
8045 * sysdeps/mach/hurd/syncfs.c: New file.
8046
cfde9b46
SP
80472012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8048
8049 [BZ #14719]
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.
8057
f6da27e5
PH
80582012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8059
8060 [BZ #13763]
8061 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8062
6665d4a2
SM
80632012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8064
1f51ee92
SM
8065 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8066 * elf/cache.c (print_entry): Print ",AArch64" for
8067 FLAG_AARCH64_LIB64
8068
6665d4a2
SM
8069 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8070 * elf/cache.c (print_entry): Print ",hard-float" for
8071 FLAG_ARM_LIBHF.
8072
05b227bd
DM
80732012-11-18 David S. Miller <davem@davemloft.net>
8074
8075 With help from Joseph Myers.
8076 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8077 cutoff to 2**-13.
8078 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8079 cutoff to 2**-25.
8080 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8081 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8082 small.
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.
8089
786b0b67
AS
80902012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8091
8092 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8093 64-bit targets.
8094 * configure: Regenerated.
8095
8e18b86d
DM
80962012-11-17 David S. Miller <davem@davemloft.net>
8097
8098 [BZ #14811]
8099 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8100 nonzero exponents with absolute value below 0x1p-128 to +/-
8101 0x1p-128.
8102
531f1ae0
JM
81032012-11-17 Joseph Myers <joseph@codesourcery.com>
8104
12df29e2
JM
8105 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8106
150dc1a0
JM
8107 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8108
531f1ae0
JM
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.
8130
a93f9cbc
PT
81312012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8132
8133 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8134
d64d9f87
AL
81352012-11-16 Andrej Lajovic <natrij@gmail.com>
8136
8137 [BZ #14672]
8138 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8139
447885eb
DM
81402012-11-16 David S. Miller <davem@davemloft.net>
8141
8142 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8143 smaller than LDBL_EPSILON/2.0L, just return xm1.
8144
bcbf9830
L
81452012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8146
8147 * elf/tst-array1.c (init): Set constructor priority to 1000.
8148 (fini): Set destructor priority to 1000.
8149 * elf/tst-array2dep.c: Likewise.
8150
2b766585
SP
81512012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8152
8153 [BZ #11741]
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
8165 return EOF.
8166
b1848fde
SP
81672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8168
8169 * libio/libioP.h: Add comment note that the references to C++
8170 bits are now obsolete.
8171
2fd89785
MS
81722012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8173
8174 * math/libm-test.inc (check_complex): Use asprintf.
8175
e3ea5409
JM
81762012-11-14 Joseph Myers <joseph@codesourcery.com>
8177
8178 * debug/pcprofiledump.c (print_version): Update copyright year.
8179 * malloc/memusagestat.c (print_version): Likewise.
8180
2e64d265
L
81812012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8182
8183 [BZ #14831]
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.
8193
c485e4d2
MS
81942012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8195
8196 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8197 * misc/Makefile (CFLAGS-select.c): Define.
8198 * posix/Makefile (CFLAGS-pause.c): Define.
8199
3a0d900a
DM
82002012-11-13 David S. Miller <davem@davemloft.net>
8201
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
8216 path.
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
8220 crypt subdir.
8221 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8222 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8223 multiarch changes.
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
8233 file.
8234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8236 file.
8237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8238
8ca89318
JM
82392012-11-13 Joseph Myers <joseph@codesourcery.com>
8240
e27d476a
JM
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.
8249
8ca89318
JM
8250 [BZ #14838]
8251 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8252 macro.
8253
47594329
MS
82542012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8255
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
8259 bits are 0.
8260
640ac3f1
DM
82612012-11-11 David S. Miller <davem@davemloft.net>
8262
8263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8264 inttypes.h
8265 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8266 __close rather than their public counterparts.
8267
3d2577bb
JM
82682012-11-10 Joseph Myers <joseph@codesourcery.com>
8269
8270 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8271 file.
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):
8279 Do not expect.
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.
8284
fb1ae1ee
JM
82852012-11-09 Joseph Myers <joseph@codesourcery.com>
8286
9ec6f8bd
JM
8287 * timezone/version.h: Remove file.
8288 * timezone/README: Do not refer to version.h.
8289 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8290 $(objpfx)version.h.
8291 ($(objpfx)zdump.o): Likewise.
c3f81911 8292 ($(objpfx)version.h): New target.
9ec6f8bd 8293
0aa8f8a1
JM
8294 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8295 2012i.
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
8299 tzselect.ksh.
8300
4e87147f
JM
8301 * Makefile (format-me): Remove.
8302 (INSTALL): Adjust indentation. Use commands directly instead of
8303 using $(format-me).
8304
8b748aed
JM
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
8325 and REPORT_BUGS_TO.
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
8333 REPORT_BUGS_TO.
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
8360 and BUGURL.
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
8391 macro.
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
8397 and PKGVERSION.
8398
92e4b6a9
JM
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.
8410
9bde902c
JM
8411 [BZ #14824]
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):
8418 Likewise.
8419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8420 Likewise.
8421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8422 Likewise.
8423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8424 Likewise.
8425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8426 Likewise.
8427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8428 Likewise.
8429
fb1ae1ee
JM
8430 [BZ #14821]
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.
8436
2c1adbcb
AJ
84372012-11-09 Andreas Jaeger <aj@suse.de>
8438
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>.
8442
d0f8457e
AK
84432012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8444
3a235abb 8445 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
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
8448 definition.
8449
57241e26
MS
84502012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8451
8452 * elf/elf.h: Update comment before AArch64 relocations.
8453
60e8270d
DM
84542012-11-07 David S. Miller <davem@davemloft.net>
8455
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
8461 __makecontext_ret.
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8463 (sysdep_routines): Add __start_context when in stdlib.
8464
0fbb0fbc
JM
84652012-11-07 Joseph Myers <joseph@codesourcery.com>
8466
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
8470 hardcoded "nm".
8471 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8472 (READELF): New variable. Use it instead of hardcoded "readelf".
8473
eb48db7e
L
84742012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8475
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.
8480
05bcf62a
JM
84812012-11-07 Joseph Myers <joseph@codesourcery.com>
8482
c4b6cf53
JM
8483 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8484 expectations.
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):
8506 Do not expect.
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.
8519
cbe6e120
JM
8520 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8521 not expect.
8522 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8523
1b126443
JM
8524 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8525 Change function return type to int.
8526
b961a573
JM
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
8535 && !UNIX98].
8536 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8537 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8538 (mode_t): Likewise.
8539 (posix_mem_offset): Likewise.
8540 (posix_typed_mem_get_info): Likewise.
8541 (posix_typed_mem_open): Likewise.
8542
9e188909
JM
8543 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8544 Change condition to [XOPEN2K8].
8545
05bcf62a
JM
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
8736 allow.
8737 * conform/data/stdint.h-data: Update comments to clarify
8738 requirements.
8739 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
8740 type.
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"
8798 at end of line.
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.
8810 Specify type.
8811 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
8812 Specify value.
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):
8818 Expect function.
8819 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
8820 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
8821 Specify type.
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.
8831
7514feb8
RM
88322012-11-07 Roland McGrath <roland@hack.frob.com>
8833
8834 [BZ #14815]
8835 * manual/filesys.texi (Directory Entries): Typo fix.
8836 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
8837
19b2ecfc
MS
88382012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8839
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.
8849
60e235ee
JM
88502012-11-07 Joseph Myers <joseph@codesourcery.com>
8851
8852 [BZ #14811]
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 +/-
8860 0x1p-32.
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.
8865
0ab234b7
AK
88662012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8867
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.
8871
45832f74
JM
88722012-11-07 Joseph Myers <joseph@codesourcery.com>
8873
8874 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
8875 Change XOPEN21K to XOPEN2K.
8876
19218757
MK
88772012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
8878
8879 * string/memmove.c: Use memcpy when possible.
8880
c5f45721
AJ
88812012-11-06 Andreas Jaeger <aj@suse.de>
8882
8883 * po/eo.po: Update from translation team.
8884
82477c28
JM
88852012-11-06 Joseph Myers <joseph@codesourcery.com>
8886
8887 [BZ #14793]
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.
8897
99252c8c
JM
88982012-11-05 Joseph Myers <joseph@codesourcery.com>
8899
acfa885f
JM
8900 [BZ #14805]
8901 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
8902 fenv_t *.
8903
99252c8c
JM
8904 [BZ #14801]
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
8908 fenv_t fields.
8909 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8910 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
8911
d6d98dea
ST
89122012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8913
8914 [BZ #3665]
8915 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
8916
e10bb107
TS
89172012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8918
8919 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
8920 PTR_DEMANGLE.
8921
8922 [BZ #5246]
8923 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
8924 PTR_DEMANGLE.
8925
a0c2940d
JM
89262012-11-04 Joseph Myers <joseph@codesourcery.com>
8927
8928 [BZ #14797]
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.
8937
b830319d
TS
89382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8939
8940 [BZ #157]
8941
8942 * include/stub-tag.h: Remove file.
8943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
8944 '#include' of it.
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:
9314 Likewise.
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.
9346
93472012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9348
a20492cf
PT
9349 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9350 /usr/old/bin.
9351
72e182e3
PT
9352 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9353 instead of spaces.
9354 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9355
fbeafede
JM
93562012-11-03 Joseph Myers <joseph@codesourcery.com>
9357
5b5b04d6
JM
9358 [BZ #14796]
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
9362 results afterwards.
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
9371 function.
9372 (libc_fesetround): New macro.
9373 (libc_fesetroundf): Likewise.
9374 (libc_fesetroundl): Likewise.
9375 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9376 function.
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
9382 function.
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
9389 libm_hidden_ver.
9390 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9391 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9392 libm_hidden_def.
9393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9394 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9395 libm_hidden_ver.
9396 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9397 libm_hidden_def.
9398
fbeafede
JM
9399 [BZ #3439]
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
9402 constant.
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.
9454
105ca950
CM
94552012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9456
9457 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9458
a542b389
AS
94592012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9460
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
9464 -x" by "export".
9465 (remove_newlines): Remove.
9466
f62c8abc
L
94672012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9468
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
9475 -mno-sse -mno-mmx.
9476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9477 <xmmintrin.h>.
9478
0155d5b2
JM
94792012-11-02 Joseph Myers <joseph@codesourcery.com>
9480
a68d0680
JM
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>.
9485
caf7f573
JM
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.
9491
6c073ad6
JM
9492 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9493 (struct rusage): Do not expect type or its members.
9494
0155d5b2
JM
9495 [BZ #3439]
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.
9502
b5dcacb4
AS
95032012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9504
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
9507 arguments.
9508
f7934be8
RM
95092012-11-02 Roland McGrath <roland@hack.frob.com>
9510
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.
9515
d7d08bde
TMQMF
95162012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9517
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.
9521
dcdae19a
JM
95222012-11-02 Joseph Myers <joseph@codesourcery.com>
9523
9524 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9525 except include of <misc/sys/syslog.h>.
9526
d6cffd3e
AS
95272012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9528
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9530 function returns with a NULL context exit with zero.
9531
b3563932
TMQMF
95322012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9533
9534 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9535
b288a93d
L
95362012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9537
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.
9542
a2421a68
SAS
95432012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9544
9545 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9546 floating point opcodes.
9547
6f796e1b
TS
95482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9549
7402596b
TS
9550 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9551 variable.
9552
d0d4f868
TS
9553 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9554
6f796e1b
TS
9555 * sysdeps/mach/hurd/powerpc: Remove directory.
9556 * sysdeps/mach/powerpc: Likewise.
9557
4da224a2
AS
95582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9559
9560 * scripts/check-local-headers.sh: Ignore c++ headers.
9561
341dd673
TS
95622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9563
9564 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9565 __libc_cleanup_region_start argument.
9566
473611b2
JM
95672012-11-01 Joseph Myers <joseph@codesourcery.com>
9568
9569 [BZ #14784]
9570 [BZ #14785]
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.
9579
4078da3d
TS
95802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9581
9582 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9583
903252aa
JM
95842012-10-31 Joseph Myers <joseph@codesourcery.com>
9585
9586 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9587 New variable.
9588
cbc818d0
TS
95892012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9590
9591 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9592
5a03cb1e
AS
95932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9594
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9596 Fix sort order.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9598 Likewise.
9599
90aff2ff
TMQMF
96002012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9601
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:
9605 Likewise.
9606
1818fcb7
AS
96072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9608
9609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9610
ef82f4da
JM
96112012-10-31 Joseph Myers <joseph@codesourcery.com>
9612
16a0e2ec
JM
9613 [BZ #14610]
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.
9617
0eb69512
JM
9618 * manual/install.texi (Configuring and compiling): Document
9619 general use of test-wrapper and test-wrapper-env.
9620 * INSTALL: Regenerated.
9621
ef82f4da
JM
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
9625 exponent.
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
9629 exponent.
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
9633 exponent.
9634 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9635 macro.
9636 (fma_test): Add more tests.
9637 (fma_test_towardzero): Likewise.
9638 (fma_test_downward): Likewise.
9639 (fma_test_upward): Likewise.
9640
954ef0d9
L
96412012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9642
9643 * sysdeps/i386/tininess.h: Renamed to ...
9644 * sysdeps/x86/tininess.h: This.
9645 * sysdeps/x86_64/tininess.h: Removed.
9646
df61ffb2
JM
96472012-10-30 Joseph Myers <joseph@codesourcery.com>
9648
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.
9657
01767843
CM
96582012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9659
47cc1490
CM
9660 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9661 if defined.
9662
01767843
CM
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.
9671
8321aa97
AJ
96722012-10-30 Andreas Jaeger <aj@suse.de>
9673
9674 * po/ru.po: Update Russion translation from translation project.
9675
2a27fd6d
JM
96762012-10-30 Joseph Myers <joseph@codesourcery.com>
9677
8627a232
JM
9678 [BZ #14152]
9679 [BZ #14783]
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.
9690
2a27fd6d
JM
9691 [BZ #14047]
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.
9709
e7170363
AJ
97102012-10-30 Andreas Jaeger <aj@suse.de>
9711
e5088dc6
AJ
9712 [BZ#14767]
9713 * elf/Makefile (tests): Remove conditional for have-initfini-array
9714 since this is now always required and the variable does not exist
9715 anymore.
9716 (tests-static): Likewise.
9717 (modules-names): Likewise.
9718
e7170363 9719 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
9720
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.
9726
60457d8a
MF
97272012-10-29 Mike Frysinger <vapier@gentoo.org>
9728
9729 * manual/message.texi: Delete @cartouche tags.
9730
8bece752
PT
97312012-10-29 Pino Toscano <toscano.pino@tiscali.it>
9732
94ce799f
PT
9733 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
9734 EOPNOTSUPP.
9735 * sysdeps/mach/hurd/fsync.c: Likewise.
9736
8bece752
PT
9737 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
9738 [_POSIX_REALTIME_SIGNALS]: Change condition to
9739 [_POSIX_REALTIME_SIGNALS > 0].
9740
86ebe6b1
AJ
97412012-10-27 Andreas Jaeger <aj@suse.de>
9742
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.
9747
54399c08
L
97482012-10-26 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * iconvdata/tst-table.sh: Remove ${SHELL}.
9751 * iconvdata/tst-tables.sh: Likewise.
9752
e2211bed
DM
97532012-10-25 David S. Miller <davem@davemloft.net>
9754
9755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9756 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
9757 of strtoull.
9758
f303f97c
DM
9759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
9760 ifunc-impl-list.c
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
9764 file.
9765
1e9d84cd
RM
97662012-10-25 Roland McGrath <roland@hack.frob.com>
9767
9768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9769 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
9770 __getdirentries.
9771
df381762
JM
97722012-10-25 Joseph Myers <joseph@codesourcery.com>
9773 Jim Blandy <jimb@codesourcery.com>
9774
9775 * scripts/cross-test-ssh.sh: New file.
9776 * manual/install.texi (Configuring and compiling): Document use of
9777 cross-test-ssh.sh.
9778 * INSTALL: Regenerated.
9779
bff64913
PT
97802012-10-25 Pino Toscano <toscano.pino@tiscali.it>
9781
9782 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
9783 EOPNOTSUPP.
9784
25fe8932
JM
97852012-10-25 Joseph Myers <joseph@codesourcery.com>
9786
9787 * Makeconfig (run-program-prefix): Fix comment.
9788
cc1290d0
JM
97892012-10-24 Joseph Myers <joseph@codesourcery.com>
9790 Jim Blandy <jimb@codesourcery.com>
9791
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
9802 tst-pathopt.sh.
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.
9827
6e6249d0
RM
98282012-10-24 Roland McGrath <roland@hack.frob.com>
9829
9830 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
9831 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
9832 Targets removed.
9833
9834 [BZ #14743]
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:
9865 Likewise.
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9867 Likewise.
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.
9873
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.
9880
9881 * config.h.in (HAVE_IFUNC): New #undef.
9882 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
9883 was successful.
9884 * configure: Regenerated.
9885
0cae3f4b
MF
98862012-10-24 Mike Frysinger <vapier@gentoo.org>
9887
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.
9892
8175a253
MF
98932012-10-24 Mike Frysinger <vapier@gentoo.org>
9894
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.
9900
0708a7d1
JM
99012012-10-24 Joseph Myers <joseph@codesourcery.com>
9902
10b40d85
JM
9903 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
9904
0708a7d1
JM
9905 * posix/globtest.sh (TMPDIR): Do not set.
9906 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
9907 (testout): Likewise.
9908
9fddec1a
AJ
99092012-10-24 Andreas Jaeger <aj@suse.de>
9910
3a8db22f
AJ
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.
9916
9fddec1a
AJ
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__]:
9920 Likewise.
9921 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
9922 Likewise.
9923 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
9924
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.
9929
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.
9935
ebfd1bbd
JM
99362012-10-23 Joseph Myers <joseph@codesourcery.com>
9937
03ac099f
JM
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.
9957
ebfd1bbd
JM
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
9965 binary.
9966
166bca24
JB
99672012-10-23 Jim Blandy <jimb@codesourcery.com>
9968 Joseph Myers <joseph@codesourcery.com>
9969
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).
9976
88866099
JM
99772012-10-23 Joseph Myers <joseph@codesourcery.com>
9978 Jim Blandy <jimb@codesourcery.com>
9979
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.
9983
b4b4c296
AJ
99842012-10-22 Andreas Jaeger <aj@suse.de>
9985
9986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
9987 __O_RSYNC if it exists, otherwise to O_SYNC.
9988
6fb54a22
JB
99892012-10-22 Jim Blandy <jimb@codesourcery.com>
9990 Joseph Myers <joseph@codesourcery.com>
9991
9992 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
9993 /dev/null.
9994 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
9995 from /dev/null
9996 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
9997 /dev/null.
9998
481b90b9
AJ
99992012-10-22 Andreas Jaeger <aj@suse.de>
10000
2a0e2669
AJ
10001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10002 Define always.
10003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10004
76e38f9a
AJ
10005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10006 bits/fcntl-linux.h.
10007
7cd37b43
AJ
10008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10009 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10010
481b90b9
AJ
10011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10012 to __O_LARGEFILE.
10013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10014 to __O_LARGEFILE.
10015
aba75984
JB
100162012-10-21 Jim Blandy <jimb@codesourcery.com>
10017 Joseph Myers <joseph@codesourcery.com>
10018
10019 * config.make.in (NM): New variable.
10020
88d4247f
AJ
100212012-10-21 Andreas Jaeger <aj@suse.de>
10022
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>.
10026
f2eed205
L
100272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10028
10029 [BZ #14683]
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.
10038
335e6931
AJ
100392012-10-20 Andreas Jaeger <aj@suse.de>
10040
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.
10048
ac5c94d3
RM
100492012-10-20 Roland McGrath <roland@hack.frob.com>
10050
10051 * io/fcntl.h: Move include of <bits/types.h> to the top and
10052 include it unconditionally.
10053
de54b33a
L
100542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10055
228cfb01
L
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.
10064
69f07e5f
L
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.
10124
de54b33a
L
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.
10131
88481c16
SP
101322012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10133
10134 [BZ #13601]
10135 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10136 header is not read in.
10137
135948bd
JM
101382012-10-19 Joseph Myers <joseph@codesourcery.com>
10139
89f1c388
JM
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.
10146
e40a0d21
JM
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
10163 tst-translit.sh.
10164 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10165 tst-gettext2.sh.
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
10175 to run tst-mtrace.
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.
10182
728e272a
JM
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.
10193
d528cdcf
JM
10194 [BZ #13888]
10195 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10196 or TMPDIR.
10197 (testout): Likewise.
10198
135948bd
JM
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.
10206
38c78296
L
102072012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10208
10209 [BZ #14716]
10210 * string/test-memmem.c (check_result): New function.
10211 (do_one_test): Use it.
10212 (check1): New function.
10213 (test_main): Use it.
10214
d077f65f
MT
102152012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10216
10217 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10218
ced52c71
JM
102192012-10-18 Joseph Myers <joseph@codesourcery.com>
10220
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
10236 __mmap64 directly.
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
10251 unconditional.
10252 (freopen64) [!_G_OPEN64]: Remove conditional code.
10253 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10254 unconditional.
10255 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10256 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10257 unconditional.
10258 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10259 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10260 unconditional.
10261 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10262 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10263 unconditional.
10264 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10265 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10266 unconditional.
10267 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10268 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10269 unconditional.
10270 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10271 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10272 unconditional.
10273 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10274
b741de23
SP
102752012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10276
10277 [BZ #12140]
10278 * manual/memory.texi (Malloc Tunable Parameters): Add note
10279 about free list pointers overwriting some perturb bytes.
10280 Wording suggested by Roland McGrath.
10281
f9b9d9c9
JM
102822012-10-17 Joseph Myers <joseph@codesourcery.com>
10283
10284 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10285 (lgamma_test): Likewise.
10286 (tgamma_test): Likewise.
10287
172a631a
FW
102882012-10-16 Florian Weimer <fweimer@redhat.com>
10289
10290 [BZ #14700]
10291 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10292 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10293
e9f37252
MK
102942012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10295
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.
10299
d394eb74
L
103002012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10301
10302 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10303 (__bswap_64): __uint64_t for unsigned 64-bit int.
10304
ca38dc17
AS
103052012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10306
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.
10311
9a387d1f
L
103122012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10313
ac49ecaf
L
10314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10315 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10316 global and hidden.
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):
10320 Likewise.
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
10335 ifunc-impl-list.c.
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.
10366
b090e8ea
L
10367 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10368 global and hidden.
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):
10373 Likewise.
10374 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10375 Likewise.
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
10380 ifunc-impl-list.c.
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.
10422
11dd4af6
L
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
10433 are defined.
10434 (test_init): Call __libc_ifunc_impl_list to initialize
10435 func_list if TEST_IFUNC and TEST_NAME are defined.
10436
9a387d1f
L
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
10441 defined.
10442 * string/test-memset.c: Support bzero test if TEST_BZERO is
10443 defined.
10444 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10445 __libc_memmove.
10446 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10447 __libc_memset.
10448 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10449 of memset.
10450
472371b9
JM
104512012-10-10 Joseph Myers <joseph@codesourcery.com>
10452
1e4a9536
JM
10453 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10454 * configure: Regenerated.
10455
d173d12e
JM
10456 * Makeconfig (+link-static-before-libc): Don't include
10457 $(link-static-libc).
10458
472371b9
JM
10459 * libio/libio.h (_IO_pos_t): Remove.
10460
89a3ad0b
AO
104612012-10-10 Alexandre Oliva <aoliva@redhat.com>
10462
10463 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10464 McGrath.
10465
e7451425
AO
104662012-10-10 Alexandre Oliva <aoliva@redhat.com>
10467
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.
10473
4ba74a35
AO
104742012-10-10 Alexandre Oliva <aoliva@redhat.com>
10475
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.
10486
f96f1242
MK
104872012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10488
10489 * NEWS: Add entry for BZ #14602.
10490
0e8e0c1c
JM
104912012-10-09 Joseph Myers <joseph@codesourcery.com>
10492
10493 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10494 type-generic.
10495 * math/libm-test.inc: Update comment listing what functions and
10496 macros are tested.
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.
10504
273edc5e
RM
105052012-10-09 Roland McGrath <roland@hack.frob.com>
10506
b8493de0
RM
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.
10524
273edc5e
RM
10525 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10526 defined. Don't check if MAP is NULL.
10527
c8450f70
JM
105282012-10-09 Joseph Myers <joseph@codesourcery.com>
10529
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
10541 _G_off64_t.
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.
10545
57e605ba
MK
105462012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10547
10548 [BZ #14602]
10549 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10550 Replace with ...
10551 (CHECK_EOL): New macro.
10552 (two_way_short_needle): Check beginning of haystack for EOL. Use
10553 CHECK_EOL.
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.
10558
ef1bb361
JM
105592012-10-08 Joseph Myers <joseph@codesourcery.com>
10560
10561 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10562 type-generic.
10563 * math/libm-test.inc: Update comment listing what functions and
10564 macros are tested.
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.
10572
55f11534
JN
105732012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10574
10575 [BZ #14660]
10576 * Makerules (%.dynsym): Force C locale when running
10577 $(OBJDUMP) --dynamic-syms.
10578
1ab29350
AS
105792012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10580
10581 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10582 <stdint.h>.
10583
f1ecb7ef
DM
105842012-10-06 David S. Miller <davem@davemloft.net>
10585
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.
10589
5d41d91a
L
105902012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10591
10592 * string/test-strstr.c (check2): Add a test for page boundary.
10593
3baddb72
DM
105942012-10-05 David S. Miller <davem@davemloft.net>
10595
10596 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10598 file.
10599 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10600 sysdep_routines.
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.
10604
9cee5585
L
106052012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10606
d7e0dab9
L
10607 [BZ #14602]
10608 * string/test-strstr.c (check2): New function.
10609 (test_main): Call check2.
10610
03759f47
L
10611 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10612 and bug-strchr1.
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 ...
046f153e 10626 * string/test-strstr.c (check1): Here. New function.
03759f47
L
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.
10634
53cea63e
L
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.
10641
9cee5585 10642 [BZ #14557]
bb859b06
L
10643 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10644 if IS_IN_rtld isn't defined.
10645
9cee5585
L
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.
10657
23c31b76
JM
106582012-10-05 Joseph Myers <joseph@codesourcery.com>
10659
28234b07
JM
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
10666 tested.
10667
23c31b76
JM
10668 * scripts/config.guess: Update from config.git.
10669 * scripts/config.sub: Likewise.
10670
9043e228
RM
106712012-10-04 Roland McGrath <roland@hack.frob.com>
10672
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.
10685
f57f8055
RM
106862012-10-03 Roland McGrath <roland@hack.frob.com>
10687
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
10697 [USE_LDCONFIG].
10698 * elf/rtld.c (dl_main): Likewise.
10699
5bb0c10a
PT
107002012-10-03 Pino Toscano <toscano.pino@tiscali.it>
10701
10702 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
10703 _SC_LEVEL4_CACHE_LINESIZE.
10704
010188c6
RM
107052012-10-03 Roland McGrath <roland@hack.frob.com>
10706
10707 * sysdeps/unix/bsd/confstr.h: File removed.
10708
b6c5ec07
AO
107092012-10-02 Alexandre Oliva <aoliva@redhat.com>
10710
10711 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
10712 sys/sdt-config.h.
10713
408223d4
RM
107142012-10-02 Roland McGrath <roland@hack.frob.com>
10715
10716 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
10717 Make 'mapoff' field ElfW(Off) rather than off_t.
10718
bb9510dc
DL
107192012-10-02 Dmitry V. Levin <ldv@altlinux.org>
10720
fc997c6e
DL
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.
10724
bb9510dc
DL
10725 [BZ #10631]
10726 * malloc.c (malloc_printerr): Clarify error message.
10727
05699367
L
107282012-10-02 H.J. Lu <hongjiu.lu@intel.com>
10729
10730 [BZ #14648]
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
10734 macro.
10735 (bit_FMA4_Usable): Updated.
10736 (index_FMA_Usable): New macro.
10737 (CPUID_FMA): Likewise
10738 (HAS_FMA): Defined with bit_FMA_Usable.
10739
51367701
RM
107402012-10-01 Roland McGrath <roland@hack.frob.com>
10741
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.
10753
4d57bf63 107542012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 10755 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
10756
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.
10762
93c65d43
RM
107632012-10-01 Roland McGrath <roland@hack.frob.com>
10764
497a03d6
RM
10765 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
10766
93c65d43
RM
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.
10775
bec749fd
JM
107762012-10-01 Joseph Myers <joseph@codesourcery.com>
10777
10778 [BZ #14645]
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.
10789
8ec5b013
JM
107902012-09-29 Joseph Myers <joseph@codesourcery.com>
10791
10792 [BZ #14638]
10793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
10794 0 + 0.
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
10799 exact 0 + 0.
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.
10807
b1fa802e
DM
108082012-09-28 David S. Miller <davem@davemloft.net>
10809
10810 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
10811
d3b9fd9e
RM
108122012-09-28 Roland McGrath <roland@hack.frob.com>
10813
ea4d37b3
RM
10814 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
10815 instead of SIGALRM.
10816
ac51c949
RM
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.
10821
28c195f7
RM
10822 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
10823
848917f9
RM
10824 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
10825
6bacf05b
RM
10826 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
10827 Conditionalize target on [libnss_test1.so-version].
10828
91363dbb
RM
10829 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
10830
cc87f7d8
RM
10831 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
10832 (elfobjdir): Move out of conditionals.
10833
b1c608fe
RM
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.
d3b9fd9e 10838
1d9a6d96
DM
108392012-09-28 David S. Miller <davem@davemloft.net>
10840
10841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
10842 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
10843 file.
10844 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10845 sysdep_routines.
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.
10849
72581615
PT
108502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10851
10852 * io/tst-mknodat.c: Create a FIFO instead of a socket.
10853
715a900c
JL
108542012-09-28 Andreas Schwab <schwab@linux-m68k.org>
10855
10856 [BZ #6530]
10857 * stdio-common/vfprintf.c (process_string_arg): Revert
10858 2000-07-22 change.
10859
108602011-09-28 Jonathan Nieder <jrnieder@gmail.com>
10861
10862 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
10863 for testcase.
10864 * stdio-common/tst-sprintf.c: Include <locale.h>
10865 (main): Test sprintf's handling of incomplete multibyte
10866 characters.
10867
9bac1d86
L
108682012-09-28 H.J. Lu <hongjiu.lu@intel.com>
10869
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.
9bac1d86
L
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.
9c464f9c
L
10880 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
10881 (VALIDX): Likewise.
10882 (ADDRIDX): Likewise.
9bac1d86 10883
b31606c0
PT
108842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10885
10886 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
10887
11541177
JL
108882012-09-28 Dmitry V. Levin <ldv@altlinux.org>
10889
10890 [BZ #11438]
10891 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
10892 to global scope.
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.
10896
adb26fae
SP
108972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10898
10899 [BZ #5298]
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.
10903
4573c6b0
SP
109042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10905
10906 [BZ #14543]
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.
10912
aa9bbfe6
DM
109132012-09-27 David S. Miller <davem@davemloft.net>
10914
10915 [BZ #14376]
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.
10919
784421e7
DM
10920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10921
c39bc8b8
PT
109222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
10923
10924 * rt/tst-aio2.c: Include <pthread.h>.
10925 * rt/tst-aio3.c: Likewise.
10926
1ccc2399
SE
109272012-09-27 Steve Ellcey <sellcey@mips.com>
10928
10929 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
10930
31ed4153
L
109312012-09-27 H.J. Lu <hongjiu.lu@intel.com>
10932
25f5f885
L
10933 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
10934 contents on [SHARED].
31ed4153 10935
b7bfe116
MP
109362012-09-26 Marek Polacek <polacek@redhat.com>
10937
10938 [BZ #14530]
10939 [BZ #13741]
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.
10942
43c4edba
MT
109432012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10944
10945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10946
6a1bf82f
RM
109472012-09-25 Roland McGrath <roland@hack.frob.com>
10948
10949 * Makefile.in (all, install): Declare with .PHONY.
10950 Reported by Michael Hope <michael.hope@linaro.org>.
10951
8ad11b9a
TMQMF
109522012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10953
10954 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
10955 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
10956 system header.
10957 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
10958 Likewise.
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.
10971
7e2fca8d
AM
109722012-09-25 Alan Modra <amodra@gmail.com>
10973
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
10977 place of isync.
10978 (clear_once_control): Add release barrier.
10979
b87c4b24
JM
109802012-09-25 Joseph Myers <joseph@codesourcery.com>
10981
d032e0d2
JM
10982 [BZ #13629]
10983 * math/s_clog.c (__clog): Handle more values close to |z| = 1
10984 specially.
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.
11003
b87c4b24
JM
11004 [BZ #14621]
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
11008 and OLD_PATHC.
11009
6d3bf199
LD
110102012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11011
22bf5c17
LD
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.
11020
11021 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11023
11024 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
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.
11043
203e5603
JM
110442012-09-25 Joseph Myers <joseph@codesourcery.com>
11045
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.
11075
9fab36eb
SP
110762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11077
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.
11085
2b4f00d1
SP
110862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11087
11088 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11089 comments.
11090
9a9028b1
DL
110912012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11092
57c69bef
DL
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.
11125
9a9028b1
DL
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.
11131
ced6f16e
L
111322012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11133
94b32c39
L
11134 [BZ #13679]
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)
11138 isn't yes.
11139 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11140
189e935b
L
11141 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11142
ced6f16e
L
11143 [BZ #14562]
11144 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11145 new chunk size with MALLOC_ALIGN_MASK.
11146
a9f8e53a
JM
111472012-09-24 Joseph Myers <joseph@codesourcery.com>
11148
11149 [BZ #5044]
11150 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11151 <rounding-mode.h>.
11152 (__printf_fphex): Determine rounding using get_rounding_mode and
11153 round_away.
11154 * stdio-common/tst-printf-round.c (struct hex_test): New
11155 structure.
11156 (hex_tests): New variable.
11157 (test_hex_in_one_mode): New function.
11158 (do_test): Also run tests for hex float output.
11159
43153109
JM
111602012-09-21 Joseph Myers <joseph@codesourcery.com>
11161
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.
11170
8a26625d
JM
111712012-09-20 Joseph Myers <joseph@codesourcery.com>
11172
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.
11177
f3fd569c
DL
111782012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11179
11180 [BZ #14579]
11181 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11182 mode only.
11183 * elf/tst-rtld-load-self.sh: New test.
11184 * elf/Makefile: Run it.
11185
63bbedd4
JM
111862012-09-18 Joseph Myers <joseph@codesourcery.com>
11187
11188 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11189 (tst-writev-ENV): Remove.
11190 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11191
626f8b6a
CM
111922012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11193
11194 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11195
b7aaa4d6
JM
111962012-09-17 Joseph Myers <joseph@codesourcery.com>
11197
11198 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11199 unconditional.
11200 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11201 Likewise.
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):
11205 Likewise.
11206
65513990
L
112072012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 [BZ #14587]
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.
11214
784761be
JM
112152012-09-14 Joseph Myers <joseph@codesourcery.com>
11216
11217 [BZ #5044]
11218 * stdio-common/printf_fp.c: Include <stdbool.h> and
11219 <rounding-mode.h>.
11220 (___printf_fp): Determine rounding using get_rounding_mode and
11221 round_away.
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).
11226
9503345f
L
112272012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11228
11229 [BZ #14576]
11230 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11231 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11232 Likewise.
11233 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11234 Likewise.
11235
ad35fc00
JM
112362012-09-13 Joseph Myers <joseph@codesourcery.com>
11237
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.
11242
6c9b0f68
JM
112432012-09-12 Joseph Myers <joseph@codesourcery.com>
11244
11245 [BZ #14518]
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
11268 $(link-libm).
11269
19fcedd5
AM
112702012-12-09 Allan McRae <allan@archlinux.org>
11271
1e9d84cd 11272 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11273
8bbfd2f1
JM
112742012-09-11 Joseph Myers <joseph@codesourcery.com>
11275
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.
11300
b1dc5912
L
113012012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * csu/libc-tls.c: Update copyright years.
11304
0e886ef9
JM
113052012-09-10 Joseph Myers <joseph@codesourcery.com>
11306
28361c5e
JM
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.
11311
0e886ef9
JM
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.
11325
bcba7aa2
L
113262012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11327
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.
11331
06585ee8
L
11332 * iconv/gconv_db.c: Update copyright years.
11333
80ccd52c
LD
113342012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11335
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.
11339
11340 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11341 DP_HI_MASK entry.
11342 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11343
691bc9c1
L
113442012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11345
3d9b46b3
L
11346 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11347
de2139a9
L
11348 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11349 is NULL.
11350
5ca78dd0
L
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.
11363
691bc9c1
L
11364 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11365 on $(common-objpfx)soversions.mk.
11366
65cafb1c
JM
113672012-09-07 Joseph Myers <joseph@codesourcery.com>
11368
11369 [BZ #10014]
11370 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11371 example host name.
11372
c78ab094
SP
113732012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11374
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.
11383
01f49f59
JT
113842012-09-05 John Tobey <john.tobey@gmail.com>
11385
11386 [BZ #13542]
11387 * manual/arith.texi (Operations on Complex): Fix description
11388 of carg branch cut.
11389
4c23fed5
JM
113902012-09-06 Joseph Myers <joseph@codesourcery.com>
11391
1d3c8572
JM
11392 [BZ #10014]
11393 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11394 host name.
11395
4c23fed5
JM
11396 [BZ #10038]
11397 * manual/memory.texi (Memory): Make order of menu items match
11398 order of sections.
11399
04570aaa
L
114002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11401
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).
11405
b80af2f4
L
114062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11407
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
11414 DL_INITIAL_DTV.
11415
2abe9f15
PM
114162012-09-06 Petr Machata <pmachata@redhat.com>
11417
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.
11422
0948c3af
L
114232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11424
11425 [BZ #14545]
11426 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11427 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11428 freeing dtv[-1].
11429
a5055ad1
L
114302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11431
11432 [BZ #14544]
11433 * Makeconfig (link-static-before-libc): Replace $(+prector)
11434 with $(+prectorT).
11435 (link-static-after-libc): Replace $(+postctor) with
11436 $(+postctorT).
11437 (link-bounded): Replace $(+prector)/$(+postctor) with
11438 $(+prectorT)/$(+postctorT).
11439 (+prectorT): New macro.
11440 (+postctorT): Likewise.
11441
ed8c2ecd
JM
114422012-09-06 Joseph Myers <joseph@codesourcery.com>
11443
11444 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11445 (round_str): Handle values above the maximum for IBM long double
11446 as inexact.
11447 * stdlib/tst-strtod-round.c (tests): Regenerated.
11448
14c996c8
AK
114492012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11450
11451 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11452 assembler flag.
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
11458 for zarch.
11459
430d6ce6
DM
114602012-09-05 David S. Miller <davem@davemloft.net>
11461
11462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11463
ff04dda4
DM
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
11468 entries.
11469
24d4e01b
AO
114702012-09-05 Alexandre Oliva <aoliva@redhat.com>
11471
11472 * malloc/arena.c: Fold copyright years.
11473 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11474
61d58174
AO
114752012-09-05 Alexandre Oliva <aoliva@redhat.com>
11476
11477 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11478
20196a5e
AO
114792012-09-05 Alexandre Oliva <aoliva@redhat.com>
11480
11481 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11482
5c447383
AO
114832012-09-05 Alexandre Oliva <aoliva@redhat.com>
11484
11485 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11486 change internal state upon failure.
11487
fad64255
AO
114882012-09-05 Alexandre Oliva <aoliva@redhat.com>
11489
11490 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11491 * malloc/memusage.c (mmap): Likewise.
11492 (mmap64, mremap): Likewise. Adjust name in comment.
11493
1ffb8c90
SP
114942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11495
11496 * libio/fileops.c: Fix typos in comments.
11497 * libio/oldfileops.c: Likewise.
11498 * libio/wfileops.c: Likewise.
11499
6ef9cc37
SP
115002012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11501
11502 [BZ #1349]
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
11506 requested size.
11507 * malloc/malloc.c (musable): Use malloc_check_get_size.
11508 * malloc/tst-malloc-usable.c: New test case.
11509
4d038ae3
AS
115102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11511
11512 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11513
c4e85184
AM
115142012-09-05 Allan McRae <allan@archlinux.org>
11515
b9dafc56 11516 [BZ #13966]
c4e85184
AM
11517 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11518 determine header location.
11519 * configure: Regenerated.
11520
e1343020
AS
115212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11522
11523 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11524 float format.
11525 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11526 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11527 format.
e1343020
AS
11528 (test): Regenerate.
11529
0a9f1987
DM
115302012-09-04 David S. Miller <davem@davemloft.net>
11531
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.
11535
29237804
FW
115362012-09-04 Florian Weimer <fweimer@redhat.com>
11537
11538 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11539 failures.
11540
edb3cb88
FW
11541 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11542
60160d83
JM
115432012-09-04 Joseph Myers <joseph@codesourcery.com>
11544
11545 [BZ #9914]
11546 * libio/iogetdelim.c: Include <limits.h>.
11547 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11548 + len + 1 would overflow.
11549
bcd6c8dc
AJ
115502012-09-03 Andreas Jaeger <aj@suse.de>
11551
11552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11553 * sysdeps/i386/fpu/libm-test-ulps: Update.
11554
4ffffbd2
LD
115552012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11556
11557 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11558 Add s_sinf-sse2, s_conf-sse2.
11559
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.
11564
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.
11571
11572 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11573 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11574
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.
11578
11579 * math/libm-test.inc (cos_test): Add more test cases.
11580 (sin_test): Likewise.
11581 (sincos_test): Likewise.
11582
511fa286
AK
115832012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11584
11585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11586 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11587 hidden.
11588 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11589
5f30cfec
L
115902012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11591
11592 [BZ #14538]
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 ().
11597
0786794f
AM
115982012-09-01 Allan McRae <allan@archlinux.org>
11599
5f30cfec
L
11600 [BZ #13412]
11601 * configure.in (AWK): Require gawk version 3.0 or later.
11602 * configure: Regenerated.
0786794f 11603
26889eac
JM
116042012-09-01 Joseph Myers <joseph@codesourcery.com>
11605
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
11612 conditionals.
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
11623 conditional code.
11624 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11625 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11626
d22e28b0
L
116272012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11628
11629 [BZ #14476]
11630 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11631 scripts/test-installation.pl.
11632
11633 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11634 and $ld_so_version if it is set.
11635
050af9c4
SP
116362012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11637
11638 [BZ #14516]
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.
11642
ad845c0b
JM
116432012-08-27 Joseph Myers <joseph@codesourcery.com>
11644
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):
11671 Remove.
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.
11677
5dbf56af
MF
116782012-08-27 Mike Frysinger <vapier@gentoo.org>
11679
11680 [BZ #5400]
11681 * NEWS: Add fixed bug number.
11682
d6e70f43
JM
116832012-08-27 Joseph Myers <joseph@codesourcery.com>
11684
7efb4737
JM
11685 [BZ #14519]
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.
11690
af92131a
JM
11691 [BZ #3479]
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
11699 unconditionally.
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
11715 unconditional.
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.
11727
d6e70f43
JM
11728 [BZ #14459]
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.
11742
1f529f7d
MP
117432012-08-25 Marek Polacek <polacek@redhat.com>
11744
11745 * time/time.h: Fix some typos in comments.
11746
59a629f1
RM
117472012-08-23 Roland McGrath <roland@hack.frob.com>
11748
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.
11752
d3bafbc9
SM
117532012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
11754
11755 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
11756 (EF_ARM_ABI_FLOAT_HARD): Likewise.
11757
4efcc022
JM
117582012-08-23 Joseph Myers <joseph@codesourcery.com>
11759
11760 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
11761 #include of fxstatat64.c.
11762
3cc3ef96
RM
117632012-08-22 Roland McGrath <roland@hack.frob.com>
11764
f04e2132
RM
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.
11804
c53d909c
RM
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.
11812
3cc3ef96
RM
11813 [BZ# 13696]
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):
11827 Variables removed.
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
11843 [USE_NSCD].
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.
11849
07e51550
DL
118502012-08-22 Dmitry V. Levin <ldv@altlinux.org>
11851
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.
11855
35a5b08b
RM
118562012-08-22 Roland McGrath <roland@hack.frob.com>
11857
11858 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
11859 Conditionalize whole body on [IREL].
11860
8479f23a
JL
118612012-08-22 Jeff Law <law@redhat.com>
11862
11863 [BZ #14505]
11864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
11865 if the family is PF_UNSPEC.
11866
48da0b21
MF
118672012-08-22 Mike Frysinger <vapier@gentoo.org>
11868
11869 * Makerules (lib-version): Rename from V.
11870 (install-lib-nosubdir): Change V to lib-version.
11871
15d0da8c
WS
118722012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
11873
11874 [BZ #14252]
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.
11881
bcca0895
MK
118822012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11883
11884 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
11885 (two_way_short_needle): Use it.
5a4aaa33
RM
11886 * string/strstr.c (AVAILABLE1_USES_J): Define.
11887 * string/strcasestr.c: Likewise.
99677e57
MK
11888
11889 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
11890 array references.
11891 * string/strcasestr.c (TOLOWER): Make side-effect safe.
11892
400726de
MK
11893 [BZ #11607]
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.
11902
20a71f2c
MK
119032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
11904
11905 [BZ #11607]
11906 * string/str-two-way.h (two_way_short_needle): Optimize matching of
11907 the first character.
11908
21ad0558
RM
119092012-08-21 Roland McGrath <roland@hack.frob.com>
11910
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.
11914
0e1d9911
JM
119152012-08-21 Joseph Myers <joseph@codesourcery.com>
11916
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
11932 unconditional.
11933 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11934 conditional code.
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
11938 unconditional.
11939 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11940 conditional code.
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
11944 unconditional.
11945 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
11946 conditional code.
11947
14a50c9d
WS
119482012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11949
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.
11953
c0f4faf0
RM
119542012-08-20 Roland McGrath <roland@hack.frob.com>
11955
696da859
RM
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>.
11959
c0f4faf0
RM
11960 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
11961 DSOCAPS to match condition on defining it.
11962
348363b2
JM
119632012-08-20 Joseph Myers <joseph@codesourcery.com>
11964
a35cbf28
JM
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.
11976
445f7ecd
JM
11977 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
11978 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
11979
348363b2
JM
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
11983 unconditional.
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.
11999
bc5bc0e5
AK
120002012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12001
12002 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12003
88d506de
AJ
120042012-08-18 Andreas Jaeger <aj@suse.de>
12005
12006 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12007
493387d2
MF
120082012-08-18 Mike Frysinger <vapier@gentoo.org>
12009
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.
12014
a277af22
MF
120152012-08-18 Mike Frysinger <vapier@gentoo.org>
12016
12017 [BZ #9685]
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.
12023
fdab8fd3
MF
120242012-08-17 Mike Frysinger <vapier@gentoo.org>
12025
12026 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12027
31035e80
MP
120282012-08-17 Marek Polacek <polacek@redhat.com>
12029
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.
12032
3bd9e993
RM
120332012-08-17 Roland McGrath <roland@hack.frob.com>
12034
c91c505f
RM
12035 * configure.in: Add AC_SUBST for sysheaders.
12036 * configure: Regenerated.
12037 * config.make.in (sysheaders): New substituted variable.
12038
7c6f9d53
RM
12039 * sysdeps/unix/mkfifo.c: Moved ...
12040 * sysdeps/posix/mkfifo.c: ... here.
12041 * sysdeps/unix/mkfifoat.c: Moved ...
12042 * sysdeps/posix/mkfifoat.c: ... here.
12043
12044 * sysdeps/unix/utime.c: Moved ...
12045 * sysdeps/posix/utime.c: ... here.
12046
12047 * sysdeps/unix/time.c: Moved ...
12048 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12049 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12050 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12051
12052 * sysdeps/unix/nice.c: Moved ...
12053 * sysdeps/posix/nice.c: ... here.
12054
12055 * sysdeps/unix/alarm.c: Moved ...
12056 * sysdeps/posix/alarm.c: ... here.
12057
3bd9e993
RM
12058 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12059
d1f09384
JL
120602012-08-17 Jeff Law <law@redhat.com>
12061
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.
12071
2ae1ae5c
RM
120722012-08-17 Roland McGrath <roland@hack.frob.com>
12073
c31fdb83
RM
12074 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12075 * sysdeps/unix/syscalls.list: ... here.
12076
a0844057
RM
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.
12083
750c1f2a
RM
12084 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12085 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12086 Macros removed.
12087 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12088 [!NO_THREADS].
12089 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12090 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12091 Likewise.
12092
2ae1ae5c
RM
12093 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12094 __libc_cleanup_push argument.
12095
e66a42f5
RM
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.
4078da3d 12104 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12105
b7c08a66
RM
12106 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12107 last change.
12108
b2e1c562
RM
12109 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12110 [_IO_MTSAFE_IO].
12111 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12112 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12113 New macros.
12114
c75ccd4c
RM
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.
12142
12143 * libio/Makefile: Test [$(libc-reentrant) = yes]
12144 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12145
12146 * Makeconfig
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.
12152
d9195db8
GB
121532012-08-16 Gary Benson <gbenson@redhat.com>
12154
12155 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12156 unmapping the first object in a namespace.
12157
86466cd9
RM
121582012-08-16 Roland McGrath <roland@hack.frob.com>
12159
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.
12173
c3c8283c
JM
121742012-08-16 Joseph Myers <joseph@codesourcery.com>
12175
12176 * stdlib/longlong.h: Update from GCC.
12177
db1ee0a8
RM
121782012-08-16 Roland McGrath <roland@hack.frob.com>
12179
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.
12187
30f69637
CD
121882012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12189
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.
12195
93a78ac4
JM
121962012-08-16 Joseph Myers <joseph@codesourcery.com>
12197
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.
12216
dd924cd7
RM
122172012-08-15 Roland McGrath <roland@hack.frob.com>
12218
4b4f2771
RM
12219 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12220 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12221
601c888b
RM
12222 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12223
176790a7
RM
12224 * elf/dl-sym.c: Include <stdlib.h>.
12225
329bc018
RM
12226 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12227 constants, which avoids warnings in 32-bit builds.
12228
e04e272d
RM
12229 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12230 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12231
952bf94a
RM
12232 * misc/lseek.c: File moved to ...
12233 * io/lseek.c: ... here.
12234
7c99b50a
RM
12235 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12236
dd924cd7
RM
12237 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12238 shifting LEN more than 31 bits at once.
12239
b3f479a8
LD
122402012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12241
12242 [BZ #14195]
8c4ae0d4
RM
12243 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12244 segmentation fault for a case of two empty input strings.
b3f479a8
LD
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.
12249
9c55864e
AJ
122502012-08-15 Andreas Jaeger <aj@suse.de>
12251
12252 [BZ #14090]
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.
12257
02dcb6c5
PE
122582012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12259
12260 [BZ #14090]
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.
12265
a3f95dcc
RM
122662012-08-15 Roland McGrath <roland@hack.frob.com>
12267
be75d758
RM
12268 * string/str-two-way.h: Include <sys/param.h>.
12269 (MAX): Macro removed.
12270
7312ca90
RM
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>.
12274
9a0a5486
RM
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".
12280
67cc348d
RM
12281 * include/dirent.h: Declare __getdirentries.
12282
a3f95dcc
RM
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.
12285
ca98e171
MF
122862012-08-14 Mike Frysinger <vapier@gentoo.org>
12287
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.
12301
5908bf46
RM
123022012-08-14 Roland McGrath <roland@hack.frob.com>
12303
12304 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12305 * elf/dl-lookup.c: Likewise.
5908bf46 12306
f2c05b9e
JM
123072012-08-14 Joseph Myers <joseph@codesourcery.com>
12308
12309 * sysdeps/unix/sysv/linux/kernel-features.h
12310 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12311 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12312 unconditionally.
12313 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12314 unconditionally.
12315 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12316 condition on __ASSUME_CLONE_THREAD_FLAGS.
12317
e11f5155
AJ
123182012-08-14 Andreas Jaeger <aj@suse.de>
12319
12320 * sysdeps/i386/fpu/libm-test-ulps: Update.
12321
51a9ba86
MK
123222012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12323
2fdd4f78
AJ
12324 * include/atomic.h (atomic_exchange_and_add): Split into ...
12325 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12326 New atomic macros.
51a9ba86 12327
ba6cba9e
MT
123282012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12329
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12331
42443a47
JL
123322012-08-13 Jeff Law <law@redhat.com>
12333
12334 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12335 null byte in the output string.
12336
121dce05
JM
123372012-08-10 Joseph Myers <joseph@codesourcery.com>
12338
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.
12347
bf51f568
JL
123482012-08-09 Jeff Law <law@redhat.com>
12349
12350 [BZ #13939]
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
12357 arena_get2.
12358 (__libc_malloc): Unify retrying after main arena failure with
12359 __libc_memalign version.
12360 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12361
f85fa270
L
123622012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12363
12364 [BZ #14166]
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
12375 __redirect_time.
12376 Include <time.h>.
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.
12391
33b4a91e
MS
123922012-08-08 Mark Salter <msalter@redhat.com>
12393
12394 * elf/elf.h
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.
12407
b36137f1
JM
124082012-08-08 Joseph Myers <joseph@codesourcery.com>
12409
12410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12411 Remove.
12412
cdd915fd
RM
124132012-08-08 Roland McGrath <roland@hack.frob.com>
12414
a2433aac
RM
12415 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12416
cdd915fd
RM
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.
12420
bf9b740a
AM
124212012-08-07 Allan McRae <allan@archlinux.org>
12422
12423 [BZ #14303]
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
12427 not found.
12428 (open_input): Call CPP using execvp.
12429
93df14ee
JM
124302012-08-07 Joseph Myers <joseph@codesourcery.com>
12431
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
12441 conditional code.
12442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12443 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12444 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12445 code.
12446 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12447 unconditional.
12448 [__ASSUME_WAITID_SYSCALL]: Likewise.
12449 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12450
d34689de
RM
124512012-08-07 Roland McGrath <roland@hack.frob.com>
12452
a281decc
RM
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.
12477
22895b47
RM
12478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12479 * bits/fcntl.h: ... here.
12480
707a53b6
RM
12481 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12482 not 0.
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].
12495
f0bd3e25
RM
12496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12497 * bits/dirent.h: ... here.
12498
d34689de
RM
12499 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12500 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12501
6dad2c06
JM
125022012-08-07 Joseph Myers <joseph@codesourcery.com>
12503
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
12510 version.
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.
12523
03af9520
RM
125242012-08-06 Roland McGrath <roland@hack.frob.com>
12525
8e49df1d
RM
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.
12555
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.
12568
03af9520
RM
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.
12605
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.
12616
c5757acd
L
126172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12618
12619 * stdlib/secure-getenv.c (__secure_getenv): Replace
12620 GLIBC_2_16 with GLIBC_2_17.
12621
3a31811e
L
126222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12623
12624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12625 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12626
faa2bccb
DM
126272012-08-03 David S. Miller <davem@davemloft.net>
12628
12629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12630
85fe1997
JM
126312012-08-03 Joseph Myers <joseph@codesourcery.com>
12632
12633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12634 Remove.
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.
12644
4f75b7a0
RM
126452012-08-03 Roland McGrath <roland@hack.frob.com>
12646
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.
12652
12653 * sysdeps/generic/eloop-threshold.h: New file.
12654 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12655 of MAXSYMLINKS.
12656 * elf/chroot_canon.c (chroot_canon): Likewise.
12657
7aab07e4
JM
126582012-08-03 Joseph Myers <joseph@codesourcery.com>
12659
12660 [BZ #13717]
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
12667 kernel versions.
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
12674 i386.
12675 (__ASSUME_UTIMES): Likewise.
12676 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12677 kernel version.
12678 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12679 (__ASSUME_TMPFS_NAME): Likewise.
12680 * README: Update reference to Linux kernel versions.
12681
b67e9372
MP
126822012-08-02 Marek Polacek <polacek@redhat.com>
12683
1f529f7d 12684 [BZ# 14150]
b67e9372
MP
12685 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12686 libc_cv_asm_type_prefix with %.
12687 * configure: Regenerated.
d2441631
RM
12688 * include/libc-symbols.h: Remove comment about
12689 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
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.
d2441631
RM
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12708 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 12709 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
12710 * sysdeps/powerpc/powerpc32/sysdep.h:
12711 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
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.
12764
2747bf9a
RM
127652012-08-01 Roland McGrath <roland@hack.frob.com>
12766
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.
12775
3fb791b8
MP
127762012-08-01 Marek Polacek <polacek@redhat.com>
12777
12778 * libc/Makeconfig: Use elf in place of binfmt-subdir.
12779 Use dlfcn directly instead of a variable.
12780 (binfmt-subdir): Do not define.
12781 (dlfcn): Likewise.
12782
a9f1039f
JM
127832012-08-01 Joseph Myers <joseph@codesourcery.com>
12784
23bddc06
JM
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
12792 macro definition.
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.
12801
a9f1039f
JM
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.
12816
09c0ee5f
RM
128172012-08-01 Roland McGrath <roland@hack.frob.com>
12818
48aec5b9
RM
12819 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
12820 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
12821
cd97c966
RM
12822 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12823 Define mkstemp64 as an alias.
3f55550c
RM
12824 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12825 Define mkstemps64 as an alias.
cd97c966
RM
12826 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12827 Define mkostemp64 as an alias.
b8625cfc
RM
12828 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
12829 Define mkostemps64 as an alias.
cd97c966
RM
12830 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
12831 Conditionalize body on this.
12832 * misc/mkostemp64.c: Likewise.
b8625cfc 12833 * misc/mkostemps64.c: Likewise.
3f55550c 12834 * misc/mkstemps64.c: Likewise.
cd97c966
RM
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.
12843
09c0ee5f
RM
12844 [BZ #14138]
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.
12849
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.
12855
7e66ee51
FW
128562012-08-01 Florian Weimer <fweimer@redhat.com>
12857
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):
12862 Likewise.
12863 * WUR-REPORT: Remove set*id functions.
12864
d2a54255
PT
128652012-07-31 Pino Toscano <toscano.pino@tiscali.it>
12866
12867 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
12868
7ecdb005
RM
128692012-07-31 Roland McGrath <roland@hack.frob.com>
12870
b4180a5e 12871 [BZ #10191]
789bd351
RM
12872 * include/sys/socket.h (__libc_accept, __libc_accept4):
12873 Add attribute_hidden.
12874 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
12875
40ce302d
RM
12876 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
12877 use of PTR_MANGLE.
12878 * inet/getnetgrent_r.c (setup): Likewise.
12879
7ecdb005
RM
12880 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
12881
e2eabb2c
DM
128822012-07-31 David S. Miller <davem@davemloft.net>
12883
12884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12885
d0419dbf
JM
128862012-07-31 Joseph Myers <joseph@codesourcery.com>
12887
12888 [BZ #13629]
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
12891 than 1.0.
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.
12901
2bc13872
FW
129022012-07-31 Florian Weimer <fweimer@redhat.com>
12903
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.
12907
bea9b193
RM
129082012-07-30 Roland McGrath <roland@hack.frob.com>
12909
12910 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
12911 rather than to 1.
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.
12918
12919 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
12920 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
12921
12922 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
12923 definition on [!__NO_LONG_DOUBLE_MATH].
12924
12925 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
12926 PTR_MANGLE and PTR_DEMANGLE.
12927
12928 * socket/accept4.c (accept4): Rename to __libc_accept4.
12929 Define accept4 as a weak alias.
12930
12931 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
12932 on [_DIRENT_HAVE_D_TYPE].
12933 * io/ftw.c (ftw_dir): Likewise.
12934
12935 * io/xmknod.c (__xmknod): Don't check PATH for being null.
12936
12937 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
12938
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.
12944 (_NSIG): Now 32.
12945
12946 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
12947 initializer on [_LIBC_REENTRANT].
12948
12949 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
12950 definitions inside [_POSIX_MAPPED_FILES].
12951
12952 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
12953
12954 * dirent/opendir.c: Include <fcntl.h>.
12955
12956 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
12957 (__libc_getspecific): Likewise.
12958 (__libc_key_create): Likewise.
12959
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.
12968
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>.
12981
12982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
12983 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
12984
12985 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
12986 [HAVE_MMAP].
12987
12988 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
12989 Add multiple inclusion protection.
12990
e5abc686
DM
129912012-07-27 David S. Miller <davem@davemloft.net>
12992
12993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12994
815e6fa3
GB
129952012-07-27 Gary Benson <gbenson@redhat.com>
12996
12997 [BZ #14298]
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
13011 "unmap_complete".
13012 * elf/rtld-debugger-interface.txt: New file documenting the above.
13013
9f98c16c
RM
130142012-07-26 Roland McGrath <roland@hack.frob.com>
13015
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.
13020
f3c22df3
PT
130212012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13022
13023 * inet/check_native.c: New file.
13024
3129cfc6
JM
130252012-07-26 Joseph Myers <joseph@codesourcery.com>
13026
da865e95
JM
13027 [BZ #13629]
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.
13039
3129cfc6
JM
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
13046 tst-audit.h.
13047 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13048 macro.
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
13054 macro.
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
13060 macro.
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
13066 macro.
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
13072 macro.
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
13078 macro.
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.
13094
bfc07087
AJ
130952012-07-26 Andreas Jaeger <aj@suse.de>
13096
b1b2aaf8
AJ
13097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13098 ptrace.
13099
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
13103 PTRACE_O_MASK.
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.
13107
bfc07087
AJ
13108 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13109 value.
13110
13111 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13112 _sigsys.
13113 (si_call_addr, si_syscall, si_arch): Define new macro.
13114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13115 _sigsys.
13116 (si_call_addr, si_syscall, si_arch): Define new marcro.
13117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13118 _sigsys.
13119 (si_call_addr, si_syscall, si_arch): Define new macro.
13120 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13121 _sigsys.
13122 (si_call_addr, si_syscall, si_arch): Define new macro.
13123
89b4b02f
JM
131242012-07-25 Joseph Myers <joseph@codesourcery.com>
13125
13126 [BZ #13717]
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
13135 kernel version.
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):
13144 Remove.
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
13151 code.
13152 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13153 Remove conditional code.
13154 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13155 code.
13156 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13157 unconditional.
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):
13161 Remove.
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
13170 code.
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
13175 conditional code.
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
13179 code.
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13181 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13182 conditional code.
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
13187 conditional code.
13188 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13189 unconditional.
13190 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13191 conditional code.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13193 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13194 unconditional.
13195 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13196 conditional code.
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
13201 conditional code.
13202 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13203 unconditional.
13204 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13205 conditional code.
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
13210 conditional code.
13211 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13212 unconditional.
13213 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13214 conditional code.
13215
842a39cd
AS
132162012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13217
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.
13241
84b3fd84
FW
132422012-07-25 Florian Weimer <fweimer@redhat.com>
13243
13244 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
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.
0c7936d5
FW
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.
84b3fd84
FW
13253 * stdlib/tst-secure-getenv.c: New.
13254 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13255 * manual/startup.texi (Environment Access): Document
13256 secure_getenv.
84b3fd84
FW
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.
0c7936d5 13262 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
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
0c7936d5 13267 __secure_getenv to __libc_secure_getenv.
84b3fd84 13268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13270 Likewise.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13272 Likewise.
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.
84b3fd84 13280
56e49b71
JM
132812012-07-25 Joseph Myers <joseph@codesourcery.com>
13282
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
13304 pltexit members.
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.
13311
354691b7
MP
133122012-07-25 Marek Polacek <polacek@redhat.com>
13313
13314 [BZ #6808]
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.
13322
bf9e2071
JM
133232012-07-24 Joseph Myers <joseph@codesourcery.com>
13324
13325 * conform/data/time.h-data (NULL): Use macro-constant. Require
13326 equal to 0.
13327 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13328 clock_t.
13329 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13330
57633811
TS
133312012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13332
13333 * configure.in <sysdeps resolving>: Correct printing
13334 Implies_before.
13335 * configure: Regenerate.
13336
c23c33b0
TS
133372012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13338
13339 * math/w_ilogb.c: Include <limits.h>.
13340 * math/w_ilogbl.c: Likewise.
13341
b5982523
JM
133422012-07-20 Joseph Myers <joseph@codesourcery.com>
13343
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.
13349
ac4ea442
PT
133502012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13351
13352 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13353 (__sendto): Use create_address_port. Initialize APORT and deallocate
13354 it if not null.
13355
f98eafbd
PT
13356 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13357 with O_NOLINK passed to __file_name_lookup.
13358
898c7aab
PT
13359 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13360 with O_NOLINK passed to __file_name_lookup.
13361
0ced335a
PT
13362 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13363 negative N or less than NGIDS.
13364
b3404dbd
PT
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.
13368
0f48659e
JM
133692012-07-20 Joseph Myers <joseph@codesourcery.com>
13370
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:
13381 ... here.
13382 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13384 ... here.
13385 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13387 ... here.
13388 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13390 ... here.
13391 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13393 ... here.
13394 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13396 ... here.
13397
d37cbdaa
AZ
133982012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13399
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.
13404
46f85fc2
AK
134052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13406
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.
13419
08f43f9b
AK
134202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13421
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.
13445
3b05db33
MP
134462012-07-17 Marek Polacek <polacek@redhat.com>
13447
13448 [BZ #14349]
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.
13465
a66877c6
MP
13466 * elf/dl-open.c: Comment fixes.
13467
cfc82fd8
JM
134682012-07-17 Joseph Myers <joseph@codesourcery.com>
13469
bd29910a
JM
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:
13482 ... here.
13483 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13485 ... here.
13486 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13488 ... here.
13489 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13491 ... here.
13492 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13494 ... here.
13495 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13497 ... here.
13498 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13500 ... here.
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.
13503
cfc82fd8
JM
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.
13517
f7db3170
TS
135182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13519
07cbfc23
TS
13520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13521 zero value for regular exit case.
13522
f7db3170
TS
13523 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13524 (__start_context): Preserve zero value for regular exit case.
13525
dc97c227
TS
135262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13527 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13528
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
13532 exit call.
13533
d0cd7d02
AS
135342012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13535
13536 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13537 preprocessor. Test for each exception mask separately.
13538
dd318934
AJ
135392012-07-16 Andreas Jaeger <aj@suse.de>
13540
13541 * po/ru.po: Update from translation team.
13542
8048311a
JM
135432012-07-15 Joseph Myers <joseph@codesourcery.com>
13544
13545 * conform/data/string.h-data (NULL): Use macro-constant. Require
13546 equal to 0.
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.
13552
b637d46e
AJ
135532012-07-13 Andreas Jaeger <aj@suse.de>
13554
13555 * po/fr.po: Update from translation team.
13556
541428fe
MP
135572012-07-12 Marek Polacek <polacek@redhat.com>
13558
13559 [BZ #14173]
13560 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13561 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13562 loop condition.
13563
ec332e94
JM
135642012-07-12 Joseph Myers <joseph@codesourcery.com>
13565
13566 [BZ #13717]
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
13572 version.
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
13580 unconditionally.
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.
13585
7b6e99be
JB
135862012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13587
13588 [BZ #14307]
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).
13599
608404eb
AJ
136002012-07-11 Andreas Jaeger <aj@suse.de>
13601
13602 * po/fr.po: Update from translation team.
13603
71220aca
AJ
13604 * po/sv.po: Update from translation team
13605 * po/fr.po: Another update from translation team.
13606
28cfe843
AZ
136072012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13608
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.
13613
6b90f981
DM
136142012-07-11 David S. Miller <davem@davemloft.net>
13615
13616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13617
c6825772
AS
136182012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13619
13620 [BZ #14347]
13621 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13622 (INTERNAL_MARK): Shift it here.
13623
7b8e0d49
MP
136242012-07-10 Marek Polacek <polacek@redhat.com>
13625
13626 [BZ #14151]
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
13631 with .globl.
13632 * sysdeps/i386/configure: Regenerated.
13633 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13634 with .globl.
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.
13663
6c55cda3
RM
136642012-07-09 Roland McGrath <roland@hack.frob.com>
13665
13666 [BZ #14336]
13667 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13668 system".
13669 * manual/message.texi (The Uniforum approach): Likewise.
13670 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13671 (glibc iconv Implementation): Likewise.
13672
638a572e
JM
136732012-07-09 Joseph Myers <joseph@codesourcery.com>
13674
13675 [BZ #14337]
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.
13687
261f4859
AS
136882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13689
0abaf3e4
AS
13690 [BZ #14283]
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.
13693
261f4859
AS
13694 [BZ #14042]
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.
13700
f17ac40d
JM
137012012-07-06 Joseph Myers <joseph@codesourcery.com>
13702
9ad63c23
JM
13703 [BZ #14154]
13704 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
13705 approximation for values within 0x1p-13f of an odd multiple of
13706 pi/4.
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.
13710
f17ac40d
JM
13711 [BZ #6778]
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
13721 define.
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.
13729
fb21f89b
MF
137302012-07-06 Mike Frysinger <vapier@gentoo.org>
13731
13732 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
13733
cdfe2c5e
JM
137342012-07-05 Joseph Myers <joseph@codesourcery.com>
13735
13736 [BZ #14157]
13737 [BZ #14331]
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.
13747
70d35b67
AS
137482012-07-04 Andreas Schwab <schwab@linux-m68k.org>
13749
704bc459
AS
13750 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
13751 xopen-msg.sed.
13752 * catgets/xopen-msg.awk: New file.
13753 * catgets/xopen-msg.sed: Removed.
13754
70d35b67
AS
13755 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
13756 po2text.sed.
13757 * intl/po2test.awk: New file.
13758 * intl/po2test.sed: Removed.
13759
ca61cf32
JM
137602012-07-04 Joseph Myers <joseph@codesourcery.com>
13761
13762 [BZ #14328]
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.
13781
ca48a46a
MF
137822012-07-03 Mike Frysinger <vapier@gentoo.org>
13783
13784 * .gitignore: Delete /ports entry.
13785
9d63d37d
AJ
137862012-07-03 Andreas Jaeger <aj@suse.de>
13787
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.
13795
370ca3d2
JM
137962012-07-03 Joseph Myers <joseph@codesourcery.com>
13797
95f5a9a8
JM
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.
13844
7a845b2c
JM
13845 [BZ #14283]
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.
13853
e2283f38
JM
13854 [BZ #14273]
13855 * math/libm-test.inc (cosh_test): Add more tests.
13856
370ca3d2
JM
13857 * version.h (RELEASE): Set to "development".
13858 (VERSION): Set to "2.16.90".
13859
ee9247c3
CD
138602012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
13861
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.
13865
4648c381
TS
138662012-06-28 Thomas Schwinge <thomas@codesourcery.com>
13867
13868 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
13869
aac78a43
AJ
138702012-06-27 Andreas Jaeger <aj@suse.de>
13871
13872 * manual/contrib.texi (Contributors): Add Samuel Thibault.
13873
ed3dbfad
AJ
138742012-06-25 Andreas Jaeger <aj@suse.de>
13875
13876 * sysdeps/s390/fpu/libm-test-ulps: Update.
13877
4d0ee855
AS
138782012-06-23 Andreas Schwab <schwab@linux-m68k.org>
13879 Thomas Schwinge <thomas@codesourcery.com>
13880
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
13884 fanotify_mark.
13885
af1bce34
TS
138862012-06-23 Thomas Schwinge <thomas@codesourcery.com>
13887
a9fa33ba
TS
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.
13892
58f902b8
TS
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):
13898 Likewise.
13899
1518f58b
TS
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.
13903
db9b5059
TS
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.
13910
967705fe
TS
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.
13914
a9def8c4
TS
13915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
13916 initialize the GOT register before use.
13917
2a649725
TS
13918 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
13919 calculation of ARGC > 4.
13920
af1bce34
TS
13921 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
13922 meaningful names to some local labels.
13923
d230f50a
KK
139242012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13925 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13926
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.
13936
0479b305
AS
139372012-06-22 Andreas Schwab <schwab@redhat.com>
13938
13939 [BZ #13579]
13940 * include/link.h (struct link_map): Add l_free_initfini.
13941 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
13942 l_initfini.
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
13946 set.
13947
0e3933b9
CD
139482012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
13949
13950 * configure.in: Use AC_LANG_SOURCE.
13951 * configure: Regenerate.
13952
4248b1b1
RM
139532012-06-22 Roland McGrath <roland@hack.frob.com>
13954
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.
13963
006dd861
JL
139642012-06-21 Jeff Law <law@redhat.com>
13965
13966 [BZ #14277]
13967 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
13968 free. Simplify list management for _LIBC case.
13969
79662d42
JM
139702012-06-21 Joseph Myers <joseph@codesourcery.com>
13971
b7abb4bf
JM
13972 [BZ #14273]
13973 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13974 Clear sign bit of 64-bit integer value before comparing against
13975 overflow value.
13976
79662d42
JM
13977 * sysdeps/mach/configure: Regenerated.
13978
1f150908
L
139792012-06-21 H.J. Lu <hongjiu.lu@intel.com>
13980
13981 [BZ #14278]
13982 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
13983
28363bbf
JL
139842012-06-21 Jeff Law <law@redhat.com>
13985
13986 [BZ #13882]
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.
80784193 13989 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
13990 * elf/dl-open.c (dl_open_worker): Likewise.
13991
09615db4
CD
139922012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
13993
13994 * scripts/list-sources.sh: Scan PORTS for translations.
13995 * po/libc.pot: Regenerated.
13996
2174c6dd
AJ
139972012-06-21 Andreas Jaeger <aj@suse.de>
13998
13999 [BZ #12194]
14000 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14001 warning.
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.
14005
3ee947b1
L
140062012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14007
14008 [BZ #14117]
a2f34833
L
14009 * sysdeps/i386/fpu_control.h: Removed.
14010 * sysdeps/x86_64/fpu_control.h: Moved to ...
14011 * sysdeps/x86/fpu_control.h: Here.
14012
3ee947b1
L
14013 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14014 (_FPU_SETCW): Likewise.
14015
ed1825f8
L
140162012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14017
25f1282a
L
14018 [BZ #14117]
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.
14022
ed1825f8
L
14023 [BZ #14050]
14024 [BZ #14117]
14025 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14026 functions if __x86_64__ is defined.
14027
36d54b74
CLT
140282012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14029
14030 * string/endian.h: Add !__ASSEMBLER__ condition for including
14031 conversion interfaces.
14032
10285c21
JM
140332012-06-15 Joseph Myers <joseph@codesourcery.com>
14034
14035 [BZ #14241]
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
14038 integers.
14039 * math/libm-test.inc (pow_test): Add more tests.
14040
06c5abbd
AJ
140412012-06-15 Andreas Jaeger <aj@suse.de>
14042
14043 * manual/contrib.texi (Contributors): Update entry of Liubov
14044 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14045 Machado Filho.
14046
a3aeac40
CH
140472012-06-15 Cyril Hrubis <metan@ucw.cz>
14048
14049 * string/string.h: Add __wur to GNU version of strerror_r.
14050
49bdf4c1
L
140512012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14052
14053 [BZ #14229]
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.
14058
834f9b8d
RM
140592012-06-14 Roland McGrath <roland@hack.frob.com>
14060
14061 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14062
75fa1921
JM
140632012-06-14 Joseph Myers <joseph@codesourcery.com>
14064
14065 * libm_test.inc (csqrt_test): Allow more spurious underflow
14066 exceptions.
14067 (j0_test): Likewise.
14068 (j1_test): Likewise.
14069 (y0_test): Likewise.
14070 (y1_test): Likewise.
14071
771766df
CD
140722012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14073
14074 * po/Makefile (libc.pot): Use UTF-8 charset.
14075
ceb9e56b
PP
140762012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14077
14078 [BZ #14210]
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.
14084
ddb28975
L
140852012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 [BZ #14050]
14088 [BZ #14117]
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.
14095 (lrint): Likewise.
14096 (llrintf): Likewise.
14097 (llrint): Likewise.
14098 (fmaxf): Likewise.
14099 (fmax): Likewise.
14100 (fminf): Likewise.
14101 (fmin): Likewise.
14102 (rint): Likewise.
14103 (rintf): Likewise.
14104 (ceil): Likewise.
14105 (ceilf): Likewise.
14106 (floor): Likewise.
14107 (floorf): Likewise.
14108 (nearbyint): Likewise.
14109 (nearbyintf): Likewise.
14110
d7b4fb26
TS
141112012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14112
14113 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14114 non-default versions.
14115
eb55f5c2
RM
141162012-06-11 Roland McGrath <roland@hack.frob.com>
14117
14118 [BZ #14218]
14119 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14120
366af02c
TS
141212012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14122
99ff6e5c
TS
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.
14127
366af02c
TS
14128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14129 reading it.
14130 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14131 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14132
793ea851
KK
141332012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14134
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.
14139
a728a38f
L
141402012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 [BZ #14117]
c08010c7
L
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.
14148
a728a38f
L
14149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14150 __SSE_MATH__.
14151
6e230d11
SP
141522012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14153
14154 [BZ #14134]
14155 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14156 character 0xffff that matches the last element of the
14157 conversion table.
14158
1b671feb
AZ
141592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14160
14161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14162 fmodl commit.
14163
6043738b
AZ
141642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14165
14166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14167 values higher than 25.6283.
14168
34ae0b32
AZ
141692012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14170
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.
14175
1214ec8f
MF
141762012-06-04 Mike Frysinger <vapier@gentoo.org>
14177
14178 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14179 cpu2 is -1 and errno is not ENOSYS.
14180
f3d1f93c
L
141812012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14182
14183 [BZ #14117]
0e4a3cd7
L
14184 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14185 * sysdeps/x86/bits/string.h: This.
14186 * sysdeps/x86_64/bits/string.h: Removed.
14187
6704c645
L
14188 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14189 if not compiling for x86-64, but compiling for >= i486.
14190
48495318
L
14191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14192 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14193
14adcbfc
L
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.
14203
68e408ab
L
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.
14210
f3d1f93c
L
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.
14217
d9dc34cd
TMQMF
142182012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14219
14220 [BZ #13743]
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.
14231
4af3879c
SP
142322012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14233 Jakub Jelinek <jakub@redhat.com>
14234
14235 [BZ #14188]
14236 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14237 where __builtin_expect is unavailable.
14238
2fd6ff13
DM
142392012-06-03 David S. Miller <davem@davemloft.net>
14240
14241 * stdlib/longlong.h: Updated from GCC.
14242
173f7220
AS
142432012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14244
14245 [BZ #14042]
14246 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14247 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14248 __mcount_internal.
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14250 (GLIBC_2.16): Likewise.
14251
f34a1c6f
L
142522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14253
14254 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14255
88a4576f
JM
142562012-06-01 Joseph Myers <joseph@codesourcery.com>
14257
ea32bcdd
JM
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
14262 variable.
14263 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14264 Likewise.
14265 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14266 Likewise.
14267 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14268 Likewise.
14269
88a4576f
JM
14270 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14271 definition. Document in comment.
14272
402fe938
DM
142732012-06-01 David S. Miller <davem@davemloft.net>
14274
14275 * stdlib/longlong.h: Updated from GCC.
14276
3553723f
L
142772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14278
14279 [BZ #14117]
3bd872c4
L
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
14285 sys/io.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.
14292
3553723f
L
14293 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14294 Define only if __x86_64__ is defined.
14295
4842e4fe
JM
142962012-06-01 Joseph Myers <joseph@codesourcery.com>
14297
c5bfe3d5
JM
14298 [BZ #14048]
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.
14302
4842e4fe
JM
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.
14310
efb73488
AJ
143112012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14312
14313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14314 computation is not scheduled after fetestexcept.
14315
29bcce7c
L
143162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14317
14318 [BZ #14117]
14319 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14320 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14321
73a68f94
AZ
143222012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14323
14324 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14325 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14326
67b6df78
L
143272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14328
edf2933a 14329 [BZ #14117]
ebc64a18
L
14330 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14331 <bits/wordsize.h>.
14332 (__WCHAR_MIN): Support __WORDSIZE == 64.
14333 (__WCHAR_MAX): Likewise.
14334
edf2933a
L
14335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14337
57c6cf40
L
14338 [BZ #14183]
14339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14340 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14341
67b6df78 14342 [BZ #14117]
8eb6281e
L
14343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14345
aac639f4
L
14346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14347 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14348
67b6df78
L
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.
14355
1c2cfe81
DM
143562012-05-31 David S. Miller <davem@davemloft.net>
14357
14358 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14359 entries.
14360
5be8418c
AS
143612012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14362
e7725326
AS
14363 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14364 gen-libm-test.pl.
14365
5be8418c
AS
14366 [BZ #14132]
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.
14384
507352f1
MT
143852012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14386
14387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14388 bits/sysctl.h.
14389
42bbb1c3
L
143902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14391
14392 [BZ #14117]
6bd784b6
L
14393 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14394 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14395
8bca20f0
L
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.
14402
f9e890a9
L
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.
14406
471101a1
L
14407 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14408 with __addr.
14409 (insw): Likewise.
14410 (insl): Likewise.
14411 (outsb): Likewise.
14412 (outsw): Likewise.
14413 (outsl): Likewise.
14414
6451c862
L
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.
14418
a254b8c9
L
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.
14425
b8dfdd92
L
14426 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14427 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14428
578cd270
L
14429 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14430 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14431
de662f5f
L
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.
14435
25653439
L
14436 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14437 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14438 to ...
14439 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14440
6bad24a0
L
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.
14444
42bbb1c3
L
14445 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14446 for x86-64.
14447 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14448
2d10d547
JM
144492012-05-31 Joseph Myers <joseph@codesourcery.com>
14450
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.
14456 (M_PIl): 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.
14464
f230c29b
DM
144652012-05-31 David S. Miller <davem@davemloft.net>
14466
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.
14471
fed806c3
MF
144722012-05-31 Mike Frysinger <vapier@gentoo.org>
14473
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.
14481
30917259
MP
144822012-05-31 Marek Polacek <polacek@redhat.com>
14483
14484 [BZ #14132]
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.
14490
1c58d5dc
DM
144912012-05-30 David S. Miller <davem@davemloft.net>
14492
14493 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14494 (___Q_simulate_exceptions): Use real FP ops rather than writing
14495 into the %fsr.
14496 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14497 Likewise.
14498
7dc00e0d
L
144992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14500
14501 [BZ #14117]
0bd53985
L
14502 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14503 * sysdeps/x86/bits/xtitypes.h: This.
14504
3a257e66
L
14505 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14506 * sysdeps/x86/bits/wordsize.h: This.
14507
62f62904
L
14508 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14509 * sysdeps/x86/bits/huge_vall.h: This.
14510
404fe9d9
L
14511 * sysdeps/i386/bits/select.h: Removed.
14512 * sysdeps/x86_64/bits/select.h: Renamed to ...
14513 * sysdeps/x86/bits/select.h: This.
14514
d48d0446
L
14515 * sysdeps/i386/bits/setjmp.h: Removed.
14516 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14517 * sysdeps/x86/bits/setjmp.h: This.
14518
7dc00e0d
L
14519 * sysdeps/i386/bits/mathdef.h: Removed.
14520 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14521 * sysdeps/x86/bits/mathdef.h: This.
14522
03277f8f
AS
145232012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14524
14525 [BZ #14132]
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
14534 alias.
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.
14539
13764867
L
145402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14541
14542 [BZ #14117]
6bd97696
L
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.
14549
f726f0bb
L
14550 * sysdeps/i386/bits/endian.h: Removed.
14551 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14552 * sysdeps/x86/bits/endian.h: This.
14553
13764867
L
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.
14562
ae251b0b
DM
145632012-05-30 David S. Miller <davem@davemloft.net>
14564
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.
14575
d5c90867
L
145762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14577
14578 [BZ #14183]
14579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14580 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14581
63f1549e
RH
145822012-05-30 Richard Henderson <rth@twiddle.net>
14583
8d8f2279
RH
14584 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14585 with #ifndef NOT_IN_libc.
14586
63f1549e
RH
14587 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14588 marked to avoid plt entry.
14589
0ab0291b
L
145902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14591
14592 [BZ #14112]
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
14598 abi-variants.
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
14604 entries.
14605 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14606 Removed.
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):
14618 Removed.
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
14624 macro.
14625 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14626 Renamed to ...
14627 (abi-*): This.
14628 (abi-64-ld-soname): New macro.
14629 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14630 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14631 Renamed to ...
14632 (abi-*): This.
14633 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14634 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14635
4da0431d
JM
146362012-05-30 Joseph Myers <joseph@codesourcery.com>
14637
3a85279c
JM
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.
14664
4da0431d
JM
14665 * configure.in (libc_cv_fpie): Weaken to a compile test using
14666 LIBC_TRY_CC_OPTION.
14667 * configure: Regenerated.
14668
11ef492c
AK
146692012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14670
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:
14675 Refreshed.
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:
14682 Refreshed.
14683
d66ef399
DM
146842012-05-27 David S. Miller <davem@davemloft.net>
14685
14686 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14687 (___Q_zero): New.
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.
14692 (numbers): Delete.
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
14702 formatting.
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
14707 formatting.
14708
04fb54b5
TS
147092012-05-27 Thomas Schwinge <thomas@codesourcery.com>
14710
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.
14724
3f99608f
KK
147252012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14726
14727 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
14728 fields.
14729
65a4de4e
CLT
147302012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
14731
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):
14736 Likewise.
14737 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
14738 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
14739 Likewise.
14740
15749d40
UD
147412012-05-27 Ulrich Drepper <drepper@gmail.com>
14742
14743 * po/h.po: Update from translation team.
14744
25dbcb27
AS
147452012-05-26 Andreas Schwab <schwab@linux-m68k.org>
14746
3d3f8e55
AS
14747 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
14748
25dbcb27
AS
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):
14758 Likewise.
14759
7ad47a80 147602012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
14761
14762 [BZ #14152]
14763 * math/libm-test.inc (fma_test): Don't always expect underflow
14764 exception.
14765
9c6ea9fa
SP
147662012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14767
14768 [BZ #12416]
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.
14772
a8239222
JM
147732012-05-25 Joseph Myers <joseph@codesourcery.com>
14774
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
14778 kernel-features.h.
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
14782 kernel-features.h.
14783 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
14784 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
14785
918b5606
L
147862012-05-25 H.J. Lu <hongjiu.lu@intel.com>
14787
14788 * configure.in: Define the default includes to being none.
14789 * configure: Regenerated.
14790
3a097cc7
RM
147912012-05-25 Roland McGrath <roland@hack.frob.com>
14792
8422c9a5
RM
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.
14801
3a097cc7
RM
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.
14809
21708942
JM
148102012-05-25 Joseph Myers <joseph@codesourcery.com>
14811
14812 [BZ #13717]
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
14950 unconditional.
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
14957 unconditional.
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.
14969
a386f1cc
RH
149702012-05-25 Richard Henderson <rth@twiddle.net>
14971
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
14975 elf_ifunc_invoke.
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.
14979
b6550497
JM
149802012-05-24 Joseph Myers <joseph@codesourcery.com>
14981
14982 [BZ #14153]
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
14986 exception.
14987
b0bc23a1
JL
149882012-05-24 Jeff Law <law@redhat.com>
14989
14990 * stdio-common/Makefile (tests): Add bug25.
14991 * stdio-common/bug25.c: New test.
14992
347c92e9
L
149932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
14994
14995 [BZ #13576]
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.
14999
6bcc8b3f
JM
150002012-05-24 Joseph Myers <joseph@codesourcery.com>
15001
15002 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15003 Require >= 256.
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.
15034
d18ea0c5
AS
150352012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15036
15037 [BZ #14132]
56d25bb8
AS
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.
d18ea0c5
AS
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
15064 hidden proto.
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
15093 proto.
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.
15219
d6c33fda
RM
152202012-05-24 Roland McGrath <roland@hack.frob.com>
15221
c1487492
RM
15222 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15223
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.
15229
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.
15234
d6c33fda
RM
15235 [BZ #14132]
15236 * include/sys/time.h (__gettimeofday): Remove macro.
15237 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15238 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15239 Remove INTDEF.
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.
15252
b5a2bbe6
L
152532012-05-24 Daniel Jacobowitz <drow@false.org>
15254 H.J. Lu <hongjiu.lu@intel.com>
15255
15256 [BZ #12495]
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.
15263
cfba4fda
L
152642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15265
7f907421
L
15266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15268 Likewise.
15269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15270 Likewise.
15271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15272 Likewise.
15273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15274 Likewise.
15275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15276 Likewise.
15277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15278 Likewise.
15279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15280 Likewise.
15281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15282 Likewise.
15283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15284 Likewise.
15285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15286 Likewise.
15287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15288 Likewise.
15289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15290 Likewise.
15291
cfba4fda
L
15292 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15293 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15294
80bad0cc
JM
152952012-05-24 Joseph Myers <joseph@codesourcery.com>
15296
7a25eb06
JM
15297 [BZ #10846]
15298 [BZ #14036]
15299 * math/libm-test.inc (exp_test): Add test from bug 14036.
15300 (pow_test): Add test from bug 10846.
15301
795405f9
JM
15302 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15303 and other flags.
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.
15311
80bad0cc
JM
15312 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15313 exceptions.
15314 * math/libm-test.inc ("Philosophy"): Update comment about
15315 exception testing.
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.
15349
9e0e3d0b
DM
153502012-05-23 David S. Miller <davem@davemloft.net>
15351
15352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15353 (__libc_sigaction): Remove unused local variables.
15354
ccd0a08f
L
153552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15356
15357 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15358
62bdf9a6
PE
153592012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15360
f8591f80
PE
15361 mktime: avoid signed integer overflow
15362 * time/mktime.c (__mktime_internal): Do not mishandle the case
15363 where diff == INT_MIN.
15364
94c7d826
PE
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.
15368
ce73d683
PE
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
15373 tm_isdst values.
15374
72a22e59
PE
15375 mktime: merge another wrapv change from gnulib
15376 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15377 from some compilers.
15378
68605433
PE
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).
15385
03cf7fe3
PE
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
15389 such types.
15390
f04dfbc2
PE
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.
15398
62bdf9a6
PE
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.
15405
5e292e4f
L
154062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15407
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):
15411 Likewise.
15412
8caf8c87
AJ
154132012-05-23 Andreas Jaeger <aj@suse.de>
15414
15415 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15416 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15417
1a09dc56
AJ
154182012-05-23 Andreas Jaeger <aj@suse.de>
15419 Maximilian Attems <max@stro.at>
15420
15421 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15422 New macros.
15423
1c87aba0
L
154242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15425
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.
15429
40e45bd5
JM
154302012-05-23 Joseph Myers <joseph@codesourcery.com>
15431
c2670533
JM
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.
15438
40e45bd5
JM
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.
15443
be08eda5
AJ
154442012-05-23 Andreas Jaeger <aj@suse.de>
15445
15446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15447 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15448 macro.
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.
15461
a6a056bb
RM
154622012-05-22 Roland McGrath <roland@hack.frob.com>
15463
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.
15467
c9009328
L
154682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15469
15470 * sysdeps/unix/sysv/linux/Makefile: Include
15471 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15472 (sysdep_routines): Remove sysctl.
c9009328
L
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>.
15478
73338355
AJ
154792012-05-22 Andreas Jaeger <aj@suse.de>
15480
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.
15484
d44638b0
PP
154852012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15486
15487 [BZ #14122]
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.
15494
31a39bd8
L
154952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15496
da0331a8
L
15497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15498 Add arch_prctl.
15499 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15500
31a39bd8
L
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):
15504 New macro.
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].
15511
45470df3
AZ
155122012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15513
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.
15522
98a61bcb
L
155232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15524
a4f6e481
L
15525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15526 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15527
f63d5db6
L
15528 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15529 Use "neg %eax".
15530
98a61bcb
L
15531 * time/mktime.c: Update copyright years.
15532
95770f14
PE
155332012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15534
6226efbd
PE
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.
15541
b99e4f78
PE
15542 * time/mktime.c (compile-command): Add "-I.".
15543
643e01e6
PE
15544 mktime: merge mktime-internal.h change from gnulib
15545 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15546
2554247d
PE
15547 mktime: merge time_r change from gnulib
15548 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15549
826dd0ab
PE
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.
15553
bd83aabe
PE
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.
15557
95770f14
PE
15558 mktime: merge HAVE_CONFIG_H change from gnulib
15559 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15560
5e1a27a9
L
155612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15562
0e44a77e
L
15563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15564 Use "neg %eax".
15565
5e1a27a9
L
15566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15567 __rlim_t cast.
15568 (struct rusage): Use anonymous union to pad each field to
15569 __syscall_slong_t.
15570
46259bec
DM
155712012-05-21 David S. Miller <davem@davemloft.net>
15572
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.
15577
59f0c22e
JM
155782012-05-21 Joseph Myers <joseph@codesourcery.com>
15579
15580 * configure.in (libc_cv_predef_stack_protector): Only consider
15581 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15582 * configure: Regenerated.
15583
20c07380
L
155842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15585
bbb3154b
L
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.
c5b3a2c0
L
15589 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15590 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15591 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15592
20c07380
L
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):
15599 Renamed to ...
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.
15607
d8d1017e
AJ
156082012-05-21 Andreas Jaeger <aj@suse.de>
15609
15610 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15611 only if [SHARED]. Add prototype for __wcschr_ia32.
15612
6c7fb145
RM
156132012-05-21 Roland McGrath <roland@hack.frob.com>
15614
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.
15620
66274218
AJ
156212012-05-21 Andreas Jaeger <aj@suse.de>
15622
07c58f8f
AJ
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.
15626
66274218
AJ
15627 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15628
61f65140
L
156292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15630
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):
15634 New macro.
15635
5fefb436
AJ
156362012-05-21 Bruno Haible <bruno@clisp.org>
15637 Andreas Jaeger <aj@suse.de>
15638
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
15647 anymore.
15648
d8e272ab
AJ
156492012-05-19 Andreas Jaeger <aj@suse.de>
15650 Roland McGrath <roland@hack.frob.com>
15651
15652 * manual/contrib.texi: Completely rewritten. It contains now an
15653 alphabetical list of contributors and their contributions.
15654
4a56a162
RH
156552012-05-21 Richard Henderson <rth@twiddle.net>
15656
15657 * misc/getauxval.c (__getauxval): Use unsigned long int.
15658 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15659 (getauxval): Use unsigned long int.
15660
d024d23c
L
156612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15662
15663 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15664
cbc00a03
RM
156652012-05-21 Roland McGrath <roland@hack.frob.com>
15666
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).
15670
478143fa
AZ
156712012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15672
15673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15674
c7683a6d
RH
156752012-05-20 Richard Henderson <rth@twiddle.net>
15676
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.
cbc00a03
RM
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15696 Update.
c7683a6d
RH
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.
15705
a6f1845d
AZ
157062012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15707
15708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15709
cbcbe830
DM
157102012-05-19 David S. Miller <davem@davemloft.net>
15711
15712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15713
e0b16cc2
JM
157142012-05-19 Joseph Myers <joseph@codesourcery.com>
15715
15716 [BZ #14123]
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.
15734
6ad13e08
L
157352012-05-19 H.J. Lu <hongjiu.lu@intel.com>
15736
f66f0ce8
L
15737 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
15738 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15739
6ad13e08
L
15740 * sysdeps/x86_64/x32/_itoa.h: Add comment.
15741
b1d072a7
JM
157422012-05-19 Joseph Myers <joseph@codesourcery.com>
15743
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.
15775
9eae47cb
AJ
157762012-05-18 Andreas Jaeger <aj@suse.de>
15777
15778 * csu/.gitignore: Delete.
15779
bb07f69f
L
157802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15781
15782 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
15783 (timex): Use __syscall_slong_t.
15784
e6bdb741
AJ
157852012-05-18 Andreas Jaeger <aj@suse.de>
15786 Carlos O'Donell <carlos_odonell@mentor.com>
15787
15788 * manual/install.texi (Configuring and compiling): Update
15789 description about files modified in the source directory.
d6c33fda 15790 * INSTALL: Regenerated.
e6bdb741 15791
1b74487e
L
157922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15793
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.
15798
a88b64b9
TMQMF
157992012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15800
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):
15805 Likewise.
15806 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
15807 CFLAGS-memmove.c): Likewise.
15808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
15809 Likewise.
15810
3707636e
L
158112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
15812
610b8622
L
15813 * sysdeps/x86_64/x32/_itoa.h: New file.
15814
7cd195df
L
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.
15818
94b07d20
L
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.
15823
18298070
L
15824 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
15825 years.
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.
15829
553c7ea4
L
15830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
15831 include <bits/wordsize.h>. Check __x86_64__ instead of
15832 __WORDSIZE.
15833 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
15834 if __x86_64__ is defined. Use anonymous union on fpstate.
15835
3707636e
L
15836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
15837 anonymous union.
15838
b53ef01a
AS
158392012-05-18 Andreas Schwab <schwab@linux-m68k.org>
15840
37fb1dc0
AS
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]:
15846 Likewise.
15847 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
15848 Likewise.
15849 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
15850 Likewise.
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].
15854
b53ef01a
AS
15855 * sysdeps/powerpc/powerpc32/dl-machine.c
15856 (__elf_machine_runtime_setup) [PROF]: Don't reference
15857 _dl_prof_resolve.
15858
7a185db2
AJ
158592012-05-18 Andreas Jaeger <aj@suse.de>
15860
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.
15864 (lrint): Likewise.
15865 (llrintf): Likewise.
15866 (llrint): Likewise.
15867 (fmaxf): Likewise.
15868 (fmax): Likewise.
15869 (fminf): Likewise.
15870 (fmin): Likewise.
15871 (rint): Likewise.
15872 (rintf): Likewise.
15873 (nearbyint): Likewise.
15874 (nearbyintf): Likewise.
15875 (ceil): Likewise.
15876 (ceilf): Likewise.
15877 (floor): Likewise.
15878 (floorf): Likewise.
15879
3e5aef87
L
158802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15881
428bd707
L
15882 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
15883 on both fields and cast pointer to __syscall_ulong_t.
15884
3e5aef87
L
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.
15899
1ba7c3dc
DM
159002012-05-17 David S. Miller <davem@davemloft.net>
15901
15902 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
15903
59910343
AJ
159042012-05-17 Andreas Jaeger <aj@suse.de>
15905
15906 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
15907 warning.
15908
2e4c1e9e
L
159092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15910
15911 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
15912
de7f5ce7
AJ
159132012-05-17 Andreas Jaeger <aj@suse.de>
15914
15915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
15916 when it is used.
15917
286abc3d
CM
159182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15919
15920 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
15921
477cc68e
L
159222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
15925 * sysdeps/x86_64/tst-mallocalign1.c: New file.
15926
1a0994f5
CD
159272012-05-17 Andreas Jaeger <aj@suse.de>
15928 Carlos O'Donell <carlos_odonell@mentor.com>
15929
15930 [BZ #14059]
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
15950 are present.
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.
15956
0af797de
CM
159572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
15958
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.
15965
e39745ff
AJ
159662012-05-17 Andreas Jaeger <aj@suse.de>
15967
15968 * manual/examples/search.c (critter_cmp): Change signature to
15969 avoid warnings.
15970 * manual/string.texi (Collation Functions): Likewise.
15971
48970aba
L
159722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
15973
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.
15981
bedee953
PP
159822012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15983
15984 [BZ #208]
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.
15989
61653dfb
RM
159902012-05-16 Roland McGrath <roland@hack.frob.com>
15991
30b99d79
RM
15992 [BZ #10375]
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.
16000
61653dfb
RM
16001 [BZ #10375]
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.
16009
661768bb
L
160102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16011
16012 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16013 (mq_attr): Use __syscall_slong_t.
16014
d4261567
L
160152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16016
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.
16023
cf3ff365
L
160242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16025
16026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16027
76cf3e4d
L
160282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16029
16030 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16031
a637753a
L
160322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16033
16034 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16035 __syscall_ulong_t.
16036
d5e05119
L
16037 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16038 include <bits/wordsize.h>. Check __x86_64__ instead of
16039 __WORDSIZE.
16040 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16041 defined.
16042 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16043
f62ee380
L
16044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16045 include <bits/wordsize.h>. Check __x86_64__ instead of
16046 __WORDSIZE.
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
16050 defined.
16051
4e124ced
JM
160522012-05-16 Joseph Myers <joseph@codesourcery.com>
16053
6a3951a0
JM
16054 * configure.in (makeinfo): Require version 4.5 or later. Allow
16055 versions 5 to 9.
16056 * configure: Regenerated.
16057 * manual/install.texi (texinfo): Increase version requirement to
16058 4.5 or later.
16059 * INSTALL: Regenerated.
16060
4e124ced
JM
16061 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16062
953ca31a
L
160632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16064
16065 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16066
617aca05
L
16067 * sysdeps/x86_64/x32/ffs.c: New file.
16068
5762f7ae
L
16069 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16070 __syscall_ulong_t.
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.
16075
a26b6856
L
16076 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16077 __syscall_ulong_t.
16078
cb2b9ef7
L
16079 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16080 <bits/wordsize.h>.
16081 (msgqnum_t): Use __syscall_ulong_t.
16082 (msglen_t): Likewise.
16083 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16084 __syscall_ulong_t.
16085
34683bb0
L
16086 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16087 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16088
84a68786
L
16089 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16090
48baa5f1
L
16091 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16092 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16093
180be88b
L
16094 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16095 __syscall_slong_t.
16096
5e90c8ad
L
16097 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16098 include <bits/wordsize.h>. Check __x86_64__ instead of
16099 __WORDSIZE.
16100
23dfb58b
L
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.
16104
ce5d54b0
L
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.
16108
13dc9eac
L
16109 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16110 <stdint.h>.
16111 (GET_PC): Cast to uintptr_t first.
16112 (GET_FRAME): Likewise.
16113 (GET_STACK): Likewise.
16114
a7895d15
L
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.
16144
656416c9
AS
161452012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16146
5bd66283
AS
16147 * Makerules (+depfiles): Also collect depfiles from .oS in
16148 $(extra-objs).
16149 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16150 .oS, $(libnldbl-routines)).
16151
656416c9
AS
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).
16158
a46f2169
L
161592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16160
16161 * bits/types.h (__snseconds_t): Removed.
16162 * time/time.h (struct timespec): Replace __snseconds_t with
16163 __syscall_slong_t.
16164 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16165 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16166 Likewise.
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.
16173
6af6528b
L
161742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16175
16176 * sysdeps/mach/hurd/bits/typesizes.h
16177 (__SYSCALL_SLONG_TYPE): New macro.
16178 (__SYSCALL_ULONG_TYPE): Likewise.
16179
de986b56
L
161802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16181
16182 * bits/types.h (__syscall_slong_t): New type.
16183 (__syscall_ulong_t): Likewise.
16184
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.
16196
85736dc7
L
161972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16198
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
16207 signal stack.
16208 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16209
cc03b296
JM
162102012-05-15 Joseph Myers <joseph@codesourcery.com>
16211
a9538892
JM
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>.
16224
cc03b296
JM
16225 [BZ #14109]
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.
16230
93171016
L
162312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16232
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.
16236
d86813a0
L
162372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16238
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
16241 load frame size.
16242
2953ec75
L
162432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16244
16245 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16246
3b550e9e
L
162472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16250 * sysdeps/x86_64/x32/sysdep.h: New file.
16251
eda41706
L
162522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16253
16254 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16255 * sysdeps/x86_64/setjmp.S: Likewise.
16256
9ea01d93
AZ
162572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16258
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.
16264
02a91938
CM
162652012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16266
16267 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16268 include of <not-cancel.h>.
16269
6540185f
RM
162702012-05-15 Roland McGrath <roland@hack.frob.com>
16271
16272 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16273
509072a0
AJ
162742012-05-15 Jeff Law <law@redhat.com>
16275 Andreas Jaeger <aj@suse.de>
16276
16277 [BZ #13594]
16278 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16279 out from...
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.
16284
ba75122d
RM
162852012-05-15 Roland McGrath <roland@hack.frob.com>
16286
16287 * configure.in (sysnames): Look for Implies-before and Implies-after
16288 files.
16289 * configure: Regenerated.
16290
890d8bd8
L
162912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16292
16293 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16294 8-byte data alignment with LP_SIZE alignment.
16295
f6ee6623
L
162962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16299 into R10_LP.
16300
ea2626f6
L
163012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16302
16303 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16304
085f715e
L
163052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16306
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:
16310 Likewise.
16311 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16312
be8498fc
L
163132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16314
16315 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16316 (stackinfo_sub_sp): Likewise.
16317
70bc83b9
L
163182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16321 RAX_LP.
16322
9bc0b730
L
163232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16324
16325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16326 into R*_LP.
16327
6d2850e7
L
163282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16329
16330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16331 sizes into R*_LP.
16332
3cb84561
L
163332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16334
16335 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16336
54e2ed81
L
163372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16338
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
16341 R8_LP.
16342
8a17f349
L
163432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16344
16345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16346 R8_LP.
16347
777b1eea
AZ
163482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16349
16350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16351 logb for POWER7.
16352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16353 logbf for POWER7.
16354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16355 logbl for POWER7.
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.
16362
d20d4ac2
JM
163632012-05-15 Joseph Myers <joseph@codesourcery.com>
16364
16365 * README.libm: Remove file.
16366
6cdef1ab
L
163672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16368
16369 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16370 count for x32. Use R*_LP and omit operand-size suffix.
16371
0b254d8f
L
163722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16373
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.
16377
ceb809dc
RM
163782012-05-14 Roland McGrath <roland@hack.frob.com>
16379
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.
16383
37f1abd4
JM
163842012-05-14 Joseph Myers <joseph@codesourcery.com>
16385
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.
16389
11de3a33
L
163902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16391
16392 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16393 the `q' suffix from lea and replace .quad with ASM_ADDR.
16394
e02f153a
L
163952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16396
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
16399 instead of $17.
16400 (PTR_DEMANGLE): Likewise.
16401
520ae0fd
L
164022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16403
16404 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16405 (LP_OP): Likewise.
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.
16414 (R8_LP): Likewise.
16415 (R9_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.
16423
b985be81
L
164242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16425
16426 * sysdeps/x86_64/x32/dl-machine.h: New file.
16427
6a4888ff
AJ
164282012-05-14 Andreas Jaeger <aj@suse.de>
16429
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.
16439 (lib): Remove.
16440 (stubs): Remove.
16441 ($(objpfx)stubs ../po/manual.pot): Remove.
16442 ($(objpfx)stamp%): Remove.
16443 (make-target-directory): Remove.
16444 (subdir_install): Remove.
16445 (routines): Remove.
16446 (aux): Remove.
16447 (sources): Remove.
16448 (objects): Remove.
16449 (headers): Remove.
16450
16451 [BZ #13750]
16452 * manual/.gitignore: Remove, it's not needed anymore.
16453 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16454 all files in it.
16455 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16456 directory.
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
16460 libc-texinfo.sh.
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.
16477
16478 * manual/install.texi (Configuring and compiling): Adjust since
16479 the info files are not part of the tar ball anymore.
16480
7ac77294
AJ
164812012-05-14 Andreas Jaeger <aj@suse.de>
16482
16483 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16484 variable.
16485
ffb7875d
JM
164862012-05-14 Joseph Myers <joseph@codesourcery.com>
16487
16488 [BZ #13717]
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
16510 conditional code.
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
16520 non-SPARC.
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
16526 conditional code.
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
16604 return 1.
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.
16609
1bfb7291
AJ
166102012-05-14 Andreas Jaeger <aj@suse.de>
16611
caae5a81
AJ
16612 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16613 it's not used in glibc.
16614 (__coshm1): Likewise.
16615 (__acosh1p): Likewise.
16616 (__sgn): Likewise.
16617
1bfb7291
AJ
16618 * manual/string.texi (Copying and Concatenation): Add missing
16619 variable in concat example.
16620 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16621
c044d724
L
166222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16623
144c5467 16624 [BZ #14103]
c044d724
L
16625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16626 __builtin_clzl with __builtin_clzll.
16627
2523c62b
L
166282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16629
16630 [BZ #14104]
16631 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16632 libc_freeres_ptr.
16633
d7bb4c42
LD
166342012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16635
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.
16640
9dc4e1fb
MF
166412012-05-14 Mike Frysinger <vapier@gentoo.org>
16642
16643 * NEWS: Update ia64 info.
16644
c7df0112
AS
166452012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16646
16647 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16648 used as bcopy.
16649
dc70356c
TS
166502012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16651
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.
16656
9fb1a21f
L
166572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16658
16659 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16660 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16661
4822a2a5
L
166622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16663
16664 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16665 thread pointer.
16666 (TLS_IE): Use mov/add instead of movq/addq to load thread
16667 pointer.
16668 (TLS_GD_PREFIX): New.
16669 (TLS_GD): Use it.
16670
842b81d6
DM
166712012-05-11 David S. Miller <davem@davemloft.net>
16672
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.
16676
1cf463cd
L
166772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16678
16679 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16680 is 32-byte aligned.
16681
60cc4a18
AS
166822012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16683
16684 [BZ #11837]
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.
16689
febb44a4
TS
166902012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16691
16692 [BZ #13673]
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.
16697
0a10fb9e
L
166982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16699
16700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
16701 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
16702
df8a552f
L
167032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16704
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.
16725
f34d6f84
ST
167262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16727
f42d41d1
ST
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.
16731
3c3571fc
ST
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".
16735
61f06bd3
ST
16736 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
16737 instead of int.
16738
918d4d71
ST
16739 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
16740 if __dir_mkfile succeeded.
16741
f34d6f84
ST
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.
16745
10589b4a
TS
167462012-05-10 Thomas Schwinge <thomas@schwinge.name>
16747
674cdbc7
TS
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.
16755
8e41b99f
TS
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):
16761 New macros.
16762 (struct stat64): Likewise.
16763 (_STATBUF_ST_NSEC): New macro.
16764 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
16765
10589b4a
TS
16766 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16767 __strtoul_internal rather than strtoul.
16768
63643c85
PT
167692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16770
16771 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
16772 and reject them.
16773
3faebe6a
ST
167742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16775
16776 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
16777 which preserves existing values.
16778 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16779
c6474b07
PT
167802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16781
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.
16785
1043890b
ST
167862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16787
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.
16792
37ed8b9b
PT
167932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16794
16795 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
16796 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
16797
db653660
ST
167982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16799
37ed8b9b
PT
16800 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
16801 sysdeps/mach/hurd/readlink.c.
b29d4053 16802
db653660
ST
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
16812 macro to -1.
16813 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
16814 macro to -1.
16815 (_POSIX_ASYNC_IO): Undefine macro.
16816 (_POSIX_PRIORITIZED_IO): Undefine macro.
16817 (_POSIX_SPIN_LOCKS): Define macro to -1.
16818
ee16e894
ST
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,
16823 F_DUPFD_CLOEXEC.
16824
6103ae3b
TS
168252012-05-10 Thomas Schwinge <thomas@schwinge.name>
16826
16827 * elf/Makefile (pldd-modules): Define unconditionally.
16828
80b4e5f3
TS
168292012-05-10 Thomas Schwinge <thomas@schwinge.name>
16830
16831 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
16832
edadcbd6
ST
168332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16834
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.
16838
80694780
TS
168392012-05-10 Thomas Schwinge <thomas@schwinge.name>
16840
1792c087
TS
16841 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
16842
80694780
TS
16843 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16844
6b645f0d
ST
168452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16846
80694780
TS
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.
66cbbebc 16850
6b645f0d
ST
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.
16854
e468f8a3
TS
168552012-05-10 Thomas Schwinge <thomas@schwinge.name>
16856
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).
16861
a4186cff
PT
168622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16863
16864 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
16865 REQUESTED_TIME. Properly set the remaining time and return EINTR
16866 if interrupted.
16867
510bbf14
TS
168682012-05-10 Thomas Schwinge <thomas@schwinge.name>
16869
16870 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
16871 Depend on against $(link-rpcuserlibs).
16872
5d5722e8
ST
168732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16874
a4186cff
PT
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
5d5722e8 16879 to libthread-provided value.
a4186cff
PT
16880 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
16881 attribute_relro.
5d5722e8 16882
37233df9
TS
168832012-05-10 Thomas Schwinge <thomas@schwinge.name>
16884
be971a2b
TS
16885 [BZ #3748]
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.
16891
37233df9
TS
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.
16899
38de94a5
RM
169002012-05-10 Roland McGrath <roland@hack.frob.com>
16901
16902 * math/w_ilogbf.c: Add #include <limits.h>.
16903
67530489
ST
169042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16905
a4186cff 16906 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
16907 path instead of returning without unlocking.
16908
67530489
ST
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.
16912
5aa3a74a
TS
169132012-05-10 Thomas Schwinge <thomas@schwinge.name>
16914
18bad2ae
TS
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.
16921
5aa3a74a
TS
16922 dup3 for GNU Hurd.
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.
16928
ecd0de9a
ST
169292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16930
cd9fa985
ST
16931 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
16932
a4186cff
PT
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
16938 d->port.lock.
802ca5a5 16939
a4186cff
PT
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.
ecd0de9a 16943
bcf55240
TS
169442012-05-10 Thomas Schwinge <thomas@schwinge.name>
16945
6960eb42
TS
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
16948 definitions.
16949
eb43375f
TS
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
16955 __libc_accept4.
16956 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
16957
bcf55240
TS
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.
16962
6178c55b
ST
169632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16964
a4186cff 16965 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 16966
6f080c2f
TS
169672012-05-10 Thomas Schwinge <thomas@schwinge.name>
16968
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.
16974
bcfe3a54
ST
169752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16976
16977 [BZ #3906]
16978 * bits/in.h (IPV6_PKTINFO): Define new macro.
16979 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
16980
89c9aa49
AZ
169812012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16982
16983 [BZ #13954]
16984 [BZ #13955]
16985 [BZ #13956]
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.
16993
021db4be
AJ
169942012-05-09 Andreas Schwab <schwab@linux-m68k.org>
16995 Andreas Jaeger <aj@suse.de>
16996
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.
17056
b5c086a2
RM
170572012-05-10 Roland McGrath <roland@hack.frob.com>
17058
17059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17060 change. Update copyright years.
17061
6d74dd09
JM
170622012-05-10 Joseph Myers <joseph@codesourcery.com>
17063
17064 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17065
28e72501
MK
170662012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17067 Joseph Myers <joseph@codesourcery.com>
17068 Paul Pluzhnikov <ppluzhnikov@google.com>
17069
17070 [BZ #14012]
17071 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17072 requiring rpcgen.
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
17086 comment.
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.
17091
c8c59454
L
170922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17093
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.
17097
6f27cd16
JM
170982012-05-10 Joseph Myers <joseph@codesourcery.com>
17099
17100 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17101 sysdeps/unix/sysv/syscalls.list.
17102 (stime): Likewise.
17103 (utime): Likewise.
17104 * sysdeps/unix/sysv/syscalls.list: Remove file.
17105
02467e1c
PE
171062012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17107
17108 [BZ #3440]
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.
17114
da392631
AS
171152012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17116
17117 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17118 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17119 after this.
17120
8115f29b
L
171212012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17122
17123 * stdlib/longlong.h: Updated from GCC.
17124
bdd74070
AJ
171252012-05-09 Andreas Jaeger <aj@suse.de>
17126
edfe0dbe
AJ
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.
17132
bcfe3a54
ST
17133 [BZ #14053]
17134 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17135 to asm.
bcfe3a54
ST
17136 (lrint): Likewise.
17137 (llrintf): Likewise.
17138 (llrint): Likewise.
17139 (rint): Likewise.
17140 (rintf): Likewise.
17141 (nearbyint): Likewise.
17142 (nearbyintf): Likewise.
bdd74070 17143
91d8d69e
AJ
171442012-05-09 Andreas Jaeger <aj@suse.de>
17145 Pedro Alves <palves@redhat.com>
17146
17147 * nscd/nscd.c (run_mode): Use enum.
17148 (main): Cleanup coding style issue.
17149
bb90b80b
AJ
171502012-05-09 Alexandre Oliva <aoliva@redhat.com>
17151 Andreas Jaeger <aj@suse.de>
17152
bcfe3a54
ST
17153 * nscd/nscd.c (go_background): Replaced with...
17154 (run_mode): ... this.
bb90b80b 17155 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17156 (options): Add -F --foreground.
17157 (main): Implement it.
17158 (parse_opt): Parse it.
bb90b80b 17159
1a4b75a1
AJ
171602012-05-09 Andreas Jaeger <aj@suse.de>
17161
17162 [BZ #14083]
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]:
17167 Likewise.
17168
b1cc2472
JM
171692012-05-09 Joseph Myers <joseph@codesourcery.com>
17170
17171 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17172 == 0.
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.
17184 Specify type.
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
17188 type.
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.
17204 Specify type.
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
17271 allow.
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
17277 positive value.
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
17307 allow.
17308
b9f1922d
IW
173092012-05-08 Ian Wienand <ianw@vmware.com>
17310
17311 [BZ #14080]
17312 * time/tzset.c (__tzset_parse_tz): Update default rules for
17313 daylight time changes in the Energy Policy Act of 2005.
17314
1db86e88
AJ
173152012-05-09 Andreas Jaeger <aj@suse.de>
17316
17317 [BZ #13983]
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.
17320
dee4a4e3
DM
173212012-05-08 David S. Miller <davem@davemloft.net>
17322
ee0db190
DM
17323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17324 movxtod instead of popping the value on the stack.
17325
dee4a4e3
DM
17326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17327
6a43ec98
CD
173282012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17329
17330 * config.h.in: Add HAVE_ARM_PCS_VFP.
17331
05c2c961
RMG
173322012-05-08 Roland Mc Grath <roland@hack.frob.com>
17333
bcfe3a54
ST
17334 [BZ #13979]
17335 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17336 checking but the checks are disabled for any reason.
05c2c961 17337
4b30f61a
L
173382012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17339
17340 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17341 and ELF64_R_TYPE with ELFW(R_TYPE).
17342
eee2bc67
JM
173432012-05-08 Joseph Myers <joseph@codesourcery.com>
17344
7ea5391a
JM
17345 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17346 (ulimit): Likewise.
17347
eee2bc67
JM
17348 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17349 (settimeofday): Likewise.
17350
abb66a67
MF
173512012-05-08 Mike Frysinger <vapier@gentoo.org>
17352
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.
17361 (th_data): Define.
17362 (th_msg): Change to th_u1.th_u2.tu_data.
17363
7f18b530
DM
173642012-05-07 David S. Miller <davem@davemloft.net>
17365
05760585
DM
17366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17367
7f18b530
DM
17368 [BZ #14074]
17369 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17370 (SETUP_PIC_REG): Use it.
17371 (SETUP_PIC_REG_LEAF): Use it.
17372
495fd99f
JM
173732012-05-07 Joseph Myers <joseph@codesourcery.com>
17374
17375 [BZ #13885]
17376 [BZ #13923]
17377 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17378 USE_AS_EXPM1L.
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
17383 e_expl.S.
17384 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17385 USE_AS_EXPM1L.
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
17390 e_expl.S.
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.
17395
6693d694
DM
173962012-05-06 David S. Miller <davem@davemloft.net>
17397
17398 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17399 quad soft-float symbols whose references which are compiler
17400 generated.
17401 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17402
6c23e11c
JM
174032012-05-06 Joseph Myers <joseph@codesourcery.com>
17404
d8b82cad
JM
17405 [BZ #13884]
17406 [BZ #13914]
17407 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17408 USE_AS_EXP10L.
17409 (EXPL_FINITE): Likewise.
17410 (FLDLOG): Likewise.
17411 (c0): Likewise.
17412 (c1): 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
17417 e_expl.S.
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
17423 USE_AS_EXP10L.
17424 (EXPL_FINITE): Likewise.
17425 (FLDLOG): Likewise.
17426 (c0): Likewise.
17427 (c1): 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
17432 tests for bugs.
17433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17434
6c23e11c
JM
17435 [BZ #14064]
17436 * math/libm-test.inc (check_float_internal): Correct ulp
17437 calculation for subnormal expected results.
17438
29ba805c
AJ
174392012-05-06 Andreas Jaeger <aj@suse.de>
17440
17441 * Makeconfig (+math-flags): New, set to -frounding-math.
17442 (+cflags): Add +math-flags so that all of glibc gets compiled with
17443 it.
17444
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17446
7b17aeda
JM
174472012-05-05 Joseph Myers <joseph@codesourcery.com>
17448
5779f134
JM
17449 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17450 Disable one test.
17451
41498f4d
JM
17452 [BZ #13787]
17453 [BZ #13922]
17454 [BZ #14036]
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
17460 underflow.
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
17464 underflow.
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
17468 underflow.
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.
17474
6698b8bf
JM
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.
17481
7b17aeda
JM
17482 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17483 (nice): Likewise.
17484 (poll): Likewise.
17485 (signal): Likewise.
17486 (time): Likewise.
17487 (times): Likewise.
17488
f7c85819
JM
174892012-05-04 Joseph Myers <joseph@codesourcery.com>
17490
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.
17507
336270d0
L
175082012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17509
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:
17513 Moved to ...
17514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17515 Here.
17516 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17517 to ...
17518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17519 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17520 to ...
17521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17522 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17523 to ...
17524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17525 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17526 to ...
17527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17528 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17529 to ...
17530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17531 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17532 to ...
17533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17535 to ...
17536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17537 Here.
17538 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17539 to ...
17540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17541 Here.
17542 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17543 to ...
17544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17545 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17546 Moved to ...
17547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17548 Here.
17549 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17550 to ...
17551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17552
d128e450
JM
175532012-05-04 Joseph Myers <joseph@codesourcery.com>
17554
fa8ee516
JM
17555 * sysdeps/unix/common/bits/dirent.h: Remove file.
17556 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17557
d128e450
JM
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.
17565
ff8faaf0 175662012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17567
62881be4 17568 [BZ #13563]
31dc8730
AZ
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.
17573
6fef930c
AS
175742012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17575
17576 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17578
8f203e6c
JM
175792012-05-04 Joseph Myers <joseph@codesourcery.com>
17580
17581 [BZ #14049]
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.
17585
5197d9c2
AK
175862012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17587
17588 * sysdeps/s390/fpu/libm-test-ulps: Update.
17589
f0c1dedf
AJ
175902012-05-03 Andreas Jaeger <aj@suse.de>
17591
17592 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17593 does not get optimized out.
17594 (malloc_opt_barrier): New.
17595
a65ef2ae 175962012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17597 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17598
2b942cb7 17599 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17600 intermediate file deletion.
2b942cb7 17601 (generated): Add .symlist files.
a65ef2ae 17602
54b71e02
JM
176032012-05-03 Joseph Myers <joseph@codesourcery.com>
17604
17605 [BZ #13775]
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.
17620
d3dfcc41
RM
176212012-05-03 Roland McGrath <roland@hack.frob.com>
17622
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.
17626
7ac30cc5
AJ
176272012-05-03 Andreas Jaeger <aj@suse.de>
17628
0c51e550
AJ
17629 * sysdeps/i386/fpu/libm-test-ulps: Update.
17630
7ac30cc5
AJ
17631 * FAQ: Removed.
17632 * FAQ.in: Likewise.
17633 * scripts/gen-FAQ.pl: Likewise.
17634 * manual/install.texi (Installation): Point to online location of
17635 FAQ.
17636 * Makefile (files-for-dist): Remove FAQ.
17637 (FAQ): Remove.
17638
d4c2917f
AM
176392012-05-02 Allan McRae <allan@archlinux.org>
17640
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.
17662
d77f993f
DM
176632012-05-02 David S. Miller <davem@davemloft.net>
17664
17665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17666
171a70b4
PP
176672012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17668
17669 [BZ #14055]
17670 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17671
0be196ad
AJ
176722012-05-02 Andreas Jaeger <aj@suse.de>
17673
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.
17683
4f9d04aa
AZ
176842012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17685
2b942cb7
RM
17686 [BZ #2550]
17687 [BZ #2570]
17688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17689 comparisons to determine direction to adjust input.
4f9d04aa 17690
82a79e7d
RM
176912012-05-01 Roland McGrath <roland@hack.frob.com>
17692
f5a01ca9
RM
17693 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17694 output to the target.
17695
90fe4186
RM
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.
17703
17704 * elf/check-localplt.c: File removed.
17705
82397ed6
RM
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.
17715
82a79e7d
RM
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.
17725
62fde54f 177262012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 17727
615605c9
JM
17728 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17729 allow.
17730 * conform/data/ctype.h-data [C99-based standards] (isblank):
17731 Expect function.
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.
17819 Require >= 2.
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
17869 bound negative.
17870 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
17871 bound with "U".
17872 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
17873 bound with "L".
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
17877 bound with "UL".
17878 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
17879 Specify type.
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
17883 == 0.
17884 [ISO11] (max_align_t): Require type.
17885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17886
c9140a62
JM
17887 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
17888 from $CFLAGS, without defining away __attribute__ calls.
17889 (checknamespace): Use $CFLAGS_namespace.
17890
9af0bf29
JM
17891 * conform/conformtest.pl (@keywords): Only include C99 keywords
17892 for standards based on C99 or C11.
17893
343222a2
JM
17894 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
17895 Disable tests.
17896 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
17897 UNIX98]: Likewise.
17898
661f8cf0
JM
17899 * conform/conformtest.pl: Handle "macro-int-constant" and test for
17900 usability of symbols in #if.
17901
ee74b9cb
JM
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.
62fde54f 17905
aafc49b3
JM
17906 * conform/conformtest.pl: Parse all "constant" and "macro" lines
17907 in one place. Also handle "macro-constant".
17908
fefdf574
JM
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.
17912
f2d922fe
JM
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
17916 "typed-constant".
17917
d22956c9
JM
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-".
17921
028e2e38
JM
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.
17931
1b8f2850
JM
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.
17936
a05a144b
JM
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.
18127
73c5ebe3
JM
18128 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18129 _XOPEN_SOURCE_EXTENDED for XPG4.
18130
39c33b6c
JM
18131 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18132
62fde54f
JM
18133 * Makeconfig (localtime): Remove variable.
18134 (inst_localtime-file): Likewise.
18135
0741d64c
AS
181362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18137
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18139 Update.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18141 Update.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18143 Update.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18145 Update.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18147 Update.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18149 Update.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18151 Update.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18153 Update.
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18155 Update.
18156
7cb029ee
JM
181572012-05-01 Joseph Myers <joseph@codesourcery.com>
18158
18159 [BZ #2550]
18160 [BZ #2570]
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):
18166 Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18168 Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18170 Likewise.
18171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18173 Likewise.
18174 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18175 Likewise.
18176 * math/libm-test.inc (nexttoward_test): Add more tests.
18177
412bd966
AS
181782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18179
18180 [BZ #14040]
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):
18184 Likewise.
18185
9568c0c2
JM
181862012-04-30 Joseph Myers <joseph@codesourcery.com>
18187
adfbc8ac
JM
18188 [BZ #13942]
18189 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18190 (1 - x) * (1 + x).
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.
18197
5ba3cc69
JM
18198 [BZ #14034]
18199 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18200 of square root.
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.
18214
9568c0c2
JM
18215 [BZ #13884]
18216 [BZ #13924]
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
18221 of __ieee754_expf.
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.
18227
5ac3ea17
MP
182282012-04-29 Marek Polacek <polacek@redhat.com>
18229
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.
18259
ecf0ebfb
AJ
182602012-04-29 Andreas Jaeger <aj@suse.de>
18261
18262 * Makerules (tests): Remove enable-check-abi protection.
18263 (check-abi-warn): Remove.
18264 (check-abi-%): Remove check-abi-warn usage.
18265
18266 * configure.in: Remove check-abi configure option.
18267 * configure: Regenerated.
18268 * config.make.in (enable-check-abi): Remove.
18269
6d5c57fa
AS
182702012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18271
24c5d07e 18272 [BZ #14033]
ded5180a
AS
18273 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18274 double functions to double *_finite functions.
18275
7e0d315d
AS
18276 [BZ #13941]
18277 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18278 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18279 LDBL_MIN_EXP.
18280 * stdio-common/Makefile (tests): Add tst-sprintf3.
18281 * stdio-common/tst-sprintf3.c: New file.
18282
6d5c57fa
AS
18283 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18284 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18285
0749ff8b
JM
182862012-04-28 Joseph Myers <joseph@codesourcery.com>
18287
18288 * conform/conformtest.pl: Remove duplicate typed-constant
18289 handling.
18290
8dbd5d7b
DM
182912012-04-28 David S. Miller <davem@davemloft.net>
18292
18293 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18294 (check-abi-%): Remove AWK script prerequisite and explicit
18295 abilist directory.
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
18301 checks.
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
18323 file.
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
18333 file.
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
18338 file.
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
18345 file.
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
18349 file.
18350 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18352 New file.
18353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18354 New file.
18355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18356 New file.
18357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18358 New file.
18359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18360 New file.
18361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18362 New file.
18363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18364 New file.
18365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18366 New file.
18367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18368 New file.
18369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18370 New file.
18371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18372 New file.
18373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18374 New file.
18375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18376 New file.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18378 file.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18380 New file.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18382 New file.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18384 file.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18386 New file.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18388 New file.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18390 file.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18392 New file.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18394 New file.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18396 New file.
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18398 New file.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18400 New file.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18402 New file.
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
18405 file.
18406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18407 New file.
18408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18409 file.
18410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18411 file.
18412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18413 file.
18414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18415 file.
18416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18417 file.
18418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18419 New file.
18420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18421 file.
18422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18423 file.
18424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18425 New file.
18426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18427 file.
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
18430 file.
18431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18432 New file.
18433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18434 file.
18435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18436 file.
18437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18438 file.
18439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18440 file.
18441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18442 file.
18443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18444 New file.
18445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18446 file.
18447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18448 file.
18449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18450 New file.
18451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18452 file.
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
18456 file.
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
18469 file.
18470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18471 New file.
18472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18473 file.
18474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18475 file.
18476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18477 file.
18478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18479 file.
18480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18481 file.
18482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18483 New file.
18484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18485 New file.
18486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18487 file.
18488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18489 New file.
18490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18491 file.
18492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18494 file.
18495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18496 New file.
18497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18498 file.
18499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18500 file.
18501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18502 file.
18503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18504 file.
18505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18506 file.
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18508 New file.
18509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18510 New file.
18511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18512 file.
18513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18514 New file.
18515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18516 file.
18517
41d73a1b
JM
185182012-04-28 Joseph Myers <joseph@codesourcery.com>
18519
18520 * conform/conformtest.pl: Fix typo in handling typed-constant from
18521 allow-header.
18522
28aeeda4
JM
185232012-04-27 Joseph Myers <joseph@codesourcery.com>
18524
adae8f5e
JM
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
18528 requirements.
18529
28aeeda4
JM
18530 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18531
a462cb63
RA
185322012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18533
18534 [BZ #887]
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
18537 rounding mode.
18538
6ad3493e
JM
185392012-04-27 Joseph Myers <joseph@codesourcery.com>
18540
18541 [BZ #14027]
18542 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18543 to be done.
18544 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18545 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18546
2ce4f015
JM
185472012-04-26 Joseph Myers <joseph@codesourcery.com>
18548
5aeb141a
JM
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.
18556
7143acae
JM
18557 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18558 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18559
2ce4f015
JM
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.
18565 (bsdi*): Likewise.
18566 (osf*): Likewise.
18567 (sunos*): Likewise.
18568 (ultrix*): Likewise.
18569 (newsos*): Likewise.
18570 (dynix*): Likewise.
18571 (*bsd*): Likewise.
18572 (sysv*): Likewise.
18573 (isc*): Likewise.
18574 (esix*): Likewise.
18575 (sco*): Likewise.
18576 (minix*): Likewise.
18577 (irix4*): Likewise.
18578 (irix6*): Likewise.
18579 (solaris[2-9]*): Likewise.
18580 (none): Likewise.
18581 * configure: Regenerated.
18582
0ac229c8
AZ
185832012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18584
18585 [BZ #11521]
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.
18592
33f244f4
DM
185932012-04-26 David S. Miller <davem@davemloft.net>
18594
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.
18610
cfa1f3e8
DM
186112012-04-25 David S. Miller <davem@davemloft.net>
18612
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.
18618
6e236b92
SP
186192012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18620
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
18624 libgcc_s.h.
18625 * sysdeps/gnu/unwind-resume.c: Likewise.
18626 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18627
aab39a09
DM
186282012-04-25 David S. Miller <davem@davemloft.net>
18629
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.
18645
a3cc4f48
JM
186462012-04-25 Joseph Myers <joseph@codesourcery.com>
18647
2ed8cda2
JM
18648 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18649 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18650 -DIS_IN_build.
18651
35d76d59
JM
18652 * timezone/README: Update upstream location and email address for
18653 tzcode and tzdata.
18654 * timezone/zdump.c: Update from tzcode 2012b.
18655 * timezone/zic.c: Likewise.
18656
a3cc4f48
JM
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.
18664
ceab42c3
SP
186652012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18666 Paul Pluzhnikov <ppluzhnikov@google.com>
18667
18668 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18669 strings correctly.
18670
3ce2865f
CLT
186712012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18672
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.
18676
f37e0d68
JM
186772012-04-24 Joseph Myers <joseph@codesourcery.com>
18678
ae186e9a
JM
18679 * sysdeps/unix/fork.S: Remove file.
18680 * sysdeps/unix/i386/fork.S: Likewise.
18681 * sysdeps/unix/sparc/fork.S: Likewise.
18682
b96914af
JM
18683 * sysdeps/unix/system.c: Remove file.
18684 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18685
f37e0d68
JM
18686 * sysdeps/unix/getegid.S: Remove file.
18687 * sysdeps/unix/geteuid.S: Likewise.
18688
87ef29ca
RM
186892012-04-24 Roland McGrath <roland@hack.frob.com>
18690
83bcd236
RM
18691 * scripts/check-localplt.awk: New file.
18692 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18693 of diff.
18694 * scripts/data/localplt-generic.data: Add a comment.
18695
87ef29ca
RM
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>.
18700
e5a6e567
AJ
187012012-04-24 Andreas Jaeger <aj@suse.de>
18702
18703 * Makerules (common-clean): Also remove gen-as-const-headers
18704 files.
18705
c1820385
JM
187062012-04-24 Joseph Myers <joseph@codesourcery.com>
18707
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.
18711
94e02fc4
AZ
187122012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18713
18714 [BZ #13886]
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.
18719
3a533ca3
JM
187202012-04-24 Joseph Myers <joseph@codesourcery.com>
18721
940ab4b3
JM
18722 * sysdeps/unix/getdents.c: Remove file.
18723 * sysdeps/unix/sysv/getdents.c: Likewise.
18724 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
18725
90e037bd
JM
18726 * sysdeps/unix/syscalls.list (madvise): Add syscall from
18727 sysdeps/unix/mman/syscalls.list.
18728 (mmap): Likewise.
18729 (mprotect): Likewise.
18730 (msync): 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.
18735
3a533ca3
JM
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.
18742
1ad743de
JM
187432012-04-23 Joseph Myers <joseph@codesourcery.com>
18744
4ad451e2
JM
18745 * sysdeps/unix/sysv/gethostname.c: Move to ...
18746 * sysdeps/posix/gethostname.c: ... here.
18747
5e37ce39
JM
18748 * sysdeps/unix/execve.S: Remove file.
18749
1ad743de
JM
18750 * sysdeps/unix/_exit.S: Remove file.
18751
4e681b5b
AJ
187522012-04-23 Andreas Jaeger <aj@suse.de>
18753
18754 [BZ #13739]
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.
18758 (dist): Removed.
18759 (tar-it): Removed.
18760 (edition): Removed.
18761 (glibc-doc-$(edition).tar): Removed
18762 (%.Z): Removed.
18763 (%.gz): Removed.
18764 (%.uu): Removed.
18765 (ETAGS): Remove, it's in Makeconfig.
18766 (move-if-change): Remove, it's in Makeconfig.
18767
38686a03 187682012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
18769
18770 [BZ #13970]
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.
18778
7c0616fa
AJ
187792012-04-21 Andreas Jaeger <aj@suse.de>
18780
803cb6b7 18781 [BZ #13739]
7c0616fa
AJ
18782 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
18783
b0fe253f
JM
187842012-04-21 Joseph Myers <joseph@codesourcery.com>
18785
18786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
18787 * sysdeps/unix/sysv/Versions: Remove file.
18788
8280f22d
MT
187892012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
18790
18791 [BZ #13927]
18792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18793
75ce411f 187942012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
18795
18796 [BZ #7064]
18797 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
18798 version from __vm86.
18799
097d59fa
JM
188002012-04-20 Joseph Myers <joseph@codesourcery.com>
18801
a90f3bcb
JM
18802 * sysdeps/unix/common/lxstat.c: Remove file.
18803 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
18804
edc7ea78
JM
18805 * sysdeps/unix/sysv/Makefile: Remove file.
18806
cb78c221
JM
18807 * sysdeps/unix/sysv/direct.h: Remove file.
18808
efa6a45f
JM
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.
18816
9c9f2d0c
JM
18817 * sysdeps/unix/sysv/setrlimit.c: Remove file.
18818
4541c83b
JM
18819 * sysdeps/unix/xmknod.c: Remove file.
18820 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
18821
f5d153a0
JM
18822 * sysdeps/unix/sysv/settimeofday.c: Remove file.
18823
aa746595
JM
18824 * sysdeps/unix/sysv/i386/time.S: Remove file.
18825
cce5905e
JM
18826 * sysdeps/unix/fxstat.c: Remove file.
18827 * sysdeps/unix/xstat.c: Likewise.
18828 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
18829
37fa3841
JM
18830 * sysdeps/unix/sysv/sigaction.c: Remove file.
18831
ff1962a3
JM
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.
18845
e7740d31
JM
18846 * sysdeps/unix/siglist.c: Remove file.
18847
ee06f18b
JM
18848 * sysdeps/unix/getppid.S: Remove file.
18849
097d59fa
JM
18850 * sysdeps/unix/mkdir.c: Remove file.
18851 * sysdeps/unix/rmdir.c: Likewise.
18852
ff3d51ec
AS
188532012-04-19 Andreas Schwab <schwab@linux-m68k.org>
18854
18855 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
18856 ERR_MAX value.
18857 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
18858 errlist-compat value.
18859
50f81fd7
DM
188602012-04-18 David S. Miller <davem@davemloft.net>
18861
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.
18878
8ff41c46
WS
188792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18880
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
18883 overlap.
18884
6b652f46
WS
188852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18886
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.
18893
b282631e
WS
188942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
18895
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.
18901
95aa737c
DM
189022012-04-18 David S. Miller <davem@davemloft.net>
18903
18904 * sysdeps/sparc/sparc64/memcopy.h: Delete.
18905
7a99a614
AJ
189062012-04-18 Andreas Jaeger <aj@suse.de>
18907
18908 [BZ# 6794]
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.
18912
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.
18916
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.
18920
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.
18924
e5270c23
DM
189252012-04-17 David S. Miller <davem@davemloft.net>
18926
18927 * sysdeps/sparc/sparc32/memcopy.h: Delete.
18928
fb5e92c9
AS
189292012-04-17 Andreas Schwab <schwab@linux-m68k.org>
18930
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.
18937
76da7265
AZ
189382012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18939
18940 [BZ #6794]
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.
7a99a614 18961 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
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.
18968
0396e69d
PB
189692012-04-17 Petr Baudis <pasky@ucw.cz>
18970
18971 * include/sys/uio.h: Change __vector to __iovec to avoid clash
18972 with altivec.
18973
750b5926
MP
189742012-04-16 Marek Polacek <polacek@redhat.com>
18975
18976 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
18977
751728a1
MP
189782012-04-16 Marek Polacek <polacek@redhat.com>
18979
18980 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
18981 operands of fdivp instruction.
18982
34a27407
L
189832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18984
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.
18995
7e73e17d
L
189962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
18997
18998 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
18999 __ILP32__.
19000
c7a6ab72
AB
190012012-04-13 Antoine Balestrat <merkil33@gmail.com>
19002
19003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19004 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19005
a9e8e0e0
CL
190062012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19007
19008 [BZ #13973]
19009 * locale/iso-639.def: Fix gl language name. Spotted by
19010 Yaron Shahrabani.
19011
ec98af7d
RM
190122012-04-12 Roland McGrath <roland@hack.frob.com>
19013
19014 [BZ #2074]
19015 * libio/libio.h (__io_write_fn): Update comment.
19016
247c3ede
PB
190172012-04-12 Petr Baudis <pasky@ucw.cz>
19018
19019 [BZ #2074]
19020 * stdio.texi (Hook Functions): The user provided writer function
19021 is not allowed to return -1.
19022
55939d6d
DM
190232012-04-11 David S. Miller <davem@davemloft.net>
19024
19025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19026
90020f5a
MF
190272012-04-11 Mike Frysinger <vapier@gentoo.org>
19028
19029 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19030 Add a leading slash to rtkaio.
19031
288f9098
JM
190322012-04-11 Jim Meyering <meyering@redhat.com>
19033
90020f5a
MF
19034 [BZ #11959]
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
19038 the fact.
288f9098 19039
4be2b570
L
190402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19041
19042 * bits/types.h (__snseconds_t): New type.
19043 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19044
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.
19052
288f9098 190532012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19054
19055 [BZ #2636]
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
19061 _SC_CLK_TCK.
19062
d7dd4413
DM
190632012-04-10 David S. Miller <davem@davemloft.net>
19064
19065 [BZ #13967]
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.
19068
b46068fc
L
190692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19070
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.
19074
73d65cc3
SP
190752012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19076
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
19081 _dl_inhibit_cache.
19082 * elf/dl-load.c (_dl_map_object): Use it.
19083 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19084
bcc8d661
JM
190852012-04-09 Joseph Myers <joseph@codesourcery.com>
19086
8f9a2fae
JM
19087 [BZ #13872]
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
19093 exceptions.
19094
bcc8d661
JM
19095 [BZ #11521]
19096 * math/s_ctan.c: Include <float.h>.
19097 (__ctan): Avoid internal overflow or cancellation in calculating
19098 denominator.
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.
19108
823fbbb4
AJ
191092012-04-09 Andreas Jaeger <aj@suse.de>
19110
03879793
AJ
19111 [BZ #6894]
19112 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19113 is an optional BSD extension.
19114
823fbbb4
AJ
19115 [BZ #10254]
19116 * manual/stdio.texi (Opening Streams): Document additional fopen
19117 parameters.
19118
8de131cb
RM
191192012-04-09 Roland McGrath <roland@hack.frob.com>
19120
19121 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19122 %eax without telling the compiler.
19123
c0ed9d7d
CD
191242012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19125
19126 [BZ # 13963]
19127 * manual/install.texi: Use sourceware.org.
19128
c483f6b4
JM
191292012-04-09 Joseph Myers <joseph@codesourcery.com>
19130
d7dd9453
JM
19131 [BZ #13873]
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.
19138
c483f6b4
JM
19139 [BZ #706]
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.
19146
d2de7579
JM
191472012-04-08 Joseph Myers <joseph@codesourcery.com>
19148
19149 [BZ #13705]
19150 * math/libm-test.inc (exp_test): Do not allow overflow exception
19151 on underflow test.
19152
f77f1232
AJ
191532012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19154
19155 [BZ #13705]
19156 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19157 instead of __kernel_standard_f.
19158
3884932b
MF
191592012-04-08 Mike Frysinger <vapier@gentoo.org>
19160
19161 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19162 * sysdeps/x86_64/memset_chk.S: Likewise.
19163
54472e9c
AJ
191642012-04-08 Andreas Jaeger <aj@suse.de>
19165
6ab0fbfc
AJ
19166 [BZ #10153]
19167 * manual/startup.texi (Environment Access): Describe return value
19168 for putenv and setenv.
19169
61efba8c
AJ
19170 [BZ #6895]
19171 * manual/filesys.texi (Directory Entries): Add description for
19172 DT_LNK.
19173
95c3f29a
AJ
19174 [BZ #6890]
19175 * manual/filesys.texi (Directory Entries): Clarify that it's file
19176 system not operating system in the description of DT_UNKNOWN.
19177
54472e9c
AJ
19178 [BZ #6578]
19179 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19180
624254b1
SC
191812012-04-08 Stephen Compall <s11@member.fsf.org>
19182
19183 [BZ #6649]
19184 * manual/llio.texi (Opening and Closing Files): Add cross
19185 reference to explain mode argument.
19186
1e4920e0
MF
191872012-04-07 Mike Frysinger <vapier@gentoo.org>
19188
19189 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19190 * sysdeps/x86_64/memset_chk.S: Likewise.
19191
5ed848f3
DM
191922012-04-07 David S. Miller <davem@davemloft.net>
19193
19194 * elf/elf.h (R_SPARC_WDISP10): Define.
19195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19196 R_SPARC_SIZE32.
19197 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19198 R_SPARC_SIZE64 and R_SPARC_H34.
19199
96154cd8
CD
192002012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19201
19202 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19203 conditions and remove no longer applicable assertion.
19204
9904dc47
L
192052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19206
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.
19210
f8887d0a
L
192112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19212
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.
19223
62470f60
PP
192242012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19225
19226 [BZ #13895]
19227 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19228 extra indirection.
19229 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19230 * nss/tst-nss-static.c: New.
19231
4dad7bab
RM
192322012-04-06 Robert Millan <rmh@gnu.org>
19233
19234 [BZ #6486]
19235 * manual/llio.texi (File Position Primitive): lseek
19236 refers to WHENCE when it really means OFFSET.
19237
e9142a17
AJ
192382012-04-06 Andreas Jaeger <aj@suse.de>
19239
2c040eff
AJ
19240 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19241 strncmp declarations.
19242
e9142a17
AJ
19243 * abilist/libc.abilist: Add __poll and __ppoll.
19244
ff9f1c5f
DM
192452012-04-05 David S. Miller <davem@davemloft.net>
19246
dcd2ae90
DM
19247 * scripts/check-local-headers.sh: Accept a host triplet in the
19248 path matched by the exclude regexp.
19249
993eb054
DM
19250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19251 definition.
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.
19260
ff9f1c5f
DM
19261 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19262 lazy binding.
48e2e132 19263 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19264 undefined symbol errors.
19265
48e2e132 19266 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19267 DT_NEEDED entries.
19268
e80d6f94
MM
192692012-04-05 Michael Matz <matz@suse.de>
19270
19271 [BZ #13592]
19272 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19273
349fa79f
AJ
192742012-04-05 Andreas Jaeger <aj@suse.de>
19275
19276 [BZ #13908]
19277 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19278 comment.
19279
f402708f
KK
192802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19281
19282 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19283 which ROUND is no valid rounding mode.
19284
2ecccfc9
KK
192852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19286
19287 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19288 read again.
19289 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19290
8a53f50f
KK
192912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19292
19293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19294 an exception using FPU order intentionally.
19295
192962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19297
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.
19302
d653abb7
SJ
193032012-04-05 Simon Josefsson <simon@josefsson.org>
19304
19305 [BZ #12340]
19306 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19307 EINVAL when BUFLEN is too smal.
19308
c3b1bf7d
TS
193092012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19310
19311 [BZ #13553]
19312 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19313 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19314
b1aa60f3
AJ
193152012-04-03 Andreas Jaeger <aj@suse.de>
19316
c3b1bf7d 19317 [BZ #13938]
67f60a26
AJ
19318 * manual/setjmp.texi (System V contexts): Fix sentence.
19319
b1aa60f3
AJ
19320 [BZ #13926]
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.
19328
19329 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19330 __GLIBC_HAVE_LONG_LONG.
19331
19332 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19333 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19334
39c59c35
TMQMF
193352012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19336
19337 [BZ #13691]
19338 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19339 inptr and inend, rather than using last_ch.
19340
135ffda8
DM
193412012-04-02 David S. Miller <davem@davemloft.net>
19342
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.
19356
228c019e
TS
193572012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19358
302cadd3
TS
19359 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19360 CHAR_MAX.
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.
19364
228c019e
TS
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.
19370
cfa633f5
UD
193712012-04-01 Ulrich Drepper <drepper@gmail.com>
19372
19373 * po/ru.po: Update from translation team.
d1635ef8 19374 * po/vi.po: Likewise.
cfa633f5 19375
6cd0a5ea
SP
193762012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19377
19378 * resolv/nss_dns/dns-host.c: Merge copyright years.
19379
4b43400f
LD
193802012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19381
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.
19386
48c41d04
SP
193872012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19388
19389 [BZ #13928]
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.
19393
b8dc394d
JL
193942012-03-30 Jeff Law <law@redhat.com>
19395
19396 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19397 due to long keys.
19398 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19399 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19400
2f5a5ed0
JL
19401 * resolv/nss_dns/dns-host.c: Update copyright year.
19402
1d39e359
UD
194032012-03-30 Ulrich Drepper <drepper@gmail.com>
19404
c030f70c 19405 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19406 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19407
1d39e359
UD
19408 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19409 comments for sendmmsg.
19410
194112012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19412
19413 [BZ #13691]
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.
19418
20fde227
DM
194192012-03-29 David S. Miller <davem@davemloft.net>
19420
19421 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19422 small copies by hand.
19423
984a4237
JL
194242012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19425
19426 [BZ #13761]
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.
19430
18c9d62b
DM
194312012-03-28 David S. Miller <davem@davemloft.net>
19432
88d85d4f
DM
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
19440 bits.
19441 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19442 implementation too.
19443 * sysdeps/sparc/mempcpy.S: New file.
19444
e5aa83e1
DM
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.
19448
88570753
DM
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.
19457
249d7567
DM
19458 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19459 loop to 256 bytes instead of 64 bytes and fix test signedness.
19460
18c9d62b
DM
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.
19464
05f3d1f6
UD
194652012-03-28 Ulrich Drepper <drepper@gmail.com>
19466
19467 * malloc/mallocbug.c: Avoid warnings about unused variables.
19468
86ae07a8
JL
194692012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19470
19471 [BZ #13760]
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.
19475
41bf21a1
JM
194762012-03-28 Joseph Myers <joseph@codesourcery.com>
19477
d6270972
JM
19478 [BZ #369]
19479 [BZ #2678]
19480 [BZ #3866]
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.
19492
414fca03 19493 [BZ #3868]
41bf21a1
JM
19494 [BZ #13879]
19495 [BZ #13910]
19496 [BZ #13911]
19497 [BZ #13912]
19498 [BZ #13913]
19499 [BZ #13915]
19500 [BZ #13916]
19501 [BZ #13917]
19502 [BZ #13918]
19503 [BZ #13919]
19504 [BZ #13920]
19505 [BZ #13921]
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
19510 __kernel_standard.
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.
19554
dd62fda6
AB
195552012-03-27 Anton Blanchard <anton@samba.org>
19556
19557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19558 MAP_HUGETLB.
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.
19562
1e3cdfda
AJ
195632012-03-27 David S. Miller <davem@davemloft.net>
19564
b855ab85
DM
19565 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19566
1e3cdfda
AJ
19567 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19568 have-as-vis3 check.
19569
195702012-03-27 Andreas Jaeger <aj@suse.de>
19571
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.
19577
19578 * sysdeps/x86_64/configure.in: Merge contents from
19579 sysdeps/i386/configure.in (without i686 check).
19580
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.
19590
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.
19597
19598 * sysdeps/unix/i386/start.c: Delete file.
19599 * sysdeps/unix/sparc/start.c: Delete file.
19600 * sysdeps/unix/start.c: Delete file.
19601
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.
19607
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.
19619
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.
19627
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.
19632
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.
19644
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.
19656
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.
19669
19670 * configure.in: Remove support for elf directories in sysdeps.
19671
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.
19681
a3f61311
AS
196822012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19683
c876e002
AS
19684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19685
a3f61311
AS
19686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19687 denormal result into account.
19688
ac4c54f0
RM
196892012-03-25 Roland McGrath <roland@hack.frob.com>
19690
19691 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19692 Reported by Allan McRae <allan@archlinux.org>.
19693
6a9b9c02
JL
196942012-03-23 Jeff Law <law@redhat.com>
19695
19696 * nss/getnssent.c (__nss_getent): Fix typo.
19697
4c42a0c1
DM
196982012-03-23 David S. Miller <davem@davemloft.net>
19699
19700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19701
1532c7ac
L
197022012-03-23 H.J. Lu <hongjiu.lu@intel.com>
19703
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.
19707
3ff42526
PP
197082012-03-23 Daniel Jacobowitz <dmj@google.com>
19709 Paul Pluzhnikov <ppluzhnikov@google.com>
19710
19711 [BZ #6528]
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.
19725
7c69cd14
JM
197262012-03-22 Joseph Myers <joseph@codesourcery.com>
19727
19728 [BZ #13892]
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.
19737
81b035fe
L
197382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19739
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).
19743
1da7940c
L
197442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19745
19746 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
19747 with uint64_t.
19748
b749dbb9
L
197492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19750
19751 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
19752 declaration.
19753 (struct La_x32_retval): Likewise.
19754
2ff87f3f
L
197552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
19756
19757 * sysdeps/x86_64/preconfigure.in: New file.
19758 * sysdeps/x86_64/preconfigure: New generated file.
19759
c0df8e69
JM
197602012-03-22 Joseph Myers <joseph@codesourcery.com>
19761
48e44791
JM
19762 [BZ #13824]
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
19766 __ieee754_expl.
19767 * math/libm-test.inc (exp2_test): Add more tests.
19768
c0df8e69
JM
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):
19772 Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19775 Likewise.
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.
19779
c8e43ba7
L
197802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19781
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.
19791
19792 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
19793 and x32_gnu_pltexit.
19794
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.
19801
7998fa78
AS
198022012-03-21 Andreas Schwab <schwab@linux-m68k.org>
19803
dcb33988
AS
19804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
19805 exponent.
19806
233fc563
AS
19807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19808
7998fa78
AS
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
19819 define.
19820 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
19821 define.
19822
8e95c99a
L
198232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19824
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.
19839
6f4db457
DM
198402012-03-21 David S. Miller <davem@davemloft.net>
19841
19842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19843
7785fe5a
L
198442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
19845
19846 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
19847 of x86_64 when setting libc_cv_slibdir, libdir and
19848 libc_cv_localedir.
19849 * sysdeps/unix/sysv/linux/configure: Regenerated.
19850
4535cd55
JM
198512012-03-21 Joseph Myers <joseph@codesourcery.com>
19852
19853 * manual/lang.texi (Old Varargs): Remove section.
19854 (How Variadic): Update menu.
19855 (va_start): Do not mention varargs.h.
19856
17228132
TS
198572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19858 Joseph Myers <joseph@codesourcery.com>
19859
19860 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
19861 link test.
19862 * configure: Regenerated.
19863
8149f976
TS
198642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19865
05f3d1f6
UD
19866 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
19867 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
19868 conformtest.pl
8149f976 19869
1a4ac776
JM
198702012-03-21 Joseph Myers <joseph@codesourcery.com>
19871
be22ce65
JM
19872 * NOTES: Remove.
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
19878 NOTES.
19879
40b601fb
JM
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.
19891
1a4ac776
JM
19892 [BZ #13883]
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.
19899
a458e7fe
AM
199002012-03-21 Allan McRae <allan@archlinux.org>
19901
19902 * timezone/Makefile: Do not install iso3166.tab and zone.tab
19903
0cb7efc5
JM
199042012-03-21 Joseph Myers <joseph@codesourcery.com>
19905
19906 [BZ #13871]
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
19910 __kernel_standard.
19911 * math/w_exp2f.c: Likewise.
19912 * math/w_exp2l.c: Likewise.
19913 * math/libm-test.inc (exp2_test): Require overflow exception for
19914 1e6 input.
2460d3aa
JM
19915
19916 [BZ #3866]
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
19926 ones as needed.
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
19932 ones as needed.
19933 * math/libm-test.inc (pow_test): Add more tests.
19934
eb96ffb0
L
199352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
19936
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.
19987
19988 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
19989
19990 * stdio-common/_itoa.h: Moved to ...
19991 * sysdeps/generic/_itoa.h: Here.
19992
19993 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
19994
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.
19998
d1af992d
L
199992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20000
20001 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20002 <bits/wordsize.h>.
20003 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20004 (__signbit): Likwise.
20005 (llrintf): Likwise.
20006 (llrint): Likwise.
20007
114883e0
L
200082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20009
20010 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20011 __WORDSIZE != 64.
20012
c135cc1b
JM
200132012-03-20 Joseph Myers <joseph@codesourcery.com>
20014
20015 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20016 OVERFLOW_EXCEPTION_OK.
20017 * math/libm-test.inc ("Philosophy"): Update comment about
20018 exception testing.
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.
20032
95443d88
L
200332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20034
20035 * sysdeps/x86_64/bits/atomic.h
20036 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20037 64bit integer.
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.
20043
490df6c4
L
200442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20045
c2722551 20046 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20047 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20048
5e52b189
L
200492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20050
20051 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20052 Check __x86_64__ instead of __WORDSIZE.
20053
a9879d4c
L
200542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20055
20056 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20057
5df98260
DM
200582012-03-19 David S. Miller <davem@davemloft.net>
20059
e1497744
DM
20060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20061
5df98260
DM
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):
20065 Remove.
20066 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20067 (libc_feholdexcept_setroundl): Remove.
20068 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20069 Remove.
20070 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20071 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20072
b4c35121
L
200732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20074
20075 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20076 int64_t instead of long int.
20077 (INSERT_WORDS64): Likwise.
20078
56965fd7
L
200792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20080
20081 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20082 _Unwind_GetCFA return to _Unwind_Ptr first.
20083
83d1aec8
JM
200842012-03-19 Joseph Myers <joseph@codesourcery.com>
20085
1897ad44
JM
20086 [BZ #13629]
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.
20100
7726d6a9
JM
20101 [BZ #11451]
20102 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20103 x and y.
20104 * math/libm-test.inc (atan2_test): Add another test.
20105
83d1aec8
JM
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):
20111 Remove rule.
20112 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20113 Likewise.
20114 [generic bits/local_lim.h] (before-compile): Do not append to
20115 variable.
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
20122 include.
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
20128 variable.
20129 [generic sys/param.h] (sysdep_headers): Likewise.
20130 [generic bits/errno.h] (before-compile): Do not append to
20131 variable.
20132 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20133 rule.
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
20138 variable.
20139 [generic bits/ioctls.h] (before-compile): Do not append to
20140 variable.
20141 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20142 rule.
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
20146 rule.
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
20151 variable.
20152 [generic sys/syscall.h] (syscall.h): Remove variable.
20153 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20154 rule.
20155 [generic sys/syscall.h] (before-compile): Do not append to
20156 variable.
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.
20164
4851a949
RH
201652012-03-19 Richard Henderson <rth@twiddle.net>
20166
bd37f2ee
RH
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.
20180
d0adc922
RH
20181 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20182 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20183
0fe0f1f8
RH
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.
20192
eb92c487
RH
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
20203 SET_RESTORE_ROUND.
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.
20206 (__cos): Likewise.
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.
20216
7d2e8012
RH
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.
20220
b4dabbb4
RH
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.
20238
4851a949
RH
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.
20250
e79d442e
AS
202512012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20252
20253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20254
90b80344
DM
202552012-03-17 David S. Miller <davem@davemloft.net>
20256
20257 [BZ #6471]
20258 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20259 for 2.16.
20260
edc21804
DM
202612012-03-16 David S. Miller <davem@davemloft.net>
20262
77e927af
DM
20263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20264 warnings.
20265
374976dd
DM
20266 [BZ #6471]
20267 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20268 properly.
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.
20274
edc21804
DM
20275 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20276
473c3ef3
L
202772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20278
20279 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20280 [__LP64__].
20281
eb0f39b6
L
202822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20283
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.
20290
6b6cd74b
L
202912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20292
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.
20297
f1a77b01
L
202982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20299
20300 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20301 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20302
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>.
20309
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.
20313
20314 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20315 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20316
11b90b9f
JM
203172012-03-16 Joseph Myers <joseph@codesourcery.com>
20318
c36e1d23
JM
20319 [BZ #2551]
20320 [BZ #2552]
20321 [BZ #2553]
20322 [BZ #2554]
20323 [BZ #2562]
20324 [BZ #2563]
20325 [BZ #2565]
20326 [BZ #2566]
20327 [BZ #2576]
20328 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20329 (y0): Likewise.
20330 * math/w_j0f.c (j0f): Likewise.
20331 (y0f): Likewise.
20332 * math/w_j0l.c (__j0l): Likewise.
20333 (__y0l): Likewise.
20334 * math/w_j1.c (j1): Likewise.
20335 (y1): Likewise.
20336 * math/w_j1f.c (j1f): Likewise.
20337 (y1f): Likewise.
20338 * math/w_j1l.c (__j1l): Likewise.
20339 (__y1l): Likewise.
20340 * math/w_jn.c (jn): Likewise.
20341 (yn): Likewise.
20342 * math/w_jnf.c (jnf): Likewise.
20343 (ynf): Likewise.
20344 * math/w_jnl.c (__jnl): Likewise.
20345 (__ynl): 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.
20353
11b90b9f
JM
20354 [BZ #13851]
20355 [BZ #13854]
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.
20370
6a1bd2a1
JK
203712012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20372
20373 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20374 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20375
10a803e0
RM
203762012-03-16 Roland McGrath <roland@hack.frob.com>
20377
20378 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20379 * configure.in: Use it for both main tree and add-ons.
20380 * configure: Regenerated.
20381
f196c7f7
L
203822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20383
20384 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20385
8848d99d
JM
203862012-03-16 Joseph Myers <joseph@codesourcery.com>
20387
96cbe7f4
JM
20388 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20389 in comment.
20390
8848d99d
JM
20391 [BZ #13851]
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
20397 infinite argument.
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.
20418
dd7f4703
DM
204192012-03-16 David S. Miller <davem@davemloft.net>
20420
20421 * sysdeps/sparc/fpu/math_private.h: New file.
20422
006f1daa
DM
204232012-03-15 David S. Miller <davem@davemloft.net>
20424
c0c83bc8
DM
20425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20426 file.
e6a62e18 20427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20429 file.
e6a62e18
DM
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
20436 sysdep routines.
20437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20438
88cb87d9
DM
20439 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20440 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20441
006f1daa 20442 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20444 sparc-ifunc.h
006f1daa 20445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20447 Likewise.
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20449 Likewise.
006f1daa
DM
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.
c0c83bc8
DM
20453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20454 Likewise.
006f1daa
DM
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.
c0c83bc8
DM
20459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20460 Likewise.
20461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20462 Likewise.
006f1daa
DM
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.
20487
11e0098e
AS
204882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20489
20490 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20491 scaling.
20492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20493
e85b09d0
AJ
204942012-03-15 Andreas Jaeger <aj@suse.de>
20495
20496 [BZ #13852]
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.
20505
20506 * math/libm-test.inc (cos_test): Enable some large input tests for
20507 float as well
20508 (sin_test): Likewise.
20509 (sincos_test): Likewise.
20510 (tan_test): Add tests for large input.
20511
20512 * sysdeps/i386/fpu/libm-test-ulps: Update.
20513
81c64153
AJ
205142012-03-15 Andreas Jaeger <aj@suse.de>
20515
20516 [BZ #13658]
20517 * math/libm-test.inc (cos_test): Add more test cases.
20518 (sin_test): Likewise.
20519 (sincos_test): Likewise.
20520
7bbfa5c6
AJ
205212012-03-15 Andreas Jaeger <aj@suse.de>
20522
20523 [BZ #13837]
20524 * math/libm-test.inc (cos_test): Add a test case for large input
20525 value.
20526 (sin_test): Likewise.
20527 (sincos_test): Likewise.
20528
205292012-03-15 Andreas Jaeger <aj@suse.de>,
20530 Joseph Myers <joseph@codesourcery.com>
20531
20532 [BZ #13658]
0671f479 20533 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
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.
20542
20543 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20544 Define.
20545 (libc_feupdateenv_53bit): Define.
20546 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20547 Define.
20548 (libc_feupdateenv_53bit): Define.
20549
20550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20551 53 bit (without extend i386 double precision).
20552
20553 * math/libm-test.inc (sincos_test): Add tests for large input.
20554 (sin): Likewise.
20555 (cos): Likewise.
20556
20557 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20558
9cad04ea
AS
205592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20560
20561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20562
f7062b9a
DM
205632012-03-15 David S. Miller <davem@davemloft.net>
20564
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.
c0c83bc8
DM
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20581 file.
f7062b9a 20582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20584 file.
f7062b9a 20585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20587 file.
f7062b9a 20588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20590 file.
f7062b9a
DM
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.
20595
7bd951ff
DM
205962012-03-14 David S. Miller <davem@davemloft.net>
20597
559398ab
DM
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.
c0c83bc8
DM
20626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20627 routines.
20628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20629 file.
559398ab 20630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20632 file.
559398ab 20633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20635 file.
559398ab 20636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20638 file.
559398ab 20639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20641 file.
559398ab 20642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20644 file.
20645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20646 file.
20647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20648 file.
20649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20650 file.
20651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20652 New file.
20653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20654 file.
20655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20656 file.
559398ab 20657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20659 file.
559398ab 20660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20662 file.
559398ab 20663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20665 file.
559398ab 20666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20668 VIS3 routines.
559398ab
DM
20669
20670 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20671 New file.
20672
5a1c1e32
DM
20673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20674
eae47a36
DM
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.
c0c83bc8
DM
20685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20686 New file.
20687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20688 file.
20689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20690 New file.
20691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20692 file.
eae47a36
DM
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.
20698
c0c83bc8
DM
20699 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
20700 fzeros/fnegs to load 0x80000000 into a float register instead of
20701 using the stack.
7bd951ff
DM
20702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
20703
bd951ccb
JM
207042012-03-14 Joseph Myers <joseph@codesourcery.com>
20705
20706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20707 bits/syscall.h.
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.
20715
bb4e6db2
RM
207162012-03-14 Roland McGrath <roland@hack.frob.com>
20717
20718 [BZ #13846]
20719 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
20720
aa4a2ae1
JM
207212012-03-14 Joseph Myers <joseph@codesourcery.com>
20722
e456826d
JM
20723 [BZ #13841]
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.
20731
aa4a2ae1
JM
20732 [BZ #13840]
20733 * math/libm-test.inc (hypot_test): Add more tests.
20734
7c10fd35
DM
207352012-03-13 David S. Miller <davem@davemloft.net>
20736
20737 [BZ #13840]
20738 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
20739 double-precision for the calculation instead of scaling.
20740
f453b98b
JM
207412012-03-13 Joseph Myers <joseph@codesourcery.com>
20742
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):
20747 Likewise.
20748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
20749
09a3453f
DM
207502012-03-13 David S. Miller <davem@davemloft.net>
20751
8e59da90
DM
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.
20757
2a8ab7f2
DM
20758 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
20759 large parameters.
20760
10f62770
DM
20761 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
20762
5f0bdb18
DM
20763 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
20764 'err' in the ifdef scope in which it is actually used.
20765
09a3453f
DM
20766 * nss/nss_db/db-init.c: Include string.h
20767
b4b2eb5e
DM
207682012-03-12 David S. Miller <davem@davemloft.net>
20769
98bb2f1c
DM
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.
20774
b4b2eb5e
DM
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
20778 expression.
20779 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
20780 later.
20781
6e226b09
DM
207822012-03-11 David S. Miller <davem@davemloft.net>
20783
a1bcbd40
DM
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.
20788
cb9d6174
DM
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.
20791
6e226b09
DM
20792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20793
058c132d
AS
207942012-03-10 Andreas Schwab <schwab@linux-m68k.org>
20795
20796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20797
2d2cd515
DM
207982012-03-09 David S. Miller <davem@davemloft.net>
20799
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
20809 call.
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.
20813
9a07f9d0
JM
208142012-03-10 Joseph Myers <joseph@codesourcery.com>
20815
20816 * sunrpc/Makefile (others): Add rpcgen.
20817 ($(objpfx)rpcgen): Remove special build rule and dependency on
20818 libc.
20819 * sunrpc/rpcgen.c: New file.
20820
547b5e30
PE
208212012-03-09 Paul Eggert <eggert@cs.ucla.edu>
20822
c524201a
PE
20823 [BZ #13673]
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.
20835
7b6235f2
PE
20836 [BZ #13673]
20837 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
20838 with URL.
20839 * locale/programs/locfile-kw.gperf: Likewise.
20840 * locale/programs/charmap-kw.h: Regenerated.
20841 * locale/programs/locfile-kw.h: Likewise.
20842
547b5e30
PE
20843 [BZ #13673]
20844 * intl/plural.y: Replace FSF snail mail address with URL.
20845 * intl/plural.c: Regenerated.
20846
5f0a5dae
RH
208472012-03-09 Richard Henderson <rth@twiddle.net>
20848
20849 * include/math_private.h: Remove file.
20850 * math/math_private.h: Move file ...
20851 * sysdeps/generic/math_private.h: ... here.
20852
b8c03620
RH
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.
20856
4e234f5d 20857 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
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.
1ed0291c 21193
1991fa03
JM
211942012-03-09 Joseph Myers <joseph@codesourcery.com>
21195
21196 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21197 * sunrpc/rpc_main.c: Likewise.
21198 * sunrpc/rpc_svcout.c: Likewise.
21199
60d6f5a6
DM
212002012-03-09 David S. Miller <davem@davemloft.net>
21201
21202 * include/math_private.h: New file.
21203
4962050e
JM
212042012-03-09 Joseph Myers <joseph@codesourcery.com>
21205
02a6f887
JM
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.
21214
c6e013c1
JM
21215 [BZ #13566]
21216 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21217 checking __USE_GNU.
21218
4962050e
JM
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.
21223
38842f45
RH
212242012-03-08 Richard Henderson <rth@twiddle.net>
21225
67bb6da6
RH
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.
21230
15194b4b
RH
21231 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21232 to inline function.
21233 (__rintf, __floor, __floorf): Likewise.
21234
64e21ede
RH
21235 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21236 macro to inline function.
21237 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21238
38842f45
RH
21239 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21240 not <math/math_private.h>.
21241
c64bf5fe
DM
212422012-03-08 David S. Miller <davem@davemloft.net>
21243
21244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21245 copyright year.
21246 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21247
82d86f28
TS
212482012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21249
21250 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21251 normalization.
21252 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21253 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21254
aea5d727
UD
212552012-03-08 Ulrich Drepper <drepper@gmail.com>
21256
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.
21262
70bca0a3
MP
212632012-03-07 Marek Polacek <polacek@redhat.com>
21264
21265 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21266
65b81130
MP
212672012-03-08 Marek Polacek <polacek@redhat.com>
21268
21269 [BZ #13806]
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.
21274
07037eeb
JM
212752012-03-08 Joseph Myers <joseph@codesourcery.com>
21276
a7a93d50
JM
21277 [BZ #6911]
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
21287 expansion.
21288 * manual/filesys.texi: Likewise.
21289 (getumask): Document as specific to GNU/Hurd.
21290 * manual/install.texi: Likewise. Reword some references to
21291 GNU/Linux.
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
21306 child on GNU/Hurd.
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.
21320
07037eeb
JM
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
21324 puts.
21325 * configure: Regenerated.
21326
d1d3431a
JM
213272012-03-07 Joseph Myers <joseph@codesourcery.com>
21328
af6a1e37
JM
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.
21332
d1d3431a
JM
21333 [BZ #10716]
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.
21344
482ff4da
UD
213452012-03-07 Ulrich Drepper <drepper@gmail.com>
21346
872fda05
UD
21347 * po/zh_TW.po: Update from translation team.
21348
a4300c7a
UD
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.
21393
3b7c4e74 21394 [BZ #6959]
482ff4da
UD
21395 * timezone/Makefile: Don't install timezone files, just the programs
21396 and scripts.
21397
f72ed77d
UD
213982012-03-06 Ulrich Drepper <drepper@gmail.com>
21399
a000466f
UD
21400 * nss/databases.def: Add missing gshadow entry.
21401
f72ed77d
UD
21402 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21403
a53b7a4e
MP
214042012-03-06 Marek Polacek <polacek@redhat.com>
21405
21406 [BZ #13726]
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.
21411
e9258400
DM
214122012-03-06 David S. Miller <davem@davemloft.net>
21413
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.
f72ed77d
UD
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
21421 __builtin_expect.
e9258400
DM
21422 (INLINE_CLONE_SYSCALL): Likewise.
21423
3bd2c723
DM
214242012-03-05 David S. Miller <davem@davemloft.net>
21425
21426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21427
bbb78d03
AS
214282012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21429
884c5db4
AS
21430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21431
bbb78d03
AS
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.
21435
1c9f702a 214362012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21437
21438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21439 Replace gettimeofday with __vdso_gettimeofday.
21440
7be16f82
RM
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.
8542dee3
L
21444
21445 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21446 time with __vdso_time.
21447
ed58a00f
JM
214482012-03-05 Joseph Myers <joseph@codesourcery.com>
21449
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.
21453
30ee4ced
AJ
214542012-03-05 Andreas Jaeger <aj@suse.de>
21455
21456 * sysdeps/i386/fpu/libm-test-ulps: Update.
21457
b7cd39e8
JM
214582012-03-05 Joseph Myers <joseph@codesourcery.com>
21459
21460 [BZ #3976]
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.
ca811b22
JM
21471
21472 [BZ #3976]
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.
21484
6c6a98c9
TV
214852012-03-05 Tom de Vries <tom@codesourcery.com>
21486
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.
21490
21bb2d2e 214912012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21492
21bb2d2e 21493 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21494
21bb2d2e
AJ
21495 [BZ #13656]
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.
7c1f4834 21500
c6922934
AS
215012012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21502
21503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21504
bc957d53
MP
215052012-03-03 Marek Polacek <polacek@redhat.com>
21506
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.
21512
6358490d
DM
215132012-03-02 David S. Miller <davem@davemloft.net>
21514
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.
21523
01ae168d
RM
215242012-03-02 Roland McGrath <roland@hack.frob.com>
21525
d9a17c07
RM
21526 [BZ #13792]
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.
21572
01ae168d
RM
21573 [BZ #13792]
21574 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21575 function to ...
21576 * manual/timeval_subtract.c.texi: ... here, new file.
21577
49efa33d
DM
215782012-03-02 David S. Miller <davem@davemloft.net>
21579
21580 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21581
28afd92d
JM
215822012-03-02 Joseph Myers <joseph@codesourcery.com>
21583
804360ed
JM
21584 [BZ #3976]
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
21591 <fenv.h>.
21592 (tan): Save and restore rounding mode and use round-to-nearest for
21593 all computations.
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.
21609
a6d06d7b
JM
21610 [BZ #10135]
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):
21615 Likewise.
21616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21617 Likewise.
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.
21628
07e12bb3
JM
21629 * manual/filesys.texi (mode_t): Describe constraints on size and
21630 signedness, not exact equivalence to a particular type.
21631 (ino_t): Likewise.
21632 (ino64_t): Likewise.
21633 (dev_t): Likewise.
21634 (nlink_t): Likewise.
21635 (blkcnt_t): Likewise.
21636 (blkcnt64_t): Likewise.
21637 * manual/llio.texi (off_t): Likewise.
21638
28afd92d
JM
21639 [BZ #3976]
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.
21650
b1eeb65d
CD
216512012-03-01 Chris Demetriou <cgd@google.com>
21652
21653 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21654 have predictable order.
21655
53362a4b
DM
216562012-03-01 David S. Miller <davem@davemloft.net>
21657
3c969083
DM
21658 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21659
759707de
DM
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.
21664
dfdb8ff2
DM
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.
21674
ead89f96
DM
21675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21676
7f66bd07
DM
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.
21680
53362a4b
DM
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.
21700
7b1902cb
JM
217012012-03-01 Joseph Myers <joseph@codesourcery.com>
21702
bec039bc
JM
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.
21708
7b1902cb
JM
21709 [BZ #2541]
21710 [BZ #4108]
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
21715 exponent.
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.
21720
f775c276
KT
217212012-03-01 Kai Tietz <ktietz@redhat.com>
21722
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.
21729
5b8a4d4a
JM
217302012-02-29 Joseph Myers <joseph@codesourcery.com>
21731
0bab47b6
JM
21732 [BZ #13786]
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.
21741
0fcad3e2
JM
21742 [BZ #5794]
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.
21746
5b8a4d4a
JM
21747 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
21748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21749
8fdceb2e
JL
217502012-02-29 Jeff Law <law@redhat.com>
21751
21752 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
21753 out of bounds read.
21754
1f393a11
MP
217552012-02-29 Marek Polacek <polacek@redhat.com>
21756
21757 [BZ #13706]
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.
21760
8847f037
DM
217612012-02-28 David S. Miller <davem@davemloft.net>
21762
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.
21769
169d7f11
JM
217702012-02-29 Joseph Myers <joseph@codesourcery.com>
21771
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
21775 from bug 2561.
21776
39adf059
UD
217772012-02-28 Ulrich Drepper <drepper@gmail.com>
21778
21779 * sysdeps/x86_64/fpu/e_expf.S: New file.
21780 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
21781
71b5d1c5
SB
217822012-02-28 Stanislav Brabec <sbrabec@suse.cz>
21783
21784 [BZ #13637]
21785 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
21786 of remain_len that may cause incomplete multi-byte character and
21787 false match.
21788 * posix/bug-regex33.c: New file.
21789 * posix/Makefile (tests): Add bug-regex33.
21790
1f77f049
JM
217912012-02-28 Joseph Myers <joseph@codesourcery.com>
21792
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.
d40c5d54 21839 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 21840
450bf206
AS
218412012-02-28 Andreas Schwab <schwab@linux-m68k.org>
21842
21843 * include/dirent.h: Include <dirstream.h> before
21844 <dirent/dirent.h>.
21845
741a235b
DM
218462012-02-28 David S. Miller <davem@davemloft.net>
21847
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.
21852
d6b5aa58
DM
218532012-02-27 David S. Miller <davem@davemloft.net>
21854
1aff59a3
DM
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.
21859
d6b5aa58
DM
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.
21865
433f48bf
CD
218662012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
21867
21868 [BZ #3992]
21869 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
21870
d674b76d
DM
218712012-02-27 David S. Miller <davem@davemloft.net>
21872
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.
21881
0e7727f7
JM
218822012-02-27 Joseph Myers <joseph@codesourcery.com>
21883
21884 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
21885 later. Allow versions 5-9.
43be4ca2 21886 * configure: Regenerated.
0e7727f7
JM
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.
43be4ca2 21890 * INSTALL: Regenerated.
0e7727f7 21891
a78bc654
DM
218922012-02-27 David S. Miller <davem@davemloft.net>
21893
428d5830
DM
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.
21902
a78bc654
DM
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.
21906
4579f81c
RM
219072012-02-27 Roland McGrath <roland@hack.frob.com>
21908
36c8acb4
RM
21909 [BZ #13775]
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.
21914
84ad622b
RM
21915 * rt/tst-aio.c: Include <fcntl.h>.
21916 * rt/tst-aio7.c: Likewise.
21917 * rt/tst-aio64.c: Likewise.
21918
4579f81c
RM
21919 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
21920
abd923db
JM
219212012-02-27 Joseph Myers <joseph@codesourcery.com>
21922
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
21927 kernels.
43be4ca2 21928 * INSTALL: Regenerated.
abd923db
JM
21929 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
21930 Change to 2.6.19.
21931 * sysdeps/unix/sysv/linux/configure: Regenerated.
21932
6664049b
JM
21933 * manual/llio.texi (fclean): Remove documentation.
21934
bb8b6697
JM
21935 * manual/Makefile (libc-texi-generated): New variable. Include
21936 version.texi.
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.
21945 (ISBN): Likewise.
21946 (VERSION, UPDATED): Remove.
21947 (version.texi): Include.
21948
12e5c3b9
AS
219492012-02-27 Andreas Schwab <schwab@linux-m68k.org>
21950
21951 * sysdeps/posix/spawni.c: Include <signal.h>.
21952 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
21953 * sysdeps/pthread/aio_fsync.c: Likewise.
21954
4efeffc1 219552012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 21956
ba63ba08
UD
21957 * conform/Makefile (tests): Run only when not cross-compiling and
21958 when fast-check is not defined.
21959
d94a4670
UD
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
21964 headers.
21965 * include/bits/dlfcn.h: Likewise.
21966 * include/langinfo.h: Likewise.
21967 * include/monetary.h: Likewise.
21968 * include/sys/poll.h: Likewise.
21969
21970 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
21971 for __USE_GNU.
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.
4efeffc1
UD
21983
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.
22005
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
22012 sigevent.
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.
22017
c20105c3
AS
220182012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22019
22020 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22021
7a270350
UD
220222012-02-25 Ulrich Drepper <drepper@gmail.com>
22023
31341567
UD
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
22027 support.
22028
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.
22103
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.
22152
22153 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22154
7a270350
UD
22155 * time/time.h: TIME_UTC must be a macro.
22156 Make timespec_get available for ISO C11 only as well.
22157
7724defc
UD
221582012-02-24 Ulrich Drepper <drepper@gmail.com>
22159
22160 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22161 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22162
6b1d1d46
JM
221632012-02-24 Joseph Myers <joseph@codesourcery.com>
22164
22165 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22166
0f8bbd69
JM
221672012-02-24 Joseph Myers <joseph@codesourcery.com>
22168
22169 * manual/texinfo.tex: Update to version 2012-01-19.16.
22170
66ab80bc
JM
221712012-02-24 Joseph Myers <joseph@codesourcery.com>
22172
22173 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22174
74981cc5
RM
221752012-02-24 Roland McGrath <roland@hack.frob.com>
22176
ee968201
RM
22177 [BZ #13738]
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.
22181
74981cc5
RM
22182 [BZ #13738]
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.
22186
7bb764bc
JM
221872012-02-22 Joseph Myers <joseph@codesourcery.com>
22188 Roland McGrath <roland@hack.frob.com>
22189
22190 [BZ #5461]
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
22195 name.
22196 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22197
6cbeae47
JM
221982012-02-22 Joseph Myers <joseph@codesourcery.com>
22199
22200 [BZ #2547]
22201 [BZ #11365]
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.
22205
fe45ce09
JM
222062012-02-22 Joseph Myers <joseph@codesourcery.com>
22207
22208 [BZ #2548]
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.
22216
ff3b3d82
JM
222172012-02-22 Joseph Myers <joseph@codesourcery.com>
22218
22219 [BZ #10110]
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.
22224
ef0aab35
JM
222252012-02-22 Joseph Myers <joseph@codesourcery.com>
22226
22227 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22228
58639409
DM
222292012-02-21 David S. Miller <davem@davemloft.net>
22230
22231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22233
c0e70b25
DM
222342012-02-20 David S. Miller <davem@davemloft.net>
22235
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.
22240
fb06851d
JM
222412012-02-21 Joseph Myers <joseph@codesourcery.com>
22242
22243 * manual/install.texi: Fix stray word in line-wrapped comment.
22244
7a8b71c3
DM
222452012-02-20 David S. Miller <davem@davemloft.net>
22246
d510c123
DM
22247 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22248 both binutils and gcc support GOTDATA.
22249
0722d7c2
DM
22250 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22251 "rd %pc" in the PIC register setup sequences.
22252
3d2b3019
DM
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.
22267
c80098a9
DM
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.
22273
3a2545a0
DM
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.
22280
7a8b71c3
DM
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.
22286
f1e86fca
JM
222872012-02-21 Joseph Myers <joseph@codesourcery.com>
22288
22289 * manual/install.texi: Do not mention specific glibc version
22290 numbers.
22291 * manual/libc.texinfo (VERSION, UPDATED): Update.
22292 (@copying): Use @copyright{} and range of years.
22293
0e7dfaef
JM
222942012-02-21 Joseph Myers <joseph@codesourcery.com>
22295
22296 [BZ #13695]
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)):
22305 Likewise.
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
22312 variable.
22313 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22314 Likewise.
22315
599af3ca
JM
223162012-02-20 Joseph Myers <joseph@codesourcery.com>
22317
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
22324 <bits/epoll.h>.
22325 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22326 (__EPOLL_PACKED): Define to empty if not defined by
22327 <bits/epoll.h>.
22328 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22330 bits/epoll.h.
22331
0e499750
JM
223322012-02-20 Joseph Myers <joseph@codesourcery.com>
22333
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
22338 <bits/timerfd.h>.
22339 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22341 bits/timerfd.h.
22342
5ad91f6e
JM
223432012-02-20 Joseph Myers <joseph@codesourcery.com>
22344
22345 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22346 in C locale.
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.
22351
06b99b02
AJ
223522012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22353
22354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22355 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22356
7638c0fd
AS
223572012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22358
22359 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22360 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22361 defined.
22362 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22363 Likewise.
22364 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22365 entry for 2.16.
22366
92221550
AJ
223672012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22368
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.
22409
ebaf36eb
JM
224102012-02-19 Joseph Myers <joseph@codesourcery.com>
22411
22412 [BZ #9739]
22413 * manual/string.texi (strnlen): Use correct parameter name in
22414 equivalent expression.
22415
71c254a6
JM
224162012-02-19 Joseph Myers <joseph@codesourcery.com>
22417
22418 [BZ #11174]
22419 * manual/users.texi (seteuid): Consistently use neweuid for
22420 argument name.
22421
16d2c631
JM
224222012-02-19 Joseph Myers <joseph@codesourcery.com>
22423
22424 [BZ #13704]
22425 * manual/nss.texi (Services in the NSS configuration): Correct
22426 list of services in example configuration file.
22427
cd837b09
NB
224282012-02-19 Nick Bowler <nbowler@draconx.ca>
22429
22430 [BZ #11322]
22431 * manual/arith.texi: Remove statements about negative zero
22432 behaving identically to zero.
22433
02c4bbad
JM
224342012-02-18 Joseph Myers <joseph@codesourcery.com>
22435
22436 [BZ #5993]
22437 * manual/install.texi: Do not document upgrading from libc5.
22438
366842e7
JM
224392012-02-18 Joseph Myers <joseph@codesourcery.com>
22440
22441 [BZ #4596]
22442 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22443
dd54084d
DM
224442012-02-18 David S. Miller <davem@davemloft.net>
22445
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
22450 instead.
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.
22456
2bcc53a3
UD
224572012-02-17 Ulrich Drepper <drepper@gmail.com>
22458
22459 * aout/Makefile: Remove.
22460
09c093b5
RK
224612012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22462
22463 [BZ #13058]
22464 * manual/examples/argp-ex1.c (main): Format definition in GNU
22465 style.
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
22470 definition.
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.
22474
2ee633a2
JM
224752012-02-17 Joseph Myers <joseph@codesourcery.com>
22476
22477 [BZ #5077]
22478 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22479 rounding modes.
22480
0520adde
FB
224812012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22482
22483 [BZ #6907]
22484 * manual/string.texi (strchr): Change when strchrnul is
22485 recommended.
22486
3f4081cd
DGM
224872012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22488
22489 [BZ #174]
22490 * manual/locale.texi (setlocale): Document LOCPATH.
22491
d1b10e78
JM
224922012-02-17 Joseph Myers <joseph@codesourcery.com>
22493
22494 [BZ #10210]
22495 * manual/process.texi (execle): Move @dots{} before last argument.
22496
79c6869c
PB
224972012-02-17 Paul Bolle <pebolle@tiscali.nl>
22498
22499 [BZ #12047]
22500 * manual/charset.texi (Generic Charset Conversion): Fix typo
22501 (LC_TYPE -> LC_CTYPE).
22502
cc6e48bc
NB
225032012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22504
22505 [BZ #5805]
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.
22514 (verr): Likewise.
22515 (verrx): 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.
22520 (jnf): Likewise.
22521 (jnl): Likewise.
22522 (yn): Likewise.
22523 (ynf): Likewise.
22524 (ynl): Likewise.
22525 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22526 line.
22527 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22528 "...".
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
22533 names.
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
22538 "...".
22539 * manual/stdio.texi (__fpending): Separate initial words of
22540 paragraph from @deftypefun line.
22541 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22542 "...".
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.
22547
5b23062f
JM
225482012-02-17 Joseph Myers <joseph@codesourcery.com>
22549
22550 [BZ #6884]
22551 * manual/stdio.texi (fopen): Fix typos in description of
22552 ",ccs=STRING".
22553
8dee4833
AJ
225542012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22555
22556 [BZ #4026]
22557 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22558 get clock_id definition.
22559
9078ce93
TS
225602012-02-17 Thomas Schwinge <thomas@schwinge.name>
22561
22562 [BZ #4822]
22563 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22564 (madvise): Cast every argument to void on its own.
22565
3835c55f
JM
225662012-02-17 Joseph Myers <joseph@codesourcery.com>
22567
22568 [BZ #9902]
22569 * manual/startup.texi (Exit Status): Fix typo.
22570
35c47e37
JM
225712012-02-17 Joseph Myers <joseph@codesourcery.com>
22572
22573 [BZ #10140]
22574 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22575 * manual/examples/argp-ex2.c: Likewise.
22576 * manual/examples/argp-ex3.c: Likewise.
22577
e3b69ca7
RH
225782012-02-16 Richard Henderson <rth@redhat.com>
22579
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.
22584
df83af67
KK
225852012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22586
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.
22590
f63f3380
DM
225912012-02-16 David S. Miller <davem@davemloft.net>
22592
fb59b3a4
DM
22593 [BZ #11494]
22594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22595
f63f3380
DM
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.
22601
df6a4a4a
MF
226022012-02-15 Mike Frysinger <vapier@gentoo.org>
22603
6dd8f3dc 22604 [BZ #3335]
df6a4a4a
MF
22605 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22606
1cac7236
RM
226072012-02-15 Roland McGrath <roland@hack.frob.com>
22608
d2c736f8
RM
22609 [BZ #4822]
22610 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22611
1cac7236
RM
22612 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22613 (write, read, close): Likewise.
22614 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22615
8e475601
JM
226162012-02-15 Joseph Myers <joseph@codesourcery.com>
22617
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
22622 <bits/signalfd.h>.
22623 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22625 bits/signalfd.h.
22626
ed656b40
MP
226272012-02-14 Marek Polacek <polacek@redhat.com>
22628
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.
22632
2a979d3a
JM
226332012-02-13 Joseph Myers <joseph@codesourcery.com>
22634
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
22639 <bits/inotify.h>.
22640 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22642 bits/inotify.h.
22643
2a418ac3
JM
226442012-02-13 Joseph Myers <joseph@codesourcery.com>
22645
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
22650 <bits/eventfd.h>.
22651 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22653 bits/eventfd.h.
22654
fb779be7
TS
226552012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22656
e19e83c5
RM
22657 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22658 __feraiseexcept instead of feraiseexcept.
7c35ffed 22659
fb779be7
TS
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.
22664
59ba27a6
PE
226652012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22666
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.
22674
57b957eb
RH
226752012-02-09 Richard Henderson <rth@twiddle.net>
22676
af850b1c
RH
22677 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22678 of kernel-features.h.
22679
57b957eb
RH
22680 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22681
6b73181a
MP
226822012-02-08 Marek Polacek <polacek@redhat.com>
22683
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.
22688
26ecc33a
AS
226892012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22690
6c6dbc63
AS
22691 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22692 tests.
22693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22694
e216c012
AS
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.
22699
26ecc33a
AS
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.
22706
3add8e13
JM
227072012-02-08 Joseph Myers <joseph@codesourcery.com>
22708
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.
22724
a22f12b4
MP
227252012-02-07 Marek Polacek <polacek@redhat.com>
22726
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.
22730
148cf100
MP
227312012-02-07 Marek Polacek <polacek@redhat.com>
22732
22733 * math/Makefile (tests): Add tst-CMPLX2.
22734 * math/tst-CMPLX2.c: New file.
22735
cfdc0dd7
AS
227362012-02-07 Andreas Schwab <schwab@linux-m68k.org>
22737
84ba42c4
AS
22738 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22739
cfdc0dd7
AS
22740 * math/libm-test.inc (jn_test): Add missing L suffix.
22741
622c86f4
MP
227422012-02-06 Marek Polacek <polacek@redhat.com>
22743
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.
22798
d4a54ac6
JM
227992012-02-06 Joseph Myers <joseph@codesourcery.com>
22800
22801 [BZ #411]
22802 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
22803
314054ea
JM
228042012-02-06 Joseph Myers <joseph@codesourcery.com>
22805
22806 * sysdeps/i386/sysdep.h: Include <features.h>.
22807 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
22808 version.
22809
d8e0ca50
JM
228102012-02-05 Joseph Myers <joseph@codesourcery.com>
22811
22812 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
22813 Define.
22814 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
22815 LOAD_PIC_REG_STR.
22816
b1da7dd9
JM
228172012-02-03 Joseph Myers <joseph@codesourcery.com>
22818
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
22822 macro.
22823
9a1d9254
JM
228242012-02-03 Joseph Myers <joseph@codesourcery.com>
22825
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.
22870
65dc3b75
JM
228712012-02-03 Joseph Myers <joseph@codesourcery.com>
22872
22873 * math/tst-CMPLX.c: Include <stdio.h>.
22874
d55bf177
JM
228752012-01-31 Joseph Myers <joseph@codesourcery.com>
22876
22877 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
22878 float.
22879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
22880 * sysdeps/sparc/bits/mathdef.h: Likewise.
22881
69db4f8f
MP
228822012-01-31 Marek Polacek <polacek@redhat.com>
22883
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.
22888
41b81892
UD
228892012-01-31 Ulrich Drepper <drepper@gmail.com>
22890
3b49edc0
UD
22891 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
22892 names. Just use the correct names. Remove unnecessary wrapper
22893 functions.
22894 * malloc/arena.c: Likewise.
22895 * malloc/hooks.c: Likewise.
22896
41b81892
UD
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>.
22900
27a25b6e
UD
229012012-01-30 Ulrich Drepper <drepper@gmail.com>
22902
22903 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
22904 into tail calls.
22905 (update_get_addr): New function.
22906 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
22907 GET_ADDR_MODULE parameter.
22908
c8a89e7d
JM
229092012-01-30 Joseph Myers <joseph@codesourcery.com>
22910
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.
22940
3b100462
JM
229412012-01-30 Joseph Myers <joseph@codesourcery.com>
22942
22943 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
22944 * config.make.in (config-cflags-sse2avx): Define.
22945 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
22946 Fix typo.
22947
607998af
CM
229482012-01-29 Chris Metcalf <cmetcalf@tilera.com>
22949
22950 * scripts/config.guess: Update from upstream config git repository.
22951 * scripts/config.sub: Likewise.
22952
3601428f
CM
229532012-01-28 Chris Metcalf <cmetcalf@tilera.com>
22954
3ac8b282
CM
22955 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
22956 (EM_NUM): Update.
22957 (R_TILEPRO_*, R_TILEGX_*): New macros.
22958
e034841e
CM
22959 * scripts/firstversions.awk: Fix bug in version range handling.
22960
540d7568
CM
22961 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
22962
3601428f
CM
22963 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
22964
463de862
CM
22965 * include/sys/epoll.h: New file.
22966 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
22967 libc_hidden_def.
22968
73139a76
UD
229692012-01-28 Ulrich Drepper <drepper@gmail.com>
22970
96bc5b45
UD
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.
22974 (fmax): Likewise.
22975 (fminf): Likewise.
22976 (fmin): Likewise.
22977
56f6f6a2
UD
22978 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
22979 * math/math_private.h: Remove libc_fegetround* and
22980 libc_fesetround*.
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
22988 of HAS_YMM_USABLE.
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.
22994
73139a76
UD
22995 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
22996
d73f93a4
AZ
229972012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22998
22999 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23000 size is not set.
23001 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23002
6ee65ed6
UD
230032012-01-27 Ulrich Drepper <drepper@gmail.com>
23004
23005 [BZ #13618]
23006 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23007 relocation.
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.
23013
8db21882
JM
230142012-01-27 Joseph Myers <joseph@codesourcery.com>
23015
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.
23150
965a54a4
JM
231512012-01-26 Joseph Myers <joseph@codesourcery.com>
23152
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.
23162
7071ad79
JM
231632012-01-26 Joseph Myers <joseph@codesourcery.com>
23164
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.
23175
afc5ed09
UD
231762012-01-26 Ulrich Drepper <drepper@gmail.com>
23177
23178 [BZ #13583]
23179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23180 Clean up HAS_* macros.
afc5ed09 23181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23182 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23183 possible.
23184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23185 HAS_AVX.
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.
afc5ed09 23191
bdb6de1d
JM
231922012-01-25 Joseph Myers <joseph@codesourcery.com>
23193
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.
23198
b15549e6
UD
231992012-01-24 Ulrich Drepper <drepper@gmail.com>
23200
23201 * include/stdio.h: Add C++ protection. Add gets declarations and
23202 definitions.
23203 * debug/tst-chk1.c: Don't declare gets here.
23204 * stdio-common/tst-gets.c: Likewise.
23205
a037381f
JM
232062012-01-24 Joseph Myers <joseph@codesourcery.com>
23207
23208 * posix/glob: Remove directory.
23209
f1d4aa75
JM
232102012-01-24 Joseph Myers <joseph@codesourcery.com>
23211
23212 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23213
81c0c964
PT
232142012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23215
23216 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23217 of the non-standard EPFNOSUPPORT.
23218
0ea698ae
ST
232192011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23220
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.
23224
d220b117
UD
232252012-01-21 Ulrich Drepper <drepper@gmail.com>
23226
23227 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23228
3e1aa84e
UD
232292012-01-20 Ulrich Drepper <drepper@gmail.com>
23230
23231 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23232 transient errors.
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.
23238
400aa020
UD
232392012-01-16 Ulrich Drepper <drepper@gmail.com>
23240
d77e7869
UD
23241 * malloc/malloc.c: Various cleanups.
23242 * malloc/hooks.c: Likewise.
23243
400aa020
UD
23244 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23245 * stdlib/bug-fmtmsg1.c: New file.
23246
23247 * stdlib/fmtmsg.c (init): Add missing unlock.
23248 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23249
e0a309cf
MP
232502012-01-12 Marek Polacek <polacek@redhat.com>
23251
23252 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23253 and _GNU_SOURCE.
23254
929d11c7
WS
232552012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23256
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.
23262
41d0e869
UD
232632012-01-11 Ulrich Drepper <drepper@gmail.com>
23264
0cc5ed3b
UD
23265 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23266
41d0e869
UD
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.
23271
a47a831a
UD
232722012-01-10 Ulrich Drepper <drepper@gmail.com>
23273
daa891c0
UD
23274 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23275
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.
23279
e58ef0f2
UD
23280 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23281
a47a831a 23282 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23283 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23284 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23286
23287 * math/bits/math-finite.h: Add ldexp support.
23288
a0bfc9c7
MP
232892012-01-10 Marek Polacek <polacek@redhat.com>
23290
23291 * locale/programs/localedef.h (show_archive_content): Add noreturn
23292 attribute.
23293
d6e97a1d
UD
232942012-01-09 Ulrich Drepper <drepper@gmail.com>
23295
23296 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23297
d5835c26
UD
232982012-01-08 Ulrich Drepper <drepper@gmail.com>
23299
e5f484c6
UD
23300 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23301
d5835c26
UD
23302 * io/Makefile (headers): Add bits/poll2.h.
23303
d1f741e9
WS
233042011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23305
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23307 typo #include statement.
23308
ec09c1c4
UD
233092012-01-08 Ulrich Drepper <drepper@gmail.com>
23310
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.
23326
20b38e03
PP
233272012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23328
23329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23330 appropriate.
23331
a0da5fe1
UD
233322012-01-08 Ulrich Drepper <drepper@gmail.com>
23333
1d5a644a 23334 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23335 * math/tst-CMPLX.c: New file.
1d5a644a 23336
8784a6db
UD
23337 * math/complex.h (CMPLXL): Fix typo.
23338
d9a216c0
UD
23339 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23340 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23341 GLIBC_2.16.
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.
23352
ac097f5c
UD
23353 [BZ #1350]
23354 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23355
2119dcfa
UD
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.
23365
121766a9
UD
23366 * configure.in: PWD_P is not used anymore.
23367 * config.make.in: Remove PWD_P entry.
23368
51a1d39c 23369 * configure.in: Remove last remnants of RANLIB.
8720d066 23370 No need to check for signed size_t anymore.
215f4bdc
UD
23371 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23372 and IA-64.
3857022a 23373 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23374 * aclocal.m4: Likewise.
23375
d3ed7225
UD
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.
23383
23384 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23385
23386 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23387
a0da5fe1
UD
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
23394 them.
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.
23413
df78418a
UD
234142012-01-07 Ulrich Drepper <drepper@gmail.com>
23415
a784e502
UD
23416 [BZ #13553]
23417 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23418 for non-gcc.
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.
23617
0269750c
UD
23618 [BZ #13551]
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.
23650
00bbd29b
UD
23651 * argp/Versions: Remove _argp_unlock_xxx.
23652
23653 [BZ #13559]
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.
23668
23669 * scripts/abilist.awk: Add support for indirect functions.
23670
a2693a0e
UD
23671 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23672
3f05895f
UD
23673 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23674
ecb6fb48
UD
23675 * shlib-versions: Remove entries for ports architectures.
23676
664f8cb9
UD
23677 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23678 files in ports.
23679 * elf/stackguard-macros.h: Remove support for IA-64.
23680 * elf/tst-auditmod1.c: Likewise.
23681 * sysdeps/generic/ldsodefs.h: Likewise.
23682
7ae81d88
UD
23683 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23684 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23685 configure files.
23686
bdeba135
UD
23687 [BZ #13552]
23688 * configure.in: Remove --enable-omitfp support.
23689 * FAQ.in: Adjust.
23690 * config.make.in: Likewise.
23691 * Makeconfig: Likewise.
23692 * manual/install.texi: Likewise.
23693
d75a0a62
UD
23694 In case anyone cares, the IA-64 architecture could move to ports.
23695 * sysdeps/ia64/*: Removed.
23696 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 23697 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 23698
dcc9756b
UD
23699 [BZ #13555]
23700 * configure.in: Remove entries for unsupported architectures.
23701
d3761ebc 23702 [BZ #13533]
9954432e
UD
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
23705 routines.
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
23712 renaming.
23713 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
23714 * wcsmbs/tst-c16c32-1.c: New file.
23715
23716 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
23717 local variable.
23718
c3a87236
UD
23719 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
23720
28926a1b
UD
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.
23725
df78418a
UD
23726 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
23727
8ecd6b2a
JM
237282012-01-06 Joseph Myers <joseph@codesourcery.com>
23729
23730 [BZ #13566]
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.
23734
9f115170
UD
237352012-01-03 Ulrich Drepper <drepper@gmail.com>
23736
5e0d0300
UD
23737 * iconv/loop.c (single loop): Fix assertion in storing of
23738 remaining bytes.
23739
9f115170
UD
23740 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
23741
81fb02b0
UD
237422012-01-01 Ulrich Drepper <drepper@gmail.com>
23743
23744 * posix/getconf.c: Update copyright year.
23745 * nss/getent.c: Likewise.
a316c1f6 23746 * nss/makedb.c: Likewise.
81fb02b0
UD
23747 * iconv/iconvconfig.c: Likewise.
23748 * iconv/iconv_prog.c: Likewise.
23749 * elf/ldconfig.c: Likewise.
a316c1f6
UD
23750 * elf/pldd.c: Likewise.
23751 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
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.
a316c1f6 23758 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
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.
23764
2ba92745
JJ
237652011-12-30 Jakub Jelinek <jakub@redhat.com>
23766
23767 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
23768 pure attribute.
23769
dadebdae
UD
237702011-12-24 Ulrich Drepper <drepper@gmail.com>
23771
d3761ebc 23772 [BZ #13533]
db6af3eb
UD
23773 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
23774 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
23775 transformations.
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.
23790
dadebdae
UD
23791 * wcsmbs/wchar.h: Add missing __restrict.
23792
67371b56
UD
237932011-12-23 Ulrich Drepper <drepper@gmail.com>
23794
74033a25
UD
23795 [BZ #13532]
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.
23803
380d7e87
UD
23804 [BZ #13531]
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.
23809
4e9e7a35
UD
23810 [BZ 13527]
23811 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
23812 ISO C11.
23813
380d7e87 23814 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
23815 code.
23816
03a71829
UD
23817 [BZ #13528]
23818 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
23819
839e283e
UD
23820 [BZ #13529]
23821 * assert/assert.h (static_assert): Define.
23822
ce5294e2 23823 * version.h: Update for 2.16 development version.
90fa7312 23824
8d44e150 23825 [BZ #13526]
d7809905
UD
23826 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
23827 _ISOC11_SOURCE.
23828
c0da14cd
UD
23829 * version.h (RELEASE): Bump for 2.15 release.
23830 * include/features.h (__GLIBC_MINOR__): Bump to 15.
23831
530a3249
MP
23832 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
23833 Patch by Marek Polacek <mpolacek@redhat.com>.
23834
67371b56
UD
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.
23840
15db4de1
LD
238412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23842
23843 [BZ #13540]
bbe315ea
LD
23844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
23845 destination buffer.
15db4de1
LD
23846 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23847
2b2596b1
MP
238482011-12-23 Marek Polacek <polacek@redhat.com>
23849
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.
23855
70c6c246
UD
238562011-12-23 Ulrich Drepper <drepper@gmail.com>
23857
23858 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
23859 !__SSE_MATH__.
23860
c044cf14
LD
238612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23862
15db4de1 23863 [BZ #13540]
c044cf14
LD
23864 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
23865 processing for last bytes.
23866
6b13d9d9
BH
238672011-08-06 Bruno Haible <bruno@clisp.org>
23868
d455f537
BH
23869 [BZ #13061]
23870 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
23871 U+0385, not to U+1FEE.
23872
6b13d9d9
BH
23873 [BZ #13062]
23874 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
23875 entry for U+00A5 U+0301.
23876
db910efd
UD
238772011-12-22 Ulrich Drepper <drepper@gmail.com>
23878
27deeafc
UD
23879 [BZ #13166]
23880 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
23881 buffer for the output is too small.
23882
aed9d171
UD
23883 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
23884 optimization.
23885
db910efd
UD
23886 [BZ #13185]
23887 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
23888 SSE flags if possible.
23889
2bd779ae
LD
238902011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23891
e7f9dac3 23892 [BZ #13540]
2bd779ae
LD
23893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
23894 processing for last bytes.
23895
154bfc16
JM
238962011-12-22 Joseph Myers <joseph@codesourcery.com>
23897
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):
23905 Remove.
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):
23914 Remove.
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):
23919 Remove.
23920 (syscall-list-variants, syscall-list-32bit-options)
23921 (syscall-list-32bit-condition, syscall-list-64bit-options)
23922 (syscall-list-64bit-condition): Define.
23923
21eaf3a5
UD
239242011-12-22 Ulrich Drepper <drepper@gmail.com>
23925
16c6f992
UD
23926 * locale/iso-639.def: Add brx entry.
23927
41043168
UD
23928 [BZ #13328]
23929 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
23930 Proposed by Mariusz_Cukr <marcukr@op.pl>.
23931
21eaf3a5
UD
23932 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
23933 __feraiseexcept_renamed.
23934
e3a851a2
UD
239352011-12-21 Ulrich Drepper <drepper@gmail.com>
23936
4920765e
UD
23937 [BZ #13538]
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.
23942
e3a851a2
UD
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.
23947
b27e24b8
RK
239482011-11-18 Richard B. Kreckel <kreckel@ginac.de>
23949
23950 [BZ #13305]
aebefeee 23951 [BZ #12786]
b27e24b8
RK
23952 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
23953 * math/s_cacoshf.c: Likewise.
23954 * math/s_cacoshl.c: Likewise.
23955
ee190f67
UD
239562011-12-21 Ulrich Drepper <drepper@gmail.com>
23957
23958 [BZ #13439]
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.
23963
707f25df
AS
239642011-12-21 Andreas Schwab <schwab@linux-m68k.org>
23965
23966 [BZ #13524]
23967 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
23968 numerator after shifting it by one limb.
23969
d2daaa1e
RÁE
239702011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
23971
23972 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
23973 under [__USE_EXTERN_INLINES].
23974
a4647e72
UD
239752011-12-17 Ulrich Drepper <drepper@gmail.com>
23976
23977 [BZ #13446]
23978 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
23979
f0b264f1
AZ
239802011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23981
23982 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
23983 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
23984 optimized code.
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.
23992
8ef4f244
MP
239932011-12-08 Marek Polacek <mpolacek@redhat.com>
23994
23995 [BZ #13484]
23996 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
23997 of __asm__.
23998
97ac2654
UD
239992011-12-17 Ulrich Drepper <drepper@gmail.com>
24000
24001 [BZ #13506]
24002 * time/tzfile.c (__tzfile_read): Check values from file header.
24003
91d2a845
WS
240042011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24005
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.
24037
a1267ba1
AZ
240382011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24039
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.
24045
ad8ac1bd
RL
240462011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24047
24048 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24049 FD_CLOEXEC.
24050
1d3e4b61
UD
240512011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24052
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
24061 wrong alignments.
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.
24075
5b330a2d
UD
240762011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24077
24078 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24079 * wcsmbs/test-wcsrchr.c: New file.
24080 * string/test-strrchr.c: Add wcsrchr support.
24081 (WIDE): New macro.
24082 * wcsmbs/test-wcscpy.c: New file.
24083 * string/test-strcpy.c: Add wcscpy support.
24084 (WIDE): New macro.
26428b7c 24085
f039c043
UD
240862011-12-10 Ulrich Drepper <drepper@gmail.com>
24087
24088 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24089 the inner loop.
24090
850fb039
AS
240912011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24092
24093 [BZ #13472]
24094 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24095
4efbd5cb
UD
240962011-12-04 Ulrich Drepper <drepper@gmail.com>
24097
52ff5dd0 24098 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24099 Minor optimizations.
52ff5dd0 24100
4efbd5cb
UD
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.
24104
8a426e12
UD
241052011-12-03 Ulrich Drepper <drepper@gmail.com>
24106
aff2453d
UD
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.
24113
24114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24115 warning.
24116
24117 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24118 __wmemcmp_sse2.
24119
24120 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24121 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24122
8a426e12
UD
24123 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24124
9bea3473
UD
241252011-12-02 Ulrich Drepper <drepper@gmail.com>
24126
3a965496
UD
24127 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24128 problem.
24129
9bea3473
UD
24130 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24131
f101631b
UD
241322011-11-29 Joseph Myers <joseph@codesourcery.com>
24133
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.
24141
a98275aa
UD
241422011-12-02 Joseph Myers <joseph@codesourcery.com>
24143
24144 * sysdeps/sh/backtrace.c: New file.
24145
d4cc29a2
AS
241462011-12-02 Andreas Schwab <schwab@redhat.com>
24147
24148 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24149 parenthesis.
24150
6257af2d
AS
241512011-12-01 Andreas Schwab <schwab@redhat.com>
24152
24153 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24154 falling back to utime.
24155
b5f44c1a
AS
241562011-11-30 Andreas Schwab <schwab@redhat.com>
24157
24158 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24159 expectations for float.
24160
f3a6cc0a
AS
241612011-11-29 Andreas Schwab <schwab@redhat.com>
24162
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.
24171
9d65ea3a
UD
241722011-11-17 Ulrich Drepper <drepper@gmail.com>
24173
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
24178 handling.
24179
5583a086
AS
241802011-11-16 Andreas Schwab <schwab@redhat.com>
24181
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.
24192
d62a8200
UD
241932011-11-15 Ulrich Drepper <drepper@gmail.com>
24194
9d65ea3a 24195 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24196 O_CLOEXEC.
24197 * locale/loadlocale.c (_nl_load_locale): Likewise.
24198
09f93bd3
AS
241992011-11-15 Andreas Schwab <schwab@redhat.com>
24200
446514f9
AS
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.
24205
09f93bd3
AS
24206 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24207 count references to noai6ai_cached.
24208
312be3f9
UD
242092011-11-15 Ulrich Drepper <drepper@gmail.com>
24210
24211 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24212
24213 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24214 FD_CLOEXEC for /proc/self/maps.
24215
24216 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24217 FD_CLOEXEC for /proc/meminfo.
24218
24219 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24220 gai.conf.
24221
24222 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24223 FD_CLOEXEC for given file.
24224
24225 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24226
24227 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24228 FD_CLOEXEC for /etc/hosts.
24229 (_gethtent): Likewise.
24230
24231 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24232
24233 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24234 cancellation and set FD_CLOEXEC for /etc/netgroup.
24235
24236 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24237 reading /etc/publickey.
24238
24239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24240 allow cancellation when reading /etc/group.
24241
24242 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24243 cancellation.
24244 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24245
24246 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24247 when using data file.
24248
24249 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24250
24251 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24252 (write_nis_obj): Use "c" and "e" in fopen.
24253
24254 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24255
24256 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24257
24258 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24259
24260 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24261
24262 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24263 locale.alias.
24264
24265 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24266
24267 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24268
24269 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24270
24271 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24272 file parsing and set FD_CLOEXEC.
24273
82af0fa8
UD
242742011-11-14 Ulrich Drepper <drepper@gmail.com>
24275
24276 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24277
a5fb313c
AS
242782011-11-14 Andreas Schwab <schwab@redhat.com>
24279
24280 * malloc/arena.c (arena_get2): Don't call reused_arena when
24281 _int_new_arena failed.
24282
6abf3465
UD
242832011-11-14 Ulrich Drepper <drepper@gmail.com>
24284
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.
24294
24295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24296
76e3966e
UD
242972011-11-13 Ulrich Drepper <drepper@gmail.com>
24298
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.
24318
ab26144e
UD
243192011-11-12 Ulrich Drepper <drepper@gmail.com>
24320
7edb22ef
UD
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.
24325
9694fc44
UD
24326 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24327 variable.
24328
8ad89ef8
UD
24329 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24330 mantissa words.
24331 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24332
0c822ef9
UD
24333 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24334 from unused variable.
24335
874e0564
UD
24336 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24337 DWARF definitions.
24338 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24339 for assembling.
24340
3a2edc79
UD
24341 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24342 over namespaces.
24343
f3c2577f
UD
24344 * sunrpc/rpc_prot.c (rejected): Fix case value.
24345
294ce126
UD
24346 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24347 unsigned long long int to avoid warnings in shift.
24348
5e2b63c6
UD
24349 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24350 of use of trans.
24351 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24352 variable tmp.
24353
e7f4b08e
UD
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.
24357
ab26144e
UD
24358 * nis/nis_table.c (nis_list): Use variable of correct type for
24359 result of __follow_path call.
24360
8a6d5255
AZ
243612011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24362
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
24367 name clash.
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.
24371
aaddc98c
MP
243722011-10-30 Marek Polacek <mpolacek@redhat.com>
24373
24374 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24375 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24376
95b7042b
RM
243772011-11-11 Roland McGrath <roland@hack.frob.com>
24378
24379 * include/unistd.h: Fix __readlink return type.
24380 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24381
57769839
UD
243822011-11-11 Ulrich Drepper <drepper@gmail.com>
24383
24384 * stdlib/ucontext.h: Undo last change for makecontext.
24385
edc5984d
AS
243862011-11-11 Andreas Schwab <schwab@redhat.com>
24387
98591e58
AS
24388 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24389
edc5984d
AS
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.
24394
77cdc054
AS
243952011-11-10 Andreas Schwab <schwab@redhat.com>
24396
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.
24400
fe72eebd
UD
244012011-11-08 Ulrich Drepper <drepper@gmail.com>
24402
5f078c32
UD
24403 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24404 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24405
fe72eebd
UD
24406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24407 instructions.
24408
ae1bc2fa
AS
244092011-11-07 Andreas Schwab <schwab@redhat.com>
24410
7583a88d
AS
24411 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24412 handler when locking.
24413
ae1bc2fa
AS
24414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24415 Fix size of allocated buffer.
24416
10fb0bfa
AS
244172011-11-04 Andreas Schwab <schwab@redhat.com>
24418
998832a4
AS
24419 [BZ #10103]
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.
24423
10fb0bfa
AS
24424 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24425
3d7ba52b
AS
244262011-11-03 Andreas Schwab <schwab@redhat.com>
24427
a9ae54a1
AS
24428 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24429 installed.
24430
3d7ba52b
AS
24431 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24432 is disabled.
24433
bc8db248
ST
244342011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24435
24436 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24437
45b96dd6
AS
244382011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24439
647776f6
AS
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
24444 here.
24445
d91a8b93
AS
24446 * scripts/check-local-headers.sh: Ignore libaudit.h.
24447
45b96dd6
AS
24448 * nscd/Makefile (extra-objs): Make recursively expanded.
24449
432d41ce
UD
244502011-11-01 Ulrich Drepper <drepper@gmail.com>
24451
34372fc6
UD
24452 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24454
fadb59f8
UD
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.
24458
78239589
UD
24459 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24460 process_vm_writev.
24461 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24462 process_vm_writev.
24463 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24464 process_vm_writev from libc using GLIBC_2.15 version.
24465
432d41ce
UD
24466 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24467
02f9c6cf
PP
244682011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24469
24470 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24471 stack usage.
24472
3a2c0242
UD
244732011-10-31 Ulrich Drepper <drepper@gmail.com>
24474
f4ec4833
UD
24475 [BZ #13367]
24476 * nss/getent.c (initgroups_keys): Show error message in case no group
24477 names are given.
24478
3a2c0242
UD
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.
24492 Adjust caller.
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
24499 is not changed.
24500 (__bump_nl_timestamp): New function.
24501 (__free_in6ai): New function.
24502
636064eb
UD
245032011-10-30 Ulrich Drepper <drepper@gmail.com>
24504
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.
24508
9beb2334
UD
245092011-10-29 Ulrich Drepper <drepper@gmail.com>
24510
6ef76f3b
UD
24511 [BZ #13276]
24512 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24513 return value.
24514
0ffc4f3e 24515 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24516 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24517 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24518
cb95113e
UD
245192011-07-03 Andreas Jaeger <aj@suse.de>
24520
24521 [BZ #10709]
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.
24525
a1b560ff
UD
245262011-10-29 Ulrich Drepper <drepper@gmail.com>
24527
c9aaface
UD
24528 [BZ #13337]
24529 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24530 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24531
d272e7f1
UD
24532 * elf/chroot_canon.c (chroot_canon): Cleanups.
24533
1bc33071
UD
24534 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24535
1760874d
TJ
24536 [BZ #13335]
24537 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24538 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24539
51d91b18
UD
24540 * string/test-strchr.c: Make usable for strchrnul testing.
24541 * string/test-strchrnul.c: New file.
24542 * string/Makefile (strop-tests): Add strchrnul.
24543
a1b560ff 24544 * po/it.po: Update from translation team.
b611fb81 24545 * po/es.po: Likewise.
a1b560ff 24546
a5b81e1f
UD
245472011-10-28 Ulrich Drepper <drepper@gmail.com>
24548
fd52bc6d
UD
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.
52e4b9eb
UD
24553 Create and initialize variable zero and use it in all the places
24554 where _mm_setzero_si128 was used.
fd52bc6d 24555
a5b81e1f
UD
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
24560 anymore.
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.
24576
b4343346
AS
245772011-10-28 Andreas Schwab <schwab@redhat.com>
24578
0c92d8a8
AS
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.
24582
b4343346
AS
24583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24584 wide char related routines to wcsmbs subdir.
24585
3871f58f
AS
245862011-10-27 Andreas Schwab <schwab@redhat.com>
24587
24588 [BZ #13344]
24589 * misc/sys/cdefs.h (__THROWNL): Define.
24590 * posix/unistd.h: Use __THREADNL instead of __THREAD
24591 for memory synchronization functions.
24592
94d44d9f
RM
245932011-10-26 Roland McGrath <roland@hack.frob.com>
24594
21b64b15 24595 [BZ #13349]
94d44d9f
RM
24596 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24597 doesn't exist.
24598 * manual/stdio.texi (Obstack Streams): Node removed.
24599
f6ce9294
AS
246002011-10-26 Andreas Schwab <schwab@redhat.com>
24601
80479147
AS
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.
24605
f6ce9294
AS
24606 * math/math_private.h (math_force_eval): Allow non-addressable
24607 arguments.
24608 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24609
618280a1
UD
246102011-10-25 Ulrich Drepper <drepper@gmail.com>
24611
e0016b11
UD
24612 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24613 file is not needed.
24614
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.
24623 Add AVX variants.
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.
24643
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.
24646
618280a1
UD
24647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24648 place. Use VEX encoding when compiling for AVX.
24649
37822576
AS
246502011-10-25 Andreas Schwab <schwab@redhat.com>
24651
1f1e1947
AS
24652 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24653 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24654
37822576
AS
24655 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24656
31ea014d
UD
246572011-10-25 Ulrich Drepper <drepper@gmail.com>
24658
d7826aa1 24659 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24660 useless if() expression.
d7826aa1
UD
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.
24680
31ea014d
UD
24681 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24682
16437fec
AS
246832011-10-25 Andreas Schwab <schwab@redhat.com>
24684
24685 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24686 condition.
24687 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24688
31d3cc00
UD
246892011-10-25 Ulrich Drepper <drepper@gmail.com>
24690
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.
24738
58985aa9
UD
247392011-10-24 Ulrich Drepper <drepper@gmail.com>
24740
202c9deb
UD
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.
a0cf1edd 24745
af968f62
UD
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
24752 name is a macro.
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
24757 using __copysign.
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,
24762 and __inv.
24763 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
24764 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
24765 __copysign.
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.
24802
58985aa9
UD
24803 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
24804 rename.
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.
24813
a201fbcf
AS
248142011-10-24 Andreas Schwab <schwab@redhat.com>
24815
24816 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
24817
fc2ee42a
LD
248182011-10-23 Ulrich Drepper <drepper@gmail.com>
24819
bb3129bd
UD
24820 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
24821
0275fff8
UD
24822 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
24823 prediction.
24824 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
24825
2fa2ae85
UD
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.
24829
fc2ee42a
LD
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>.
24842
ce7dd29f
LD
248432011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24844
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.
24856
979c70a3
MZ
248572011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
24858
24859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24860 XMM-moves are used for copying on small sizes.
24861
2d09f82f
LD
248622011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24863
24864 * wcsmbs/Makefile (strop-tests): Add wcschr.
24865 * wcsmbs/test-wcschr.c: New file.
24866 * string/test-strchr.c: Update.
24867 Add wcschr support.
24868 (WIDE): New macro.
24869
619fccca
LD
248702011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24871
2d09f82f 24872 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
24873 * wcsmbs/test-wcslen.c: New file.
24874 * string/test-strlen.c: Update.
24875 Add wcslen support.
24876 (WIDE): New macro.
24877
09f699ea
UD
248782011-10-23 Ulrich Drepper <drepper@gmail.com>
24879
24880 * po/it.po: Update from translation team.
24881
95584d3b
LD
248822011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24883
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.
24892
c8b3296b
UD
248932011-10-23 Ulrich Drepper <drepper@gmail.com>
24894
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.
24906
246ad57a
AS
249072011-10-23 Andreas Schwab <schwab@linux-m68k.org>
24908
24909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
24910 __ynl_finite aliases.
24911
a1a87169
UD
249122011-10-22 Ulrich Drepper <drepper@gmail.com>
24913
0d355eb7
UD
24914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24915
a1a87169
UD
24916 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
24917 define DLA_FMA.
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.
24929
ee2aafe0
AS
249302011-10-22 Andreas Schwab <schwab@linux-m68k.org>
24931
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
24936 "math_private.h".
24937
bc62c2fb
UD
249382011-10-22 Ulrich Drepper <drepper@gmail.com>
24939
77425c63
UD
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.
24963
bc62c2fb
UD
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.
24987
8ec250a4
UD
249882011-10-21 Ulrich Drepper <drepper@gmail.com>
24989
c196fed8
UD
24990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
24991 compilation problems.
24992
8ec250a4
UD
24993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
24994 __builtin_expect.
24995
8d4f46c6
UD
249962011-10-20 Ulrich Drepper <drepper@gmail.com>
24997
ed72b654
UD
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.
25006
8d4f46c6
UD
25007 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25008 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25009
d45c60c2
AS
250102011-10-20 Andreas Schwab <schwab@redhat.com>
25011
25012 [BZ #12892]
25013 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25014 it would create a cycle with a link time dependency.
25015
d9a4d2ab
UD
250162011-10-19 Ulrich Drepper <drepper@gmail.com>
25017
855d1560
UD
25018 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25019 instruction.
25020 * string/Makefile (strop-tests): Add rawmemchr.
25021 * string/test-rawmemchr.c: New file.
25022
d9a4d2ab
UD
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.
25028
8f3b1ffe
AS
250292011-10-19 Andreas Schwab <schwab@redhat.com>
25030
25031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25032 __feraiseexcept instead of feraiseexcept.
25033
d38f1dba
UD
250342011-10-18 Ulrich Drepper <drepper@gmail.com>
25035
d9a8d0ab
UD
25036 * math/math_private.h: Define defaults for libc_fetestexcept and
25037 libc_feupdateenv.
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.
25045
4855e3dd
UD
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.
25051
581d30e3
UD
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.
25060
d38f1dba
UD
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.
25073
caa6c9d8
AS
250742011-10-18 Andreas Schwab <schwab@redhat.com>
25075
25076 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25077 (__feraiseexcept_renamed): Add __NTH.
25078 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25079 namespace violations.
25080
97c066e6
UD
250812011-10-17 Ulrich Drepper <drepper@gmail.com>
25082
99ce7b04
UD
25083 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25084
1004d182
UD
25085 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25086
228a984d
UD
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.
25090
c8553a6a
UD
25091 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25092 about macro parameter expansion.
25093
ed22dcf6
UD
25094 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25095 __NO_MATH_INLINES is defined. Cleanups.
25096
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.
25103
b171c137
UD
25104 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25105 name.
25106 (floorf): Likewise.
25107
97c066e6
UD
25108 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25109
629f62ef
AS
251102011-10-17 Andreas Schwab <schwab@redhat.com>
25111
49a43d80
AS
25112 * misc/sys/cdefs.h: Fix last change.
25113
629f62ef
AS
25114 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25115 database lookup.
25116
e453f6cd
UD
251172011-10-16 Ulrich Drepper <drepper@gmail.com>
25118
aa78043a
UD
25119 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25120
ad0f5cad
UD
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.
25143
25144 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25145 ceil, ceilf, floor, floorf.
25146
25147 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25148 Perform IRELATIVE relocations last.
25149
e453f6cd
UD
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.
25156
fd5bdc09
UD
251572011-10-15 Ulrich Drepper <drepper@gmail.com>
25158
79b195b5
UD
25159 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25160 is sufficient, at least on modern CPUs.
25161
d4a28569
UD
25162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25163
b61099b5
UD
25164 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25166
bcf01e6d
UD
25167 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25168 __expl_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.
25181
ba1a0d59
UD
25182 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25183 is sufficient, at least on modern CPUs.
25184
fd5bdc09
UD
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.
25192
7872cfb0
AS
251932011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25194
b468825a
AS
25195 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25196
7872cfb0
AS
25197 * configure.in: Also look in $cxxmachine/include for C++ system
25198 headers.
25199
be13f7bf
LD
252002011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25201
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.
25208 Fixing indents.
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.
25224 Add new tests.
25225 * wcsmbs/wmemcmp.c: Update.
25226 (WMEMCMP): New macro.
25227 Fix overflow bug.
25228
556a2007
AJ
252292011-10-12 Andreas Jaeger <aj@suse.de>
25230
25231 [BZ #13268]
25232 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25233
538faaa7
UD
252342011-10-15 Ulrich Drepper <drepper@gmail.com>
25235
ab6737ff
UD
25236 * libio/iofwide.c (do_length): Avoid warning.
25237
538faaa7
UD
25238 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25239
396a21b1
UD
252402011-10-14 Ulrich Drepper <drepper@gmail.com>
25241
cdf2901f
UD
25242 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25243
38ad40ce
UD
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.
25250
396a21b1
UD
25251 * ctype/ctype.h: Add support for inlined isXXX functions when
25252 compiling C++ code.
25253
6b1f68c9
AS
252542011-10-14 Andreas Schwab <schwab@redhat.com>
25255
349290c0
AS
25256 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25257
6b1f68c9
AS
25258 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25259
f2282d42
RM
252602011-10-13 Roland McGrath <roland@hack.frob.com>
25261
25262 [BZ #13291]
25263 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25264
5298ffa8
AS
252652011-10-13 Andreas Schwab <schwab@redhat.com>
25266
714fad23
AS
25267 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25268 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25269 feraiseexcept.
25270
81dcc7fb
AS
25271 * sysdeps/x86_64/memrchr.S: Check for zero size.
25272
5298ffa8
AS
25273 * string/stratcliff.c: Add memrchr tests.
25274
951fbcec
LD
252752011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25276
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.
25291
0ac5ae23
UD
252922011-10-12 Ulrich Drepper <drepper@gmail.com>
25293
25294 Add integration with gcc's -ffinite-math-only and optimize wrapper
25295 functions in libm.
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
25379 used.
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
25573 inlined copy.
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.
25577
12cc2fcd
AS
255782011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25579
a843a204
AS
25580 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25581 of rawmemchr.
25582
12cc2fcd
AS
25583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25584
c853acd5
UD
255852011-10-09 Ulrich Drepper <drepper@gmail.com>
25586
25587 * po/ja.po: Update from translation team.
25588
c658d255
RM
255892011-10-08 Roland McGrath <roland@hack.frob.com>
25590
110946e4
RM
25591 * locale/programs/locarchive.c (prepare_address_space): New function.
25592 (create_archive, enlarge_archive, open_archive): Use it.
25593
50604220
RM
25594 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25595 inside [SHARED], where it is used.
25596
c658d255
RM
25597 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25598
25599 * nss/getent.c (netgroup_keys): Remove unused variable.
25600 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25601
6a621eb7
UD
256022011-10-08 Ulrich Drepper <drepper@gmail.com>
25603
7edb55ce
UD
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.
25639
187da0ae
UD
25640 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25641 of the number.
25642 * stdio-common/printf_fphex.c: Likewise.
25643 * stdio-common/printf_size.c: Likewise.
25644
9277c064
UD
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.
25772
6a621eb7
UD
25773 * po/ja.po: Update from translation team.
25774
bf582445
AJ
257752011-09-29 Andreas Jaeger <aj@suse.de>
25776
f9efbf3a
AJ
25777 [BZ #13179]
25778 * sunrpc/netname.c (netname2host): Fix logic.
25779
bf582445
AJ
25780 [BZ #6779]
25781 [BZ #6783]
25782 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
25783 correctly.
25784 * math/w_remainder.c (__remainder): Likewise.
25785 * math/w_remainderf.c (__remainderf): Likewise.
25786 * math/libm-test.inc (remainder_test): Add test cases.
25787
48693bea
AK
257882011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25789
25790 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
25791 sdiv_qrnnd.
25792
42622229
LD
257932011-10-07 Ulrich Drepper <drepper@gmail.com>
25794
25795 * string/test-memcmp.c: Avoid unncessary #defines.
25796 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25797
093ecf92
LD
257982011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25799
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.
25809
fde56e5c
MP
258102011-09-12 Marek Polacek <mpolacek@redhat.com>
25811
25812 * elf/dl-load.c (lose): Add cast to avoid warning.
25813
21fd49a9
UD
258142011-10-07 Ulrich Drepper <drepper@gmail.com>
25815
5a06e643
UD
25816 * po/ca.po: Update from translation team.
25817
684ae515
UD
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
25825 INNETGR.
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
25831 GETFDNETGR.
25832 (netgroup_response_header): Define.
25833 (innetgroup_response_header): Define.
25834 (datahead): Add netgroup_response_header and innetgroup_response_header
25835 elements.
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.
25857
21fd49a9
UD
25858 * nscd/connections.c (register_traced_file): Don't register file
25859 for disabled databases.
25860
054c0457
UD
258612011-10-06 Ulrich Drepper <drepper@gmail.com>
25862
32b63198
UD
25863 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
25864
054c0457
UD
25865 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
25866 from tree and freeing node.
25867
64031225
JO
258682011-09-25 Jiri Olsa <jolsa@redhat.com>
25869
25870 * nss/nsswitch.c (__nss_database_lookup): Handle
25871 nss_parse_service_list out of memory case.
25872
0490345c
JO
258732011-09-15 Jiri Olsa <jolsa@redhat.com>
25874
25875 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
25876 out of memory case.
25877
3a62d00d
AS
258782011-10-04 Andreas Schwab <schwab@redhat.com>
25879
25880 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
25881 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
25882 pass it down.
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
25894 elf_machine_rela.
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):
25903 Likewise.
25904 (elf_machine_lazy_rel): Likewise.
25905 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25906 Likewise.
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.
25920
68577918
UD
259212011-09-28 Ulrich Drepper <drepper@gmail.com>
25922
25923 * nss/nss_files/files-init.c (_nss_files_init): Use static
25924 initialization for all the *_traced_file variables.
25925
68822d74
AS
259262011-09-28 Andreas Schwab <schwab@redhat.com>
25927
25928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25929
2056100b
RM
259302011-09-27 Roland McGrath <roland@hack.frob.com>
25931
25932 [BZ #13226]
25933 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
25934
32c76b63
AS
259352011-09-27 Andreas Schwab <schwab@redhat.com>
25936
25937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25938 Reread the line before reparsing it.
25939
bf972c9d
AS
259402011-09-26 Andreas Schwab <schwab@redhat.com>
25941
25942 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
25943
e057a1b5
JM
259442011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
25945 Maxim Kuvyrkov <maxim@codesourcery.com>
25946 Joseph Myers <joseph@codesourcery.com>
25947
25948 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
25949 if needed for __stack_chk_guard.
25950
bc7e1c36
RM
259512011-09-19 Roland McGrath <roland@hack.frob.com>
25952
ecb1482f
RM
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.
25957
bc7e1c36
RM
25958 * Makerules: Don't include tls.make.
25959 (config-tls): Always set to thread.
25960 * tls.make.c: File removed.
25961
1c3b002b
MF
259622011-09-19 Mike Frysinger <vapier@gentoo.org>
25963
25964 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
25965 * config.make.in (CPPFLAGS-config): New substituted variable.
25966
2840865d
UD
259672011-09-15 Ulrich Drepper <drepper@gmail.com>
25968
88738eb6
UD
25969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
25970
cbf645a6 25971 [BZ #13192]
2840865d
UD
25972 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
25973 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
25974
b402e91a
RM
259752011-09-15 Roland McGrath <roland@hack.frob.com>
25976
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>.
25984
4c1a1f71
UD
259852011-09-15 Ulrich Drepper <drepper@gmail.com>
25986
25987 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
25988 for __FINITE_MATH_ONLY__ == 1.
25989
edc121be
AS
259902011-09-15 Andreas Schwab <schwab@redhat.com>
25991
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.
26000
cd205654
UD
260012011-09-14 Ulrich Drepper <drepper@gmail.com>
26002
ee4d0315
UD
26003 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26004
cd205654
UD
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
26008 32-bit.
26009
48b67d71
AS
260102011-09-14 Andreas Schwab <schwab@redhat.com>
26011
26012 * elf/rtld.c (dl_main): Also relocate in dependency order when
26013 doing symbol dependency testing.
26014
1ae12c75
AS
260152011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26016
26017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26018 Always define `refsym'.
26019
995a80df
AS
260202011-09-13 Andreas Schwab <schwab@redhat.com>
26021
e529793b
AS
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):
26028 Likewise.
26029 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26030 Likewise.
26031
52d4fef8
AS
26032 * elf/Makefile (gen-ldd): Fix pattern.
26033
995a80df
AS
26034 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26035 (init_tls): Likewise.
26036
8682f8b0
UD
260372011-09-12 Ulrich Drepper <drepper@gmail.com>
26038
26039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26040
de82006d
AS
260412011-09-12 Andreas Schwab <schwab@redhat.com>
26042
a7c8e6a1
AS
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):
26046 Likewise.
26047
0f31fe77
AS
260482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26049
26050 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26051 if non-absolute.
26052 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26053 ldd_rewrite_script.
0f31fe77 26054
32b4c839
UD
260552011-09-11 Ulrich Drepper <drepper@gmail.com>
26056
83cd1420
UD
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.
26072
633f745d
UD
26073 [BZ #13067]
26074 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26075
f318beb8
UD
26076 [BZ #13090]
26077 * configure.in: Fix use of AC_INIT.
26078
32b4c839
UD
26079 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26080
3ce1f295
UD
260812011-09-10 Ulrich Drepper <drepper@gmail.com>
26082
bb016596
UD
26083 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26084 __set_errno.
8e58439c
UD
26085 * malloc/hooks.c: Likewise.
26086
aebae053 26087 [BZ #11929]
02d46fc4
UD
26088 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26089 variables statically.
26090 (narenas): Initialize.
26091 (list_lock): Initialize.
bb016596
UD
26092 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26093 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
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
26098 GLRO(dl_pagesize).
26099
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.
26103
22a89187
UD
26104 * malloc/malloc.c: Removed unused configurations and dead code.
26105 * malloc/arena.c: Likewise.
26106 * malloc/hooks.c: Likewise.
02d46fc4 26107 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26108
d063d164
UD
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.
26146
3ce1f295
UD
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
26150 USE_IN_LIBIO.
26151 * Makeconfig: Adjust for dropped configure option. All features are
26152 now mandatory.
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.
26224
1248c1c4
PB
262252011-09-09 Ulrich Drepper <drepper@gmail.com>
26226
26227 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26228
262292011-07-03 Andreas Jaeger <aj@suse.de>
26230
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.
26234
262352010-05-12 Petr Baudis <pasky@suse.cz>
26236
26237 [BZ #11589]
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.
26244
f22e1074
UD
262452011-09-09 Ulrich Drepper <drepper@gmail.com>
26246
f19009c1
UD
26247 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26248 instead of 0.
26249 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26250 instead of 0.
f19009c1
UD
26251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26252 Patch in part by Pavel Roskin <proski@gnu.org>.
26253
3f8cc204
UD
26254 [BZ #13138]
26255 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26256 realloc.
26257 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26258 Free memory block if necessary.
26259
f22e1074
UD
26260 [BZ #12847]
26261 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26262 be NULL. Don't lock in this case.
26263
0a2349f9
RM
262642011-09-09 Roland McGrath <roland@hack.frob.com>
26265
26266 * elf/elf.h (ELFOSABI_GNU): New macro.
26267 (ELFOSABI_LINUX): Define to that.
26268
f3cdd467
DZ
262692011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26270
26271 * string/strncat.c (strncat): Undef the symbol in case it has been
26272 defined in bits/string.h.
26273
74718d13
UD
262742011-09-09 Ulrich Drepper <drepper@gmail.com>
26275
633e9e0f
UD
26276 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26277
0a2349f9 26278 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26279 link map.
26280
f9924780
AJ
262812011-08-17 Andreas Jaeger <aj@suse.de>
26282
26283 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26284
7f5517aa
PP
262852011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26286 Ian Lance Taylor <iant@google.com>
26287
26288 * math/libm-test.inc (lround_test): New testcase.
26289 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26290
762011fe
UD
262912011-09-08 Ulrich Drepper <drepper@gmail.com>
26292
92963737
UD
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.
26304
b0727fd8
JS
26305 [BZ #13118]
26306 * posix/Makefile (bug-regex32-ENV): Define.
26307 Patch by John Stanley <jpsinthemix@verizon.net>.
26308
a0f33f99
UD
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
26316 FD_ISSET.
26317 * debug/fdelt_chk.c: New file.
26318
762011fe
UD
26319 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26320 * wcsmbs/test-wmemcmp.c: Likewise.
26321 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26322 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26323
263242011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26325
26326 * string/Makefile (strop-tests): Add memcmp.
26327 * string/test-wmemcmp.c: New file.
26328 * string/test-memcmp.c: Add wmemcmp support.
26329
7f513ec8
RM
263302011-09-08 Roland McGrath <roland@hack.frob.com>
26331
0442afb4
RM
26332 [BZ #13153]
26333 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26334 2011-07-19 change.
26335
7f513ec8
RM
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.
26339
a12b2239
ST
263402011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26341
26342 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26343
610f9ab4
AS
263442011-09-08 Andreas Schwab <schwab@redhat.com>
26345
7f513ec8 26346 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26347
48882a1a
LD
263482011-09-07 Ulrich Drepper <drepper@gmail.com>
26349
b49865be
UD
26350 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26351
fdc86bc9
UD
26352 * elf/dl-libc.c (dlerror_run): Pass back error code from
26353 dl_catch_error.
26354
c966526a
UD
26355 [BZ #13123]
26356 * elf/dl-load.c (lose): Free l_origin if it is valid.
26357
48882a1a
LD
26358 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26359 names.
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>.
26366
77a2a8b4
AZ
263672011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26368
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.
26379
24f579d8
AM
263802011-08-15 Alan Modra <amodra@gmail.com>
26381
26382 [BZ #13092]
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
26388 __mcount_internal.
26389 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26390 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26391
3d4837df
UD
263922011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26393
26394 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26395 for finite and infinity parameters.
26396
22700377
WS
263972011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26398
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.
26402
5025581e
WS
264032011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26404
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.
26408
08a300c9
L
264092011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26410
26411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26412 AVX check.
26413
59178ef9
AS
264142011-09-07 Andreas Schwab <schwab@redhat.com>
26415
26416 [BZ #13144]
26417 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26418 last change.
26419
e38ba7ab
UD
264202011-09-07 Ulrich Drepper <drepper@gmail.com>
26421
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
26426 clock_gettime.
26427
d53a73ac
UD
264282011-09-06 Ulrich Drepper <drepper@gmail.com>
26429
fc8bffcc
UD
26430 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26431 Forgot to demangle the pointer.
26432
ceaa0c5d
UD
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.
26442
a77d3c17
UD
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
26449 call.
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.
26453
d53a73ac
UD
26454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26455 gettimeofday vsyscall, just use time.
26456
a8f84144
AS
264572011-09-06 Andreas Schwab <schwab@redhat.com>
26458
26459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26460 <errno.h>.
26461
ef606249
UD
264622011-09-06 Ulrich Drepper <drepper@gmail.com>
26463
26464 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26465 syscall on x86-64.
26466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26467 syscall.
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.
26471
6585cb60
UD
264722011-09-05 Ulrich Drepper <drepper@gmail.com>
26473
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.
26477
a5f524e4
LD
264782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26479
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.
26487
554881ef
UD
264882011-09-05 Ulrich Drepper <drepper@gmail.com>
26489
d96de963
UD
26490 [BZ #13134]
26491 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26492 before glibc 2.15.
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.
26504
d48e5868
UD
26505 [BZ #13150]
26506 * posix/glob.h: Remove gcc 1.x support.
26507
554881ef
UD
26508 [BZ #13068]
26509 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26510
693fb948
LD
265112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26512
26513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26514 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26515 strrchr-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.
26522
1b48c537
UD
265232011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26524
49d42c37
UD
26525 * sysdeps/x86_64/wcscmp.S: New file.
26526
1b48c537
UD
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.
26533
15c95c5d
DM
265342011-09-05 David S. Miller <davem@davemloft.net>
26535
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.
26542
2f0ad8f3
UD
265432011-09-05 Ulrich Drepper <drepper@gmail.com>
26544
d88ae418
UD
26545 * po/ja.po: Update from translation team.
26546
2f0ad8f3
UD
26547 [BZ #13144]
26548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26549 kernel in 64-bit binaries.
26550
5f4318d1
DM
265512011-09-01 David S. Miller <davem@davemloft.net>
26552
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
26559 entries.
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.
26566
3ba57516
DM
265672011-08-31 David S. Miller <davem@davemloft.net>
26568
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
26586 i386.
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.
26593
26594 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26595 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26596
2bc17433
AS
265972011-08-30 Andreas Schwab <schwab@redhat.com>
26598
26599 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26600
fbeb5f4d
JO
266012011-08-29 Jiri Olsa <jolsa@redhat.com>
26602
26603 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26604 directive.
26605
ad69cc26
DM
266062011-08-24 David S. Miller <davem@davemloft.net>
26607
26608 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26609
39dd69df
AS
266102011-08-24 Andreas Schwab <schwab@redhat.com>
26611
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.
26618
26619 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26620 it wasn't used.
26621
2c0b250a
DM
266222011-08-23 David S. Miller <davem@davemloft.net>
26623
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.
26629
22044b48
DM
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.
26633
2cae4995
AS
266342011-08-23 Andreas Schwab <schwab@redhat.com>
26635
26636 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26637 backslash.
26638
873a772e
AJ
266392011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26640
26641 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26642 protection macro.
26643 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26644 and <dl-machine.h>.
26645 (Elf64_FuncDesc): Remove.
26646
25ad0df1
DM
266472011-08-22 David S. Miller <davem@davemloft.net>
26648
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.
26653
e888bcbe
AS
266542011-08-16 Andreas Schwab <schwab@redhat.com>
26655
26656 [BZ #11724]
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.
26660
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.
26668
87162f46
AS
266692011-08-22 Andreas Schwab <schwab@redhat.com>
26670
70538b7f
AS
26671 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26672
f55ffe58
AS
26673 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26674 dependencies back to end of function.
26675
87162f46
AS
26676 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26677 $(elfobjdir)/ld.so.
26678
91b392a4
UD
266792011-08-21 Ulrich Drepper <drepper@gmail.com>
26680
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
26689 attribute_hidden.
26690 (_libc_vdso_platform_setup): Remove initialization of
26691 __vdso_gettimeofday and __vdso_time.
26692
5c43483f
UD
266932011-08-20 Ulrich Drepper <drepper@gmail.com>
26694
775a77e7
UD
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
26698 getc_unlocked.
89f447ed 26699
49c74ba9
UD
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.
001f0a6c 26703 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 26704
5c43483f
UD
26705 [BZ #13114]
26706 * stdio-common/Makefile (tests): Add bug24.
26707 * stdio-common/bug24.c: New file.
26708
a101b025
AJ
267092011-08-19 Andreas Jaeger <aj@suse.de>
26710
26711 [BZ #13114]
26712 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
26713 non-existant file when using close-on-exec mode.
26714
c88f1766
UD
267152011-08-20 Ulrich Drepper <drepper@gmail.com>
26716
0276a718
UD
26717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
26718 the very first instruction.
26719
c88f1766
UD
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>.
26725
51ccffa0
AS
267262011-08-19 Andreas Schwab <schwab@redhat.com>
26727
94d7165f
AS
26728 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
26729 expectations for long double.
26730
51ccffa0
AS
26731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
26732 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
26733
fd708658 267342011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
26735
26736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
26737 artificual limit depends upon the system page size.
26738
44f0a71e
UD
267392011-08-17 Ulrich Drepper <drepper@gmail.com>
26740
26741 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
26742 * resolv/Makefile: Define CFLAGS-libresolv.
26743
8de79a24
AS
267442011-08-17 Andreas Schwab <schwab@redhat.com>
26745
26746 * nss/makedb.c (compute_tables): Make variables used in nested
26747 function static.
26748
27724598
UD
267492011-08-17 Ulrich Drepper <drepper@gmail.com>
26750
c5305d88
UD
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.
26754
27724598
UD
26755 * elf/pldd.c (main): Attach to all threads in the process.
26756 Rewrite /proc handling to use *at functions.
26757
076fe015
UD
267582011-08-16 Ulrich Drepper <drepper@gmail.com>
26759
174baab3
UD
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.
44f0a71e 26764 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
26765 * sysdeps/generic/ldsodefs.h: Update declaration.
26766
076fe015
UD
26767 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
26768 string for the scope number.
26769
a60df2c3
UD
267702011-08-14 Ulrich Drepper <drepper@gmail.com>
26771
26772 * nscd/servicescache.c (cache_addserv): Make sure written is always
26773 initialized.
26774
5e4287d1
RM
267752011-08-14 Roland McGrath <roland@hack.frob.com>
26776
85ae0589
RM
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.
26781
69f63097
RM
26782 * string/strncat.c (STRNCAT): Use prototype definition.
26783
675456ef
RM
26784 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
26785 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
26786 -Iprograms here.
26787 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
26788 (localedef-modules): Add localedef.
26789 (locale-modules): Add locale.
26790
5e4287d1
RM
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.
26794
9c96ff23
DM
267952011-08-14 David S. Miller <davem@davemloft.net>
26796
26797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
26798 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
26799
f9ddf089
UD
268002011-08-13 Ulrich Drepper <drepper@gmail.com>
26801
44f0a71e 26802 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
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.
26809
1dc27704
UD
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.
26813
f9ddf089
UD
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.
26818
9ac533d3
UD
268192011-08-12 Ulrich Drepper <drepper@gmail.com>
26820
26821 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
26822 was a dependency or dynamically loaded.
26823
89edf2e9
UD
268242011-08-11 Ulrich Drepper <drepper@gmail.com>
26825
8e999d29
UD
26826 * intl/l10nflist.c: Allow architecture-specific pop function.
26827 * sysdeps/x86_64/l10nflist.c: New file.
26828
89edf2e9
UD
26829 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
26830 classification.
26831
14d96785
AS
268322011-08-10 Andreas Schwab <schwab@redhat.com>
26833
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.
26839
6761ac04
DM
268402011-08-10 David S. Miller <davem@davemloft.net>
26841
26842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
26843 enum.
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.
26847
c55fbd1e
UD
268482011-08-09 Ulrich Drepper <drepper@gmail.com>
26849
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
26853 GLIBC_2.15.
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
26861 using scandirat.
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.
26870
879165f2
UD
268712011-08-08 Ulrich Drepper <drepper@gmail.com>
26872
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.
26878
cb7e923b
UD
268792011-08-04 Ulrich Drepper <drepper@gmail.com>
26880
16292edd
UD
26881 * string/test-string.h (IMPL): Use __STRING to expand name and then
26882 stringify it.
26883
cb7e923b
UD
26884 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
26885 of cleanups.
26886
cff82933
LD
268872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26888
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.
26895
9be9bfcc
AS
268962011-07-22 Andreas Schwab <schwab@redhat.com>
26897
26898 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
26899 line.
26900
2e96f1c7
AS
269012011-07-26 Andreas Schwab <schwab@redhat.com>
26902
26903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26904 encoding to ACE if AI_IDN.
26905
85188888
JJ
269062011-08-01 Jakub Jelinek <jakub@redhat.com>
26907
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.
26910
5fa16e9b
LD
269112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26912
26913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
26914 Fix overflow bug in strncat.
26915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26916
26917 * string/test-strncat.c: Update.
26918 Add new tests for checking overflow bugs.
26919
269202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26921
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.
26931
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.
26936
8c1a459f
AS
269372011-07-25 Andreas Schwab <schwab@redhat.com>
26938
26939 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
26940 __n bigger than INT_MAX+1.
26941 (__strncmp_g): Likewise.
26942
bba33c28
UD
269432011-07-23 Ulrich Drepper <drepper@gmail.com>
26944
798be72d
UD
26945 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
26946 * libio/stido.h: Likewise.
26947
8accd4dc
UD
26948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
26949 (AF_NFC): Define.
26950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
26951 (AF_NFC): Define.
26952
cbff0d96
UD
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.
26958
9191c04a
UD
26959 [BZ #13021]
26960 * scripts/test-installation.pl: Don't expect libnss_test1 to be
26961 installed.
26962
bba33c28
UD
26963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
26964 typo.
26965 (_dl_x86_64_save_sse): Likewise.
26966
90f139dd
UD
269672011-07-22 Ulrich Drepper <drepper@gmail.com>
26968
1aae088a
UD
26969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
26970 OSXSAVE.
26971 (_dl_x86_64_save_sse): Likewise.
26972
8e2045f5
UD
26973 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
26974
90f139dd
UD
26975 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
26976
1d002f25
AS
269772011-07-21 Andreas Schwab <schwab@redhat.com>
26978
26979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
26980 change.
26981 (_dl_x86_64_save_sse): Use correct AVX check.
26982
21137f89
UD
269832011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26984
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.
26988
a65c0b7a
UD
269892011-07-21 Ulrich Drepper <drepper@gmail.com>
26990
26991 * string/tester.c (test_strcat): Add tests for different alignments
26992 of source and destination.
26993 (test_strncat): Likewise.
26994
6986b98a
UD
269952011-07-20 Ulrich Drepper <drepper@gmail.com>
26996
90bb2039
UD
26997 [BZ #12852]
26998 * posix/glob.c (glob): Check passed in values before using them in
26999 expressions to avoid some overflows.
27000 (glob_in_dir): Likewise.
27001
5644ef54
UD
27002 [BZ #13007]
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
27005 new hardware.
27006 * elf/tst-audit4.c: Add same checks here.
27007 * elf/tst-audit6.c: Likewise.
27008
27009 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27010
bfc9dc9b
AS
270112011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27012
27013 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27014
702e64bb
UD
270152011-07-20 Ulrich Drepper <drepper@gmail.com>
27016
27017 * po/cs.po: Update from translation team.
27018 * po/bg.po: Likewise.
27019
295e904f
MP
270202011-07-12 Marek Polacek <mpolacek@redhat.com>
27021
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.
27025
3ff94596
MP
270262011-07-20 Marek Polacek <mpolacek@redhat.com>
27027
27028 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27029
28b59fca
AS
270302011-07-20 Andreas Schwab <schwab@redhat.com>
27031
27032 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27033 strlen results.
27034
19df733e
AK
270352011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27036
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.
27043
c8835729
MP
270442011-07-14 Marek Polacek <mpolacek@redhat.com>
27045
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.
27050
b902330c
MP
270512011-07-15 Marek Polacek <mpolacek@redhat.com>
27052
8991e135
MP
27053 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27054 "aux_cache->nlibs < 0".
27055
b902330c
MP
27056 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27057 in the reload-count case.
27058
99710781
LD
270592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27060
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
27081 and i7.
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.
27087
7dc6bd90
UD
270882011-07-19 Ulrich Drepper <drepper@gmail.com>
27089
27090 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27091 buffer64.
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
27099 buffer32.
27100 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27101 casting of buffer.
27102
e0e72284
AS
271032011-07-19 Andreas Schwab <schwab@redhat.com>
27104
27105 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27106
feb1eb0b
UD
271072011-07-19 Ulrich Drepper <drepper@gmail.com>
27108
27109 * nscd/nscd.c (termination_handler): Don't do anything for a database
27110 if it has not yet been initialized.
27111
298711ff
UD
271122011-07-18 Ulrich Drepper <drepper@gmail.com>
27113
27114 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27115
271162011-07-15 Marek Polacek <mpolacek@redhat.com>
27117
27118 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27119
f9d68389
UD
271202011-07-18 Ulrich Drepper <drepper@gmail.com>
27121
27122 * po/nl.po: Update from translation team.
27123 * po/sv.po: Likewise.
27124
db290cf5
RM
271252011-07-16 Roland McGrath <roland@hack.frob.com>
27126
27127 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27128 now disallowed by GCC.
5c550700 27129
fd5e21c7
RM
27130 * configure.in (use-default-link): Default to yes if a test -shared
27131 link meets our qualifications.
27132 * configure: Regenerated.
27133
5c550700
RM
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.
27140
9fa2c032
RM
271412011-07-14 Roland McGrath <roland@hack.frob.com>
27142
a6928d51
RM
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.
27146
661607b3
RM
27147 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27148 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27149
9fa2c032
RM
27150 * configure.in (-z relro check): Adjust test code to add a large
27151 writable data section after it.
27152 * configure: Regenerated.
27153
defe9061
RM
271542011-07-11 Roland McGrath <roland@hack.frob.com>
27155
27156 * configure.in (-z relro check): Fix test code to make the variable
27157 truly const.
27158 * configure: Regenerated.
27159
319b9ad4
UD
271602011-07-11 Ulrich Drepper <drepper@gmail.com>
27161
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
27182 files instead.
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.
27199
27200 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27201
23bee3e8
RM
272022011-07-10 Roland McGrath <roland@hack.frob.com>
27203
27204 * csu/elf-init.c (__libc_csu_init): Comment typo.
27205
46a5b7f0
UD
272062011-07-09 Ulrich Drepper <drepper@gmail.com>
27207
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.
27213
d30cf5bb
RM
272142011-07-09 Roland McGrath <roland@hack.frob.com>
27215
113ddea4
RM
27216 * configure.in (.ctors/.dtors header and trailer check):
27217 Use an empirical test on a built program.
27218 * configure: Regenerated.
27219
574920b4
RM
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.
27223
d30cf5bb
RM
27224 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27225 Update tests that use readelf to use $READELF instead.
27226 * configure: Regenerated.
27227
8538fdb3
UD
272282011-07-08 Ulrich Drepper <drepper@gmail.com>
27229
27230 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27231 if the result is not used.
27232
04d08991
AJ
272332011-07-05 Andreas Jaeger <aj@suse.de>
27234
27235 [BZ#9696]
27236 * stdlib/tst-strtod.c: Add testcase.
27237
de283087
AD
272382011-07-07 Ulrich Drepper <drepper@gmail.com>
27239
4e5f31c8 27240 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27241 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27242 The latter has a higher limit. Take additional parameter to pass to
27243 the new function.
27244 (__pathconf): Pass file to __statfs_link_max.
27245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27246 __statfs_link_max.
27247 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27248 __statfs_link_max.
27249
de283087
AD
27250 [BZ #12868]
27251 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27253 Handle Lustre.
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>.
27257
c75fa153
AJ
272582011-07-05 Andreas Jaeger <aj@suse.de>
27259
27260 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27261
1a544854
UD
272622011-07-06 Marek Polacek <mpolacek@redhat.com>
27263
27264 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27265 `status' variable.
27266 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27267 Likewise.
27268
6f0eec67
UD
272692011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 * Makefile (strop-tests): Add strncat.
27272 * string/test-strncat.c: New file.
27273
aae30307
UD
272742011-06-30 Marek Polacek <mpolacek@redhat.com>
27275
27276 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27277
c0cfb5eb
UD
272782011-06-21 Andreas Jaeger <aj@suse.de>
27279
27280 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27281 Copy rule from iconvdata/Makefile.
27282
01636b21
UD
272832011-07-06 Ulrich Drepper <drepper@gmail.com>
27284
27285 [BZ #12922]
27286 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27287 but no long options are defined, just return 'W'.
27288
9895c8bc
UD
272892011-06-22 Marek Polacek <mpolacek@redhat.com>
27290
27291 [BZ #9696]
27292 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27293
5d4cf042
UD
272942011-07-06 Ulrich Drepper <drepper@gmail.com>
27295
27296 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27297 netgroups to read.
960e5535 27298 (innetgr): Likewise.
5d4cf042 27299
751eb97e
RM
273002011-07-05 Roland McGrath <roland@hack.frob.com>
27301
27302 * config.make.in (install_root): Default to $(DESTDIR).
27303
f15f1e45
UD
273042011-07-05 Ulrich Drepper <drepper@gmail.com>
27305
27306 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27307
4e34ac6a
RM
273082011-07-02 Roland McGrath <roland@hack.frob.com>
27309
5e9b6af4
RM
27310 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27311
84f9ea0f
RM
27312 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27313 containing directory rather than embedding absolute directory names.
27314
ea5ee9f7
RM
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.
27318
1b74661a
RM
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.
27323
27324 * config.make.in (OBJCOPY): New variable.
27325 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27326 * configure: Regenerated.
27327
f781ef40
RM
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.
27333
2d4fa81e
RM
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.
27340
31fffa6b
RM
27341 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27342 DT_FLAGS/DT_FLAGS_1 with zero flags.
27343
4e34ac6a
RM
27344 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27345 linker script munging.
27346
fcfc776b
UD
273472011-07-02 Ulrich Drepper <drepper@gmail.com>
27348
27349 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27350 as 128-bit value.
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
27355 as 64-bit value.
27356 * crypt/sha256.c (SWAP64): Define.
27357 (sha256_process_block): Perform total addition using 64-bit if
27358 possible.
27359 (__sha256_finish_ctx): Likewise.
27360
99231d9a
UD
273612011-07-01 Ulrich Drepper <drepper@gmail.com>
27362
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.
27369
445b4a53
TK
273702011-07-01 Thorsten Kukuk <kukuk@suse.de>
27371
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
27377
6d4d8e8e
AS
273782011-07-01 Andreas Schwab <schwab@redhat.com>
27379
27380 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27381 domain only when needed.
27382
89f654c5
AS
273832011-06-30 Andreas Schwab <schwab@redhat.com>
27384
27385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27386 is always restored.
27387
cf3b23ff
UD
273882011-06-29 Ulrich Drepper <drepper@gmail.com>
27389
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.
27393
751626f9
AJ
273942011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27395
27396 * sysdeps/generic/dl-irel.h: fix protection against multiple
27397 inclusions.
27398 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27399
9113ea1f
UD
274002011-06-28 Ulrich Drepper <drepper@gmail.com>
27401
5c0b8d90
UD
27402 [BZ #12935]
27403 * malloc/memusage.sh: Fix quoting in message.
27404 * debug/xtrace.sh: Likewise.
27405
9113ea1f
UD
27406 * configure.in: Remove support for --experimental-malloc option, make
27407 it the default.
27408 * config.make.in: Likewise.
27409 * malloc/Makefile: Likewise.
27410
a4172181
AS
274112011-06-27 Andreas Schwab <schwab@redhat.com>
27412
27413 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27414 two-byte characters.
27415
78a7eee7
RM
274162011-06-27 Roland McGrath <roland@hack.frob.com>
27417
62bede13
RM
27418 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27419 AC_CACHE_CHECK invocation.
27420 * configure: Regenerated.
27421
78a7eee7
RM
27422 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27423
5ce33a62
UD
274242011-06-27 Ulrich Drepper <drepper@gmail.com>
27425
034807a9
UD
27426 [BZ #12350]
27427 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27428 bit from old_res_options.
27429
4902da17
UD
27430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27431
5ce33a62
UD
27432 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27433 value type for setfct.
27434
c2344f56
L
274352011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27436
27437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27438 __gettimeofday instead of gettimeofday.
27439
68468076
UD
274402011-06-26 Ulrich Drepper <drepper@gmail.com>
27441
27442 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27443
acb0d739
L
274442011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27445
27446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27447
27448 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27449 info.
27450
8912479f
L
274512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27452
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.
27467
d5495a11
UD
274682011-06-24 Ulrich Drepper <drepper@gmail.com>
27469
27470 [BZ #12874]
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.
27474
0b1cbaae
L
274752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27476
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
27494 processors.
27495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27496 Define.
27497 (index_Fast_Unaligned_Load): Define.
27498 (HAS_FAST_UNALIGNED_LOAD): Define.
27499
07f494a0
MP
275002011-06-23 Marek Polacek <mpolacek@redhat.com>
27501
27502 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27503
fa3fc0fe
UD
275042011-06-22 Ulrich Drepper <drepper@gmail.com>
27505
27506 [BZ #12907]
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>.
27510
e12df166
AS
275112011-06-22 Andreas Schwab <schwab@redhat.com>
27512
27513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27514
852eb34d
UD
275152011-06-22 Ulrich Drepper <drepper@gmail.com>
27516
84e2a551
UD
27517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27518 /sys/devices/system/cpu/online if it is usable.
27519
852eb34d
UD
27520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27521 reading the information from the /proc filesystem to once a second.
27522
6e502e19
UD
275232011-06-21 Andreas Jaeger <aj@suse.de>
27524
27525 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27526 NULL after inclusion of kernel headers.
27527
75d39ff2
UD
275282011-06-21 Ulrich Drepper <drepper@gmail.com>
27529
51f9aa6a
UD
27530 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27531 calls to internal_setent.
27532
c0244a9d
UD
27533 [BZ #12885]
27534 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27535 addresses using gethostbyname4_r ignore IPv4 addresses.
27536
c5e3c2ae
UD
27537 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27538 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27539
75d39ff2
UD
27540 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27541
42675c6f
DM
275422011-06-20 David S. Miller <davem@davemloft.net>
27543
27544 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27545 inclusions.
27546 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27547
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.
27555
27556 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27557 * elf/dl-sym.c: Likewise.
27558
57912a71
UD
275592011-06-15 Ulrich Drepper <drepper@gmail.com>
27560
27561 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27562 need to dereference resplen2.
27563
ee22793d
AS
275642011-06-14 Andreas Schwab <schwab@redhat.com>
27565
27566 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27567
a9e836b0
UD
275682011-06-15 Ulrich Drepper <drepper@gmail.com>
27569
77fb9117
UD
27570 * Makeconfig: Define vardbdir and inst_vardbdir.
27571 * nss/Makefile: Add rules to install db-Makefile.
27572
40c1b22c
UD
27573 * nss/nss_db/db-XXX.c: Cleanup.
27574
9f2da732
UD
27575 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27576 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27577 GLIBC_PRIVATE.
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
27581 get*ent calls.
27582 * nss/nss_db/db-initgroups.c: New file.
27583
82e9a1f7
UD
27584 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27585 interface.
27586
c41af17e
UD
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.
27591
a9e836b0
UD
27592 * nss/makedb.c (compute_tables): Check result of multiple hash table
27593 sizes to minimize maximum chain length.
27594
2666d441
UD
275952011-06-14 Ulrich Drepper <drepper@gmail.com>
27596
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
27601 entries better.
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
27605 here from...
27606 * nss/makedb.c: ...here.
27607 Improve database format to be smaller and require less memory at
27608 runtime.
27609 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27610 db anymore.
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.
27626
9ee76b5a
UD
276272011-06-02 Ulrich Drepper <drepper@gmail.com>
27628
27629 * nss/makedb.c: Rewritten to not use database library.
27630 * nss/Makefile: Update to build new makedb program.
27631
c71ca1f8
AJ
276322011-06-14 Andreas Jaeger <aj@suse.de>
27633
27634 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27635 memset declaration.
27636
3154bfb8
UD
276372011-06-10 Andreas Schwab <schwab@redhat.com>
27638
27639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27640 tmpbuf.
27641
b350afab
RM
276422011-06-10 Roland McGrath <roland@hack.frob.com>
27643
decd4e50
RM
27644 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27645 * elf/Makefile ($(objpfx)ld.so): Likewise.
27646
5615eaf2
RM
27647 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27648 Don't list ld.so twice in dependencies.
27649
27650 * posix/bug-regex31.c: Include <stdlib.h>.
27651
27652 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27653
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.
27657
27658 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27659 nonmembers" output to use the right array.
27660
27661 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27662
27663 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27664
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.
27669
27670 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27671 variable definition inside #if's controlling its use.
27672
27673 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27674
27675 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27676
27677 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27678
27679 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27680 unreachable code.
27681
27682 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27683
b68e08db
RM
27684 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27685 * configure: Regenerated.
27686
b350afab
RM
27687 * Makerules: Revert last change.
27688 * elf/Makefile: Likewise.
27689
28368601
RM
276902011-06-09 Roland McGrath <roland@hack.frob.com>
27691
27692 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27693 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27694 (reloc-link): Likewise.
27695
11988f8f
UD
276962011-06-09 Ulrich Drepper <drepper@gmail.com>
27697
27698 * elf/Makefile: Add rules to build pldd.
27699 * elf/pldd.c: New file.
27700 * elf/pldd-xx.c: New file.
27701
e80fab37
UD
277022011-06-07 Ulrich Drepper <drepper@gmail.com>
27703
27704 * version.h: Update for 2.15 development version.
27705
9b849836
DM
277062011-06-07 David S. Miller <davem@davemloft.net>
27707
27708 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
27709 ifuncs.
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):
27718 Likewise.
27719
5a31b283
AK
277202011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27721
27722 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
27723
069e52f8
RM
277242011-06-06 Roland McGrath <roland@hack.frob.com>
27725
27726 [BZ #12849]
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.
27732 (texis): Use it.
27733 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
27734
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.
27739
f16846a5
JJ
277402011-06-04 Jakub Jelinek <jakub@redhat.com>
27741
27742 [BZ #12841]
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.
27746
3d29045b
L
277472011-06-02 H.J. Lu <hongjiu.lu@intel.com>
27748
27749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27750 Assume Intel Core i3/i5/i7 processor if AVX is available.
27751
8c297311
UD
277522011-05-31 Ulrich Drepper <drepper@gmail.com>
27753
27754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27755 typo.
27756
c8fc0c91
UD
277572011-05-31 Andreas Schwab <schwab@redhat.com>
27758
27759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
27760 memory. Use alloca_account. Fix memory leak when retrying.
27761
5b27a807
UD
277622011-05-31 Ulrich Drepper <drepper@gmail.com>
27763
356f8bc6
UD
27764 * version.h (RELEASE): Bump for 2.14 release.
27765 * include/features.h (__GLIBC_MINOR__): Bump to 14.
27766
5b27a807
UD
27767 * config.make.in (RANLIB): Remove entry.
27768
01f16ab0
UD
277692011-05-30 Ulrich Drepper <drepper@gmail.com>
27770
41fce8bd
UD
27771 * po/Makefile (po-sed-cmd): Add ksh to extensions.
27772 (libc.pot): Work around missing support for .ksh extension in xgettext.
27773
4769ae77
UD
27774 [BZ #12684]
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.
27778
6b1e7d19
UD
27779 [BZ #12454]
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.
27784
01f16ab0
UD
27785 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
27786
b1ebd700
UD
277872011-05-29 Ulrich Drepper <drepper@gmail.com>
27788
7ae22829
UD
27789 [BZ #12350]
27790 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
27791 bit from old_res_options.
27792 (gaih_inet): Likewise.
27793
553149f6 27794 [BZ #11099]
18a84741 27795 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
27796 as signed.
27797
652ffab1
UD
27798 * resolv/res_init.c (res_setoptions): Make the code more compact.
27799
16985fd0
UD
27800 [BZ #11558]
27801 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
27802 set RES_USEVC.
27803
0464f746
UD
27804 [BZ #11634]
27805 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
27806
7d17596c
UD
27807 * malloc/malloc.h: Mark malloc hook variables as deprecated.
27808
cf6bbbd7
UD
27809 [BZ #11781]
27810 * malloc/malloc.h: Declare malloc hook variables as volatile.
27811
13f1ab36
UD
27812 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
27813 in last patch.
27814
b1ebd700
UD
27815 [BZ #11799]
27816 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 27817 raise in the comment.
80e2212d
UD
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.
b1ebd700 27821
ce67228d
UD
278222011-05-28 Ulrich Drepper <drepper@gmail.com>
27823
8887a920
UD
27824 [BZ #12811]
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
27831 buffer.
27832 Patches mostly by Emil Wojak <emil@wojak.eu>.
27833 * posix/bug-regex32.c: New file.
27834 * posix/Makefile (tests): Add bug-regex32.
27835
4f031072
UD
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.
27839
d0478f0c
UD
27840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
27841
de81b246
UD
27842 * debug/xtrace.sh: Unify messages.
27843 * malloc/memusage.sh: Likewise.
27844
c738465a
UD
27845 [BZ #12813]
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
27849 __vdso_time.
27850
f1f929d7
UD
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.
27858
ce67228d
UD
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.
27862
e57420c6
UD
278632011-05-27 Ulrich Drepper <drepper@gmail.com>
27864
a8509ca5
UD
27865 [BZ #12813]
27866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
27867 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
27868 available.
27869 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
27870 __vdso_getcpu.
27871
e57420c6
UD
27872 [BZ #12814]
27873 * iconvdata/Makefile (tests): Add bug-iconv9.
27874 * iconvdata/bug-iconv9.c: New file.
27875
4d07db15
AS
278762011-05-27 Andreas Schwab <schwab@redhat.com>
27877
27878 [BZ #12814]
27879 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
27880
ea486f69
JJ
278812011-05-25 Jakub Jelinek <jakub@redhat.com>
27882
27883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
27884 (struct user_regs_struct): Change intcs field back to cs.
27885
6f038433
UD
278862011-05-25 Ulrich Drepper <drepper@gmail.com>
27887
27888 * po/ja.po: Update from translation team.
27889
67f86a25
UD
278902011-05-23 Ulrich Drepper <drepper@gmail.com>
27891
27892 [BZ #12795]
27893 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
27894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
27895
def7fbd6
AS
278962011-05-20 Andreas Schwab <schwab@redhat.com>
27897
27898 * stdlib/longlong.h: Update from GCC.
27899
f50ef8f1
AS
279002011-05-23 Andreas Schwab <schwab@redhat.com>
27901
27902 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
27903 parameter name.
27904 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
27905 Add parameter name.
27906 (__sysconf): Pass it down.
27907
de7ce8f1
UD
279082011-05-22 Ulrich Drepper <drepper@gmail.com>
27909
f2962a71
UD
27910 [BZ #12671]
27911 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
27912 some situations.
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.
27917
de7ce8f1
UD
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
27920 pltexit.
27921
aec84f53
UD
279222011-05-21 Ulrich Drepper <drepper@gmail.com>
27923
05bb4a68
UD
27924 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
27925 and CLOCK_BOOTTIME_ALARM.
27926
7ea72f99
UD
27927 [BZ #12782]
27928 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
27929 is returned.
27930
7e4afad5
UD
27931 * string/_strerror.c (__strerror_r): Print negative errors as signed
27932 numbers.
27933
8e211fec
UD
27934 [BZ #12777]
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.
27938
f7d82dc9
UD
27939 * configure.in: Fix typo in redirection and correct removal of test
27940 files in two cases.
27941
cc9e536d
UD
27942 [BZ #12788]
27943 * locale/setlocale.c (new_composite_name): Fix test to check for
27944 identical name of all categories.
27945
aec84f53
UD
27946 [BZ #12792]
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
27952 error flag.
27953
78e64fdc
RT
279542011-05-20 Ulrich Drepper <drepper@gmail.com>
27955
34a9094f
UD
27956 [BZ #11869]
27957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
27958 alloca.
27959 * include/alloca.h (extend_alloca_account): Define.
27960
78e64fdc
RT
27961 [BZ #11857]
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>.
27966
457bddfc
RA
279672011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
27968
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.
27972
a4527b51
AS
279732011-05-19 Andreas Schwab <schwab@redhat.com>
27974
27975 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
27976
ed690b2f
UD
279772011-05-19 Ulrich Drepper <drepper@gmail.com>
27978
27979 * libio/freopen.c (freopen): Use __dup2, not dup2.
27980 * libio/freopen64.c (freopen64): Likewise.
27981
8db73634
L
279822011-05-17 H.J. Lu <hongjiu.lu@intel.com>
27983
27984 [BZ #12775]
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.
27989
0a197a9d
L
279902011-05-16 H.J. Lu <hongjiu.lu@intel.com>
27991
27992 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
27993
ee30c380
UD
279942011-05-17 Ulrich Drepper <drepper@gmail.com>
27995
27996 [BZ #11837]
27997 * iconvdata/gb18030.c: Update to GB18020-2005.
27998
6ce75379
UD
279992011-05-16 Ulrich Drepper <drepper@gmail.com>
28000
a4b89fd8
AR
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>.
28004
ea389b12
UD
28005 [BZ #11892]
28006 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28007 on the stack.
28008
68a3f91f
UD
28009 [BZ #11895]
28010 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28011 through underflows.
28012
15cc7dd1
UD
28013 [BZ #12766]
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
28016 mode.
28017
f3799213
UD
28018 [BZ #11697]
28019 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28020
d79a9c94
UD
28021 [BZ #11820]
28022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28023 (struct user_fpregs_struct): Avoid __uint*_t types.
28024
56e5eb46
UD
28025 [BZ #6420]
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.
28034
6ce75379
UD
28035 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28036 used and couldn't be at all thread-safe.
28037
f8a3b5bf
UD
280382011-05-15 Ulrich Drepper <drepper@gmail.com>
28039
94b7cc37
UD
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.
28055
bd25564e
UD
28056 [BZ #7101]
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.
28061
c84cfef4
UD
28062 [BZ #10138]
28063 * scripts/config.guess: Update from autoconf-2.68.
28064 * scripts/config.sub: Likewise.
28065
3b85df27
UD
28066 [BZ #10157]
28067 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28068 tests into ...
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.
28072
15a856b1
UD
28073 [BZ #10149]
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.
28077
05f399e6
UD
28078 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28079 Use non-cancelable interfaces.
28080
10a52685 28081 [BZ #9809]
94ecc67d
UD
28082 * locale/iso-639.def: Add entry for Sorani.
28083
f8a3b5bf
UD
28084 [BZ #11901]
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
28090 mmap.
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
28096 mmap.
28097 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28098
1af4e298
UD
280992011-05-14 Ulrich Drepper <drepper@gmail.com>
28100
f8a3b5bf 28101 [BZ #11952]
d26dfc60
MG
28102 [BZ #12453]
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>.
28111
2fc54d6f
UD
28112 [BZ #12083]
28113 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28114 correctly.
28115
98d76b46
UD
28116 [BZ #12601]
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.
28121
da3c19ef
UD
28122 [BZ #12626]
28123 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28124 buf2 definition.
28125
ca408c15
UD
28126 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28127
d6f67f7d
UD
28128 [BZ #12432]
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.
28134
1af4e298 28135 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28136 storing incomplete byte sequence in state object. Avoid testing for
28137 guaranteed too small input if we know there is enough data available.
1af4e298 28138
da62f81b
AS
281392011-05-11 Andreas Schwab <schwab@redhat.com>
28140
28141 * Makeconfig (+link-pie): Indent.
28142 * Rules (binaries-pie): Define if $(have-fpie) and
28143 $(build-shared).
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.
28153
fcabc0f8
UD
281542011-05-13 Ulrich Drepper <drepper@gmail.com>
28155
20030ae6
UD
28156 * libio/tst_putwc.c: Fix error messages.
28157
fcabc0f8
UD
28158 [BZ #12724]
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.
28163
320a5dc0
PB
281642011-05-12 Ulrich Drepper <drepper@gmail.com>
28165
28166 [BZ #12511]
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>.
28176
22836f52
UD
281772011-05-11 Ulrich Drepper <drepper@gmail.com>
28178
f574184a
UD
28179 [BZ #12052]
28180 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28181
e1fb097f
UD
28182 [BZ #12625]
28183 * misc/mntent_r.c (addmntent): Flush the stream after the output
28184
22836f52
UD
28185 [BZ #12393]
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.
28194
7b3b0b2a
UD
281952011-05-10 Ulrich Drepper <drepper@gmail.com>
28196
28197 [BZ #11257]
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
eac80ce2 28201 __nss_group_database value if it is set.
7b3b0b2a
UD
28202 * nss/nsswitch.conf (initgroups): Change action for successful db
28203 lookup to continue for compatibility.
28204
2a81eaa5
UD
282052011-05-09 Ulrich Drepper <drepper@gmail.com>
28206
be97a69e
UD
28207 [BZ #11532]
28208 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28209 and CP774 modules.
28210 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28211 and CP774 modules.
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.
28228
28229 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28230 END CHARMAP line.
28231 * iconvdata/gen-8bit-gap.sh: Likewise.
28232 * iconvdata/gen-8bit.sh: Likewise.
28233
c1e9e399
UD
28234 * locale/iso-639.def: Add ary entry.
28235
24c55fb3 28236 [BZ #11258]
96b4b1b0
UD
28237 * locale/C-translit.h.in: Add U20A1 transliteration.
28238
bdc2f971
KB
28239 [BZ #12178]
28240 * locale/iso-639.def: Add wae entry.
28241 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28242
2952b117
UD
28243 [BZ #12545]
28244 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28245 for n.
28246
2a81eaa5
UD
28247 [BZ #12711]
28248 * locale/C-translit.h.in: Add entry for U20B9.
28249 Patch by pravin.d.s@gmail.com.
28250
28377d1b
UD
282512011-05-08 Ulrich Drepper <drepper@gmail.com>
28252
7fb90fb8
UD
28253 [BZ #12713]
28254 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28255 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28256 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28257 in rtld. Use *stat64.
7fb90fb8 28258 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28259 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28260 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
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.
7fb90fb8
UD
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.
6fb2dde3 28269 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28270
28377d1b
UD
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
28274 __alloc_dir.
28275 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28276 from fdopendir if O_CLOEXEC is already set.
28277
66bdbaa4
AM
282782011-03-15 Alan Modra <amodra@gmail.com>
28279
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.
28285
95721191
JN
282862011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28287
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.
28291
f87dfb1f
UD
282922011-05-07 Ulrich Drepper <drepper@gmail.com>
28293
28294 [BZ #12734]
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.
28301
47c3cd7a
UD
283022011-05-07 Petr Baudis <pasky@suse.cz>
28303 Ulrich Drepper <drepper@gmail.com>
28304
28305 [BZ #12393]
28306 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28307 (is_trusted_path): ...to here.
c1e9ea35 28308 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28309 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28310 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28311
8a35c912
PP
283122011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28313
28314 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28315 __BEGIN/__END_DECLS.
28316
acd41f47
UD
283172011-05-06 Ulrich Drepper <drepper@gmail.com>
28318
28319 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28320 NSS_STATUS_NOTFOUND if no record was found.
28321
597df647
AS
283222011-05-05 Andreas Schwab <schwab@redhat.com>
28323
28324 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28325 (headers-not-in-tirpc): Remove rpc/netdb.h
28326 * resolv/netdb.h: Revert last change.
28327
b9af1301
PP
283282011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28329
28330 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28331 circular dependency between libgcc.a and libc.a.
28332
4e34d5f5
AS
283332011-05-05 Andreas Schwab <schwab@redhat.com>
28334
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.
28340
00ee369c
AS
283412011-05-03 Andreas Schwab <schwab@redhat.com>
28342
28343 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28344
0b592a30
MB
283452011-04-28 Maciej Babinski <mbabinski@google.com>
28346
28347 [BZ #12714]
28348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28349 gethostbyname4_r when IPv6 results are possible.
28350
6e04cbbe
UD
283512011-05-02 Ulrich Drepper <drepper@gmail.com>
28352
28353 [BZ #12723]
28354 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28355 _PC_PIPE_BUF handling.
28356
e4ecafe0
BH
283572011-04-30 Bruno Haible <bruno@clisp.org>
28358
28359 [BZ #12717]
28360 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28361 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28362 to 'int'.
28363 * inet/getnameinfo.c (getnameinfo): Likewise.
28364
125ee683
UD
283652011-04-29 Ulrich Drepper <drepper@gmail.com>
28366
28367 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28368 to groups setting in database lookup.
28369 * nss/nsswitch.conf: Add initgroups entry.
28370
b722481a
EB
283712011-04-22 Ulrich Drepper <drepper@gmail.com>
28372
28373 [BZ #12685]
28374 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28375 mode string.
28376 Patch by Eric Blake <eblake@redhat.com>.
28377
4df46dbd
L
283782011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28379
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.
28386
e84142d2
UD
283872011-04-21 Ulrich Drepper <drepper@gmail.com>
28388
28389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28390 problem in reallocation in last patch.
28391
877175d8
UD
283922011-04-20 Ulrich Drepper <drepper@gmail.com>
28393
28394 * sunrpc/Makefile: Move inclusion of Rules.
28395
ab8eed78
UD
283962011-04-19 Ulrich Drepper <drepper@gmail.com>
28397
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.
28402
e3d8f584
RS
284032011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28404
28405 * elf/elf.h (R_ARM_IRELATIVE): Define.
28406
af190f45
UD
284072011-04-19 Ulrich Drepper <drepper@gmail.com>
28408
28409 * po/ru.po: Update from translation team.
28410
53cf59ef
UD
284112011-04-17 Ulrich Drepper <drepper@gmail.com>
28412
28413 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28414 dependencies.
28415
4c559bcd
MF
284162011-02-06 Mike Frysinger <vapier@gentoo.org>
28417
28418 [BZ #12653]
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.
28424
4420675c
AS
284252011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28426
28427 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28428 differing bytes.
28429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28432
75ea32ab
UD
284332011-04-17 Ulrich Drepper <drepper@gmail.com>
28434
28435 [BZ #12420]
28436 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28437 storing it.
28438 * stdlib/bug-getcontext.c: New file.
28439 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28440
27390476
AK
284412011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28442
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.
28447
10442705
AK
284482011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28449
28450 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28451 between environment variables and auxiliary vector.
28452
7b57bfe5
UD
284532011-04-16 Ulrich Drepper <drepper@gmail.com>
28454
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.
28526
e6c61494
UD
285272011-04-10 Ulrich Drepper <drepper@gmail.com>
28528
28529 [BZ #12650]
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.
28538
34fe483e
AS
285392011-03-14 Andreas Schwab <schwab@redhat.com>
28540
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
28548 with zero is_path.
28549
f12a32e6
AS
285502011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28551
28552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28553 Make cancelable.
28554
38a7d692
UD
285552011-04-09 Ulrich Drepper <drepper@gmail.com>
28556
28557 [BZ #12655]
28558 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28559 Patch by Filipe David Manana <fdmanana@apache.org>.
28560
e451d22b
AS
285612011-04-07 Andreas Schwab <schwab@redhat.com>
28562
28563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28564 Maintain aligned stack.
28565 (CHECK_RSP): Remove unused macro.
28566
dedc7c7b
UD
285672011-04-03 Ulrich Drepper <drepper@gmail.com>
28568
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.
28571
94521213
UD
285722011-04-02 Ulrich Drepper <drepper@gmail.com>
28573
28574 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28575
8cb700c0 28576 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28577
0354e355
L
285782011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28579
28580 [BZ #12518]
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.
28590
8593482f
UD
285912011-04-01 Ulrich Drepper <drepper@gmail.com>
28592
28593 [BZ #12631]
28594 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28595
81a5726b
AS
285962011-03-30 Andreas Schwab <schwab@redhat.com>
28597
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.
28602
00e5419f
AS
286032011-04-01 Andreas Schwab <schwab@redhat.com>
28604
28605 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28606 open_by_handle_at.
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.
28614
748876bf
UD
286152011-04-01 Ulrich Drepper <drepper@gmail.com>
28616
658e451d
UD
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.
28624
748876bf
UD
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
3167dad0
UD
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.
748876bf 28642
6e63d5e1
AS
286432011-04-01 Andreas Schwab <schwab@redhat.com>
28644
28645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28646 bits/timex.h.
6e63d5e1 28647
46998f74
UD
286482011-04-01 Ulrich Drepper <drepper@gmail.com>
28649
4c1423ed
UD
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.
28658
158648c0
UD
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
28670 open_by_handle.
28671
46998f74
UD
28672 * io/fcntl.h (AT_EMPTY_PATH): Define.
28673
83fe108b
UD
286742011-03-30 Ulrich Drepper <drepper@gmail.com>
28675
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
28679 to...
28680 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28681 * Versions.def: Add GLIBC_2.14.
28682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28683 Export.
83fe108b 28684
bb242059
UD
286852011-03-22 Ulrich Drepper <drepper@gmail.com>
28686
28687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28688 round counter.
28689 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28690
c97a1282
L
286912011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28692
28693 [BZ #12597]
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.
28698
2a115601
UD
286992011-03-20 Ulrich Drepper <drepper@gmail.com>
28700
28701 [BZ #12587]
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.
28705
8126d904
UD
287062011-03-18 Ulrich Drepper <drepper@gmail.com>
28707
042c49c6 28708 [BZ #12583]
8126d904
UD
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>.
28712
ccfe366e
RA
287132011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
28714
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,...).
28718
c6e13027
JJ
287192011-03-10 Jakub Jelinek <jakub@redhat.com>
28720
28721 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
28722
33f85a3f
UD
287232011-03-10 Ulrich Drepper <drepper@gmail.com>
28724
028478fa
UD
28725 [BZ #12510]
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
28728 used variable.
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.
28736
33f85a3f
UD
28737 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
28738
03592fc7
MF
287392011-03-10 Mike Frysinger <vapier@gentoo.org>
28740
28741 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
28742 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
28743 to _start.
03592fc7 28744
6a5ee102
UD
287452011-03-06 Ulrich Drepper <drepper@gmail.com>
28746
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.
28749
7e4ba49c
HJ
287502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28751 Ulrich Drepper <drepper@gmail.com>
28752
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.
28756
287572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
28758
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.
28763
13a804de
UD
287642011-03-04 Ulrich Drepper <drepper@gmail.com>
28765
28766 * libio/fmemopen.c (fmemopen): Optimize a bit.
28767
9d25c392
AS
287682011-03-03 Andreas Schwab <schwab@redhat.com>
28769
28770 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
28771
a5543c6a
RM
287722011-03-03 Roland McGrath <roland@redhat.com>
28773
28774 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
28775
012d35f7
DM
287762011-02-28 Aurelien Jarno <aurelien@aurel32.net>
28777
7e4ba49c 28778 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
28779 __bzero_ultra1 instead of __memset_ultra1.
28780
4bff6e01
AS
287812011-02-23 Andreas Schwab <schwab@redhat.com>
28782 Ulrich Drepper <drepper@gmail.com>
28783
28784 [BZ #12509]
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
28790 list.
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.
28798
f2092faf
AS
287992011-02-17 Andreas Schwab <schwab@redhat.com>
28800
28801 [BZ #12454]
28802 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
28803 dependencies are missing.
28804
6c8a2e88
ST
288052011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
28806
f2092faf 28807 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
28808 Hurd needs munmap.
28809 * sysdeps/mach/hurd/ifreq.h: New file.
28810
84a42118
PB
288112011-01-27 Petr Baudis <pasky@suse.cz>
28812 Ulrich Drepper <drepper@gmail.com>
28813
071f805e 28814 [BZ 12445]#
84a42118
PB
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.
28819
e23fe25b
AS
288202010-09-28 Andreas Schwab <schwab@redhat.com>
28821 Ulrich Drepper <drepper@gmail.com>
28822
28823 [BZ #12489]
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.
28827
d3f02e10
NS
288282011-02-17 Nathan Sidwell <nathan@codesourcery.com>
28829 Glauber de Oliveira Costa <glommer@gmail.com>
28830
28831 * elf/elf.h: Add new ARM TLS relocs.
28832
d55fd7a5
RA
288332011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
28834
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28836 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
28837 cast from r3.
28838 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
28839 'tests' variable.
28840 * sysdeps/wordsize-64/tst-writev.c: New file.
28841
2206397e
RA
288422011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
28843
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
28847 resolved.
28848
e9433893
UD
288492011-02-15 Ulrich Drepper <drepper@gmail.com>
28850
28851 [BZ #12469]
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.
28857
f75286c6
ST
288582011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28859
8e31c82d
ST
28860 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
28861 protection macro.
28862 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
28863 inclusion protection macro.
28864
f75286c6
ST
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.
28868
c1d0e639
JJ
288692011-02-11 Jakub Jelinek <jakub@redhat.com>
28870
28871 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
28872 arginfo fn returning -1.
28873
28874 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
28875 and thousands string is zero terminated.
28876
edf9294e
AS
288772011-02-03 Andreas Schwab <schwab@redhat.com>
28878
28879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
28880 sysdeps/unix/sysv/linux/bits/socket.h.
28881
2b7e92df
ST
288822011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
28883
edf9294e
AS
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.
2b7e92df
ST
28889 (__sched_cpualloc, __sched_cpufree): Add declarations.
28890
a4c7ea7b
UD
288912011-02-05 Ulrich Drepper <drepper@gmail.com>
28892
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.
28921
a0bf67cc
RM
289222011-02-04 Roland McGrath <roland@redhat.com>
28923
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.
28929
28930 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
28931
28932 * posix/fnmatch_loop.c: Add some consts.
28933
28934 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
28935
435b95eb
L
289362011-02-02 H.J. Lu <hongjiu.lu@intel.com>
28937
28938 [BZ #12460]
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.
28949
8517b15e
UD
289502011-02-02 Ulrich Drepper <drepper@gmail.com>
28951
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>.
28955
10a656fe
AS
289562011-02-02 Andreas Schwab <schwab@redhat.com>
28957
28958 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
28959 of errno.
28960
968dad0a
UD
289612011-01-19 Ulrich Drepper <drepper@gmail.com>
28962
9f94d2ea 28963 [BZ #11724]
968dad0a
UD
28964 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
28965 of constructors.
28966 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
28967 of destructors.
28968 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
28969
28970 [BZ #11724]
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>.
28988
86e92359
UD
289892010-10-01 Andreas Schwab <schwab@redhat.com>
28990
28991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28992 decoding ACE if AI_CANONIDN.
28993
5d5732b0
UD
289942011-01-18 Ulrich Drepper <drepper@gmail.com>
28995
28996 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
28997
a77e8cbc
UD
289982011-01-17 Ulrich Drepper <drepper@gmail.com>
28999
6392473f
UD
29000 * version.h (RELEASE): Bump for 2.13 release.
29001 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29002
620a0529
UD
29003 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29004
18ba70a5
UD
29005 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29006 MADV_NOHUGEPAGE.
32465c3e
UD
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.
29013
c0dafcf1
UD
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.
29030
a77e8cbc
UD
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.
29034
77e8bddf
AS
290352011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29036
1f20b93a
AS
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.
29048
77e8bddf
AS
29049 * configure.in: Don't override --enable-multi-arch.
29050
bc425b33
UD
290512011-01-15 Ulrich Drepper <drepper@gmail.com>
29052
29053 [BZ #6812]
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
29057 failed.
29058
794c3ad3
UD
290592011-01-14 Ulrich Drepper <drepper@gmail.com>
29060
70181fdd
UD
29061 [BZ #10563]
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.
29065
794c3ad3
UD
29066 [BZ #12378]
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.
29074
68dc9497
AS
290752010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29076
29077 * elf/Makefile (check-execstack): Revert last change. Depend on
29078 check-execstack.h.
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.
29085
451f001b
UD
290862011-01-13 Ulrich Drepper <drepper@gmail.com>
29087
cfa28e56
UD
29088 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29089 in child fails because the descriptor is already closed.
8cf8ce17
UD
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.
cfa28e56 29093
1086d70d
UD
29094 [BZ #12397]
29095 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29096 syscall.
29097
451f001b
UD
29098 [BZ #10484]
29099 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29100 temporary buffer used to handle multi lookups locally.
a85b5cb4 29101 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29102
08769175
UD
291032011-01-12 Ulrich Drepper <drepper@gmail.com>
29104
29105 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29106 loader is ld.so.
29107
5e49c52e
UD
291082011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29109
29110 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29111 alignment for SSE2.
29112
60522a5f
UD
291132011-01-12 Ulrich Drepper <drepper@gmail.com>
29114
29115 [BZ #12394]
29116 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29117 characters. When rounding increased number of integer digits recompute
29118 number of groups.
29119 * stdio-common/tst-grouping.c: New file.
29120 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29121
f257bbd7
UD
291222011-01-09 Ulrich Drepper <drepper@gmail.com>
29123
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.
29126
29127 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29128 void.
29129 * bits/select.h: Likewise.
29130
fa9c15cb
UD
291312011-01-08 Ulrich Drepper <drepper@gmail.com>
29132
29133 * po/ja.po: Update from translation team.
29134
16c2895f
DM
291352011-01-04 David S. Miller <davem@sunset.davemloft.net>
29136
29137 [BZ #11155]
29138 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29139 implementation just like for lxstat, fxstatat, et al.
29140
2543fef2
JM
291412010-12-27 Jim Meyering <meyering@redhat.com>
29142
29143 [BZ #12348]
29144 * posix/regexec.c (build_trtable): Return failure indication upon
29145 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29146
98727dbe
UD
291472010-12-25 Ulrich Drepper <drepper@gmail.com>
29148
5bd6dc5c
UD
29149 [BZ #12201]
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.
29154
97983464
UD
29155 [BZ #12207]
29156 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29157
98727dbe
UD
29158 [BZ #12204]
29159 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29160 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29161
4a531bb0
L
291622010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29163
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.
29176
07eb4b71
UD
291772010-12-24 Ulrich Drepper <drepper@gmail.com>
29178
29179 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29180 always use the slow path.
29181
30950a5f
RA
291822010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29183
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.
29203
db753e2c
UD
292042010-12-19 Ulrich Drepper <drepper@gmail.com>
29205
14b697f7
UD
29206 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29207 accurately.
db753e2c
UD
29208 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29209 GETDENTS_64BIT_ALIGNED.
29210
28300719
UD
292112010-12-14 Ulrich Drepper <dreper@gmail.com>
29212
14b697f7 29213 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29214
4f197237
AS
292152010-12-10 Andreas Schwab <schwab@redhat.com>
29216
dbb0472f
AS
29217 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29218 _GNU_SOURCE.
29219
4f197237
AS
29220 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29221 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29222 Remove __restrict.
29223 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29224 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29225
fb88ac72
UD
292262010-12-09 Ulrich Drepper <drepper@gmail.com>
29227
29228 [BZ #11655]
29229 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29230 are initialized.
29231
42acbb92
JJ
292322010-12-09 Jakub Jelinek <jakub@redhat.com>
29233
29234 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29235
c038d98d
UD
292362010-12-03 Ulrich Drepper <drepper@gmail.com>
29237
29238 * po/it.po: Update from translation team.
29239
3a4a2499
L
292402010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29243 unused codes.
29244
1e24cf6e
UD
292452010-11-30 Ulrich Drepper <drepper@gmail.com>
29246
29247 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29248
a7690819
AS
292492010-11-24 Andreas Schwab <schwab@redhat.com>
29250
29251 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29252 specially.
29253 (gaih_getanswer_slice): Likewise.
29254
3bf8d1b1
JJ
292552010-10-20 Jakub Jelinek <jakub@redhat.com>
29256
29257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29258
6db52fbb
PB
292592010-05-31 Petr Baudis <pasky@suse.cz>
29260
29261 [BZ #11149]
29262 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29263 silently even in the chroot mode.
29264
eaca7569
UD
292652010-11-22 Ulrich Drepper <drepper@gmail.com>
29266
29267 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29268 last patch a bit. Pretty printing
29269
3056dcdb
UD
292702010-05-31 Petr Baudis <pasky@suse.cz>
29271
29272 [BZ #10085]
29273 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29274 initialization of skip_initgroups_dyn.
29275
cf7c9078
UD
292762010-11-19 Ulrich Drepper <drepper@gmail.com>
29277
29278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29280
a1fb5e3e
UD
292812010-11-16 Ulrich Drepper <drepper@gmail.com>
29282
29283 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29284
3540d66b
AS
292852010-11-11 Andreas Schwab <schwab@redhat.com>
29286
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.
29293
13b69574
L
292942010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29295
29296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29297 Support Intel processor model 6 and model 0x2c.
29298
da93d214
LM
292992010-11-10 Luis Machado <luisgpm@br.ibm.com>
29300
29301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29302 signed comparison.
29303
8ca52c6e
L
293042010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29305
29306 [BZ #12205]
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.
29313
69da074d
UD
293142010-11-08 Ulrich Drepper <drepper@gmail.com>
29315
29316 [BZ #12194]
29317 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29319
ff02d528
L
293202010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29321
29322 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29323 IFUNC support.
29324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29325 memset-x86-64.
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):
29334 Define.
29335 (index_Prefer_SSE_for_memop): Define.
29336 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29337
344d0b54
LM
293382010-11-04 Luis Machado <luisgpm@br.ibm.com>
29339
29340 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29341 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29342
c0dde15b
UD
293432010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29344
29345 [BZ #12191]
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.
29350
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.
29361
0e516e0e
MS
293622010-11-03 Ulrich Drepper <drepper@gmail.com>
29363
29364 [BZ #12167]
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>.
29369
0e012e87
ER
293702010-10-28 Erich Ritz <erichritz@gmail.com>
29371
29372 * math/math.h (isinf): Fix typo in comment.
29373
de0ff7bc
UD
293742010-11-01 Ulrich Drepper <drepper@gmail.com>
29375
29376 * po/da.po: Update from translation team.
29377
fa41c84d
UD
293782010-10-26 Ulrich Drepper <drepper@gmail.com>
29379
29380 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29381 is added to the list.
29382
f0967738
AK
293832010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29384 Ulrich Drepper <drepper@gmail.com>
29385
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.
29394
293952010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29396
29397 [BZ #12159]
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>.
29401
f0967738 294022010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29403
29404 [BZ #12140]
29405 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29406 perturbing.
29407
d0b9e94f
MB
294082010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29409
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
29415 submachine.
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29417
8e9f92e9
AS
294182010-10-22 Andreas Schwab <schwab@redhat.com>
29419
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.
29432
bc96fbda
AS
294332010-09-09 Andreas Schwab <schwab@redhat.com>
29434
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.
29439
22cd1c9b
AS
294402010-10-18 Andreas Schwab <schwab@redhat.com>
29441
29442 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29443 _dl_map_object do it.
29444
18edac48
UD
294452010-10-19 Ulrich Drepper <drepper@gmail.com>
29446
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.
29452
29453 * bits/mathdef.h: Update copyright year.
29454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29455
d2050124
MM
294562010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29457
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
29463 multiply/add.
29464 (FP_FAST_FMAF): Likewise.
29465
475facd1
JJ
294662010-10-15 Jakub Jelinek <jakub@redhat.com>
29467
29468 [BZ #3268]
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.
29480
7c08a05c
JJ
294812010-10-16 Jakub Jelinek <jakub@redhat.com>
29482
29483 [BZ #3268]
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.
29488
f3f7372d
JJ
294892010-10-14 Jakub Jelinek <jakub@redhat.com>
29490
29491 [BZ #3268]
29492 * math/libm-test.inc (fma_test): Add some more tests.
29493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29494 correctly.
29495
14d43591
AS
294962010-10-15 Andreas Schwab <schwab@redhat.com>
29497
29498 * scripts/data/localplt-s390-linux-gnu.data: New file.
29499 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29500
5e908464
JJ
295012010-10-13 Jakub Jelinek <jakub@redhat.com>
29502
29503 [BZ #3268]
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
29506 instead of dbl-64.
29507 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29508 inlines.
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.
29519
295202010-10-12 Jakub Jelinek <jakub@redhat.com>
29521
29522 [BZ #3268]
29523 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29524 fma tests.
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.
29532
b833d51f
UD
295332010-10-12 Ulrich Drepper <drepper@redhat.com>
29534
29535 [BZ #12078]
29536 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29537 * posix/bug-regex31.input: Add test case.
29538
1751705d
UD
295392010-10-11 Ulrich Drepper <drepper@gmail.com>
29540
e9b9cbf5
UD
29541 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29542 * posix/bug-regex31.input: New file.
29543
29544 [BZ #12078]
29545 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29546 (parse_sub_exp): Fix last change, use postorder.
29547
ef06edbe
UD
29548 * posix/bug-regex31.c: New file.
29549 * posix/Makefile: Add rules to build and run bug-regex31.
29550
a129c80d
UD
29551 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29552
29553 [BZ #12078]
29554 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29555
b76b818e
UD
29556 [BZ #12108]
29557 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29558 to have entries in sys_siglist.
29559
1751705d
UD
29560 [BZ #12093]
29561 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29562 be NULL.
29563
9ff8d36f
JJ
295642010-10-07 Jakub Jelinek <jakub@redhat.com>
29565
29566 [BZ #3268]
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.
29588
af325969
UD
295892010-10-11 Ulrich Drepper <drepper@gmail.com>
29590
c579b202 29591 [BZ #12107]
af325969
UD
29592 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29593 newline.
29594
67a67b95
UD
295952010-10-06 Ulrich Drepper <drepper@gmail.com>
29596
29597 * string/bug-strstr1.c: New file.
29598 * string/Makefile: Add rules to build and run bug-strstr1.
29599
5fb308bc
EB
296002010-10-05 Eric Blake <eblake@redhat.com>
29601
29602 [BZ #12092]
29603 * string/str-two-way.h (two_way_long_needle): Always clear memory
29604 when skipping input due to the shift table.
29605
45db99c7
UD
296062010-10-03 Ulrich Drepper <drepper@gmail.com>
29607
3b111893
UD
29608 [BZ #12005]
29609 * malloc/mcheck.c: Handle large requests.
29610
45db99c7
UD
29611 [BZ #12077]
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.
29616
cf7a1eb8
NI
296172010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29618
29619 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29620 __set_fpscr.
29621
6484ba5e
AJ
296222010-09-30 Andreas Jaeger <aj@suse.de>
29623
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):
29629 Likewise.
29630
91c42559
LM
296312010-09-27 Luis Machado <luisgpm@br.ibm.com>
29632
29633 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29634 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29635
87a97932
AK
296362010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29637
29638 [BZ #12067]
29639 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29640 trying to locate the ELF header.
29641
c21cc9bc
AS
296422010-09-27 Andreas Schwab <schwab@redhat.com>
29643
29644 [BZ #11611]
29645 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29646 Mask out sign-bit copies when constructing f_fsid.
29647
315970f6
PB
296482010-09-24 Petr Baudis <pasky@suse.cz>
29649
29650 * debug/stack_chk_fail_local.c: Add missing licence exception.
29651 * debug/warning-nop.c: Likewise.
29652
1ac7a2c7
JM
296532010-09-15 Joseph Myers <joseph@codesourcery.com>
29654
29655 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29656 implementing getdents64 using getdents syscall, set d_type if
29657 __ASSUME_GETDENTS32_D_TYPE.
29658
56801c50
AS
296592010-09-16 Andreas Schwab <schwab@redhat.com>
29660
29661 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29662 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29663
dda51327
UD
296642010-09-21 Ulrich Drepper <drepper@redhat.com>
29665
29666 [BZ #12037]
29667 * posix/unistd.h: Undo change of feature selection for ftruncate from
29668 2010-01-11.
29669
8ffcee4a
UD
296702010-09-20 Ulrich Drepper <drepper@redhat.com>
29671
a545ecd9 29672 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29673 detection.
29674
e24f0a8b
AS
296752010-09-20 Andreas Schwab <schwab@redhat.com>
29676
29677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29678 fanotify_mark.
29679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29680
7291c56f
AS
296812010-09-14 Andreas Schwab <schwab@redhat.com>
29682
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.
29686
bc5fb037
AS
296872010-09-13 Andreas Schwab <schwab@redhat.com>
29688 Ulrich Drepper <drepper@redhat.com>
29689
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)
29695 here anymore.
29696
e66e7419
UD
296972010-09-14 Ulrich Drepper <drepper@redhat.com>
29698
29699 * resolv/res_init.c (__res_vinit): Count the default server we added.
29700
c044aa75
CLT
297012010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
29702 Ulrich Drepper <drepper@redhat.com>
29703
29704 [BZ #11968]
29705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29706 (____longjmp_chk): Use %ebx for saving value across system call.
29707 Add unwind info.
29708
32cf4069
AS
297092010-09-06 Andreas Schwab <schwab@redhat.com>
29710
29711 * manual/Makefile: Don't mix pattern rules with normal rules.
29712
817328ee
AS
297132010-09-05 Andreas Schwab <schwab@linux-m68k.org>
29714
29715 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
29716 operation.
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):
29722 Likewise.
29723
29fddf61
UD
297242010-09-04 Ulrich Drepper <drepper@redhat.com>
29725
29726 [BZ #11979]
29727 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
29728 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
29729
0959ffc9
UD
297302010-09-02 Ulrich Drepper <drepper@redhat.com>
29731
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.
29739
ece29840
ST
297402010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
29741
0959ffc9
UD
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
ece29840 29744 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 29745 * bits/sched.h [__need_schedparam]
ece29840 29746 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
29747 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
29748 (__defined_schedparam): Define to 1.
ece29840
ST
29749 (__sched_param): New structure, identical to sched_param.
29750 (__need_schedparam): Undefine.
29751
e53a31fe
MF
297522010-08-31 Mike Frysinger <vapier@gentoo.org>
29753
fdc0c10d
MF
29754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
29755 (epoll_create1): Declare.
29756
e53a31fe
MF
29757 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
29758
a726d796
AS
297592010-08-31 Andreas Schwab <schwab@redhat.com>
29760
29761 [BZ #7066]
29762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
29763 shifting retval into place.
29764
2f3e3dc7
UD
297652010-09-01 Ulrich Drepper <drepper@redhat.com>
29766
f2933da9
UD
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.
29778
2f3e3dc7
UD
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.
29785
f3dcc2f9
AS
297862010-08-31 Andreas Schwab <schwab@linux-m68k.org>
29787
29788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
29789 fanotify_mark.
29790
6d34eb5b
RM
297912010-08-27 Roland McGrath <roland@redhat.com>
29792
29793 * sysdeps/i386/i686/multiarch/Makefile
29794 (CFLAGS-varshift.c): New variable.
29795
9ea3de11
UD
297962010-08-27 Ulrich Drepper <drepper@redhat.com>
29797
c96d23fc
UD
29798 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
29799 * sysdeps/i386/i686/multiarch/varshift.c: New file.
29800
9ea3de11
UD
29801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
29802
29803 * sysdeps/x86_64/strlen.S: Minimal code improvement.
29804
623aac7f
L
298052010-08-26 H.J. Lu <hongjiu.lu@intel.com>
29806
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.
29815
8b2b7715
RM
298162010-08-25 Roland McGrath <roland@redhat.com>
29817
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.
29824
e73015f2
L
298252010-08-25 H.J. Lu <hongjiu.lu@intel.com>
29826
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.
29839
df24a73e
UD
298402010-08-25 Ulrich Drepper <drepper@redhat.com>
29841
29842 [BZ #10851]
29843 * resolv/res_init.c (__res_vinit): When no server address at all
29844 is given default to loopback.
29845
f2ac4868
RM
298462010-08-24 Roland McGrath <roland@redhat.com>
29847
09055553
RM
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.
29854
f2ac4868
RM
29855 * sunrpc/rpc_parse.h: Avoid nested comment.
29856
73f27d5e
RH
298572010-08-24 Richard Henderson <rth@redhat.com>
29858 Ulrich Drepper <drepper@redhat.com>
29859 H.J. Lu <hongjiu.lu@intel.com>
29860
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.
29873
84b9230c
MF
298742010-08-21 Mike Frysinger <vapier@gentoo.org>
29875
29876 * configure.in: Move assembler checks to before sysdep dir checking.
29877
9bbd0ddc
PB
298782010-08-20 Petr Baudis <pasky@suse.cz>
29879
29880 * LICENSES: Sync the sunrpc license.
29881
9da4bb31
UD
298822010-08-19 Ulrich Drepper <drepper@redhat.com>
29883
a7ab6ec8
UD
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.
29976
9da4bb31
UD
29977 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
29978 handling.
29979
bdaa77bc
AS
299802010-08-19 Andreas Schwab <schwab@redhat.com>
29981
29982 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
29983
fe2f79db
LM
299842010-08-19 Luis Machado <luisgpm@br.ibm.com>
29985
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.
30000
b9b42ee0
AB
300012010-07-26 Anton Blanchard <anton@samba.org>
30002
30003 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30004 * malloc/arena.c (heap_trim): Likewise.
30005
1c06ba31
UD
300062010-08-16 Ulrich Drepper <drepper@redhat.com>
30007
30008 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30009 here. Not...
30010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30011 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30012
f8392f40
L
300132010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30014
30015 * sysdeps/i386/elf/Makefile: New file.
30016
3162f12e
AS
300172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30018
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.
30023
28c90b2c
UD
300242010-08-15 Ulrich Drepper <drepper@redhat.com>
30025
30026 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30027 of strncasecmp_l.
1feccb6c 30028 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30029
ca6bb004
UD
300302010-08-14 Ulrich Drepper <drepper@redhat.com>
30031
e9f82e0d
UD
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.
30045
30046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30047 warning.
30048
ca6bb004
UD
30049 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30050 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30051
052fa7b3
AS
300522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30053
30054 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30055
962dba78
UD
300562010-08-12 Ulrich Drepper <drepper@redhat.com>
30057
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.
30061
bebff237
AM
300622010-05-01 Alan Modra <amodra@gmail.com>
30063
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
30071 save location.
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
30097 __syscall_error.
30098
02637374
AS
300992010-08-12 Andreas Schwab <schwab@redhat.com>
30100
30101 [BZ #11904]
30102 * locale/programs/locale.c (print_assignment): New function.
30103 (show_locale_vars): Use it.
30104
c3e2f19b
UD
301052010-08-11 Ulrich Drepper <drepper@redhat.com>
30106
3cdaa6ad
UD
30107 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30108 field.
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.
30119
754f7da3
UD
30120 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30121
10b3bedc
UD
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.
30130
c08fb0d7
UD
30131 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30132 Add prlimit.
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
30136 prlimit64.
30137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30138 syscall.
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
30144 add prlimit alias.
30145 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30146
15bac72b
UD
30147 [BZ #11903]
30148 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30149 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30150
c3e2f19b
UD
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.
30155
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.
30166
30167 * nss/nss_files/files-parse.c: Whitespace fixes.
30168
f15ce4d8
UD
301692010-08-09 Ulrich Drepper <drepper@redhat.com>
30170
30171 [BZ #11883]
30172 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30173 * posix/fnmatch_loop.c: Likewise.
30174
d22e4cc9
AK
301752010-07-17 Andi Kleen <ak@linux.intel.com>
30176
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.
30181
805bc17d
UD
301822010-08-06 Ulrich Drepper <drepper@redhat.com>
30183
30184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30185 Also fail if tpwd after pwuid call is NULL.
30186
5a42321d
ST
301872010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30188
30189 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30190 when converting to ms.
30191
fd3ebeda
ST
301922010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30193
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.
30198
73507d3a
UD
301992010-07-31 Ulrich Drepper <drepper@redhat.com>
30200
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
30204 strcasecmp.
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.
30208
fe36dd02
UD
302092010-07-30 Ulrich Drepper <drepper@redhat.com>
30210
66f6765a
UD
30211 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30212
42e08a54
UD
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.
30223
fe36dd02
UD
30224 * string/test-strcasestr.c: Test both ends of the range of characters.
30225 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30226
48cbc0d6
RM
302272010-07-29 Roland McGrath <roland@redhat.com>
30228
76e6d6bc 30229 [BZ #11856]
48cbc0d6
RM
30230 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30231
880113d9
UD
302322010-07-27 Ulrich Drepper <drepper@redhat.com>
30233
30234 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30235 for ld.so.
30236
deb9cabb
AS
302372010-07-27 Andreas Schwab <schwab@redhat.com>
30238
30239 * manual/memory.texi (Malloc Tunable Parameters): Document
30240 M_PERTURB.
30241
1c7570ff
RM
302422010-07-26 Roland McGrath <roland@redhat.com>
30243
30244 [BZ #11840]
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@.
30249
24fb0f88
UD
302502010-07-26 Ulrich Drepper <drepper@redhat.com>
30251
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.
30256
30257 * sysdeps/x86_64/strnlen.S: New file.
30258
8e96b93a
UD
302592010-07-24 Ulrich Drepper <drepper@redhat.com>
30260
30261 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30262 lower-latency instructions.
30263
dbc676d4
UD
302642010-07-23 Ulrich Drepper <drepper@redhat.com>
30265
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.
30271
f6a31e0e
AS
302722010-07-21 Andreas Schwab <schwab@redhat.com>
30273
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.
30280
5dbc3b6c
RM
302812010-07-20 Roland McGrath <roland@redhat.com>
30282
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.
30287
23d101d8
EPM
302882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30289
30290 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30291
cc9f2e47
UD
302922010-07-16 Ulrich Drepper <drepper@redhat.com>
30293
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.
30301
77c1b069
LM
303022010-06-15 Luis Machado <luisgpm@br.ibm.com>
30303
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.
30308
440566c3
UD
303092010-07-09 Ulrich Drepper <drepper@redhat.com>
30310
30311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30312 fcntl.
30313
5be9d05d
AS
303142010-07-06 Andreas Schwab <schwab@redhat.com>
30315
c30b7ee2 30316 [BZ #11577]
5be9d05d
AS
30317 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30318 dl_signal_cerror.
30319
8a492a67
UD
303202010-07-06 Ulrich Drepper <drepper@redhat.com>
30321
30322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30323 _PC_PIPE_BUF using F_GETPIPE_SZ.
30324
713df3d5
RM
303252010-07-05 Roland McGrath <roland@redhat.com>
30326
30327 * manual/arith.texi (Rounding Functions): Fix rint description
30328 implicit in round description.
30329
702e8f14
UD
303302010-07-02 Ulrich Drepper <drepper@redhat.com>
30331
30332 * elf/Makefile: Fix linking for a few tests to make recent linker
30333 happy.
30334
52ed8be9
AS
303352010-06-30 Andreas Schwab <schwab@redhat.com>
30336
30337 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30338 $(common-objpfx)libc_nonshared.a.
30339
f47c9a11
LM
303402010-06-21 Luis Machado <luisgpm@br.ibm.com>
30341
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.
30390
6fb8cbcb
L
303912010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30392
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.
30399 (END_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):
30417 Define.
30418 (index_Fast_Copy_Backward): Define.
30419 (HAS_ARCH_FEATURE): Define.
30420 (HAS_FAST_REP_STRING): Define.
30421 (HAS_FAST_COPY_BACKWARD): Define.
30422
4e733bac 304232010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30424
30425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30426 Restore proper fallback handling.
30427
63c4ed22
UD
304282010-06-19 Ulrich Drepper <drepper@redhat.com>
30429
ac2b484c
UD
30430 [BZ #11701]
30431 * posix/group_member.c (__group_member): Correct checking loop.
30432
63c4ed22
UD
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.
30439
765ade4b
AS
304402010-06-07 Andreas Schwab <schwab@redhat.com>
30441
30442 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30443 libc_nonshared.a from targets in modules-names.
30444
80da2e09
KS
304452010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30446
30447 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30448 requires it.
30449
158db122
LM
304502010-06-10 Luis Machado <luisgpm@br.ibm.com>
30451
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.
30456
caa78cf8
AS
304572010-06-02 Andreas Schwab <schwab@redhat.com>
30458
30459 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30460
b2ef2c01
UD
304612010-06-14 Ulrich Drepper <drepper@redhat.com>
30462
30463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30464 and F_GETPIPE_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
30471
fbd643b6
RM
304722010-06-14 Roland McGrath <roland@redhat.com>
30473
30474 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30475
f32f2869
JJ
304762010-06-07 Jakub Jelinek <jakub@redhat.com>
30477
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.
30482
2a50c078
EPM
304832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30484
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
30488 in AT_FLAGS.
30489 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30490 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30491
eb5ad2eb
LM
304922010-05-28 Luis Machado <luisgpm@br.ibm.com>
30493
30494 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30495
3c88fe1e
L
304962010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30497
30498 [BZ #11640]
30499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30500 Properly check family and model.
30501
d2f73151
TY
305022010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30503
30504 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30505
ebd2e13d
LM
305062010-05-24 Luis Machado <luisgpm@br.ibm.com>
30507
30508 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30509
b32b8b45
UD
305102010-05-21 Ulrich Drepper <drepper@redhat.com>
30511
30512 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30513 symbol reference.
30514
9acbe24d
AS
305152010-05-19 Andreas Schwab <schwab@redhat.com>
30516
30517 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30518 symbol reference.
30519
f0ccf6ea
AS
305202010-05-21 Andreas Schwab <schwab@redhat.com>
30521
3d04ff3a
AS
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.
30528
f0ccf6ea
AS
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.
30532
5b08ac57
AS
305332010-05-20 Andreas Schwab <schwab@redhat.com>
30534
30535 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30536
4828935d
LM
305372010-05-17 Luis Machado <luisgpm@br.ibm.com>
30538
30539 POWER7 optimizations.
30540 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30541 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30542
373d545e
UD
305432010-05-19 Ulrich Drepper <drepper@redhat.com>
30544
30545 * version.h: Update for 2.13 development version.
30546
21a2b1ae
AS
305472010-05-12 Andrew Stubbs <ams@codesourcery.com>
30548
30549 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30550 exceptions. Return 0.
30551
3f7dcb2b
RM
305522010-05-07 Roland McGrath <roland@redhat.com>
30553
30554 * elf/ldconfig.c (main): Add a const.
30555
5f24d53a 305562010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30557
a160f8d8
UD
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.
30562
5f24d53a
UD
30563 * malloc/malloc.c (_int_free): Possible race in the most recently
30564 added check. Only act on the data if no current modification
30565 happened.
265bb1ce
UD
30566
30567See ChangeLog.17 for earlier changes.