]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Make x86_64 fegetenv preserve exception mask (bug 16198).
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-03-26 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16198]
4 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5 fnstenv.
6 * math/test-fenv-preserve.c: New file.
7 * math/Makefile (tests): Add test-fenv-preserve.
8
92014-03-26 Will Newton <will.newton@linaro.org>
10
11 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12
132014-03-25 Roland McGrath <roland@hack.frob.com>
14
15 * scripts/versionlist.awk: Partition the version sets and emit all
16 GLIBC_* (sorted) before all others (sorted).
17
182014-03-25 Joseph Myers <joseph@codesourcery.com>
19
20 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21 GLIBC_2.2.5 version.
22
232014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24
25 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26 calls.
27
282014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29
30 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31 previous change.
32
332014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34
35 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36
372014-03-25 Andreas Schwab <schwab@suse.de>
38
39 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40 label to be used after in6ailist is initialized.
41
422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43
44 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46
472014-03-25 Joseph Myers <joseph@codesourcery.com>
48
49 [BZ #16357]
50 [BZ #16599]
51 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52 min_plus_half.
53 (fp_formats): Update initializers.
54 (init_fp_formats): Initialize new field.
55 (output_for_one_input_case): Allow underflow for results up to
56 min_plus_half.
57 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
58 * math/auto-libm-test-in: Don't mark some underflows from asin and
59 atanh as spurious.
60 * math/auto-libm-test-out: Regenerated.
61 * sysdeps/i386/fpu/libm-test-ulps: Update.
62 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63
642014-03-25 Andreas Schwab <schwab@suse.de>
65
66 * libio/Makefile (tst-ftell-partial-wide-ENV)
67 (tst-ftell-active-handler-ENV): Define.
68
692014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
70
71 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
72
732014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
74
75 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
76
772014-03-24 Joseph Myers <joseph@codesourcery.com>
78
79 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
80 * sysdeps/x86_64/fpu/multiarch/e_exp.c
81 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
82
832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
84
85 [BZ #16634]
86 * elf/dl-load.c (open_verify): Add mode parameter.
87 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
88 (open_path): Change from boolean 'secure' to complete flag 'mode'
89 (_dl_map_object): Adjust.
90 * elf/Makefile (tests): Add tst-dlopen-aout.
91 * elf/tst-dlopen-aout.c: New test.
92
932014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
94
95 [BZ #16714]
96 * sysdeps/unix/sysv/linux/s390/bits/stat.h
97 (struct stat): Rename member pad0 to __glibc_reserved0.
98
992014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
100
101 [BZ #16712]
102 * sysdeps/s390/s390-32/bits/wordsize.h
103 (__WORDSIZE32_SIZE_ULONG): New define.
104 * sysdeps/s390/s390-64/bits/wordsize.h
105 (__WORDSIZE32_SIZE_ULONG): Likewise.
106 * sysdeps/generic/stdint.h (SIZE_MAX):
107 Define as UL if __WORDSIZE32_SIZE_ULONG.
108
1092014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
110
111 [BZ #16713]
112 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
113 (__glibc_reserved0): New variable.
114 (sa_flags): Change type to int.
115
1162014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
117
118 * posix/Makefile (before-compile): Use += before-compile instead
119 of a :=.
120
1212014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
122
123 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
124 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
125
1262014-03-20 Andreas Schwab <schwab@suse.de>
127
128 [BZ #16743]
129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
130 non-matching result from nscd.
131
1322014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
133
134 * scripts/bench.py: Moved to ...
135 * benchtests/scripts/bench.py: ... here.
136 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
137
1382014-03-24 Andreas Schwab <schwab@suse.de>
139
140 [BZ #16002]
141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
142 alloca_account and account alloca use for struct in6ailist.
143
1442014-03-24 Joseph Myers <joseph@codesourcery.com>
145
146 [BZ #16284]
147 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
148 rounding mode to recompute results that overflow to infinity or
149 underflow to zero.
150 * math/auto-libm-test-in: Don't mark tests as expected to fail for
151 bug 16284.
152 * math/auto-libm-test-out: Regenerated.
153 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
154 (ccosh_test): Likewise.
155 (csin_test_data): Use plus_oflow.
156 (csin_test): Use ALL_RM_TEST.
157 (csinh_test_data): Use plus_oflow.
158 (csinh_test): Use ALL_RM_TEST.
159 * sysdeps/i386/fpu/libm-test-ulps: Update.
160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161
1622014-03-21 Joseph Myers <joseph@codesourcery.com>
163
164 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
165 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
166 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
167
168 [BZ #16731]
169 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
170 when x - 1 is zero.
171 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
172 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
173 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
175 argument is 1.
176 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
177 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
178 zero.
179 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
180 * sysdeps/i386/fpu/libm-test-ulps: Update.
181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
182
1832014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
184
185 * scripts/bench.pl: Remove file.
186 * scripts/bench.py: New benchmark script.
187 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
188 * benchtests/README: Mention python dependency.
189 * scripts/pylintrc: New file.
190 * scripts/pylint: New file.
191
192 * bits/mathdef.h: Use #ifdef instead of #if.
193 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
194 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
195 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
196 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
197 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
198 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
199
2002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
202
203 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
205 and strpbrk-ppc64 objects.
206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
207 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
208 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
209 multiarch strpbrk for POWER7.
210 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
211 multiarch strpbrk for PPC64.
212 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
213 ifunc selector.
214 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
215 strpbrk for POWER7.
216
2172014-03-20 Joseph Myers <joseph@codesourcery.com>
218
219 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
220 (atan_test): Likewise.
221 (atanh_test_data): Use NO_TEST_INLINE for two tests.
222 (atanh_test): Use ALL_RM_TEST.
223 (atan2_test_data): Likewise.
224 (cabs_test): Likewise.
225 (cacosh_test): Likewise.
226 (carg_test): Likewise.
227 (casin_test): Likewise.
228 (casinh_test): Likewise.
229 (cbrt_test): Likewise.
230 (csqrt_test): Likewise.
231 (erf_test): Likewise.
232 (erfc_test): Likewise.
233 (pow10_test): Likewise.
234 (exp2_test): Likewise.
235 (hypot_test): Likewise.
236 (j0_test): Likewise.
237 (j1_test): Likewise.
238 (lgamma_test): Likewise.
239 (gamma_test): Likewise.
240 (sincos_test): Likewise.
241 (tanh_test): Likewise.
242 (y0_test): Likewise.
243 (y1_test): Likewise.
244 * sysdeps/i386/fpu/libm-test-ulps: Update.
245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
246
2472014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
248
249 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
251 and strcspn-ppc64 objects.
252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
253 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
254 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
255 multiarch strcspn for POWER7.
256 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
257 multiarch strcspn for PPC64.
258 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
259 ifunc selector.
260 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
261 strcspn for POWER7.
262
2632014-03-20 Joseph Myers <joseph@codesourcery.com>
264
265 * math/gen-libm-test.pl (generate_testfile): Expect only function
266 name as argument to AUTO_TESTS_* and pass results for all rounding
267 modes to parse_args.
268 (parse_auto_input): Separate inputs of automatic tests from
269 outputs before storing in %auto_tests.
270 * math/libm-test.inc (acos_test_data): Update call to
271 AUTO_TESTS_f_f.
272 (acos_test): Use ALL_RM_TEST.
273 (acos_tonearest_test_data): Remove.
274 (acos_test_tonearest): Likewise.
275 (acos_towardzero_test_data): Likewise.
276 (acos_test_towardzero): Likewise.
277 (acos_downward_test_data): Likewise.
278 (acos_test_downward): Likewise.
279 (acos_upward_test_data): Likewise.
280 (acos_test_upward): Likewise.
281 (acosh_test_data): Update call to AUTO_TESTS_f_f.
282 (asin_test_data): Likewise.
283 (asin_test): Use ALL_RM_TEST.
284 (asin_tonearest_test_data): Remove.
285 (asin_test_tonearest): Likewise.
286 (asin_towardzero_test_data): Likewise.
287 (asin_test_towardzero): Likewise.
288 (asin_downward_test_data): Likewise.
289 (asin_test_downward): Likewise.
290 (asin_upward_test_data): Likewise.
291 (asin_test_upward): Likewise.
292 (asinh_test_data): Update call to AUTO_TESTS_f_f.
293 (atan_test_data): Likewise.
294 (atanh_test_data): Likewise.
295 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
296 (cabs_test_data): Update call to AUTO_TESTS_c_f.
297 (carg_test_data): Likewise.
298 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
299 (ccos_test_data): Update call to AUTO_TESTS_c_c.
300 (ccosh_test_data): Likewise.
301 (cexp_test_data): Likewise.
302 (clog_test_data): Likewise.
303 (clog10_test_data): Likewise.
304 (cos_test_data): Update call to AUTO_TESTS_f_f.
305 (cos_test): Use ALL_RM_TEST.
306 (cos_tonearest_test_data): Remove.
307 (cos_test_tonearest): Likewise.
308 (cos_towardzero_test_data): Likewise.
309 (cos_test_towardzero): Likewise.
310 (cos_downward_test_data): Likewise.
311 (cos_test_downward): Likewise.
312 (cos_upward_test_data): Likewise.
313 (cos_test_upward): Likewise.
314 (cosh_test_data): Update call to AUTO_TESTS_f_f.
315 (cosh_test): Use ALL_RM_TEST.
316 (cosh_tonearest_test_data): Remove.
317 (cosh_test_tonearest): Likewise.
318 (cosh_towardzero_test_data): Likewise.
319 (cosh_test_towardzero): Likewise.
320 (cosh_downward_test_data): Likewise.
321 (cosh_test_downward): Likewise.
322 (cosh_upward_test_data): Likewise.
323 (cosh_test_upward): Likewise.
324 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
325 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
326 (ctan_test_data): Likewise.
327 (ctan_test): Use ALL_RM_TEST.
328 (ctan_tonearest_test_data): Remove.
329 (ctan_test_tonearest): Likewise.
330 (ctan_towardzero_test_data): Likewise.
331 (ctan_test_towardzero): Likewise.
332 (ctan_downward_test_data): Likewise.
333 (ctan_test_downward): Likewise.
334 (ctan_upward_test_data): Likewise.
335 (ctan_test_upward): Likewise.
336 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
337 (ctanh_test): Use ALL_RM_TEST.
338 (ctanh_tonearest_test_data): Remove.
339 (ctanh_test_tonearest): Likewise.
340 (ctanh_towardzero_test_data): Likewise.
341 (ctanh_test_towardzero): Likewise.
342 (ctanh_downward_test_data): Likewise.
343 (ctanh_test_downward): Likewise.
344 (ctanh_upward_test_data): Likewise.
345 (ctanh_test_upward): Likewise.
346 (erf_test_data): Update call to AUTO_TESTS_f_f.
347 (erfc_test_data): Likewise.
348 (exp_test_data): Likewise.
349 (exp_test): Use ALL_RM_TEST.
350 (exp_tonearest_test_data): Remove.
351 (exp_test_tonearest): Likewise.
352 (exp_towardzero_test_data): Likewise.
353 (exp_test_towardzero): Likewise.
354 (exp_downward_test_data): Likewise.
355 (exp_test_downward): Likewise.
356 (exp_upward_test_data): Likewise.
357 (exp_test_upward): Likewise.
358 (exp10_test_data): Update call to AUTO_TESTS_f_f.
359 (exp10_test): Use ALL_RM_TEST.
360 (exp10_tonearest_test_data): Remove.
361 (exp10_test_tonearest): Likewise.
362 (exp10_towardzero_test_data): Likewise.
363 (exp10_test_towardzero): Likewise.
364 (exp10_downward_test_data): Likewise.
365 (exp10_test_downward): Likewise.
366 (exp10_upward_test_data): Likewise.
367 (exp10_test_upward): Likewise.
368 (exp2_test_data): Update call to AUTO_TESTS_f_f.
369 (expm1_test_data): Likewise.
370 (expm1_test): Use ALL_RM_TEST.
371 (expm1_tonearest_test_data): Remove.
372 (expm1_test_tonearest): Likewise.
373 (expm1_towardzero_test_data): Likewise.
374 (expm1_test_towardzero): Likewise.
375 (expm1_downward_test_data): Likewise.
376 (expm1_test_downward): Likewise.
377 (expm1_upward_test_data): Likewise.
378 (expm1_test_upward): Likewise.
379 (fma_test_data): Update call to AUTO_TESTS_fff_f.
380 (fma_test): Use ALL_RM_TEST.
381 (fma_towardzero_test_data): Remove.
382 (fma_test_towardzero): Likewise.
383 (fma_downward_test_data): Likewise.
384 (fma_test_downward): Likewise.
385 (fma_upward_test_data): Likewise.
386 (fma_test_upward): Likewise.
387 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
388 (j0_test_data): Update call to AUTO_TESTS_f_f.
389 (j1_test_data): Likewise.
390 (jn_test_data): Update call to AUTO_TESTS_if_f.
391 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
392 (log_test_data): Update call to AUTO_TESTS_f_f.
393 (log10_test_data): Likewise.
394 (log1p_test_data): Likewise.
395 (log2_test_data): Likewise.
396 (pow_test_data): Update call to AUTO_TESTS_ff_f.
397 (pow_tonearest_test_data): Likewise.
398 (sin_test_data): Update call to AUTO_TESTS_f_f.
399 (sin_test): Use ALL_RM_TEST.
400 (sin_tonearest_test_data): Remove.
401 (sin_test_tonearest): Likewise.
402 (sin_towardzero_test_data): Likewise.
403 (sin_test_towardzero): Likewise.
404 (sin_downward_test_data): Likewise.
405 (sin_test_downward): Likewise.
406 (sin_upward_test_data): Likewise.
407 (sin_test_upward): Likewise.
408 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
409 (sinh_test_data): Update call to AUTO_TESTS_f_f.
410 (sinh_test): Use ALL_RM_TEST.
411 (sinh_tonearest_test_data): Remove.
412 (sinh_test_tonearest): Likewise.
413 (sinh_towardzero_test_data): Likewise.
414 (sinh_test_towardzero): Likewise.
415 (sinh_downward_test_data): Likewise.
416 (sinh_test_downward): Likewise.
417 (sinh_upward_test_data): Likewise.
418 (sinh_test_upward): Likewise.
419 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
420 (sqrt_test): Use ALL_RM_TEST.
421 (sqrt_tonearest_test_data): Remove.
422 (sqrt_test_tonearest): Likewise.
423 (sqrt_towardzero_test_data): Likewise.
424 (sqrt_test_towardzero): Likewise.
425 (sqrt_downward_test_data): Likewise.
426 (sqrt_test_downward): Likewise.
427 (sqrt_upward_test_data): Likewise.
428 (sqrt_test_upward): Likewise.
429 (tan_test_data): Update call to AUTO_TESTS_f_f.
430 (tan_test): Use ALL_RM_TEST.
431 (tan_tonearest_test_data): Remove.
432 (tan_test_tonearest): Likewise.
433 (tan_towardzero_test_data): Likewise.
434 (tan_test_towardzero): Likewise.
435 (tan_downward_test_data): Likewise.
436 (tan_test_downward): Likewise.
437 (tan_upward_test_data): Likewise.
438 (tan_test_upward): Likewise.
439 (tanh_test_data): Update call to AUTO_TESTS_f_f.
440 (tgamma_test_data): Likewise.
441 (y0_test_data): Likewise.
442 (y1_test_data): Likewise.
443 (yn_test_data): Update call to AUTO_TESTS_if_f.
444 (main): Do not call removed functions.
445
4462014-03-19 Joseph Myers <joseph@codesourcery.com>
447
448 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
449 (ldexp_test_data): Remove.
450 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
451 scalbn_test_data.
452 (scalb_test): Use ALL_RM_TEST.
453
4542014-03-19 Andreas Schwab <schwab@suse.de>
455
456 * nscd/nscd.service: Also invalidate netgroup cache on reload.
457
4582014-03-19 Joseph Myers <joseph@codesourcery.com>
459
460 [BZ #16649]
461 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
462 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
463 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
464 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
465 (__ASSUME_PREADV): Undefine.
466 (__ASSUME_PWRITEV): Likewise.
467
4682014-03-18 Roland McGrath <roland@hack.frob.com>
469
470 * bits/mman-linux.h: Add comment about non-Linux use.
471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
472 bits/mman-linux.h resting place.
473
474 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
475 * bits/mman-linux.h: ... here.
476
4772014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478
479 * conform/conformtest.pl: Add standard definition when calling C
480 preprocessor on data files.
481 (checknamespace): Remove unused variable.
482
4832014-03-18 Joseph Myers <joseph@codesourcery.com>
484
485 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
486 minus_oflow, plus_uflow and minus_uflow in expected results.
487 * math/libm-test.inc (scalbn_test_data): Add more tests of
488 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
489 minus_uflow.
490 (scalbn_test): Use ALL_RM_TEST.
491 (scalbln_test_data): Add more tests of negative arguments. Use
492 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
493 (scalbln_test): Use ALL_RM_TEST.
494
4952014-03-18 Roland McGrath <roland@hack.frob.com>
496
497 * scripts/abilist.awk: Ignore symbols marked with .hidden.
498
4992014-03-18 Will Newton <will.newton@linaro.org>
500
501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
502 inaccurate comment.
503
5042014-03-18 Joseph Myers <joseph@codesourcery.com>
505
506 * Makerules [!subdir] (check-abi): Exit with error status if a
507 test failed.
508
5092014-03-17 Joseph Myers <joseph@codesourcery.com>
510
511 * math/libm-test.inc (nearbyint_test_data): Include all tests used
512 for rint. Include results for all rounding modes.
513 (nearbyint_test): Use ALL_RM_TEST.
514 (rint_test_data): Include all tests used for nearbyint.
515
5162014-03-17 Will Newton <will.newton@linaro.org>
517
518 * nptl/sysdeps/pthread/pthread.h: Revert previous
519 change.
520
521 * sysdeps/generic/ldsodefs.h: Revert previous
522 change.
523
524 * libio/genops.c: Revert previous change.
525 * libio/libioP.h: Likewise.
526 * stdio-common/vfprintf.c: Likewise.
527
528 * sysdeps/generic/math_private.h: Revert previous
529 change.
530
531 * sysdeps/generic/math_private.h: Check whether
532 HAVE_RM_CTX is defined with #ifdef rather
533 than #if.
534
535 * argp/argp-fmtstream.h: Check whether
536 __STRICT_ANSI__ is defined with #ifdef rather
537 than #if.
538 * argp/argp.h: Likewise.
539
540 * libio/genops.c: Check whether
541 _IO_JUMPS_OFFSET is defined with #ifdef rather
542 than #if.
543 * libio/libioP.h: Likewise.
544 * stdio-common/vfprintf.c: Likewise.
545
546 * sysdeps/generic/ldsodefs.h: Check whether
547 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
548 than #if.
549
550 * nptl/sysdeps/pthread/pthread.h: Check
551 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
552 its value.
553
5542014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
555
556 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
557 setting O_APPEND.
558 * libio/tst-ftell-active-handler.c (do_append_test): Add a
559 test case.
560
561 [BZ #16680]
562 * libio/fileops.c (_IO_file_open): Seek to end of file but
563 don't cache the offset.
564 (get_file_offset): Remove function.
565 (do_ftell): Use cached offset when available.
566 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
567 don't cache the offset.
568 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
569 case.
570 (do_one_test): Call it.
571 (do_ftell_test): Fix up expected old offset for a+ mode.
572 * libio/wfileops.c (do_ftell_wide): Used cached offset when
573 available.
574
575 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
576 up test status with function return status.
577 (do_write_test): Likewise.
578 (do_append_test): Likewise.
579
580 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
581 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
582 Remove.
583
5842014-03-17 Joseph Myers <joseph@codesourcery.com>
585
586 * math/gen-libm-test.pl (parse_args): Handle results specified for
587 each rounding mode separately.
588 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
589 tests and results from lrint_tonearest_test_data,
590 lrint_towardzero_test_data, lrint_downward_test_data and
591 lrint_upward_test_data.
592 (lrint_test): Use ALL_RM_TEST.
593 (lrint_tonearest_test_data): Remove.
594 (lrint_test_tonearest): Likewise.
595 (lrint_towardzero_test_data): Likewise.
596 (lrint_test_towardzero): Likewise.
597 (lrint_downward_test_data): Likewise.
598 (lrint_test_downward): Likewise.
599 (lrint_upward_test_data): Likewise.
600 (lrint_test_upward): Likewise.
601 (llrint_test_data): Merge in per-rounding-mode tests and results
602 from llrint_tonearest_test_data, llrint_towardzero_test_data,
603 llrint_downward_test_data and llrint_upward_test_data.
604 (llrint_test): Use ALL_RM_TEST.
605 (llrint_tonearest_test_data): Remove.
606 (llrint_test_tonearest): Likewise.
607 (llrint_towardzero_test_data): Likewise.
608 (llrint_test_towardzero): Likewise.
609 (llrint_downward_test_data): Likewise.
610 (llrint_test_downward): Likewise.
611 (llrint_upward_test_data): Likewise.
612 (llrint_test_upward): Likewise.
613 (rint_test_data): Merge in per-rounding-mode tests and results
614 from rint_tonearest_test_data, rint_towardzero_test_data,
615 rint_downward_test_data and rint_upward_test_data. Add
616 per-rounding-mode results for tests not in those arrays.
617 (rint_test): Use ALL_RM_TEST.
618 (rint_tonearest_test_data): Remove.
619 (rint_test_tonearest): Likewise.
620 (rint_towardzero_test_data): Likewise.
621 (rint_test_towardzero): Likewise.
622 (rint_downward_test_data): Likewise.
623 (rint_test_downward): Likewise.
624 (rint_upward_test_data): Likewise.
625 (rint_test_upward): Likewise.
626 (main): Don't call removed functions.
627
6282014-03-14 Roland McGrath <roland@hack.frob.com>
629
630 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
631 "Compiled on ..." crapola. It is anti-useful.
632
6332014-03-14 Joseph Myers <joseph@codesourcery.com>
634
635 * scripts/evaluate-test.sh: Handle fourth argument to determine
636 whether test run should stop on failure.
637 * Makeconfig (stop-on-test-failure): New variable.
638 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
639 $(stop-on-test-failure).
640 * Makefile (tests): Give a summary of results from testing and
641 exit with failure status if they include an ERROR or FAIL.
642 (xtests): Likewise.
643 * manual/install.texi (Configuring and compiling): Mention
644 stop-on-test-failure=y.
645 * INSTALL: Regenerated.
646
6472014-03-14 Roland McGrath <roland@hack.frob.com>
648
649 * scripts/versionlist.awk: New file.
650 * Makerules [$(build-shared) = yes]
651 (postclean-generated): Add Versions.def, not Versions.def.v and
652 Versions.def.v.i.
653 ($(common-objpfx)Versions.def.v.i): Target removed.
654 ($(common-objpfx)Versions.def): New target.
655 ($(common-objpfx)Versions.all): Depend on that rather that
656 $(common-objpfx)Versions.def.v.
657 * Versions.def: File removed.
658
659 * Makeconfig (+gccwarn): Add -Wundef.
660 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
661 a dl-sysdep.h breaking its contract.
662 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
663 * include/stackinfo.h: New file.
664 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
665 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
666 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
667 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
668 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
669 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
670 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
671 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
672 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
673 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
674 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
675 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
676 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
677 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
678 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
679
6802014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
681
682 [BZ #16707]
683 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
684 implementation.
685 * math/libm-test.inc (round_test_data): Add more tests.
686
6872014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 [BZ #16706]
690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
691 implementation.
692 * math/libm-test.inc (nearbyint_test_data): Add more tests.
693
6942014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695
696 [BZ #16701]
697 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
698 implementation.
699 * math/libm-test.inc (ceil_test_data): Add more tests.
700
7012014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
702
703 * math/libm-test.inc (trunc_test_data): Add more tests related to
704 BZ#16414.
705
7062014-03-14 Roland McGrath <roland@hack.frob.com>
707
708 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
709 with #if rather than #ifdef.
710 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
711
7122014-03-14 H.J. Lu <hongjiu.lu@intel.com>
713
714 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
715 first. Disable AVX-512 GCC support if assembler doesn't support
716 it.
717 * sysdeps/x86_64/configure: Regenerated.
718
7192014-03-13 Carlos O'Donell <carlos@redhat.com>
720
721 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
722 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
723 (__old_pthread_attr_setstack): Likewise.
724 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
725 [!_STACK_GROWS_DOWN]: Likewise.
726
7272014-03-13 Mike Frysinger <vapier@gentoo.org>
728
729 * config.make.in (have-bash2): Delete.
730 * configure.ac (libc_cv_have_bash2): Delete.
731 * configure: Regenerate.
732 * elf/Makefile (common-ldd-rewrite): Rename to ...
733 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
734 (sh-ldd-rewrite): Delete.
735 (bash-ldd-rewrite): Delete.
736 (have-bash2): Delete checks.
737 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
738
7392014-03-13 Mike Frysinger <vapier@gentoo.org>
740
741 * config.make.in (have-ksh): Delete.
742 (KSH): Delete.
743 * configure.ac (libc_cv_have_ksh): Delete.
744 * configure: Regenerate.
745
7462014-03-13 Mike Frysinger <vapier@gentoo.org>
747
748 * elf/Makefile: Delete $(have-ksh) check.
749 ($(objpfx)sotruss): Change KSH to BASH.
750 * elf/sotruss.ksh: Rename to ...
751 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
752 function style to match POSIX. Drop ksh vim mode setting.
753
7542014-03-13 Mike Frysinger <vapier@gentoo.org>
755
756 * manual/time.texi (Specifying the Time Zone with TZ): Change
757 Tuesday to Thursday.
758
7592014-03-13 Mike Frysinger <vapier@gentoo.org>
760
761 * debug/tst-longjmp_chk2.c: Update header comment.
762 (stackoverflow_handler): Add comment. Call assert on pass value.
763
7642014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
765
766 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
767 (HAVE_AVX512_ASM_SUPPORT): Likewise.
768 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
769 (La_x86_64_vector): Add zmm.
770 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
771 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
772 ($(objpfx)tst-audit10): New target.
773 ($(objpfx)tst-audit10.out): Likewise.
774 (tst-audit10-ENV): New.
775 (AVX512-CFLAGS): Likewise.
776 (CFLAGS-tst-audit10.c): Likewise.
777 (CFLAGS-tst-auditmod10a.c): Likewise.
778 (CFLAGS-tst-auditmod10b.c): Likewise.
779 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
780 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
781 * sysdeps/x86_64/configure: Regenerated.
782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
783 AVX-512 zmm register support.
784 (_dl_x86_64_save_sse): Likewise.
785 (_dl_x86_64_restore_sse): Likewise.
786 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
787 size vector registers.
788 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
789 (ZMM_SIZE): Likewise.
790 * sysdeps/x86_64/tst-audit10.c: New file.
791 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
792 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
793
7942014-03-13 Roland McGrath <roland@hack.frob.com>
795
796 * configure.ac (HAVE_EHDR_START): New check.
797 * configure: Regenerated.
798 * config.h.in (HAVE_EHDR_START): New #undef.
799 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
800 assuming the lowest-addressed segment maps the start of the file.
801
8022014-03-13 Joseph Myers <joseph@codesourcery.com>
803
804 * INSTALL: Regenerated.
805
8062014-03-13 Will Newton <will.newton@linaro.org>
807
808 * manual/setjmp.texi (System V contexts): Improve
809 clarity and grammar of documentation.
810
8112014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
812
813 [BZ #16381]
814 * elf/Makefile (tests): Add tst-pie2.
815 (tests-pie): Add tst-pie2.
816 * elf/tst-pie2.c: New file.
817 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
818 for ET_EXEC.
819 * elf/rtld.c (map_doit): Load executable as lt_executable.
820 (dl_main): Likewise.
821
8222014-03-12 Joseph Myers <joseph@codesourcery.com>
823
824 [BZ #16642]
825 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
826 (__ASSUME_PSELECT): Undefine.
827
8282014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829
830 [BZ #16689]
831 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
832 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
833 static build.
834 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
835 selector for static builds.
836
8372014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
838
839 [BZ #16695]
840 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
841 key in the buffer.
842
8432014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
844
845 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
846 selector for static builds.
847
8482014-03-11 Joseph Myers <joseph@codesourcery.com>
849
850 * sysdeps/mips/math_private.h [__mips_hard_float]
851 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
852 libc_feresetround_mips_ctx.
853 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
854 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
855 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
856
857 [BZ #16677]
858 * math/s_nextafter.c (__nextafter): Do not return value from
859 overflowing computation.
860 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
861 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
862 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
863 Likewise.
864 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
865 Likewise.
866 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
867 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
868
8692014-03-11 Roland McGrath <roland@hack.frob.com>
870
871 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
872 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
873 Move sfi_sp use from the load-multiple (that no longer sets sp) to
874 the new mov targetting sp.
875
8762014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877
878 [BZ #16683]
879 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
880 Define it for static builds as well.
881 (NO_BZERO_IMPL): Likewise.
882
8832014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
884
885 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
886 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
887 multiarch strspn for PPC64.
888 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
889 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
891 (__libc_ifunc_impl_list): Likewise.
892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
893 multiarch optimizations
894 * string/strspn.c (strspn): Using macro to redefine symbol name.
895
8962014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
897 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
898
899 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
900 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
901 multiarch strncat for PPC64.
902 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
903 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
905 (__libc_ifunc_impl_list): Likewise.
906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
907 multiarch optimizations
908
9092014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
910
911 [BZ #16639]
912 * nscd/nscd.service: Make service type forking.
913
9142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915
916 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
917 sign in non default rounding modes.
918 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
919
9202014-03-08 Joseph Myers <joseph@codesourcery.com>
921
922 * math/libm-test.inc (ALL_RM_TEST): New macro.
923 (ceil_test): Use ALL_RM_TEST.
924 (cimag_test): Likewise.
925 (conj_test): Likewise.
926 (copysign_test): Likewise.
927 (cproj_test): Likewise.
928 (creal_test): Likewise.
929 (fabs_test): Likewise.
930 (floor_test): Likewise.
931 (fmax_test): Likewise.
932 (fmin_test): Likewise.
933 (fmod_test): Likewise.
934 (fpclassify_test): Likewise.
935 (frexp_test): Likewise.
936 (ilogb_test): Likewise.
937 (isfinite_test): Likewise.
938 (finite_test): Likewise.
939 (isgreater_test): Likewise.
940 (isgreaterequal_test): Likewise.
941 (isinf_test): Likewise.
942 (isless_test): Likewise.
943 (islessequal_test): Likewise.
944 (islessgreater_test): Likewise.
945 (isnan_test): Likewise.
946 (isnormal_test): Likewise.
947 (issignaling_test): Likewise.
948 (isunordered_test): Likewise.
949 (logb_test): Likewise.
950 (logb_downward_test_data): Remove.
951 (logb_test_downward): Likewise.
952 (lround_test): Use ALL_RM_TEST.
953 (llround_test): Likewise.
954 (modf_test): Likewise.
955 (nexttoward_test): Likewise.
956 (remainder_test): Likewise.
957 (drem_test): Likewise.
958 (remainder_tonearest_test_data): Likewise.
959 (remainder_test_tonearest): Likewise.
960 (drem_test_tonearest): Likewise.
961 (remainder_towardzero_test_data): Likewise.
962 (remainder_test_towardzero): Likewise.
963 (drem_test_towardzero): Likewise.
964 (remainder_downward_test_data): Likewise.
965 (remainder_test_downward): Likewise.
966 (drem_test_downward): Likewise.
967 (remainder_upward_test_data): Likewise.
968 (remainder_test_upward): Likewise.
969 (drem_test_upward): Likewise.
970 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
971 (round_test): Use ALL_RM_TEST.
972 (signbit_test): Likewise.
973 (trunc_test): Likewise.
974 (significand_test): Likewise.
975 (main): Don't call removed functions.
976
9772014-03-07 Joseph Myers <joseph@codesourcery.com>
978
979 [BZ #16674]
980 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
981 || __USE_XOPEN2K8].
982 (ILL_ILLOPN): Likewise.
983 (ILL_ILLADR): Likewise.
984 (ILL_ILLTRP): Likewise.
985 (ILL_PRVOPC): Likewise.
986 (ILL_PRVREG): Likewise.
987 (ILL_COPROC): Likewise.
988 (ILL_BADSTK): Likewise.
989 (FPE_INTDIV): Likewise.
990 (FPE_INTOVF): Likewise.
991 (FPE_FLTDIV): Likewise.
992 (FPE_FLTOVF): Likewise.
993 (FPE_FLTUND): Likewise.
994 (FPE_FLTRES): Likewise.
995 (FPE_FLTINV): Likewise.
996 (FPE_FLTSUB): Likewise.
997 (SEGV_MAPERR): Likewise.
998 (SEGV_ACCERR): Likewise.
999 (BUS_ADRALN): Likewise.
1000 (BUS_ADRERR): Likewise.
1001 (BUS_OBJERR): Likewise.
1002 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1003 (TRAP_TRACE): Likewise.
1004 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1005 __USE_XOPEN2K8].
1006 (CLD_KILLED): Likewise.
1007 (CLD_DUMPED): Likewise.
1008 (CLD_TRAPPED): Likewise.
1009 (CLD_STOPPED): Likewise.
1010 (CLD_CONTINUED): Likewise.
1011 (POLL_IN): Likewise.
1012 (POLL_OUT): Likewise.
1013 (POLL_MSG): Likewise.
1014 (POLL_ERR): Likewise.
1015 (POLL_PRI): Likewise.
1016 (POLL_HUP): Likewise.
1017 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1018 Likewise.
1019 (ILL_ILLOPN): Likewise.
1020 (ILL_ILLADR): Likewise.
1021 (ILL_ILLTRP): Likewise.
1022 (ILL_PRVOPC): Likewise.
1023 (ILL_PRVREG): Likewise.
1024 (ILL_COPROC): Likewise.
1025 (ILL_BADSTK): Likewise.
1026 (FPE_INTDIV): Likewise.
1027 (FPE_INTOVF): Likewise.
1028 (FPE_FLTDIV): Likewise.
1029 (FPE_FLTOVF): Likewise.
1030 (FPE_FLTUND): Likewise.
1031 (FPE_FLTRES): Likewise.
1032 (FPE_FLTINV): Likewise.
1033 (FPE_FLTSUB): Likewise.
1034 (SEGV_MAPERR): Likewise.
1035 (SEGV_ACCERR): Likewise.
1036 (BUS_ADRALN): Likewise.
1037 (BUS_ADRERR): Likewise.
1038 (BUS_OBJERR): Likewise.
1039 (BUS_MCEERR_AR): Likewise.
1040 (BUS_MCEERR_AO): Likewise.
1041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1042 (TRAP_TRACE): Likewise.
1043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1044 __USE_XOPEN2K8].
1045 (CLD_KILLED): Likewise.
1046 (CLD_DUMPED): Likewise.
1047 (CLD_TRAPPED): Likewise.
1048 (CLD_STOPPED): Likewise.
1049 (CLD_CONTINUED): Likewise.
1050 (POLL_IN): Likewise.
1051 (POLL_OUT): Likewise.
1052 (POLL_MSG): Likewise.
1053 (POLL_ERR): Likewise.
1054 (POLL_PRI): Likewise.
1055 (POLL_HUP): Likewise.
1056 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1057 (ILL_ILLOPN): Likewise.
1058 (ILL_ILLADR): Likewise.
1059 (ILL_ILLTRP): Likewise.
1060 (ILL_PRVOPC): Likewise.
1061 (ILL_PRVREG): Likewise.
1062 (ILL_COPROC): Likewise.
1063 (ILL_BADSTK): Likewise.
1064 (FPE_INTDIV): Likewise.
1065 (FPE_INTOVF): Likewise.
1066 (FPE_FLTDIV): Likewise.
1067 (FPE_FLTOVF): Likewise.
1068 (FPE_FLTUND): Likewise.
1069 (FPE_FLTRES): Likewise.
1070 (FPE_FLTINV): Likewise.
1071 (FPE_FLTSUB): Likewise.
1072 (SEGV_MAPERR): Likewise.
1073 (SEGV_ACCERR): Likewise.
1074 (BUS_ADRALN): Likewise.
1075 (BUS_ADRERR): Likewise.
1076 (BUS_OBJERR): Likewise.
1077 (BUS_MCEERR_AR): Likewise.
1078 (BUS_MCEERR_AO): Likewise.
1079 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1080 (TRAP_TRACE): Likewise.
1081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1082 __USE_XOPEN2K8].
1083 (CLD_KILLED): Likewise.
1084 (CLD_DUMPED): Likewise.
1085 (CLD_TRAPPED): Likewise.
1086 (CLD_STOPPED): Likewise.
1087 (CLD_CONTINUED): Likewise.
1088 (POLL_IN): Likewise.
1089 (POLL_OUT): Likewise.
1090 (POLL_MSG): Likewise.
1091 (POLL_ERR): Likewise.
1092 (POLL_PRI): Likewise.
1093 (POLL_HUP): Likewise.
1094 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1095 Likewise.
1096 (ILL_ILLOPN): Likewise.
1097 (ILL_ILLADR): Likewise.
1098 (ILL_ILLTRP): Likewise.
1099 (ILL_PRVOPC): Likewise.
1100 (ILL_PRVREG): Likewise.
1101 (ILL_COPROC): Likewise.
1102 (ILL_BADSTK): Likewise.
1103 (ILL_BADIADDR): Likewise.
1104 (ILL_BREAK): Likewise.
1105 (FPE_INTDIV): Likewise.
1106 (FPE_INTOVF): Likewise.
1107 (FPE_FLTDIV): Likewise.
1108 (FPE_FLTOVF): Likewise.
1109 (FPE_FLTUND): Likewise.
1110 (FPE_FLTRES): Likewise.
1111 (FPE_FLTINV): Likewise.
1112 (FPE_FLTSUB): Likewise.
1113 (FPE_DECOVF): Likewise.
1114 (FPE_DECDIV): Likewise.
1115 (FPE_DECERR): Likewise.
1116 (FPE_INVASC): Likewise.
1117 (FPE_INVDEC): Likewise.
1118 (SEGV_MAPERR): Likewise.
1119 (SEGV_ACCERR): Likewise.
1120 (SEGV_PSTKOVF): Likewise.
1121 (BUS_ADRALN): Likewise.
1122 (BUS_ADRERR): Likewise.
1123 (BUS_OBJERR): Likewise.
1124 (BUS_MCEERR_AR): Likewise.
1125 (BUS_MCEERR_AO): Likewise.
1126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1127 (TRAP_TRACE): Likewise.
1128 (TRAP_BRANCH): Likewise.
1129 (TRAP_HWBKPT): Likewise.
1130 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1131 __USE_XOPEN2K8].
1132 (CLD_KILLED): Likewise.
1133 (CLD_DUMPED): Likewise.
1134 (CLD_TRAPPED): Likewise.
1135 (CLD_STOPPED): Likewise.
1136 (CLD_CONTINUED): Likewise.
1137 (POLL_IN): Likewise.
1138 (POLL_OUT): Likewise.
1139 (POLL_MSG): Likewise.
1140 (POLL_ERR): Likewise.
1141 (POLL_PRI): Likewise.
1142 (POLL_HUP): Likewise.
1143 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1144 (ILL_ILLOPN): Likewise.
1145 (ILL_ILLADR): Likewise.
1146 (ILL_ILLTRP): Likewise.
1147 (ILL_PRVOPC): Likewise.
1148 (ILL_PRVREG): Likewise.
1149 (ILL_COPROC): Likewise.
1150 (ILL_BADSTK): Likewise.
1151 (FPE_INTDIV): Likewise.
1152 (FPE_INTOVF): Likewise.
1153 (FPE_FLTDIV): Likewise.
1154 (FPE_FLTOVF): Likewise.
1155 (FPE_FLTUND): Likewise.
1156 (FPE_FLTRES): Likewise.
1157 (FPE_FLTINV): Likewise.
1158 (FPE_FLTSUB): Likewise.
1159 (SEGV_MAPERR): Likewise.
1160 (SEGV_ACCERR): Likewise.
1161 (BUS_ADRALN): Likewise.
1162 (BUS_ADRERR): Likewise.
1163 (BUS_OBJERR): Likewise.
1164 (BUS_MCEERR_AR): Likewise.
1165 (BUS_MCEERR_AO): Likewise.
1166 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1167 (TRAP_TRACE): Likewise.
1168 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1169 __USE_XOPEN2K8].
1170 (CLD_KILLED): Likewise.
1171 (CLD_DUMPED): Likewise.
1172 (CLD_TRAPPED): Likewise.
1173 (CLD_STOPPED): Likewise.
1174 (CLD_CONTINUED): Likewise.
1175 (POLL_IN): Likewise.
1176 (POLL_OUT): Likewise.
1177 (POLL_MSG): Likewise.
1178 (POLL_ERR): Likewise.
1179 (POLL_PRI): Likewise.
1180 (POLL_HUP): Likewise.
1181 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1182 (ILL_ILLOPN): Likewise.
1183 (ILL_ILLADR): Likewise.
1184 (ILL_ILLTRP): Likewise.
1185 (ILL_PRVOPC): Likewise.
1186 (ILL_PRVREG): Likewise.
1187 (ILL_COPROC): Likewise.
1188 (ILL_BADSTK): Likewise.
1189 (FPE_INTDIV): Likewise.
1190 (FPE_INTOVF): Likewise.
1191 (FPE_FLTDIV): Likewise.
1192 (FPE_FLTOVF): Likewise.
1193 (FPE_FLTUND): Likewise.
1194 (FPE_FLTRES): Likewise.
1195 (FPE_FLTINV): Likewise.
1196 (FPE_FLTSUB): Likewise.
1197 (SEGV_MAPERR): Likewise.
1198 (SEGV_ACCERR): Likewise.
1199 (BUS_ADRALN): Likewise.
1200 (BUS_ADRERR): Likewise.
1201 (BUS_OBJERR): Likewise.
1202 (BUS_MCEERR_AR): Likewise.
1203 (BUS_MCEERR_AO): Likewise.
1204 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1205 (TRAP_TRACE): Likewise.
1206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1207 __USE_XOPEN2K8].
1208 (CLD_KILLED): Likewise.
1209 (CLD_DUMPED): Likewise.
1210 (CLD_TRAPPED): Likewise.
1211 (CLD_STOPPED): Likewise.
1212 (CLD_CONTINUED): Likewise.
1213 (POLL_IN): Likewise.
1214 (POLL_OUT): Likewise.
1215 (POLL_MSG): Likewise.
1216 (POLL_ERR): Likewise.
1217 (POLL_PRI): Likewise.
1218 (POLL_HUP): Likewise.
1219 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1220 (ILL_ILLOPN): Likewise.
1221 (ILL_ILLADR): Likewise.
1222 (ILL_ILLTRP): Likewise.
1223 (ILL_PRVOPC): Likewise.
1224 (ILL_PRVREG): Likewise.
1225 (ILL_COPROC): Likewise.
1226 (ILL_BADSTK): Likewise.
1227 (FPE_INTDIV): Likewise.
1228 (FPE_INTOVF): Likewise.
1229 (FPE_FLTDIV): Likewise.
1230 (FPE_FLTOVF): Likewise.
1231 (FPE_FLTUND): Likewise.
1232 (FPE_FLTRES): Likewise.
1233 (FPE_FLTINV): Likewise.
1234 (FPE_FLTSUB): Likewise.
1235 (SEGV_MAPERR): Likewise.
1236 (SEGV_ACCERR): Likewise.
1237 (BUS_ADRALN): Likewise.
1238 (BUS_ADRERR): Likewise.
1239 (BUS_OBJERR): Likewise.
1240 (BUS_MCEERR_AR): Likewise.
1241 (BUS_MCEERR_AO): Likewise.
1242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1243 (TRAP_TRACE): Likewise.
1244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1245 __USE_XOPEN2K8].
1246 (CLD_KILLED): Likewise.
1247 (CLD_DUMPED): Likewise.
1248 (CLD_TRAPPED): Likewise.
1249 (CLD_STOPPED): Likewise.
1250 (CLD_CONTINUED): Likewise.
1251 (POLL_IN): Likewise.
1252 (POLL_OUT): Likewise.
1253 (POLL_MSG): Likewise.
1254 (POLL_ERR): Likewise.
1255 (POLL_PRI): Likewise.
1256 (POLL_HUP): Likewise.
1257 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1258 (ILL_ILLOPN): Likewise.
1259 (ILL_ILLADR): Likewise.
1260 (ILL_ILLTRP): Likewise.
1261 (ILL_PRVOPC): Likewise.
1262 (ILL_PRVREG): Likewise.
1263 (ILL_COPROC): Likewise.
1264 (ILL_BADSTK): Likewise.
1265 (ILL_DBLFLT): Likewise.
1266 (ILL_HARDWALL): Likewise.
1267 (FPE_INTDIV): Likewise.
1268 (FPE_INTOVF): Likewise.
1269 (FPE_FLTDIV): Likewise.
1270 (FPE_FLTOVF): Likewise.
1271 (FPE_FLTUND): Likewise.
1272 (FPE_FLTRES): Likewise.
1273 (FPE_FLTINV): Likewise.
1274 (FPE_FLTSUB): Likewise.
1275 (SEGV_MAPERR): Likewise.
1276 (SEGV_ACCERR): Likewise.
1277 (BUS_ADRALN): Likewise.
1278 (BUS_ADRERR): Likewise.
1279 (BUS_OBJERR): Likewise.
1280 (BUS_MCEERR_AR): Likewise.
1281 (BUS_MCEERR_AO): Likewise.
1282 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1283 (TRAP_TRACE): Likewise.
1284 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1285 __USE_XOPEN2K8].
1286 (CLD_KILLED): Likewise.
1287 (CLD_DUMPED): Likewise.
1288 (CLD_TRAPPED): Likewise.
1289 (CLD_STOPPED): Likewise.
1290 (CLD_CONTINUED): Likewise.
1291 (POLL_IN): Likewise.
1292 (POLL_OUT): Likewise.
1293 (POLL_MSG): Likewise.
1294 (POLL_ERR): Likewise.
1295 (POLL_PRI): Likewise.
1296 (POLL_HUP): Likewise.
1297 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1298 (ILL_ILLOPN): Likewise.
1299 (ILL_ILLADR): Likewise.
1300 (ILL_ILLTRP): Likewise.
1301 (ILL_PRVOPC): Likewise.
1302 (ILL_PRVREG): Likewise.
1303 (ILL_COPROC): Likewise.
1304 (ILL_BADSTK): Likewise.
1305 (FPE_INTDIV): Likewise.
1306 (FPE_INTOVF): Likewise.
1307 (FPE_FLTDIV): Likewise.
1308 (FPE_FLTOVF): Likewise.
1309 (FPE_FLTUND): Likewise.
1310 (FPE_FLTRES): Likewise.
1311 (FPE_FLTINV): Likewise.
1312 (FPE_FLTSUB): Likewise.
1313 (SEGV_MAPERR): Likewise.
1314 (SEGV_ACCERR): Likewise.
1315 (BUS_ADRALN): Likewise.
1316 (BUS_ADRERR): Likewise.
1317 (BUS_OBJERR): Likewise.
1318 (BUS_MCEERR_AR): Likewise.
1319 (BUS_MCEERR_AO): Likewise.
1320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1321 (TRAP_TRACE): Likewise.
1322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1323 __USE_XOPEN2K8].
1324 (CLD_KILLED): Likewise.
1325 (CLD_DUMPED): Likewise.
1326 (CLD_TRAPPED): Likewise.
1327 (CLD_STOPPED): Likewise.
1328 (CLD_CONTINUED): Likewise.
1329 (POLL_IN): Likewise.
1330 (POLL_OUT): Likewise.
1331 (POLL_MSG): Likewise.
1332 (POLL_ERR): Likewise.
1333 (POLL_PRI): Likewise.
1334 (POLL_HUP): Likewise.
1335 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1336 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1337
1338 [BZ #16670]
1339 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1340 before #include of <time.h>.
1341 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1342 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1343 (test-xfail-UNIX98/sched.h/conform): Likewise.
1344
13452014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1346
1347 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1348 error absence of trapping exception support.
1349 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1350
13512014-03-07 Joseph Myers <joseph@codesourcery.com>
1352
1353 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1354 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1355 * timezone/Makefile (testdata): Move definition above include of
1356 Rules.
1357 (test-zones): New variable.
1358 (tests-special): Add zone files.
1359 (build-testdata): Use $(evaluate-test).
1360
1361 * elf/Makefile (tests-special): Rename tests to end with .out.
1362 ($(objpfx)noload-mem): Likewise.
1363 ($(objpfx)tst-leaks1-mem): Likewise.
1364 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1365 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1366 $(objpfx)test-iconvconfig.out.
1367 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1368 set -e inside subshell and redirect output to file.
1369 * iconvdata/Makefile (generated): Rename tests to end with .out.
1370 Correct type.
1371 (tests-special): Rename tests to end with .out.
1372 ($(objpfx)mtrace-tst-loading): Likewise.
1373 * intl/Makefile (generated): Likewise.
1374 (tests-special): Likewise.
1375 ($(objpfx)mtrace-tst-gettext): Likewise.
1376 * misc/Makefile (generated): Likewise.
1377 (tests-special): Likewise.
1378 ($(objpfx)tst-error1-mem): Likewise.
1379 * nptl/Makefile (tests-special): Likewise.
1380 ($(objpfx)tst-stack3-mem): Likewise.
1381 (generated): Likewise.
1382 * posix/Makefile (generated): Likewise.
1383 (tests-special): Likewise.
1384 (xtests-special): Likewise.
1385 ($(objpfx)tst-fnmatch-mem): Likewise.
1386 ($(objpfx)bug-regex2-mem): Likewise.
1387 ($(objpfx)bug-regex14-mem): Likewise.
1388 ($(objpfx)bug-regex21-mem): Likewise.
1389 ($(objpfx)bug-regex31-mem): Likewise.
1390 ($(objpfx)tst-vfork3-mem): Likewise.
1391 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1392 ($(objpfx)tst-pcre-mem): Likewise.
1393 ($(objpfx)tst-boost-mem): Likewise.
1394 ($(objpfx)bug-ga2-mem): Likewise.
1395 ($(objpfx)bug-glob2-mem): Likewise.
1396 * resolv/Makefile (generate): Likewise.
1397 (tests-special): Likewise.
1398 (xtests-special): Likewise.
1399 (generated): Likewise.
1400 ($(objpfx)mtrace-tst-leaks): Likewise.
1401 ($(objpfx)mtrace-tst-leaks2): Likewise.
1402
1403 * scripts/merge-test-results.sh: New file.
1404 * Makefile (tests-special-notdir): New variable.
1405 (tests): Run merge-test-results.sh.
1406 (xtests): Likewise.
1407 * Rules (tests-special-notdir): New variable.
1408 (xtests-special-notdir): Likewise.
1409 (tests): Run merge-test-results.sh
1410 (xtests): Likewise.
1411
1412 * Makeconfig (test-xfail-name): New variable.
1413 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1414 compute variable name for expected failures.
1415 * conform/Makefile (conformtest-headers-data): New variable.
1416 (conformtest-standards): Likewise.
1417 (conformtest-headers-ISO): Likewise.
1418 (conformtest-headers-ISO99): Likewise.
1419 (conformtest-headers-ISO11): Likewise.
1420 (conformtest-headers-POSIX): Likewise.
1421 (conformtest-headers-XPG3): Likewise.
1422 (conformtest-headers-XPG4): Likewise.
1423 (conformtest-headers-UNIX98): Likewise.
1424 (conformtest-headers-XOPEN2K): Likewise.
1425 (conformtest-headers-POSIX2008): Likewise.
1426 (conformtest-headers-XOPEN2K8): Likewise.
1427 (conformtest-header-list-base): Likewise.
1428 (conformtest-header-list-tests): Likewise.
1429 (conformtest-header-base): Likewise.
1430 (conformtest-header-tests): Likewise.
1431 (tests-special): Add $(conformtest-header-list-tests). If
1432 [$(fast-check) && !$(cross-compiling)], add
1433 $(conformtest-header-tests) instead of
1434 $(objpfx)run-conformtest.out.
1435 (generated): Add $(conformtest-header-list-base). If
1436 [$(fast-check) && !$(cross-compiling)], add
1437 $(conformtest-header-base). Remove previous setting.
1438 ($(conformtest-header-list-tests)): New target.
1439 (test-xfail-run-conformtest): Remove variable.
1440 ($(objpfx)run-conformtest.out): Remove target.
1441 (test-xfail-ISO11/complex.h/conform): New variable.
1442 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1443 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1444 (test-xfail-XPG3/varargs.h/conform): Likewise.
1445 (test-xfail-XPG4/varargs.h/conform): Likewise.
1446 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1447 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1448 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1449 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1450 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1451 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1452 (test-xfail-XPG3/ftw.h/conform): Likewise.
1453 (test-xfail-XPG3/grp.h/conform): Likewise.
1454 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1455 (test-xfail-XPG3/limits.h/conform): Likewise.
1456 (test-xfail-XPG3/pwd.h/conform): Likewise.
1457 (test-xfail-XPG3/search.h/conform): Likewise.
1458 (test-xfail-XPG3/signal.h/conform): Likewise.
1459 (test-xfail-XPG3/stdio.h/conform): Likewise.
1460 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1461 (test-xfail-XPG3/string.h/conform): Likewise.
1462 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1463 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1464 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1465 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1466 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1467 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1468 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1469 (test-xfail-XPG3/termios.h/conform): Likewise.
1470 (test-xfail-XPG3/time.h/conform): Likewise.
1471 (test-xfail-XPG3/unistd.h/conform): Likewise.
1472 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1473 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1474 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1475 (test-xfail-XPG4/netdb.h/conform): Likewise.
1476 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1477 (test-xfail-XPG4/signal.h/conform): Likewise.
1478 (test-xfail-XPG4/stdio.h/conform): Likewise.
1479 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1480 (test-xfail-XPG4/stropts.h/conform): Likewise.
1481 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1482 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1483 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1484 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1485 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1486 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1487 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1488 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1489 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1490 (test-xfail-XPG4/termios.h/conform): Likewise.
1491 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1492 (test-xfail-XPG4/unistd.h/conform): Likewise.
1493 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1494 (test-xfail-POSIX/sched.h/conform): Likewise.
1495 (test-xfail-POSIX/signal.h/conform): Likewise.
1496 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1497 (test-xfail-POSIX/tar.h/conform): Likewise.
1498 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1499 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1500 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1501 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1502 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1503 (test-xfail-UNIX98/sched.h/conform): Likewise.
1504 (test-xfail-UNIX98/signal.h/conform): Likewise.
1505 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1506 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1507 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1508 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1509 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1510 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1511 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1512 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1513 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1514 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1515 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1516 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1517 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1518 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1519 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1520 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1521 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1522 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1523 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1524 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1525 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1526 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1527 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1528 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1529 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1530 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1531 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1532 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1533 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1534 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1535 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1536 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1537 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1538 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1539 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1540 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1541 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1542 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1543 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1544 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1545 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1546 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1547 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1548 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1549 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1550 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1551 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1552 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1553 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1554 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1555 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1556 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1557 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1558 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1559 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1560 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1561 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1562 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1563 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1564 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1565 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1566 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1567 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1568 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1569 (conformtest-cc-flags): Likewise.
1570 ($(conformtest-header-tests): New target.
1571 * conform/check-header-lists.sh: New file.
1572 * conform/run-conformtest.sh: Remove.
1573
1574 * conform/conformtest.pl: Allow ' and \ in values given for
1575 constants.
1576 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1577 inclusion.
1578 [POSIX] (sys/types.h): Likewise.
1579 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1580 inclusion.
1581 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1582 inclusion.
1583 * conform/data/signal.h-data (SIGIO): Remove expectation.
1584 [XPG3] (SIGBUS): Do not expect.
1585 [POSIX || XPG3] (SIGPOLL): Likewise.
1586 [POSIX || XPG3] (SIGPROF): Likewise.
1587 [POSIX || XPG3] (SIGSYS): Likewise.
1588 [XPG3] (SIGTRAP): Likewise.
1589 [POSIX || XPG3] (SIGURG): Likewise.
1590 [POSIX || XPG3] (SIGVTALRM): Likewise.
1591 [POSIX || XPG3] (SIGXCPU): Likewise.
1592 [POSIX || XPG3] (SIGXFSZ): Likewise.
1593 [POSIX] (SA_SIGINFO): Expect.
1594 [XPG3] (siginfo_t): Do not expect type or contents.
1595 [POSIX] (si_pid): Do not expect element.
1596 [POSIX] (si_uid): Likewise.
1597 [POSIX] (si_addr): Likewise.
1598 [POSIX] (si_status): Likewise.
1599 [POSIX] (si_band): Likewise.
1600 [XPG4] (si_value): Likewise.
1601 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1602 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1603 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1604 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1605 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1606 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1607 [POSIX || XPG3] (ILL_COPROC): Likewise.
1608 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1609 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1610 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1611 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1612 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1613 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1614 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1615 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1616 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1617 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1618 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1619 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1620 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1621 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1622 [POSIX || XPG3] (CLD_EXITED): Likewise.
1623 [POSIX || XPG3] (CLD_KILLED): Likewise.
1624 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1625 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1626 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1627 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1628 [POSIX || XPG3] (POLL_IN): Likewise.
1629 [POSIX || XPG3] (POLL_OUT): Likewise.
1630 [POSIX || XPG3] (POLL_MSG): Likewise.
1631 [POSIX || XPG3] (POLL_ERR): Likewise.
1632 [POSIX || XPG3] (POLL_PRI): Likewise.
1633 [POSIX || XPG3] (POLL_HUP): Likewise.
1634 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1635 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1636 (SIG*): Do not allow.
1637 [XPG3] (si_*): Likewise.
1638 [XPG3] (SI_*): Likewise.
1639 [XPG3 || XPG4] (sigev_*): Likewise.
1640 [XPG3 || XPG4] (SIGEV_*): Likewise.
1641 [XPG3 || XPG4] (sival_*): Likewise.
1642 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1643 [POSIX || XPG3] (BUS_*): Likewise.
1644 [POSIX || XPG3] (CLD_*): Likewise.
1645 [POSIX || XPG3] (FPE_*): Likewise.
1646 [POSIX || XPG3] (ILL_*): Likewise.
1647 [POSIX || XPG3] (POLL_*): Likewise.
1648 [POSIX || XPG3] (SEGV_*): Likewise.
1649 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1650 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1651 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1652 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1653 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1654 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1655 Specify type and value.
1656 (TVERSLEN): Likewise.
1657 (REGTYPE): Likewise.
1658 (AREGTYPE): Likewise.
1659 (LNKTYPE): Likewise.
1660 (SYMTYPE): Likewise.
1661 (CHRTYPE): Likewise.
1662 (BLKTYPE): Likewise.
1663 (DIRTYPE): Likewise.
1664 (FIFOTYPE): Likewise.
1665 (CONTTYPE): Likewise.
1666 (TSUID): Likewise.
1667 (TSGID): Likewise.
1668 (TSVTX): Likewise.
1669 (TUREAD): Likewise.
1670 (TUWRITE): Likewise.
1671 (TUEXEC): Likewise.
1672 (TGREAD): Likewise.
1673 (TGWRITE): Likewise.
1674 (TGEXEC): Likewise.
1675 (TOREAD): Likewise.
1676 (TOWRITE): Likewise.
1677 (TOEXEC): Likewise.
1678 [POSIX] (TSVTX): Expect constant.
1679
16802014-03-06 Joseph Myers <joseph@codesourcery.com>
1681
1682 * Makefile (tests): Change dependencies to ....
1683 (tests-special): ... additions to this variable.
1684 (tests): Depend on $(tests-special).
1685 * Makerules (check-abi-list): New variable.
1686 (check-abi): Depend on $(check-abi-list).
1687 [$(subdir) = elf] (tests-special): Add
1688 $(objpfx)check-abi-libc.out.
1689 [$(build-shared) = yes && subdir] (tests-special): Add
1690 $(check-abi-list).
1691 [$(build-shared) = yes && subdir] (tests): Do not depend on
1692 check-abi.
1693 * Rules (tests): Depend on $(tests-special).
1694 (xtests): Depend on $(xtests-special).
1695 * catgets/Makefile (tests): Change dependencies to ....
1696 (tests-special): ... additions to this variable.
1697 * conform/Makefile (tests): Change dependencies to ....
1698 (tests-special): ... additions to this variable.
1699 * elf/Makefile (tests): Change dependencies to ....
1700 (tests-special): ... additions to this variable.
1701 * grp/Makefile (tests): Change dependencies to ....
1702 (tests-special): ... additions to this variable.
1703 * iconv/Makefile (xtests): Change dependencies to ....
1704 (xtests-special): ... additions to this variable.
1705 * iconvdata/Makefile (tests): Change dependencies to ....
1706 (tests-special): ... additions to this variable.
1707 * intl/Makefile (tests): Change dependencies to ....
1708 (tests-special): ... additions to this variable. Also add
1709 $(objpfx)tst-gettext.out.
1710 * io/Makefile (tests): Change dependencies to ....
1711 (tests-special): ... additions to this variable.
1712 * libio/Makefile (tests): Change dependencies to ....
1713 (tests-special): ... additions to this variable.
1714 * malloc/Makefile (tests): Change dependencies to ....
1715 (tests-special): ... additions to this variable.
1716 * misc/Makefile (tests): Change dependencies to ....
1717 (tests-special): ... additions to this variable.
1718 * nptl/Makefile (tests): Change dependencies to ....
1719 (tests-special): ... additions to this variable.
1720 * nptl_db/Makefile (tests): Change dependencies to ....
1721 (tests-special): ... additions to this variable.
1722 * posix/Makefile (tests): Change dependencies to ....
1723 (tests-special): ... additions to this variable.
1724 (xtests): Change dependencies to ....
1725 (xtests-special): ... additions to this variable.
1726 * resolv/Makefile (tests): Change dependencies to ....
1727 (tests-special): ... additions to this variable.
1728 (xtests): Change dependencies to ....
1729 (xtests-special): ... additions to this variable.
1730 * stdio-common/Makefile (tests): Change dependencies to ....
1731 (tests-special): ... additions to this variable.
1732 (do-tst-unbputc): Remove target.
1733 (do-tst-printf): Likewise.
1734 * stdlib/Makefile (tests): Change dependencies to ....
1735 (tests-special): ... additions to this variable.
1736 * string/Makefile (tests): Change dependencies to ....
1737 (tests-special): ... additions to this variable.
1738 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1739 (tests-special): ... additions to this variable.
1740
1741 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1742 whole file.
1743 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1744 whole file.
1745 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1746 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1747
1748 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1749 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1750 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1751 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1752 * conform/data/libgen.h-data [XPG3]: Likewise.
1753 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1754 * conform/data/ndbm.h-data [XPG3]: Likewise.
1755 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1756 * conform/data/netdb.h-data [XPG3]: Likewise.
1757 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1758 * conform/data/poll.h-data [XPG3]: Likewise.
1759 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1760 * conform/data/strings.h-data [XPG3]: Likewise.
1761 * conform/data/stropts.h-data [XPG3]: Likewise.
1762 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1763 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1764 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1765 Likewise.
1766 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1767 * conform/data/sys/time.h-data [XPG3]: Likewise.
1768 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1769 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1770 * conform/data/sys/un.h-data [XPG3]: Likewise.
1771 * conform/data/syslog.h-data [XPG3]: Likewise.
1772 * conform/data/ucontext.h-data [XPG3]: Likewise.
1773 * conform/data/utmpx.h-data [XPG3]: Likewise.
1774 * conform/data/varargs.h-data [UNIX98]: Enable file.
1775
1776 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1777
1778 * math/libm-test.inc (struct test_f_f_data): Move expected results
1779 into structure for each rounding mode.
1780 (struct test_ff_f_data): Likewise.
1781 (struct test_ff_f_data_nexttoward): Likewise.
1782 (struct test_fi_f_data): Likewise.
1783 (struct test_fl_f_data): Likewise.
1784 (struct test_if_f_data): Likewise.
1785 (struct test_fff_f_data): Likewise.
1786 (struct test_c_f_data): Likewise.
1787 (struct test_f_f1_data): Likewise.
1788 (struct test_fF_f1_data): Likewise.
1789 (struct test_ffI_f1_data): Likewise.
1790 (struct test_c_c_data): Likewise.
1791 (struct test_cc_c_data): Likewise.
1792 (struct test_f_i_data): Likewise.
1793 (struct test_ff_i_data): Likewise.
1794 (struct test_f_l_data): Likewise.
1795 (struct test_f_L_data): Likewise.
1796 (struct test_fFF_11_data): Likewise.
1797 (RM_): New macro.
1798 (RM_FE_DOWNWARD): Likewise.
1799 (RM_FE_TONEAREST): Likewise.
1800 (RM_FE_TOWARDZERO): Likewise.
1801 (RM_FE_UPWARD): Likewise.
1802 (RUN_TEST_LOOP_f_f): Update references to expected results.
1803 (RUN_TEST_LOOP_2_f): Likewise.
1804 (RUN_TEST_LOOP_fff_f): Likewise.
1805 (RUN_TEST_LOOP_c_f): Likewise.
1806 (RUN_TEST_LOOP_f_f1): Likewise.
1807 (RUN_TEST_LOOP_fF_f1): Likewise.
1808 (RUN_TEST_LOOP_fI_f1): Likewise.
1809 (RUN_TEST_LOOP_ffI_f1): Likewise.
1810 (RUN_TEST_LOOP_c_c): Likewise.
1811 (RUN_TEST_LOOP_cc_c): Likewise.
1812 (RUN_TEST_LOOP_f_i): Likewise.
1813 (RUN_TEST_LOOP_f_i_tg): Likewise.
1814 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1815 (RUN_TEST_LOOP_f_b): Likewise.
1816 (RUN_TEST_LOOP_f_b_tg): Likewise.
1817 (RUN_TEST_LOOP_f_l): Likewise.
1818 (RUN_TEST_LOOP_f_L): Likewise.
1819 (RUN_TEST_LOOP_fFF_11): Likewise.
1820 * math/gen-libm-test.pl (parse_args): Output four copies of
1821 expected results for each test.
1822
1823 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1824 (__ASSUME_UTIMES): Remove.
1825 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1826 (__ASSUME_UTIMES): Likewise.
1827
1828 * math/gen-auto-libm-tests.c: Update comment on output format.
1829 (output_for_one_input_case): Generate before-rounding and
1830 after-rounding information as conditions on output flags not
1831 floating-point format.
1832 * math/auto-libm-test-out: Regenerated.
1833 * math/gen-libm-test.pl (cond_value): New function.
1834 (or_cond_value): Use cond_value.
1835 (generate_testfile): Handle conditional exceptions.
1836
18372014-03-05 Joseph Myers <joseph@codesourcery.com>
1838
1839 * math/libm-test.inc (max_valid_error): New variable.
1840 (init_max_error): Take new argument specifying whether function
1841 results are exactly determined. Set max_valid_error and bound
1842 other variables for errors based on this argument.
1843 (set_max_error): Do not record results above max_valid_error.
1844 (check_float_internal): Only accept errors of up to 0.5ulps if
1845 also at most max_valid_error.
1846 (START): Take new argument EXACT and pass it to init_max_error.
1847 (acos_test): Update call to START.
1848 (acos_test_tonearest): Likewise.
1849 (acos_test_towardzero): Likewise.
1850 (acos_test_downward): Likewise.
1851 (acos_test_upward): Likewise.
1852 (acosh_test): Likewise.
1853 (asin_test): Likewise.
1854 (asin_test_tonearest): Likewise.
1855 (asin_test_towardzero): Likewise.
1856 (asin_test_downward): Likewise.
1857 (asin_test_upward): Likewise.
1858 (asinh_test): Likewise.
1859 (atan_test): Likewise.
1860 (atanh_test): Likewise.
1861 (atan2_test): Likewise.
1862 (cabs_test): Likewise.
1863 (cacos_test): Likewise.
1864 (cacosh_test): Likewise.
1865 (carg_test): Likewise.
1866 (casin_test): Likewise.
1867 (casinh_test): Likewise.
1868 (catan_test): Likewise.
1869 (catanh_test): Likewise.
1870 (cbrt_test): Likewise.
1871 (ccos_test): Likewise.
1872 (ccosh_test): Likewise.
1873 (ceil_test): Likewise.
1874 (cexp_test): Likewise.
1875 (cimag_test): Likewise.
1876 (clog_test): Likewise.
1877 (clog10_test): Likewise.
1878 (conj_test): Likewise.
1879 (copysign_test): Likewise.
1880 (cos_test): Likewise.
1881 (cos_test_tonearest): Likewise.
1882 (cos_test_towardzero): Likewise.
1883 (cos_test_downward): Likewise.
1884 (cos_test_upward): Likewise.
1885 (cosh_test): Likewise.
1886 (cosh_test_tonearest): Likewise.
1887 (cosh_test_towardzero): Likewise.
1888 (cosh_test_downward): Likewise.
1889 (cosh_test_upward): Likewise.
1890 (cpow_test): Likewise.
1891 (cproj_test): Likewise.
1892 (creal_test): Likewise.
1893 (csin_test): Likewise.
1894 (csinh_test): Likewise.
1895 (csqrt_test): Likewise.
1896 (ctan_test): Likewise.
1897 (ctan_test_tonearest): Likewise.
1898 (ctan_test_towardzero): Likewise.
1899 (ctan_test_downward): Likewise.
1900 (ctan_test_upward): Likewise.
1901 (ctanh_test): Likewise.
1902 (ctanh_test_tonearest): Likewise.
1903 (ctanh_test_towardzero): Likewise.
1904 (ctanh_test_downward): Likewise.
1905 (ctanh_test_upward): Likewise.
1906 (erf_test): Likewise.
1907 (erfc_test): Likewise.
1908 (exp_test): Likewise.
1909 (exp_test_tonearest): Likewise.
1910 (exp_test_towardzero): Likewise.
1911 (exp_test_downward): Likewise.
1912 (exp_test_upward): Likewise.
1913 (exp10_test): Likewise.
1914 (exp10_test_tonearest): Likewise.
1915 (exp10_test_towardzero): Likewise.
1916 (exp10_test_downward): Likewise.
1917 (exp10_test_upward): Likewise.
1918 (pow10_test): Likewise.
1919 (exp2_test): Likewise.
1920 (expm1_test): Likewise.
1921 (expm1_test_tonearest): Likewise.
1922 (expm1_test_towardzero): Likewise.
1923 (expm1_test_downward): Likewise.
1924 (expm1_test_upward): Likewise.
1925 (fabs_test): Likewise.
1926 (fdim_test): Likewise.
1927 (floor_test): Likewise.
1928 (fma_test): Likewise.
1929 (fma_test_towardzero): Likewise.
1930 (fma_test_downward): Likewise.
1931 (fma_test_upward): Likewise.
1932 (fmax_test): Likewise.
1933 (fmin_test): Likewise.
1934 (fmod_test): Likewise.
1935 (fpclassify_test): Likewise.
1936 (frexp_test): Likewise.
1937 (hypot_test): Likewise.
1938 (ilogb_test): Likewise.
1939 (isfinite_test): Likewise.
1940 (finite_test): Likewise.
1941 (isgreater_test): Likewise.
1942 (isgreaterequal_test): Likewise.
1943 (isinf_test): Likewise.
1944 (isless_test): Likewise.
1945 (islessequal_test): Likewise.
1946 (islessgreater_test): Likewise.
1947 (isnan_test): Likewise.
1948 (isnormal_test): Likewise.
1949 (issignaling_test): Likewise.
1950 (isunordered_test): Likewise.
1951 (j0_test): Likewise.
1952 (j1_test): Likewise.
1953 (jn_test): Likewise.
1954 (ldexp_test): Likewise.
1955 (lgamma_test): Likewise.
1956 (gamma_test): Likewise.
1957 (lrint_test): Likewise.
1958 (lrint_test_tonearest): Likewise.
1959 (lrint_test_towardzero): Likewise.
1960 (lrint_test_downward): Likewise.
1961 (lrint_test_upward): Likewise.
1962 (llrint_test): Likewise.
1963 (llrint_test_tonearest): Likewise.
1964 (llrint_test_towardzero): Likewise.
1965 (llrint_test_downward): Likewise.
1966 (llrint_test_upward): Likewise.
1967 (log_test): Likewise.
1968 (log10_test): Likewise.
1969 (log1p_test): Likewise.
1970 (log2_test): Likewise.
1971 (logb_test): Likewise.
1972 (logb_test_downward): Likewise.
1973 (lround_test): Likewise.
1974 (llround_test): Likewise.
1975 (modf_test): Likewise.
1976 (nearbyint_test): Likewise.
1977 (nextafter_test): Likewise.
1978 (nexttoward_test): Likewise.
1979 (pow_test): Likewise.
1980 (pow_test_tonearest): Likewise.
1981 (pow_test_towardzero): Likewise.
1982 (pow_test_downward): Likewise.
1983 (pow_test_upward): Likewise.
1984 (remainder_test): Likewise.
1985 (drem_test): Likewise.
1986 (remainder_test_tonearest): Likewise.
1987 (drem_test_tonearest): Likewise.
1988 (remainder_test_towardzero): Likewise.
1989 (drem_test_towardzero): Likewise.
1990 (remainder_test_downward): Likewise.
1991 (drem_test_downward): Likewise.
1992 (remainder_test_upward): Likewise.
1993 (drem_test_upward): Likewise.
1994 (remquo_test): Likewise.
1995 (rint_test): Likewise.
1996 (rint_test_tonearest): Likewise.
1997 (rint_test_towardzero): Likewise.
1998 (rint_test_downward): Likewise.
1999 (rint_test_upward): Likewise.
2000 (round_test): Likewise.
2001 (scalb_test): Likewise.
2002 (scalbn_test): Likewise.
2003 (scalbln_test): Likewise.
2004 (signbit_test): Likewise.
2005 (sin_test): Likewise.
2006 (sin_test_tonearest): Likewise.
2007 (sin_test_towardzero): Likewise.
2008 (sin_test_downward): Likewise.
2009 (sin_test_upward): Likewise.
2010 (sincos_test): Likewise.
2011 (sinh_test): Likewise.
2012 (sinh_test_tonearest): Likewise.
2013 (sinh_test_towardzero): Likewise.
2014 (sinh_test_downward): Likewise.
2015 (sinh_test_upward): Likewise.
2016 (sqrt_test): Likewise.
2017 (sqrt_test_tonearest): Likewise.
2018 (sqrt_test_towardzero): Likewise.
2019 (sqrt_test_downward): Likewise.
2020 (sqrt_test_upward): Likewise.
2021 (tan_test): Likewise.
2022 (tan_test_tonearest): Likewise.
2023 (tan_test_towardzero): Likewise.
2024 (tan_test_downward): Likewise.
2025 (tan_test_upward): Likewise.
2026 (tanh_test): Likewise.
2027 (tgamma_test): Likewise.
2028 (trunc_test): Likewise.
2029 (y0_test): Likewise.
2030 (y1_test): Likewise.
2031 (yn_test): Likewise.
2032 (significand_test): Likewise.
2033
2034 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2035 individual tests in comment.
2036 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2037 (prev_max_error): New variable.
2038 (prev_real_max_error): Likewise.
2039 (prev_imag_max_error): Likewise.
2040 (compare_ulp_data): Don't refer to test names in comment.
2041 (find_test_ulps): Remove function.
2042 (find_function_ulps): Likewise.
2043 (find_complex_function_ulps): Likewise.
2044 (init_max_error): Take function name as argument. Look up ulps
2045 for that function.
2046 (print_ulps): Remove function.
2047 (print_max_error): Use prev_max_error instead of calling
2048 find_function_ulps.
2049 (print_complex_max_error): Use prev_real_max_error and
2050 prev_imag_max_error instead of calling find_complex_function_ulps.
2051 (check_float_internal): Take max_ulp parameter instead of calling
2052 find_test_ulps. Don't call print_ulps.
2053 (check_float): Update call to check_float_internal.
2054 (check_complex): Update calls to check_float_internal.
2055 (START): Pass argument to init_max_error.
2056 * math/gen-libm-test.pl (%results): Don't include "kind"
2057 information.
2058 (parse_ulps): Don't handle ulps of individual tests.
2059 (print_ulps_file): Likewise.
2060 (output_ulps): Likewise.
2061 * math/README.libm-test: Update.
2062 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2063 individual tests.
2064 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2065 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2066 * sysdeps/arm/libm-test-ulps: Likewise.
2067 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2068 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2069 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2070 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2071 * sysdeps/microblaze/libm-test-ulps: Likewise.
2072 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2073 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2075 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2076 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2077 * sysdeps/sh/libm-test-ulps: Likewise.
2078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2079 * sysdeps/tile/libm-test-ulps: Likewise.
2080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2081
20822014-03-04 Joseph Myers <joseph@codesourcery.com>
2083
2084 * math/libm-test.inc (print_complex_max_error): Check separately
2085 whether real and imaginary errors are within allowed range and
2086 pass 0 to print_complex_function_ulps instead of value within
2087 allowed range.
2088
20892014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2090
2091 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2092 formatting.
2093 (get_handles_fopen): Likewise.
2094 (do_write_test): Likewise.
2095
2096 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2097
2098 * libio/fileops.c (do_ftell): Use cached offset when
2099 available.
2100 * libio/iofwide.c (do_ftell_wide): Likewise.
2101 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2102 _IO_file_attach.
2103 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2104
2105 [BZ #16532]
2106 * libio/libioP.h (get_file_offset): New function.
2107 * libio/fileops.c (get_file_offset): Likewise.
2108 (do_ftell): Likewise.
2109 (_IO_new_file_seekoff): Split out ftell logic.
2110 * libio/wfileops.c (do_ftell_wide): Likewise.
2111 (_IO_wfile_seekoff): Split out ftell logic.
2112 * libio/tst-ftell-active-handler.c: New test case.
2113 * libio/Makefile (tests): Add it.
2114
21152014-03-03 Roland McGrath <roland@hack.frob.com>
2116
2117 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2118 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2119
21202014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
2122 [BZ #16639]
2123 * nscd/connections.c (nscd_init): Call do_exit.
2124 (start_threads): Call do_exit and notify_parent.
2125 (begin_drop_privileges): Call do_exit.
2126 (finish_drop_privileges): Likewise.
2127 * nscd/selinux.c (preserve_capabilities): Likewise.
2128 (install_real_capabilities): Likewise.
2129 (nscd_selinux_enabled): Likewise.
2130 (avc_create_thread): Likewise.
2131 (avc_alloc_lock): Likewise.
2132 (nscd_avc_init): Likewise.
2133 * nscd/nscd.c (parent_fd): New static variable.
2134 (main): Create a pipe between parent and child processes.
2135 Skip closing parent_fd.
2136 (monitor_child): New function.
2137 (do_exit): Likewise.
2138 (notify_parent): Likewise.
2139 * nscd/nscd.h (notify_parent): Likewise.
2140 (do_exit): Likewise.
2141
21422014-03-03 Carlos O'Donell <carlos@redhat.com>
2143
2144 * malloc/malloc.c (__libc_calloc): Revert last change.
2145
21462014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147
2148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2149
21502014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2151
2152 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2154 implementation.
2155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2156 (__libc_ifunc_impl_list): Likewise.
2157 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2158 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2159 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2160 * string/strrchr.c: Define STRRCHR.
2161
21622014-02-28 Ondřej Bílka <neleai@seznam.cz>
2163
2164 * benchtest/bench-strtok.c (simple_strtok): Delete.
2165 (strtok_string): Use as benchmark.
2166 * string/strtok (STRTOK): New macro.
2167
21682014-02-28 Carlos O'Donell <carlos@redhat.com>
2169
2170 * manual/threads.texi: Add header and standard comments to all
2171 functions.
2172
2173 * elf/dl-lookup.c (check_match): New function.
2174 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2175 (do_lookup_x): Remove nested function check_match. Use non-nested
2176 function check_match.
2177
21782014-02-28 Roland McGrath <roland@hack.frob.com>
2179
2180 * csu/Makefile (generated, before-compile): Use += rather than =.
2181 * catgets/Makefile (generated, generated-dirs): Likewise.
2182 * debug/Makefile (generated): Likewise.
2183 * dlfcn/Makefile (generated): Likewise.
2184 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2185 * iconvdata/Makefile (before-compile, generated): Likewise.
2186 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2187 * libio/Makefile (generated): Likewise.
2188 * malloc/Makefile (generated): Likewise.
2189 * manual/Makefile (generated, generated-dirs): Likewise.
2190 * misc/Makefile (generated): Likewise.
2191 * posix/Makefile (generated): Likewise.
2192 * resolv/Makefile (generated): Likewise.
2193 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2194 * timezone/Makefile (generated, generated-dirs): Likewise.
2195
2196 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2197
21982014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199
2200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2201 implementation.
2202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2203 POWER8 llround ifunc implementation.
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2205 POWER8 implementation.
2206 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2207 POWER8 llround implementation.
2208
22092014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2210
2211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2212 implementation.
2213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2214 POWER8 llrint ifunc implementation.
2215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2216 POWER8 implementation.
2217 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2218 POWER8 llrint implementation.
2219
22202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221
2222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2223 implementation.
2224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2225 POWER8 finite ifunc implementation.
2226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2227 POWER8 implementation.
2228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2229 Likewise.
2230 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2231 POWER8 finite implementation.
2232 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2233
22342014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2235
2236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2237 implementation.
2238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2239 POWER8 isinf ifunc implementation.
2240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2241 POWER8 implementation.
2242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2243 Likewise.
2244 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2245 POWER8 isinf implementation.
2246 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2247
22482014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2249
2250 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2251 Add hwcap2 initialization.
2252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2253 implementation.
2254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2255 POWER8 isnan ifunc implementation.
2256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2257 POWER8 implementation.
2258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2259 Likewise.
2260 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2261 POWER8 isnan implementation.
2262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2263
22642014-02-27 Joey Ye <joey.ye@arm.com>
2265
2266 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2267 (_FP_NANFRAC_Q): Set to zero.
2268
22692014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2270
2271 [BZ #16623]
2272 * math/auto-libm-test-in: New test inputs.
2273 * math/auto-libm-test-out: Regenerate.
2274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2275 and DA.
2276 (__cos): Likewise.
2277 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2278
22792014-02-27 Joseph Myers <joseph@codesourcery.com>
2280
2281 * scripts/evaluate-test.sh: Take new argument indicating whether
2282 failure is expected.
2283 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2284 indicating whether failure is expected.
2285 * conform/Makefile (test-xfail-run-conformtest): New variable.
2286 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2287 level.
2288 * posix/Makefile (test-xfail-annexc): New variable.
2289 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2290
22912014-02-26 Joseph Myers <joseph@codesourcery.com>
2292
2293 * argp/Makefile: Include Makeconfig immediately after defining
2294 subdir.
2295 * assert/Makefile: Likewise.
2296 * benchtests/Makefile: Likewise.
2297 * catgets/Makefile: Likewise.
2298 * conform/Makefile: Likewise.
2299 * crypt/Makefile: Likewise.
2300 * csu/Makefile: Likewise.
2301 (all): Remove target.
2302 * ctype/Makefile: Include Makeconfig immediately after defining
2303 subdir.
2304 * debug/Makefile: Likewise.
2305 * dirent/Makefile: Likewise.
2306 * dlfcn/Makefile: Likewise.
2307 * gmon/Makefile: Likewise.
2308 * gnulib/Makefile: Likewise.
2309 * grp/Makefile: Likewise.
2310 * gshadow/Makefile: Likewise.
2311 * hesiod/Makefile: Likewise.
2312 * hurd/Makefile: Likewise.
2313 (all): Remove target.
2314 * iconvdata/Makefile: Include Makeconfig immediately after
2315 defining subdir.
2316 * inet/Makefile: Likewise.
2317 * intl/Makefile: Likewise.
2318 * io/Makefile: Likewise.
2319 * libio/Makefile: Likewise.
2320 (all): Remove target.
2321 * locale/Makefile: Include Makeconfig immediately after defining
2322 subdir.
2323 * login/Makefile: Likewise.
2324 * mach/Makefile: Likewise.
2325 (all): Remove target.
2326 * malloc/Makefile: Include Makeconfig immediately after defining
2327 subdir.
2328 (all): Remove target.
2329 * manual/Makefile: Include Makeconfig immediately after defining
2330 subdir.
2331 * math/Makefile: Likewise.
2332 * misc/Makefile: Likewise.
2333 * nis/Makefile: Likewise.
2334 * nss/Makefile: Likewise.
2335 * po/Makefile: Likewise.
2336 (all): Remove target.
2337 * posix/Makefile: Include Makeconfig immediately after defining
2338 subdir.
2339 * pwd/Makefile: Likewise.
2340 * resolv/Makefile: Likewise.
2341 * resource/Makefile: Likewise.
2342 * rt/Makefile: Likewise.
2343 * setjmp/Makefile: Likewise.
2344 * shadow/Makefile: Likewise.
2345 * signal/Makefile: Likewise.
2346 * socket/Makefile: Likewise.
2347 * soft-fp/Makefile: Likewise.
2348 * stdio-common/Makefile: Likewise.
2349 * stdlib/Makefile: Likewise.
2350 * streams/Makefile: Likewise.
2351 * string/Makefile: Likewise.
2352 * sunrpc/Makefile: Likewise.
2353 (all): Remove target.
2354 * sysvipc/Makefile: Include Makeconfig immediately after defining
2355 subdir.
2356 * termios/Makefile: Likewise.
2357 * time/Makefile: Likewise.
2358 * timezone/Makefile: Likewise.
2359 (all): Remove target.
2360 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2361 subdir.
2362 * wctype/Makefile: Likewise.
2363
23642014-02-26 Steve Ellcey <sellcey@mips.com>
2365
2366 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2367 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2368 (libc_feholdexcept_setround_mips): Ditto.
2369 (libc_feholdsetround): New.
2370 (libc_feholdsetroundf): New.
2371 (libc_feholdsetroundl): New.
2372 (libc_feupdateenv_test_mips): New.
2373 (libc_feupdateenv_test): New.
2374 (libc_feupdateenv_testf): New.
2375 (libc_feupdateenv_testl): New.
2376 (libc_feresetround): New.
2377 (libc_feresetroundf): New.
2378 (libc_feresetroundl): New.
2379 (libc_fetestexcept_mips): New.
2380 (libc_fetestexcept): New.
2381 (libc_fetestexceptf): New.
2382 (libc_fetestexceptl): New.
2383 (HAVE_RM_CTX): New.
2384 (libc_feholdexcept_setround_mips_ctx): New.
2385 (libc_feholdexcept_setround_ctx): New.
2386 (libc_feholdexcept_setroundf_ctx): New.
2387 (libc_feholdexcept_setroundl_ctx): New.
2388 (libc_fesetenv_mips_ctx): New.
2389 (libc_fesetenv_ctx): New.
2390 (libc_fesetenv_ctxf): New.
2391 (libc_fesetenv_ctxl): New.
2392 (libc_feupdateenv_mips_ctx): New.
2393 (libc_feupdateenv_ctx): New.
2394 (libc_feupdateenvf_ctx): New.
2395 (libc_feupdateenvl_ctx): New.
2396 (libc_feholdsetround_mips_ctx): New.
2397 (libc_feholdsetround_ctx): New.
2398 (libc_feholdsetroundf_ctx): New.
2399 (libc_feholdsetroundl_ctx): New.
2400 (libc_feresetround_mips_ctx): New.
2401 (libc_feresetround_ctx): New.
2402 (libc_feresetroundf_ctx): New.
2403 (libc_feresetroundl_ctx): New.
2404
24052014-02-26 Carlos O'Donell <carlos@redhat.com>
2406
2407 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2408
2409 * manual/ipc.texi: New file.
2410 * manual/Makefile (chapters): Add ipc.
2411 * manual/job.texi: Add "Inter-Process Communication" to next.
2412 * manual/process.texi: Add "Inter-Process Communication" to prev.
2413
24142014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2415
2416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2417
24182014-02-26 Ondřej Bílka <neleai@seznam.cz>
2419
2420 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2421
2422 * manual/arith.texi: Fix spaces after sentences.
2423 * manual/charset.texi: Likewise.
2424 * manual/errno.texi: Likewise.
2425 * manual/install.texi: Likewise.
2426 * manual/llio.texi: Likewise.
2427 * manual/locale.texi: Likewise.
2428 * manual/maint.texi: Likewise.
2429 * manual/math.texi: Likewise.
2430 * manual/memory.texi: Likewise.
2431 * manual/message.texi: Likewise.
2432 * manual/probes.texi: Likewise.
2433 * manual/resource.texi: Likewise.
2434 * manual/signal.texi: Likewise.
2435 * manual/socket.texi: Likewise.
2436 * manual/stdio.texi: Likewise.
2437 * manual/string.texi: Likewise.
2438 * manual/time.texi: Likewise.
2439 * manual/users.texi: Likewise.
2440
24412014-02-25 Carlos O'Donell <carlos@redhat.com>
2442
2443 [BZ #16632]
2444 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2445 _DEFAULT_SOURCE is defined.
2446
24472014-02-25 Ulrich Drepper <drepper@gmail.com>
2448 Carlos O'Donell <carlos@redhat.com>
2449
2450 [BZ #16613]
2451 * elf/dl-tls.c (_dl_count_modids): New function.
2452 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2453 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2454 audit library and increment generation counter.
2455 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2456 * elf/tst-audit9.c: New file.
2457 * elf/tst-auditmod9a.c: New file.
2458 * elf/tst-auditmod9b.c: New file.
2459 * elf/Makefile: Add rules to build and run tst-audit9.
2460
24612014-02-25 Florian Weimer <fweimer@redhat.com>
2462
2463 [BZ #15347]
2464 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2465
24662014-02-25 Will Newton <will.newton@linaro.org>
2467
2468 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2469 (__longjmp): Restore sp and lr before restoring callee
2470 saved registers. Add longjmp and longjmp_target
2471 SystemTap probe point.
2472 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2473 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2474 Define to zero to match jmpbuf layout.
2475 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2476 (__sigsetjmp): Save sp and lr before saving callee
2477 saved registers. Add setjmp SystemTap probe point.
2478
24792014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2480
2481 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2482
24832014-02-24 Andreas Schwab <schwab@suse.de>
2484
2485 [BZ #15804]
2486 * elf/pldd.c (wait_for_ptrace_stop): New function.
2487 (main): Call it after attaching.
2488
24892014-02-22 Roland McGrath <roland@hack.frob.com>
2490
2491 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2492 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2493 Versions files is now verboten.
2494 * hurd/Versions (libc: GLIBC_2.0):
2495 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2496 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2497 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2498 * mach/Versions: Likewise.
2499
2500 * csu/Versions: Remove unused %include.
2501 * resolv/Versions: Likewise.
2502
25032014-02-21 Joseph Myers <joseph@codesourcery.com>
2504
2505 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2506 ($(objpfx)check-local-headers.out): Likewise.
2507 ($(objpfx)begin-end-check.out): Likewise.
2508 * Makerules (check-abi-%.out): Likewise.
2509 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2510 ($(objpfx)test2.cat): Likewise.
2511 ($(objpfx)de/libc.cat): Likewise.
2512 ($(objpfx)test-gencat.out): Likewise.
2513 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2514 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2515 ($(objpfx)noload-mem): Likewise.
2516 ($(objpfx)tst-pathopt.out): Likewise.
2517 ($(objpfx)tst-rtld-load-self.out): Likewise.
2518 ($(objpfx)tst-array1-cmp.out): Likewise.
2519 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2520 ($(objpfx)tst-array2-cmp.out): Likewise.
2521 ($(objpfx)tst-array3-cmp.out): Likewise.
2522 ($(objpfx)tst-array4-cmp.out): Likewise.
2523 ($(objpfx)tst-array5-cmp.out): Likewise.
2524 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2525 ($(objpfx)check-textrel.out): Likewise.
2526 ($(objpfx)check-execstack.out): Likewise.
2527 ($(objpfx)check-localplt.out): Likewise.
2528 ($(objpfx)order2-cmp.out): Likewise.
2529 ($(objpfx)tst-leaks1-mem): Likewise.
2530 ($(objpfx)tst-leaks1-static-mem): Likewise.
2531 ($(objpfx)tst-initorder-cmp.out): Likewise.
2532 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2533 ($(objpfx)tst-unused-dep.out): Likewise.
2534 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2535 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2536 * iconv/Makefile (test-iconvconfig): Likewise.
2537 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2538 ($(objpfx)iconv-test.out): Likewise.
2539 ($(objpfx)tst-tables.out): Likewise.
2540 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2541 ($(objpfx)tst-gettext.out): Likewise.
2542 ($(objpfx)tst-translit.out): Likewise.
2543 ($(objpfx)tst-gettext2.out): Likewise.
2544 ($(objpfx)tst-gettext4.out): Likewise.
2545 ($(objpfx)tst-gettext6.out): Likewise.
2546 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2547 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2548 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2549 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2550 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2551 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2552 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2553 ($(objpfx)wordexp-tst.out): Likewise.
2554 ($(objpfx)annexc.out): Likewise.
2555 ($(objpfx)tst-fnmatch-mem): Likewise.
2556 ($(objpfx)bug-regex2-mem): Likewise.
2557 ($(objpfx)bug-regex14-mem): Likewise.
2558 ($(objpfx)bug-regex21-mem): Likewise.
2559 ($(objpfx)bug-regex31-mem): Likewise.
2560 ($(objpfx)tst-vfork3-mem): Likewise.
2561 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2562 ($(objpfx)tst-pcre-mem): Likewise.
2563 ($(objpfx)tst-boost-mem): Likewise.
2564 ($(objpfx)tst-getconf.out): Likewise.
2565 ($(objpfx)bug-ga2-mem): Likewise.
2566 ($(objpfx)bug-glob2-mem): Likewise.
2567 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2568 ($(objpfx)mtrace-tst-leaks2): Likewise.
2569 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2570 ($(objpfx)tst-printf.out): Likewise.
2571 ($(objpfx)tst-setvbuf1.out): Likewise.
2572 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2573 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2574 ($(objpfx)tst-fmtmsg.out): Likewise.
2575 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2576 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2577
2578 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2579 * bits/sigaction.h [__USE_MISC]: Likewise.
2580 * bits/waitstatus.h: Update #endif comments.
2581 * ctype/ctype.h: Likewise.
2582 * dirent/dirent.h: Likewise.
2583 [__USE_MISC]: Remove redundant conditionals.
2584 * grp/grp.h: Update #endif comments.
2585 [__USE_GNU]: Remove redundant conditionals.
2586 [__USE_MISC]: Likewise.
2587 * inet/netinet/in.h [__USE_GNU]: Likewise.
2588 * io/sys/stat.h [__USE_MISC]: Likewise.
2589 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2590 * libio/bits/stdio.h: Update #endif comments.
2591 [__USE_MISC]: Remove redundant conditionals.
2592 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2593 * libio/stdio.h: Update #endif comments.
2594 [__USE_MISC]: Remove redundant conditionals.
2595 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2596 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2597 * math/math.h: Update #else and #endif comments.
2598 [__USE_MISC]: Remove redundant conditionals.
2599 * misc/sys/uio.h: Update #endif comments.
2600 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2601 * posix/glob.h [__USE_MISC]: Likewise.
2602 * posix/sys/types.h: Update #endif comments.
2603 [__USE_MISC]: Remove redundant conditionals.
2604 * posix/sys/wait.h: Update #endif comments.
2605 [__USE_MISC]: Remove redundant conditionals.
2606 * posix/unistd.h: Update #endif comments.
2607 [__USE_MISC]: Remove redundant conditionals.
2608 * pwd/pwd.h [__USE_GNU]: Likewise.
2609 [__USE_MISC]: Likewise.
2610 * resolv/netdb.h [__USE_GNU]: Likewise.
2611 * signal/signal.h: Update #endif comments.
2612 [__USE_MISC]: Remove redundant conditionals.
2613 * stdlib/stdlib.h: Update #else and #endif comments.
2614 [__USE_MISC]: Remove redundant conditionals.
2615 [__USE_GNU]: Likewise.
2616 * string/bits/string2.h [__USE_MISC]: Likewise.
2617 * string/string.h: Update #endif comments.
2618 [__USE_MISC]: Remove redundant conditionals.
2619 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2620 Likewise.
2621 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2622 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2623 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2624 Likewise.
2625 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2626 Likewise.
2627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2628 comments.
2629 [__USE_MISC]: Remove redundant conditionals.
2630 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2631 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2632 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2633 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2634 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2635 Likewise.
2636 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2637 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2638 Likewise.
2639 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2640 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2641 Likewise.
2642 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2643 Likewise.
2644 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2645 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2646 Likewise.
2647 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2648 Likewise.
2649 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2650 * sysdeps/x86/bits/string.h: Update #endif comments.
2651 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2652 conditionals.
2653 * time/sys/time.h: Update #endif comments.
2654 * time/time.h: Likewise.
2655 [__USE_MISC]: Remove redundant conditionals.
2656
26572014-02-21 Yury Gribov <y.gribov@samsung.com>
2658
2659 [BZ #16600]
2660 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2661
26622014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2663
2664 * Versions.def (librt): Add GLIBC_2.17.
2665
26662014-02-21 Adam Conrad <adconrad@0c3.net>
2667
2668 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2669 synonym for _SYS_AUXV_H to allow direct inclusion.
2670 * sysdeps/sparc/bits/hwcap.h: Likewise.
2671 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2672 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2673 * sysdeps/sparc/sysdep.h: Likewise.
2674
26752014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2676
2677 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2678
26792014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2680
2681 * benchtests/bench-strrchr.c: Print length instead of position.
2682
26832014-02-20 Joseph Myers <joseph@codesourcery.com>
2684
2685 [BZ #16611]
2686 * sysdeps/unix/sysv/linux/kernel-features.h
2687 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2688 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2689 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2690 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2691 Likewise.
2692 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2693 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2694 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2695 (__ASSUME_SENDMMSG): Define instead of using previous
2696 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2697 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2698 (__ASSUME_SENDMMSG_SYSCALL): Define.
2699 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2700 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2701 Likewise.
2702 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2703 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2704 Likewise.
2705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2706 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2707 Likewise.
2708 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2709 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2710 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2711 [__ASSUME_SENDMMSG]: Change conditionals to
2712 [__ASSUME_SENDMMSG_SOCKETCALL].
2713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2714 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2715 Define.
2716 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2717 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2718 Likewise.
2719 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2720 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2721 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2722 [!__ASSUME_SENDMMSG]: Change conditional to
2723 [!__ASSUME_SENDMMSG_SOCKETCALL].
2724 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2725 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2726 Define.
2727
2728 [BZ #16610]
2729 * sysdeps/unix/sysv/linux/kernel-features.h
2730 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2731 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2732 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2733 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2734 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2735 [__i386__ || __sparc__]
2736 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2737 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2738 (__ASSUME_RECVMMSG): Define instead of using previous
2739 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2741 (__ASSUME_RECVMMSG_SYSCALL): Define.
2742 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2743 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2744 Likewise.
2745 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2747 Likewise.
2748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2749 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2750 Likewise.
2751 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2752 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2753 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2754 [__ASSUME_RECVMMSG]: Change condition to
2755 [__ASSUME_RECVMMSG_SOCKETCALL].
2756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2757 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2758 Define.
2759 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2760 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2761 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2762 Likewise.
2763 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2764 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2765 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2766 [!__ASSUME_RECVMMSG]: Change condition to
2767 [!__ASSUME_RECVMMSG_SOCKETCALL].
2768 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2769 (__ASSUME_RECVMMSG_SYSCALL): Define.
2770
2771 [BZ #16609]
2772 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2773 __powerpc__ || __s390__ || __sh__ || __sparc__]
2774 (__ASSUME_SOCKETCALL): Define.
2775 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2776 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2777 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2778 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2779 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2780 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2781 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2782 (__ASSUME_ACCEPT4): Define instead of using previous
2783 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2784 __powerpc__ || __sparc__ || __s390__)] condition.
2785 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2786 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2787 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2788 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2789 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2790 [!__ASSUME_ACCEPT4]: Change condition to
2791 [!__ASSUME_ACCEPT4_SOCKETCALL].
2792 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2793 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2794 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2795 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2796 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2797 __ASSUME_ACCEPT4_SYSCALL.
2798 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2799 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2800 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2801 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2802 __ASSUME_ACCEPT4_SYSCALL.
2803 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2804 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2805 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2806 [__ASSUME_ACCEPT4]: Change condition to
2807 [__ASSUME_ACCEPT4_SOCKETCALL].
2808 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2809 (__ASSUME_SOCKETCALL): Define.
2810 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2811 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2812 (__ASSUME_SOCKETCALL): Define.
2813 (__ASSUME_ACCEPT4): Remove.
2814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2815 Define.
2816 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2817 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2818 Likewise.
2819 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2821
2822 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2823 macro.
2824 (HWCAP_ARM_LPAE): Likewise.
2825 (HWCAP_ARM_EVTSTRM): Likewise.
2826 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2827 Add vpfd32, lpae and evtstrm.
2828 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2829 Increase to 22.
2830
28312014-02-19 Joseph Myers <joseph@codesourcery.com>
2832
2833 * math/auto-libm-test-in: Add tests of clog10.
2834 * math/auto-libm-test-out: Regenerated.
2835 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2836 * sysdeps/i386/fpu/libm-test-ulps: Update.
2837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2838
28392014-02-18 Andreas Schwab <schwab@suse.de>
2840
2841 [BZ #16574]
2842 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2843 Store non-zero if the second buffer was newly allocated.
2844 (send_dg): Likewise.
2845 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2846 to send_vc and send_dg.
2847 (res_nsend): Pass NULL for ansp2_malloced.
2848 * resolv/res_query.c (__libc_res_nquery): Add parameter
2849 answerp2_malloced and pass it down to __libc_res_nsend.
2850 (res_nquery): Pass additional NULL to __libc_res_nquery.
2851 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2852 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2853 second answer buffer if answerp2_malloced was set.
2854 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2855 (__libc_res_nquerydomain): Add parameter
2856 answerp2_malloced and pass it down to __libc_res_nquery.
2857 (res_nquerydomain): Pass additional NULL to
2858 __libc_res_nquerydomain.
2859 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2860 additional NULL to __libc_res_nsend and __libc_res_nquery.
2861 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2862 additional NULL to __libc_res_nsearch.
2863 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2864 parameter of __libc_res_nsearch to check for separately allocated
2865 second buffer.
2866 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2867 __libc_res_nquery.
2868 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2869 additional NULL to __libc_res_nquery.
2870 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2871 __libc_res_nsearch.
2872 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2873 * include/resolv.h: Update prototypes of __libc_res_nquery,
2874 __libc_res_nsearch, __libc_res_nsend.
2875
28762014-02-18 Joseph Myers <joseph@codesourcery.com>
2877
2878 * math/auto-libm-test-in: Add tests of fma.
2879 * math/auto-libm-test-out: Regenerated.
2880 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2881 (fma_towardzero_test_data): Likewise.
2882 (fma_downward_test_data): Likewise.
2883 (fma_upward_test_data): Likewise.
2884 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2885 mpc_mode.
2886 (rounding_modes): Add values for new field.
2887 (func_calc_method): Add value mpfr_fff_f.
2888 (func_calc_desc): Add mpfr_fff_f union field.
2889 (test_function): Add field exact_args.
2890 (FUNC): Add macro argument EXACT_ARGS.
2891 (FUNC_mpfr_f_f): Update call to FUNC.
2892 (FUNC_mpfr_f_f): Likewise.
2893 (FUNC_mpfr_ff_f): Likewise.
2894 (FUNC_mpfr_if_f): Likewise.
2895 (FUNC_mpc_c_f): Likewise.
2896 (FUNC_mpc_c_c): Likewise.
2897 (test_functions): Add fma. Update calls to FUNC.
2898 (handle_input_arg): Add argument exact_args.
2899 (add_test): Update call to handle_input_arg.
2900 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2901 (output_for_one_input_case): Update call to calc_generic_results.
2902 Recalculate exact zero results in each rounding mode.
2903
2904 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2905 non-negative before setting low bit.
2906 * math/auto-libm-test-in: Mark one asin test possibly having
2907 spurious underflow.
2908 * math/auto-libm-test-out: Regenerated.
2909 * sysdeps/i386/fpu/libm-test-ulps: Update.
2910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2911
29122014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2913
2914 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2915 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2916 ports/sysdeps/unix/sysv/linux/microblaze.
2917 * README: Add missing listing for microblaze*-*-linux-gnu.
2918
29192014-02-16 Mike Frysinger <vapier@gentoo.org>
2920
2921 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2922 * sysdeps/unix/sysv/linux/ia64: Move directory from
2923 ports/sysdeps/unix/sysv/linux/ia64.
2924 * README: Update listing for ia64-*-linux-gnu.
2925
29262014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2927 Joseph Myers <joseph@codesourcery.com>
2928
2929 * Makeconfig (test-name): New variable.
2930 (evaluate-test): Likewise.
2931 * Makerules (do-test-clean): Remove .test-result files.
2932 (common-mostlyclean): Likewise.
2933 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2934 * scripts/evaluate-test.sh: New file.
2935
29362014-02-14 Joseph Myers <joseph@codesourcery.com>
2937
2938 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2939 separate $(objpfx)tst-fopenloc-cmp.out and
2940 $(objpfx)tst-fopenloc-mem.out targets.
2941 (tests): Update dependencies.
2942 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2943 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2944 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2945 (tst-rxspencer-no-utf8-ARGS): New variable.
2946 (tst-rxspencer-no-utf8-ENV): Likewise.
2947 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2948 instead of $(objpfx)tst-rxspencer-mem.
2949 ($(objpfx)tst-rxspencer-mem): Change target to
2950 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2951 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2952 * posix/tst-rxspencer-no-utf8.c: New file.
2953
2954 * elf/Makefile ($(objpfx)order.out): Remove rule.
2955 [$(run-built-tests) = yes] (tests): Depend on
2956 $(objpfx)order-cmp.out.
2957 ($(objpfx)order-cmp.out): New rule.
2958 [$(run-built-tests) = yes] (tests): Depend on
2959 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2960 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2961 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2962 $(objpfx)tst-array5-static-cmp.out.
2963 ($(objpfx)tst-array1.out): Remove rule.
2964 ($(objpfx)tst-array1-cmp.out): New rule.
2965 ($(objpfx)tst-array1-static.out): Remove rule.
2966 ($(objpfx)tst-array1-static-cmp.out): New rule.
2967 ($(objpfx)tst-array2.out): Remove rule.
2968 ($(objpfx)tst-array2-cmp.out): New rule.
2969 ($(objpfx)tst-array3.out): Remove rule.
2970 ($(objpfx)tst-array3-cmp.out): New rule.
2971 ($(objpfx)tst-array4.out): Remove rule.
2972 ($(objpfx)tst-array4-cmp.out): New rule.
2973 ($(objpfx)tst-array5.out): Remove rule.
2974 ($(objpfx)tst-array5-cmp.out): New rule.
2975 ($(objpfx)tst-array5-static.out): Remove rule.
2976 ($(objpfx)tst-array5-static-cmp.out): New rule.
2977 [$(run-built-tests) = yes] (tests): Depend on
2978 $(objpfx)order2-cmp.out.
2979 ($(objpfx)order2.out): Remove rule.
2980 ($(objpfx)order2-cmp.out): New rule.
2981 ($(objpfx)tst-initorder.out): Remove rule.
2982 [$(run-built-tests) = yes] (tests): Depend on
2983 $(objpfx)tst-initorder-cmp.out.
2984 ($(objpfx)tst-initorder-cmp.out): New rule.
2985 ($(objpfx)tst-initorder2.out): Remove rule.
2986 [$(run-built-tests) = yes] (tests): Depend on
2987 $(objpfx)tst-initorder2-cmp.out.
2988 ($(objpfx)tst-initorder2-cmp.out): New rule.
2989 [$(run-built-tests) = yes] (tests): Depend on
2990 $(objpfx)tst-unused-dep-cmp.out.
2991 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2992 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2993 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2994 on $(objpfx)tst-setvbuf1-cmp.out.
2995 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2996 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2997 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2998 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2999 ($(objpfx)tst-svc.out): Remove rule.
3000 ($(objpfx)tst-svc-cmp.out): New rule.
3001
30022014-02-13 Joseph Myers <joseph@codesourcery.com>
3003
3004 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3005 * ctype/ctype.h [__USE_MISC]: Likewise.
3006 * dirent/dirent.h [__USE_MISC]: Likewise.
3007 * grp/grp.h [__USE_MISC]: Likewise.
3008 * io/fcntl.h [__USE_MISC]: Likewise.
3009 * io/sys/stat.h [__USE_MISC]: Likewise.
3010 * libio/stdio.h [__USE_MISC]: Likewise.
3011 * posix/unistd.h [__USE_MISC]: Likewise.
3012 * pwd/pwd.h [__USE_MISC]: Likewise.
3013 * stdlib.h [__USE_MISC]: Likewise.
3014 * string/bits/string2.h [__USE_MISC]: Likewise.
3015 * string/string.h [__USE_MISC]: Likewise.
3016 * time/time.h [__USE_MISC]: Likewise.
3017
30182014-02-13 Andreas Schwab <schwab@suse.de>
3019
3020 [BZ #16574]
3021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3022 second answer buffer if it was separately allocated.
3023
30242014-02-12 Joseph Myers <joseph@codesourcery.com>
3025
3026 * sysdeps/mips/math-tests.h: Include <features.h>.
3027 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3028 (ROUNDING_TESTS_long_double): Do not define.
3029 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3030 (EXCEPTION_TESTS_long_double): Likewise.
3031 * sysdeps/mips/mips64/libm-test-ulps: Update.
3032
3033 * include/features.h (__USE_BSD): Remove macro definitions.
3034 (__USE_SVID): Likewise.
3035 (_BSD_SOURCE): Likewise.
3036 (_SVID_SOURCE): Likewise.
3037 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3038 from definition of _DEFAULT_SOURCE.
3039 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3040 [_DEFAULT_SOURCE].
3041 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3042 * bits/mman.h [__USE_BSD]: Likewise.
3043 * bits/termios.h [__USE_BSD]: Likewise.
3044 * bits/waitstatus.h [__USE_BSD]: Likewise.
3045 * ctype/ctype.h [__USE_SVID]: Likewise.
3046 * dirent/dirent.h [__USE_BSD]: Likewise.
3047 * grp/grp.h [__USE_SVID]: Likewise.
3048 [__USE_BSD]: Likewise.
3049 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3050 * io/fcntl.h [__USE_BSD]: Likewise.
3051 * io/ftw.h [__USE_BSD]: Likewise.
3052 * io/sys/stat.h [__USE_BSD]: Likewise.
3053 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3054 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3055 * libio/stdio.h [__USE_SVID]: Likewise.
3056 [__USE_BSD]: Likewise.
3057 * math/math.h [__USE_SVID]: Likewise.
3058 [__USE_BSD]: Likewise.
3059 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3060 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3061 * misc/search.h [__USE_SVID]: Likewise.
3062 * misc/sys/mman.h [__USE_BSD]: Likewise.
3063 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3064 * misc/sys/uio.h [__USE_BSD]: Likewise.
3065 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3066 * posix/glob.h [__USE_BSD]: Likewise.
3067 * posix/regex.h [__USE_BSD]: Likewise.
3068 * posix/sys/types.h [__USE_BSD]: Likewise.
3069 [__USE_SVID]: Likewise.
3070 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3071 * posix/sys/wait.h [__USE_BSD]: Likewise.
3072 [__USE_SVID]: Likewise.
3073 * posix/unistd.h [__USE_BSD]: Likewise.
3074 [__USE_SVID]: Likewise.
3075 * pwd/pwd.h [__USE_SVID]: Likewise.
3076 * resolv/netdb.h [__USE_BSD]: Likewise.
3077 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3078 * signal/signal.h [__USE_BSD]: Likewise.
3079 [__USE_SVID]: Likewise.
3080 * socket/sys/socket.h [__USE_BSD]: Likewise.
3081 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3082 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3083 [__USE_SVID]: Likewise.
3084 * string/bits/string2.h [__USE_BSD]: Likewise.
3085 [__USE_SVID]: Likewise.
3086 * string/bits/string3.h [__USE_BSD]: Likewise.
3087 * string/endian.h [__USE_BSD]: Likewise.
3088 * string/string.h [__USE_SVID]: Likewise.
3089 [__USE_BSD]: Likewise.
3090 * string/strings.h [__USE_BSD]: Likewise.
3091 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3092 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3093 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3094 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3095 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3096 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3097 Likewise.
3098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3099 Likewise.
3100 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3101 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3102 Likewise.
3103 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3104 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3105 Likewise.
3106 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3107 Likewise.
3108 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3109 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3111 Likewise.
3112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3113 Likewise.
3114 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3115 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3116 * termios/termios.h [__USE_BSD]: Likewise.
3117 * time/sys/time.h [__USE_BSD]: Likewise.
3118 * time/time.h [__USE_BSD]: Likewise.
3119 [__USE_SVID]: Likewise.
3120
3121 * Makefile (subdir_targets): Remove subdir_lint.out.
3122
3123 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3124 (do-tst-printf): Likewise.
3125 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3126 $(objpfx)tst-printf.out.
3127
3128 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3129
3130 * Makerules (check-abi-%): Change target to
3131 $(objpfx)check-abi-%.out.
3132 (check-abi target): Update dependencies.
3133 (check-abi-pattern variable): Redirect output of diff to $@.
3134 (check-abi variable): Likewise.
3135 * elf/Makefile (check-abi): Update dependencies.
3136
3137 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3138 unused.
3139 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3140 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3141 subnormal range.
3142 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3143 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3144 value has largest subnormal exponent.
3145 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3146 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3147 * sysdeps/aarch64/soft-fp/sfp-machine.h
3148 (_FP_TININESS_AFTER_ROUNDING): New macro.
3149 * sysdeps/alpha/soft-fp/sfp-machine.h
3150 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3151 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3152 Likewise.
3153 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3155 * sysdeps/mips/soft-fp/sfp-machine.h
3156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3157 * sysdeps/powerpc/soft-fp/sfp-machine.h
3158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3159 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3160 Likewise.
3161 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3165 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3166 Likewise.
3167
31682014-02-12 Dylan Alex Simon <dylan@dylex.net>
3169
3170 [BZ #16545]
3171 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3172 model 1.
3173
31742014-02-12 Richard Henderson <rth@redhat.com>
3175
3176 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3177 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3178 * sysdeps/unix/sysv/linux/alpha: Move directory from
3179 ports/sysdeps/unix/sysv/linux/alpha.
3180 * README: Update listing for alpha-*-linux-gnu.
3181
31822014-02-11 Joseph Myers <joseph@codesourcery.com>
3183
3184 * include/features.h: Update comment documenting feature test
3185 macros.
3186 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3187 _DEFAULT_SOURCE.
3188 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3189 (_SVID_SOURCE): Likewise.
3190 (_DEFAULT_SOURCE): Update description of default features.
3191 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3192 with _GNU_SOURCE.
3193 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3194 (S_ISVTX): Likewise.
3195 * manual/math.texi (Mathematical Constants): Likewise.
3196 * manual/signal.texi (Interrupted Primitives): Likewise.
3197 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3198 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3199 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3200 Don't refer to _SVID_SOURCE in warning text.
3201
3202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3203
3204 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3205 already defined.
3206 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3207 * sysdeps/mips/dl-lookup.c: Remove.
3208 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3209
32102014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3211
3212 [BZ #16447]
3213 * math/auto-libm-test-in: Add testcase for expl.
3214 * math/auto-libm-test-out: Regenerate.
3215 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3216 calculation of unsafe.
3217 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3218
32192014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3220
3221 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3222 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3223 ports/sysdeps/unix/sysv/linux/aarch64.
3224 * README: Update listing for aarch64*-*-linux-gnu.
3225
32262014-02-11 Will Newton <will.newton@linaro.org>
3227
3228 * manual/probes.texi (Mathematical Function Probes): Use
3229 "triggered" instead of "hit".
3230
32312014-02-11 Will Newton <will.newton@linaro.org>
3232
3233 * manual/probes.texi (Internal Probes): Add documentation
3234 of setjmp, longjmp and longjmp_target probes.
3235
32362014-02-11 Will Newton <will.newton@linaro.org>
3237
3238 * include/stap-probe.h: Add comment about probe argument
3239 format.
3240
32412014-02-11 Will Newton <will.newton@linaro.org>
3242
3243 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3244 definition. (tr_where, tr_freehook, tr_mallochook,
3245 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3246
32472014-02-11 David S. Miller <davem@davemloft.net>
3248
3249 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3250 processing int_tests.
3251
32522014-02-10 Joseph Myers <joseph@codesourcery.com>
3253
3254 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3255 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3256 * sysdeps/unix/sysv/linux/mips: Move directory from
3257 ports/sysdeps/unix/sysv/linux/mips.
3258 * README: Update listing for mips-*-linux-gnu and
3259 mips64-*-linux-gnu.
3260
32612014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3262
3263 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3264 * sysdeps/unix/sysv/linux/m68k: Move directory from
3265 ports/sysdeps/unix/sysv/linux/m68k.
3266 * README: Update listing for m68k-*-linux-gnu.
3267
32682014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3269
3270 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3271 * sysdeps/unix/sysv/linux/generic: Move directory from
3272 ports/sysdeps/unix/sysv/linux/generic.
3273 * sysdeps/unix/sysv/linux/tile: Move directory from
3274 ports/sysdeps/unix/sysv/linux/tile.
3275 * README: Update listing for tile*-*-linux-gnu.
3276
32772014-02-10 Ondřej Bílka <neleai@seznam.cz>
3278
3279 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3280 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3281 * catgets/open_catalog.c (__open_catalog): Likewise.
3282 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3283 * debug/confstr_chk.c: Likewise.
3284 * debug/fread_chk.c (__fread_chk): Likewise.
3285 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3286 * debug/getgroups_chk.c: Likewise.
3287 * debug/mbsnrtowcs_chk.c: Likewise.
3288 * debug/mbsrtowcs_chk.c: Likewise.
3289 * debug/mbstowcs_chk.c: Likewise.
3290 * debug/memcpy_chk.c: Likewise.
3291 * debug/memmove_chk.c: Likewise.
3292 * debug/mempcpy_chk.c: Likewise.
3293 * debug/memset_chk.c: Likewise.
3294 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3295 * debug/strcat_chk.c (__strcat_chk): Likewise.
3296 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3297 * debug/strncat_chk.c (__strncat_chk): Likewise.
3298 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3299 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3300 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3301 * debug/wcpncpy_chk.c: Likewise.
3302 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3303 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3304 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3305 * debug/wcsncpy_chk.c: Likewise.
3306 * debug/wcsnrtombs_chk.c: Likewise.
3307 * debug/wcsrtombs_chk.c: Likewise.
3308 * debug/wcstombs_chk.c: Likewise.
3309 * debug/wmemcpy_chk.c: Likewise.
3310 * debug/wmemmove_chk.c: Likewise.
3311 * debug/wmempcpy_chk.c: Likewise.
3312 * debug/wmemset_chk.c: Likewise.
3313 * dirent/scandirat.c (SCANDIRAT): Likewise.
3314 * dlfcn/dladdr1.c (dladdr1): Likewise.
3315 * dlfcn/dladdr.c (dladdr): Likewise.
3316 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3317 * dlfcn/dlerror.c (__dlerror): Likewise.
3318 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3319 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3320 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3321 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3322 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3323 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3324 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3325 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3326 Likewise.
3327 * elf/dl-conflict.c: Likewise.
3328 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3329 * elf/dl-dst.h: Likewise.
3330 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3331 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3332 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3333 * elf/dl-init.c (call_init, _dl_init): Likewise.
3334 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3335 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3336 _dl_map_object_from_fd, open_verify, open_path,
3337 _dl_map_object): Likewise.
3338 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3339 Likewise.
3340 * elf/dl-minimal.c (__libc_memalign): Likewise.
3341 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3342 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3343 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3344 * elf/dl-sym.c (do_sym): Likewise.
3345 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3346 _dl_tls_get_addr_soft): Likewise.
3347 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3348 * elf/dl-writev.h (_dl_writev): Likewise.
3349 * elf/ldconfig.c (search_dir): Likewise.
3350 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3351 dl_main): Likewise.
3352 * elf/setup-vdso.h (setup_vdso): Likewise.
3353 * grp/compat-initgroups.c (compat_call): Likewise.
3354 * grp/fgetgrent.c (fgetgrent): Likewise.
3355 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3356 * grp/putgrent.c (putgrent): Likewise.
3357 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3358 Likewise.
3359 * hurd/hurdinit.c: Likewise.
3360 * iconvdata/8bit-gap.c (struct): Likewise.
3361 * iconvdata/ansi_x3.110.c : Likewise.
3362 * iconvdata/big5.c : Likewise.
3363 * iconvdata/big5hkscs.c : Likewise.
3364 * iconvdata/cp1255.c: Likewise.
3365 * iconvdata/cp1258.c : Likewise.
3366 * iconvdata/cp932.c : Likewise.
3367 * iconvdata/euc-cn.c: Likewise.
3368 * iconvdata/euc-jisx0213.c : Likewise.
3369 * iconvdata/euc-jp.c: Likewise.
3370 * iconvdata/euc-jp-ms.c : Likewise.
3371 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3372 * iconvdata/gb18030.c : Likewise.
3373 * iconvdata/gbbig5.c (const): Likewise.
3374 * iconvdata/gbgbk.c: Likewise.
3375 * iconvdata/gbk.c : Likewise.
3376 * iconvdata/ibm1364.c : Likewise.
3377 * iconvdata/ibm930.c : Likewise.
3378 * iconvdata/ibm932.c: Likewise.
3379 * iconvdata/ibm933.c : Likewise.
3380 * iconvdata/ibm935.c : Likewise.
3381 * iconvdata/ibm937.c : Likewise.
3382 * iconvdata/ibm939.c : Likewise.
3383 * iconvdata/ibm943.c: Likewise.
3384 * iconvdata/iso_11548-1.c: Likewise.
3385 * iconvdata/iso-2022-cn.c : Likewise.
3386 * iconvdata/iso-2022-cn-ext.c : Likewise.
3387 * iconvdata/iso-2022-jp-3.c: Likewise.
3388 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3389 * iconvdata/iso-2022-kr.c : Likewise.
3390 * iconvdata/iso646.c (gconv_end): Likewise.
3391 * iconvdata/iso_6937-2.c : Likewise.
3392 * iconvdata/iso_6937.c : Likewise.
3393 * iconvdata/iso8859-1.c: Likewise.
3394 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3395 * iconvdata/shift_jisx0213.c : Likewise.
3396 * iconvdata/sjis.c : Likewise.
3397 * iconvdata/t.61.c : Likewise.
3398 * iconvdata/tcvn5712-1.c : Likewise.
3399 * iconvdata/tscii.c: Likewise.
3400 * iconvdata/uhc.c : Likewise.
3401 * iconvdata/unicode.c (gconv_end): Likewise.
3402 * iconvdata/utf-16.c (gconv_end): Likewise.
3403 * iconvdata/utf-32.c (gconv_end): Likewise.
3404 * iconvdata/utf-7.c (base64): Likewise.
3405 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3406 * iconv/gconv_close.c (__gconv_close): Likewise.
3407 * iconv/gconv_open.c (__gconv_open): Likewise.
3408 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3409 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3410 internal_ucs4le_loop_single, ucs4le_internal_loop,
3411 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3412 * iconv/iconv.c (iconv): Likewise.
3413 * iconv/iconv_close.c: Likewise.
3414 * iconv/loop.c (SINGLE): Likewise.
3415 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3416 * include/atomic.h: Likewise.
3417 * inet/inet6_option.c (option_alloc): Likewise.
3418 * intl/bindtextdom.c (set_binding_values): Likewise.
3419 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3420 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3421 * intl/localealias.c (read_alias_file): Likewise.
3422 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3423 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3424 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3425 * libio/fmemopen.c (fmemopen): Likewise.
3426 * libio/iofgets.c (_IO_fgets): Likewise.
3427 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3428 * libio/iofgetws.c (fgetws): Likewise.
3429 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3430 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3431 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3432 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3433 * locale/findlocale.c (_nl_find_locale): Likewise.
3434 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3435 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3436 Likewise.
3437 * locale/setlocale.c (setlocale): Likewise.
3438 * login/programs/pt_chown.c (main): Likewise.
3439 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3440 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3441 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3442 mmap, mmap64, mremap, munmap): Likewise.
3443 * math/e_exp2l.c: Likewise.
3444 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3445 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3446 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3447 * math/s_catan.c (__catan): Likewise.
3448 * math/s_catanf.c (__catanf): Likewise.
3449 * math/s_catanh.c (__catanh): Likewise.
3450 * math/s_catanhf.c (__catanhf): Likewise.
3451 * math/s_catanhl.c (__catanhl): Likewise.
3452 * math/s_catanl.c (__catanl): Likewise.
3453 * math/s_ccosh.c (__ccosh): Likewise.
3454 * math/s_ccoshf.c (__ccoshf): Likewise.
3455 * math/s_ccoshl.c (__ccoshl): Likewise.
3456 * math/s_cexp.c (__cexp): Likewise.
3457 * math/s_cexpf.c (__cexpf): Likewise.
3458 * math/s_cexpl.c (__cexpl): Likewise.
3459 * math/s_clog10.c (__clog10): Likewise.
3460 * math/s_clog10f.c (__clog10f): Likewise.
3461 * math/s_clog10l.c (__clog10l): Likewise.
3462 * math/s_clog.c (__clog): Likewise.
3463 * math/s_clogf.c (__clogf): Likewise.
3464 * math/s_clogl.c (__clogl): Likewise.
3465 * math/s_csin.c (__csin): Likewise.
3466 * math/s_csinf.c (__csinf): Likewise.
3467 * math/s_csinh.c (__csinh): Likewise.
3468 * math/s_csinhf.c (__csinhf): Likewise.
3469 * math/s_csinhl.c (__csinhl): Likewise.
3470 * math/s_csinl.c (__csinl): Likewise.
3471 * math/s_csqrt.c (__csqrt): Likewise.
3472 * math/s_csqrtf.c (__csqrtf): Likewise.
3473 * math/s_csqrtl.c (__csqrtl): Likewise.
3474 * math/s_ctan.c (__ctan): Likewise.
3475 * math/s_ctanf.c (__ctanf): Likewise.
3476 * math/s_ctanh.c (__ctanh): Likewise.
3477 * math/s_ctanhf.c (__ctanhf): Likewise.
3478 * math/s_ctanhl.c (__ctanhl): Likewise.
3479 * math/s_ctanl.c (__ctanl): Likewise.
3480 * math/w_pow.c: Likewise.
3481 * math/w_powf.c: Likewise.
3482 * math/w_powl.c: Likewise.
3483 * math/w_scalb.c (sysv_scalb): Likewise.
3484 * math/w_scalbf.c (sysv_scalbf): Likewise.
3485 * math/w_scalbl.c (sysv_scalbl): Likewise.
3486 * misc/error.c (error_tail): Likewise.
3487 * misc/pselect.c (__pselect): Likewise.
3488 * nis/nis_callback.c (__nis_create_callback): Likewise.
3489 * nis/nis_call.c (__nisfind_server): Likewise.
3490 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3491 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3492 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3493 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3494 * nis/nis_lookup.c (nis_lookup): Likewise.
3495 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3496 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3497 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3498 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3499 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3500 internal_getgrgid_r): Likewise.
3501 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3502 Likewise.
3503 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3504 internal_getpwuid_r): Likewise.
3505 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3506 internal_getspnam_r): Likewise.
3507 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3508 _nss_nis_getaliasbyname_r): Likewise.
3509 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3510 _nss_nis_getntohost_r): Likewise.
3511 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3512 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3513 Likewise.
3514 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3515 internal_nis_gethostent_r, internal_gethostbyname2_r,
3516 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3517 _nss_nis_gethostbyname4_r): Likewise.
3518 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3519 initgroups_netid): Likewise.
3520 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3521 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3522 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3523 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3524 _nss_nis_getprotobynumber_r): Likewise.
3525 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3526 _nss_nis_getsecretkey): Likewise.
3527 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3528 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3529 Likewise.
3530 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3531 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3532 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3533 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3534 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3535 _nss_nis_getspnam_r): Likewise.
3536 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3537 Likewise.
3538 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3539 _nss_nisplus_getntohost_r): Likewise.
3540 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3541 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3542 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3543 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3544 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3545 Likewise.
3546 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3547 _nss_nisplus_getnetbyaddr_r): Likewise.
3548 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3549 _nss_nisplus_getprotobynumber_r): Likewise.
3550 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3551 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3552 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3553 Likewise.
3554 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3555 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3556 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3557 _nss_nisplus_getspnam_r): Likewise.
3558 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3559 * nscd/aicache.c (addhstaiX): Likewise.
3560 * nscd/cache.c (cache_search, prune_cache): Likewise.
3561 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3562 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3563 * nscd/grpcache.c (addgrbyX): Likewise.
3564 * nscd/hstcache.c (addhstbyX): Likewise.
3565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3566 * nscd/mem.c (gc, mempool_alloc): Likewise.
3567 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3568 Likewise.
3569 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3570 Likewise.
3571 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3572 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3574 Likewise.
3575 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3577 * nscd/nscd_helper.c (__readvall, open_socket,
3578 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3579 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3580 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3581 * nscd/pwdcache.c (addpwbyX): Likewise.
3582 * nscd/selinux.c (preserve_capabilities): Likewise.
3583 * nscd/servicescache.c (addservbyX): Likewise.
3584 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3585 * posix/fnmatch.c (fnmatch): Likewise.
3586 * posix/getopt.c (_getopt_internal_r): Likewise.
3587 * posix/glob.c (glob, glob_in_dir): Likewise.
3588 * posix/wordexp.c (exec_comm_child): Likewise.
3589 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3590 gaih_getanswer_slice): Likewise.
3591 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3592 * resolv/res_init.c: Likewise.
3593 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3594 * resolv/res_query.c (__libc_res_nquery): Likewise.
3595 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3596 Likewise.
3597 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3598 * stdio-common/perror.c (perror): Likewise.
3599 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3600 * stdio-common/tmpnam.c (tmpnam): Likewise.
3601 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3602 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3603 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3604 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3605 * stdlib/putenv.c (putenv): Likewise.
3606 * stdlib/setenv.c (__add_to_environ): Likewise.
3607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3608 * stdlib/strtol_l.c (INTERNAL): Likewise.
3609 * string/memmem.c (memmem): Likewise.
3610 * string/strerror.c (strerror): Likewise.
3611 * string/strnlen.c (__strnlen): Likewise.
3612 * string/test-memmem.c (simple_memmem): Likewise.
3613 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3614 * sunrpc/pm_getport.c (__get_socket): Likewise.
3615 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3616 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3617 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3618 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3619 Likewise.
3620 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3621 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3622 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3623 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3624 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3625 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3626 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3627 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3628 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3630 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3631 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3633 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3634 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3635 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3636 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3637 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3638 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3639 Likewise.
3640 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3641 Likewise.
3642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3643 Likewise.
3644 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3647 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3648 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3649 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3650 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3651 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3652 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3653 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3659 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3660 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3661 Likewise.
3662 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3663 Likewise.
3664 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3665 Likewise.
3666 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3667 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3668 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3669 Likewise.
3670 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3671 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3672 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3673 * sysdeps/posix/sleep.c: Likewise.
3674 * sysdeps/posix/tempname.c: Likewise.
3675 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3676 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3677 Likewise.
3678 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3679 elf_machine_rela): Likewise.
3680 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3682 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3683 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3684 Likewise.
3685 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3686 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3687 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3688 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3689 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3690 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3691 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3692 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3693 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3694 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3696 elf_machine_lazy_rel): Likewise.
3697 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3699 elf_machine_lazy_rel): Likewise.
3700 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3701 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3702 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3703 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3704 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3705 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3706 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3708 Likewise.
3709 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3710 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3711 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3712 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3713 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3714 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3715 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3716 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3717 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3718 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3719 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3720 Likewise.
3721 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3722 (__posix_fallocate64_l64): Likewise.
3723 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3724 (posix_fallocate): Likewise.
3725 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3726 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3727 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3728 getifaddrs_internal): Likewise.
3729 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3730 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3731 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3732 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3733 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3734 (__posix_fallocate64_l64): Likewise.
3735 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3736 Likewise.
3737 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3738 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3739 Likewise.
3740 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3741 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3742 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3745 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3746 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3747 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3750 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3751 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3752 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3753 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3754 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3755 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3756 Likewise.
3757 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3758 (posix_fallocate): Likewise.
3759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3760 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3761 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3762 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3763 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3764 Likewise.
3765 * time/asctime.c (asctime_internal): Likewise.
3766 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3767 * time/tzset.c (__tzset_parse_tz): Likewise.
3768 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3769 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3770 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3771 * wcsmbs/wcsmbsload.h: Likewise.
3772
37732014-02-10 Ondřej Bílka <neleai@seznam.cz>
3774
3775 [BZ #15894]
3776 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3777
37782014-02-10 Ondřej Bílka <neleai@seznam.cz>
3779
3780 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3781 arena_get2): Remove THREAD_STATS conditionals.
3782 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3783 __malloc_stats, int): Likewise.
3784
37852014-02-08 Mike Frysinger <vapier@gentoo.org>
3786
3787 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3788 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3789
37902014-02-08 Mike Frysinger <vapier@gentoo.org>
3791
3792 * manual/setjmp.texi: Fix typos/grammar errors.
3793
37942014-02-08 Mike Frysinger <vapier@gentoo.org>
3795
3796 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3797 Only return early when n is <= 0. Delete unused return statement.
3798
37992014-02-08 Mike Frysinger <vapier@gentoo.org>
3800
3801 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3802 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3803 * debug/tst-longjmp_chk3.c: New file.
3804
38052014-02-08 Mike Frysinger <vapier@gentoo.org>
3806
3807 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3808 (test_main): Replace code with set_fortify_handler call.
3809 * debug/test-strcpy_chk.c: Likewise.
3810 * debug/tst-chk1.c: Likewise.
3811 * debug/tst-longjmp_chk.c: Likewise.
3812 * test-skeleton.c: Include fcntl.h & paths.h
3813 (set_fortify_handler): Define.
3814
38152014-02-08 Mike Frysinger <vapier@gentoo.org>
3816
3817 * debug/tst-longjmp_chk.c: Add header comment and include
3818 ../test-skeleton.c.
3819 (do_test): Mark static.
3820 (TEST_FUNCTION): Define.
3821
38222014-02-08 Mike Frysinger <vapier@gentoo.org>
3823
3824 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3825 (IP_PMTUDISC_INTERFACE): Likewise.
3826 (IP_MULTICAST_IF): Likewise.
3827 (IP_MULTICAST_TTL): Likewise.
3828 (IP_MULTICAST_LOOP): Likewise.
3829 (IP_ADD_MEMBERSHIP): Likewise.
3830 (IP_DROP_MEMBERSHIP): Likewise.
3831 (IP_UNBLOCK_SOURCE): Likewise.
3832 (IP_BLOCK_SOURCE): Likewise.
3833 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3834 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3835 (IP_MSFILTER): Likewise.
3836 (MCAST_JOIN_GROUP): Likewise.
3837 (MCAST_BLOCK_SOURCE): Likewise.
3838 (MCAST_UNBLOCK_SOURCE): Likewise.
3839 (MCAST_LEAVE_GROUP): Likewise.
3840 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3841 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3842 (MCAST_MSFILTER): Likewise.
3843 (IP_MULTICAST_ALL): Likewise.
3844 (IP_UNICAST_IF): Likewise.
3845
38462014-02-08 Mike Frysinger <vapier@gentoo.org>
3847
3848 * timezone/Makefile: Delete $(have-ksh) check.
3849 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3850 * timezone/tzselect.ksh: Add +x mode bits.
3851
38522014-02-08 Mike Frysinger <vapier@gentoo.org>
3853
3854 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3855 (ANON_INODE_FS_MAGIC): Likewise.
3856 (BDEVFS_MAGIC): Likewise.
3857 (BINFMTFS_MAGIC): Likewise.
3858 (BTRFS_TEST_MAGIC): Likewise.
3859 (CRAMFS_MAGIC_WEND): Likewise.
3860 (DEBUGFS_MAGIC): Likewise.
3861 (ECRYPTFS_SUPER_MAGIC): Likewise.
3862 (EXT3_SUPER_MAGIC): Likewise.
3863 (EXT4_SUPER_MAGIC): Likewise.
3864 (FUTEXFS_SUPER_MAGIC): Likewise.
3865 (HOSTFS_SUPER_MAGIC): Likewise.
3866 (HUGETLBFS_MAGIC): Likewise.
3867 (MINIX3_SUPER_MAGIC): Likewise.
3868 (MTD_INODE_FS_MAGIC): Likewise.
3869 (NILFS_SUPER_MAGIC): Likewise.
3870 (OPENPROM_SUPER_MAGIC): Likewise.
3871 (PIPEFS_MAGIC): Likewise.
3872 (PSTOREFS_MAGIC): Likewise.
3873 (QNX6_SUPER_MAGIC): Likewise.
3874 (RAMFS_MAGIC): Likewise.
3875 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3876 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3877 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3878 (SECURITYFS_MAGIC): Likewise.
3879 (SELINUX_MAGIC): Likewise.
3880 (SMACK_MAGIC): Likewise.
3881 (SOCKFS_MAGIC): Likewise.
3882 (SQUASHFS_MAGIC): Likewise.
3883 (STACK_END_MAGIC): Likewise.
3884 (TMPFS_MAGIC): Likewise.
3885 (USBDEVICE_SUPER_MAGIC): Likewise.
3886 (V9FS_MAGIC): Likewise.
3887 (XENFS_SUPER_MAGIC): Likewise.
3888 (CRAMFS_MAGIC): Fix typo in comment.
3889 (EXT2_SUPER_MAGIC): Update comment.
3890 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3891
38922014-02-08 Joseph Myers <joseph@codesourcery.com>
3893
3894 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3895 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3896 * sysdeps/unix/sysv/linux/arm: Move directory from
3897 ports/sysdeps/unix/sysv/linux/arm.
3898 * README: Update listing for arm-*-linux-gnueabi.
3899
3900 * README: Remove mention of am33.
3901
39022014-02-07 Roland McGrath <roland@hack.frob.com>
3903
3904 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3905 than the comma operator, to avoid "rhs of comma has no effect"
3906 compiler warnings.
3907 (__sigfillset, __sigandset, __sigorset): Likewise.
3908 * include/signal.h (__sigemptyset): Likewise.
3909 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3910
39112014-02-07 Allan McRae <allan@archlinux.org>
3912
3913 * version.h (RELEASE): Set to "development".
3914 (VERSION): Set to "2.19.90"
3915 * NEWS: Add 2.20 section.
3916
39172014-02-06 Carlos O'Donell <carlos@redhat.com>
3918
3919 [BZ #16529]
3920 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3921
39222014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3923
3924 * manual/contrib.texi: Update entry for Carlos O'Donell,
3925 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3926
39272014-02-05 Carlos O'Donell <carlos@rehdat.com>
3928
3929 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3930
3931 * sysdeps/unix/sysv/linux/kernel-features.h
3932 [__LINUX_KERNEL_VERSION >= 0x020621]
3933 (__ASSUME_PROC_PID_TASK_COMM): Define.
3934
39352014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
3937 [BZ #16398]
3938 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3939 conversion when destination buffer does not have enough space.
3940 * libio/tst-ftell-partial-wide.c: New test case.
3941 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3942
3943 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3944 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3945 Leonard and Allan McRae.
3946
39472014-02-04 David S. Miller <davem@davemloft.net>
3948
3949 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3950 32-bit.
3951
39522014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3953
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3955 file
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3957 New file
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3959 file.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3961 file.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3963 New file.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3965 file.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3967 file.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3969 New file.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3971 New file.
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3973 New file.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3975 New file.
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3977 New file.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3979 New file.
3980
39812014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3982
3983 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3984 * shlib-versions: Likewise.
3985
39862014-02-04 Roland McGrath <roland@hack.frob.com>
3987 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3988
3989 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3990 (abilist-pattern): New variable, set to %-le.abilist.
3991
3992 * Makerules (abilist-pattern): New variable.
3993 (vpath): Use $(abilist-pattern) in place of %.abilist.
3994 (check-abi-% pattern rule): Likewise.
3995 (check-abi, update-abi): Likewise.
3996
39972014-02-04 Eric Wong <normalperson@yhbt.net>
3998
3999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4000
40012014-02-04 Eric Wong <normalperson@yhbt.net>
4002
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4004
40052014-02-03 Carlos O'Donell <carlos@redhat.com>
4006
4007 * manual/startup.texi: Add next, previous, and top entries for
4008 the `Program Arguments' and `Environment Variables' nodes.
4009
40102014-02-03 Alexandre Oliva <aoliva@redhat.com>
4011
4012 * manual/macros.texi: Add comments before MTASC-safety macros.
4013
4014 * manual/users.texi: Document MTASC-safety properties.
4015
4016 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4017 pthread_getspecific, pthread_setspecific): Format with
4018 @deftypefun, and add @safety note.
4019 * manual/signal.texi: Move comments that analyze the above
4020 functions to their home place.
4021
40222014-02-03 Allan McRae <allan@archlinux.org>
4023
4024 * po/sl.po: Update Slovenian translation from translation project.
4025
40262014-02-02 Alexandre Oliva <aoliva@redhat.com>
4027
4028 * manual/time.texi (timegm): Add missing blank after @c.
4029 Reported by Joseph Myers <joseph@codesourcery.com>.
4030
40312014-02-01 Alexandre Oliva <aoliva@redhat.com>
4032
4033 * manual/check-safety.sh: New.
4034 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4035
4036 * manual/terminal.texi: Document MTASC-safety properties.
4037
4038 * manual/filesys.texi: Document MTASC-safety properties.
4039
4040 * manual/errno.texi: Document MTASC-safety properties.
4041
4042 * manual/intro.texi: Document safety identifiers and
4043 conditionals.
4044
4045 * manual/string.texi (wcstok): Fix prototype.
4046 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4047
4048 * manual/time.texi: Document MTASC-safety properties.
4049
4050 * manual/string.texi: Document MTASC-safety properties.
4051
4052 * manual/threads.texi: Document MTASC-safety properties.
4053
4054 * manual/stdio.texi: Document MTASC-safety properties.
4055
4056 * manual/syslog.texi: Document MTASC-safety properties.
4057
4058 * manual/sysinfo.texi: Document MTASC-safety properties.
4059
4060 * manual/startup.texi: Document MTASC-safety properties.
4061
4062 * manual/socket.texi: Document MTASC-safety properties.
4063
4064 * manual/signal.texi: Document MTASC-safety properties.
4065
40662014-01-31 Alexandre Oliva <aoliva@redhat.com>
4067
4068 * manual/setjmp.texi: Document MTASC-safety properties.
4069
4070 * manual/search.texi: Document MTASC-safety properties.
4071
4072 * manual/resource.texi: Document MTASC-safety properties.
4073
4074 * manual/process.texi: Document MTASC-safety properties.
4075
4076 * manual/platform.texi: Document MTASC-safety properties.
4077
4078 * manual/pipe.texi: Document MTASC-safety properties.
4079
4080 * manual/pattern.texi: Document MTASC-safety properties.
4081
4082 * manual/message.texi: Document MTASC-safety properties.
4083
4084 [BZ #12751]
4085 * manual/memory.texi: Document MTASC-safety properties.
4086
4087 * manual/math.texi: Document MTASC-safety properties.
4088
4089 * manual/locale.texi: Document MTASC-safety properties.
4090
4091 * manual/llio.texi: Document MTASC-safety properties.
4092
4093 * manual/libdl.texi: New.
4094
4095 * manual/lang.texi: Document MTASC-safety properties.
4096
4097 * manual/job.texi: Document MTASC-safety properties.
4098
4099 * manual/getopt.texi: Document MTASC-safety properties.
4100
4101 * manual/ctype.texi: Document MTASC-safety properties.
4102
41032014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4104
4105 [BZ #16046]
4106 * csu/libc-tls.c (static_map): Remove variable.
4107 (__libc_setup_tls): Use main executable's link map for TLS data.
4108 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4109 casing for LM_ID_BASE and GL(dl_nns).
4110 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4111 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4112 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4113 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4114 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4115 member.
4116 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4117 l_phnum members.
4118
41192014-01-30 Alexandre Oliva <aoliva@redhat.com>
4120
4121 * manual/debug.texi: Document MTASC-safety properties.
4122
41232014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4124
4125 [BZ #16510]
4126 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4127 of __x86_64__ when disabling x87 inline functions.
4128
41292014-01-29 Alexandre Oliva <aoliva@redhat.com>
4130
4131 * manual/charset.texi: Document MTASC-safety properties.
4132
4133 * manual/crypt.texi: Document MTASC-safety properties.
4134
4135 * manual/conf.texi: Document MTASC-safety properties.
4136
4137 * manual/arith.texi: Document MTASC-safety properties.
4138
4139 * manual/argp.texi: Document MTASC-safety properties.
4140
4141 * manual/macros.texi: Introduce macros to document multi
4142 thread, asynchronous signal and asynchronous cancellation
4143 safety properties.
4144 * manual/intro.texi: Introduce the properties themselves.
4145
41462014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4147
4148 * sysdeps/sh/sh4/Makefile: New file.
4149
41502014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4151
4152 * math/gen-libm-test.pl ($srcdir): New variable.
4153 ($auto_input): Use it.
4154
41552014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4156
4157 [BZ #16506]
4158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4159 access beyond array bounds when parsing netgroups file.
4160
4161 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4162 the old buffer before realloc.
4163
41642014-01-27 Allan McRae <allan@archlinux.org>
4165
4166 * po/fr.po: Update French translation from translation project.
4167
41682014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4169
4170 * sysdeps/sh/libm-test-ulps: Regenerate.
4171
41722014-01-24 David S. Miller <davem@davemloft.net>
4173
4174 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4175
41762014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4177
4178 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4179 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4180
41812013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4182
4183 [BZ #16474]
4184 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4185 string pointers after reallocation.
4186
41872014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4188
4189 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4190 __SH4A__ instead of __SH_FPU_ANY__.
4191
41922014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4193
4194 * sysdeps/sh/fpu_control.h: New file.
4195 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4196 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4197 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4198 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4199 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4200 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4201 * sysdeps/sh/sys/ucontext.h: Remove.
4202 * sysdeps/sh/sys: Remove directory.
4203
42042014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4205
4206 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4207 s390/sys/ucontext.h.
4208 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4209 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4210
42112014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4212
4213 [BZ #15605]
4214 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4215
42162014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4217
4218 [BZ#16431]
4219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4220 Adjust the vDSO correctly for internal calls.
4221 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4222
42232014-01-20 Allan McRae <allan@archlinux.org>
4224
4225 * po/ca.po: Update Catalan translation from translation project.
4226
42272014-01-16 Mike Frysinger <vapier@gentoo.org>
4228
4229 * sysdeps/s390/sotruss-lib.c: New file.
4230
42312014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4232
4233 [BZ#16430]
4234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4235 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4236 local calls issues by not having a PLT stub required for IFUNC calls.
4237 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4238
42392014-01-16 Joseph Myers <joseph@codesourcery.com>
4240
4241 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4242 * math/test-fpucw-static.c: Likewise.
4243
42442013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4245
4246 [BZ #16453]
4247 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4248
42492014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4250
4251 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4252 implementation for powerpc.
4253
42542014-01-15 Ondřej Bílka <neleai@seznam.cz>
4255
4256 [BZ #14782]
4257 * sysdeps/posix/system.c (__libc_system): Do not enable
4258 asynchronous cancellation.
4259
42602014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4261
4262 [BZ #16427]
4263 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4264 handling only for numbers special also in the IEEE case.
4265
42662014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4267
4268 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4269
42702014-01-11 Allan McRae <allan@archlinux.org>
4271
4272 * po/bg.po: Update Bulgarian translation from translation project.
4273
4274 * po/de.po: Update German translation from translation project.
4275
42762014-01-10 Roland McGrath <roland@hack.frob.com>
4277
4278 * sysdeps/generic/gcc-compat.h: New file.
4279
42802014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4281
4282 * benchtests/asin-inputs: Correct slow inputs.
4283 * benchtests/acos-inputs: Likewise.
4284
42852014-01-10 Allan McRae <allan@archlinux.org>
4286
4287 * po:sv.po: Update Swedish translation from translation project.
4288
4289 * po/vi.po: Update Vietnamese translation from translation project.
4290
4291 * po/eo.po: Update Esperanto translation from translation project.
4292
4293 * po/cs.po: Update Czech translation from translation project.
4294
4295 * po/nl.po: Update Dutch translation from translation project.
4296
4297 * po/pl.po: Update Polish translation from translation project.
4298
4299 * po/ru.po: Update Russian translation from translation project.
4300
4301 * po/uk.po: Update Ukrainian translation from translation project.
4302
43032014-01-08 Brooks Moses <bmoses@google.com>
4304
4305 * elf/dl-load.c: Fix comment typo.
4306
43072014-01-08 Carlos O'Donell <carlos@redhat.com>
4308
4309 * po/header.pot: Rename to...
4310 * po/pot.header: ... this.
4311 * po/Makefile: Use pot.header.
4312
43132014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4314 Maxim Kuvyrkov <maxim@kugelworks.com>
4315
4316 [BZ #16394]
4317 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4318 SRC and DEST against LEN.
4319
43202014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4321
4322 [BZ #16414]
4323 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4324 implementation.
4325 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4326
43272014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4328
4329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4330
43312014-01-08 Joseph Myers <joseph@codesourcery.com>
4332
4333 [BZ #16408]
4334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4335 for large positive arguments.
4336
43372014-01-07 Joseph Myers <joseph@codesourcery.com>
4338
4339 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4340
4341 * math/auto-libm-test-in: Mark various tests with
4342 xfail-rounding:ldbl-128ibm.
4343 * math/auto-libm-test-out: Regenerated.
4344
4345 [BZ #16407]
4346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4347 Increase overflow threshold.
4348
43492014-01-07 Ondřej Bílka <neleai@seznam.cz>
4350
4351 [BZ #14286]
4352 * stdio-common/vfprintf.c: Check for integer overflow.
4353
43542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4355
4356 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4357 the first argument and return value of __tls_get_addr_internal.
4358
43592014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4360
4361 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4362 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4363
43642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4365
4366 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4367 * sysdeps/s390/rtld-global-offsets.sym: New file.
4368 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4369 GLIBC_2.19 symbol.
4370 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4371 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4372 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4373 ... this.
4374 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4375 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4376 ... this.
4377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4378 Regenerate.
4379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4380 Regenerate.
4381 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4382 halfs of GPRs for high_gprs contexts.
4383 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4384 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4385 field.
4386 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4387 uc_flags field.
4388 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4389 64 bit versions:
4390 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4391 for high GPRs (uc_high_gprs) and for future extensions
4392 (__reserved).
4393 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4394 for future extensions (__reserved).
4395 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4396 64 bit versions:
4397 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4398 SC_HIGHGPRS offset definition.
4399 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4400 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4401
44022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4403
4404 * Versions.def: Add GLIBC_2.19 for libpthread.
4405 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4406 siglongjmp for libpthread with GLIBC_2.19 symver.
4407 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4408 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4409 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4410 * sysdeps/s390/__longjmp.c: New file.
4411 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4412 * sysdeps/s390/longjmp.c: New file.
4413 * sysdeps/s390/setjmp.S: New file.
4414 * sysdeps/s390/sigjmp.S: New file.
4415 * sysdeps/s390/v1-longjmp.c: New file.
4416 * sysdeps/s390/v1-setjmp.h: New file.
4417 * sysdeps/s390/v1-sigjmp.c: New file.
4418 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4419 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4420 GLIBC_2.19 version.
4421 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4422 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4423 versioned symbols for ____longjmp_chk.
4424 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4425 Likewise.
4426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4427 Regenerate.
4428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4429 Regenerate.
4430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4431 Regenerate.
4432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4433 Regenerate.
4434 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4435 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4436 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4437 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4438 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4439 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4440 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4441 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4442 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4443 * sysdeps/s390/rtld-__longjmp.c: New file.
4444 * sysdeps/s390/rtld-setjmp.S: New file.
4445
44462014-01-06 Joseph Myers <joseph@codesourcery.com>
4447
4448 [BZ #16400]
4449 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4450 Return -__logl (x) for small positive arguments without evaluating
4451 a polynomial.
4452
44532014-01-06 Mike Frysinger <vapier@gentoo.org>
4454
4455 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4456 Rename to ...
4457 (__ptrace_peeksiginfo_args): ... this.
4458 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4461
44622014-01-06 Allan McRae <allan@archlinux.org>
4463
4464 * inet/netinet/in.h: Fix typo in comment.
4465
44662014-01-05 Andreas Jaeger <aj@suse.de>
4467
4468 * sysdeps/i386/fpu/libm-test-ulps: Update.
4469
44702014-01-05 Allan McRae <allan@archlinux.org>
4471
4472 * po/libc.pot: Regenerated.
4473
4474 * malloc/memusagestat.c: Fix gettext call formatting.
4475
44762014-01-04 Sami Kerola <kerolasa@iki.fi>
4477
4478 * nscd/nscd.c: Improve usage() output.
4479
44802014-01-04 Mike Frysinger <vapier@gentoo.org>
4481
4482 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4483 * sysdeps/unix/sysv/linux/configure: Regenerated.
4484 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4485 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4486
44872014-01-03 Joseph Myers <joseph@codesourcery.com>
4488
4489 [BZ #16390]
4490 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4491 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4492
44932014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4494
4495 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4496 extra tokens at end of #undef directive.
4497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4498 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4499 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4500
45012014-01-03 Joseph Myers <joseph@codesourcery.com>
4502
4503 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4504
4505 * math/auto-libm-test-in: Mark various tests with
4506 xfail-rounding:ldbl-128ibm.
4507 * math/auto-libm-test-out: Regenerated.
4508
45092014-01-02 Joseph Myers <joseph@codesourcery.com>
4510
4511 [BZ #16386]
4512 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4513 numbers with subnormal high part when calculating exponent.
4514
4515 [BZ #16385]
4516 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4517 fabs.
4518
4519 [BZ #16384]
4520 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4521 M_LN2l.
4522 (__ieee754_acoshl): Use __log1pl not __log1p.
4523
45242013-01-02 Ondřej Bílka <neleai@seznam.cz>
4525
4526 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4527 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4528 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4529 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4530 Convert to GNU style.
4531 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4532 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4533 memalign_check, __malloc_set_state): Likewise.
4534 * malloc/mallocbug.c (main): Likewise.
4535 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4536 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4537 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4538 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4539 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4540 * malloc/malloc.h: Likewise.
4541 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4542 memalignhook, reallochook, mabort): Likewise.
4543 * malloc/mcheck.h: Likewise.
4544 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4545 mmap64, mremap, munmap, dest): Likewise.
4546 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4547 * malloc/morecore.c (__default_morecore): Likewise.
4548 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4549 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4550 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4551 print_and_abort): Likewise.
4552 * malloc/obstack.h: Likewise.
4553 * malloc/set-freeres.c (__libc_freeres): Likewise.
4554 * malloc/tst-mallocstate.c (main): Likewise.
4555 * malloc/tst-mtrace.c (main): Likewise.
4556 * malloc/tst-realloc.c (do_test): Likewise.
4557
45582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4559
4560 [BZ #16366]
4561 * nscd/netgroupcache.c (do_notfound): New function.
4562 (addgetnetgrentX): Use it.
4563
4564 [BZ # 16365]
4565 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4566 NSS_STATUS_NOTFOUND.
4567
45682014-01-01 Joseph Myers <joseph@codesourcery.com>
4569
4570 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572
45732014-01-01 Allan McRae <allan@archlinux.org>
4574
4575 * scripts/update-copyrights: Update configure input file suffix.
4576
4577 * NEWS: Update copyright year.
4578 * catgets/gencat.c: Likewise.
4579 * csu/version.c: Likewise.
4580 * debug/catchsegv.sh: Likewise.
4581 * debug/pcprofiledump.c: Likewise.
4582 * debug/xtrace.sh: Likewise.
4583 * elf/ldconfig.c: Likewise.
4584 * elf/ldd.bash.in: Likewise.
4585 * elf/pldd.c: Likewise.
4586 * elf/sotruss.ksh: Likewise.
4587 * elf/sprof.c: Likewise.
4588 * iconv/iconv_prog.c: Likewise.
4589 * iconv/iconvconfig.c: Likewise.
4590 * locale/programs/locale.c: Likewise.
4591 * locale/programs/localedef.c: Likewise.
4592 * login/programs/pt_chown.c: Likewise.
4593 * malloc/memusage.sh: Likewise.
4594 * malloc/memusagestat.c: Likewise.
4595 * malloc/mtrace.pl: Likewise.
4596 * manual/libc.texinfo: Likewise.
4597 * nscd/nscd.c: Likewise.
4598 * nss/getent.c: Likewise.
4599 * nss/makedb.c: Likewise.
4600 * posix/getconf.c: Likewise.
4601 * scripts/test-installation.pl: Likewise.
4602
4603 * All files with FSF copyright notices: Update copyright dates
4604 using scripts/update-copyrights.
4605 * intl/plural.c: Regenerated.
4606 * locale/programs/charmap-kw.h: Likewise.
4607 * locale/programs/locfile-kw.h: Likewise.
4608
46092013-12-31 Mike Frysinger <vapier@gentoo.org>
4610
4611 * sysdeps/unix/sysv/linux/configure: Regenerated.
4612 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4613 the linux/fanotify.h header.
4614 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4615 HAVE_LINUX_FANOTIFY_H is defined.
4616
46172013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4618
4619 * benchtests/cos-inputs: New inputs.
4620 * benchtests/sin-inputs: Likewise.
4621
4622 * benchtests/atan-inputs: New inputs. Fix name of multiple
4623 precision fallback inputs.
4624
4625 * benchtests/atanh-inputs: New inputs.
4626 * benchtests/tanh-inputs: Likewise.
4627
4628 * benchtests/acosh-inputs: New inputs.
4629 * benchtests/asinh-inputs: Likewise.
4630
4631 * benchtests/cosh-inputs: New inputs.
4632 * benchtests/sinh-inputs: Likewise.
4633
4634 * benchtests/acos-inputs: Add more inputs.
4635 * benchtests/asin-inputs: Likewise.
4636
46372013-12-30 Ville Skytta <ville.skytta@iki.fi>
4638
4639 [BZ #16375]
4640 * manual/arith.texi: Fix spelling.
4641 * manual/charset.texi: Likewise.
4642 * manual/errno.texi: Likewise.
4643 * manual/filesys.texi: Likewise.
4644 * manual/lang.texi: Likewise.
4645 * manual/llio.texi: Likewise.
4646 * manual/locale.texi: Likewise.
4647 * manual/message.texi: Likewise.
4648 * manual/resource.texi: Likewise.
4649 * manual/search.texi: Likewise.
4650 * manual/setjmp.texi: Likewise.
4651 * manual/stdio.texi: Likewise.
4652 * manual/string.texi: Likewise.
4653 * manual/sysinfo.texi: Likewise.
4654 * manual/time.texi: Likewise.
4655
46562013-12-27 Carlos O'Donell <carlos@redhat.com>
4657
4658 * po/sl.po: New file.
4659
46602013-12-27 Mike Frysinger <vapier@gentoo.org>
4661
4662 * .gitignore: Add core/.gdbinit/.gdb_history.
4663
46642013-12-27 Allan McRae <allan@archlinux.org>
4665
4666 [BZ #16369]
4667 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4668 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4669
46702013-12-24 Brooks Moses <bmoses@google.com>
4671
4672 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4673 all compilers that claim C++98 compliance, not just GCC.
4674 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4675 Likewise.
4676
46772013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4678
4679 * NEWS: Restore accidentally deleted bug-fix entries.
4680
46812013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4682 Ondřej Bílka <neleai@seznam.cz>
4683
4684 [BZ #15073]
4685 * malloc/malloc.c (_int_free): Perform sanity check only if we
4686 have_lock.
4687
46882013-12-23 Ondřej Bílka <neleai@seznam.cz>
4689
4690 [BZ #12986]
4691 * manual/stdio.texi (String Input Conversions): Clarify that character
4692 classes are not supported.
4693
46942013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695
4696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4697
46982013-12-22 Joseph Myers <joseph@codesourcery.com>
4699
4700 [BZ #16337]
4701 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4702 Calculate results for small negative arguments directly rather
4703 than using reflection formula with special underflow handling.
4704
4705 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4706 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4707 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4708 (fchflags): Likewise.
4709 (revoke): Likewise.
4710 (setlogin): Likewise.
4711 (sigaltstack): Likewise.
4712 (wait4): Likewise.
4713 (sigblock): Remove.
4714 (sigsetmask): Likewise.
4715 (wait3): Likewise.
4716 (waitpid): Likewise.
4717 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4718 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4719 file.
4720 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4721 * sysdeps/unix/bsd/Makefile: ... here.
4722 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4723 * sysdeps/unix/bsd/Versions: ... here.
4724 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4725 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4726 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4727 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4728 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4729 * sysdeps/unix/bsd/sigblock.c: ... here.
4730 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4731 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4732 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4733 * sysdeps/unix/bsd/sigvec.c: ... here.
4734 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4735 * sysdeps/unix/bsd/tcdrain.c: ... here.
4736 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4737 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4738 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4739 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4740 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4741 * sysdeps/unix/bsd/wait.c: ... here.
4742 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4743 * sysdeps/unix/bsd/wait3.c: ... here.
4744 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4745 * sysdeps/unix/bsd/waitpid.c: ... here.
4746
47472013-12-21 Joseph Myers <joseph@codesourcery.com>
4748
4749 [BZ #16356]
4750 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4751 round-to-nearest for [!USE_AS_EXPM1L].
4752 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4753 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4754 more tests of exp and exp10. Expect some exp10 tests to miss
4755 exceptions or fail in directed rounding modes.
4756 * math/auto-libm-test-out: Regenerated.
4757 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4758 (exp10_test_tonearest): New function.
4759 (exp10_towardzero_test_data): New array.
4760 (exp10_test_towardzero): New function.
4761 (exp10_downward_test_data): New array.
4762 (exp10_test_downward): New function.
4763 (exp10_upward_test_data): New array.
4764 (exp10_test_upward): New function.
4765 (main): Call the new functions.
4766 * sysdeps/i386/fpu/libm-test-ulps: Update.
4767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4768
47692013-12-20 Joseph Myers <joseph@codesourcery.com>
4770
4771 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4772 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4773 * math/auto-libm-test-out: Regenerated.
4774 * math/libm-test.inc (acosh_test_data): Add more tests.
4775 (atanh_test_data): Likewise.
4776 (ceil_test_data): Likewise.
4777 (copysign_test_data): Likewise.
4778 * sysdeps/i386/fpu/libm-test-ulps: Update.
4779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4780
4781 * timezone/checktab.awk: Update from tzcode 2013i.
4782 * timezone/private.h: Likewise.
4783 * timezone/scheck.c: Likewise.
4784 * timezone/tzfile.h: Likewise.
4785 * timezone/tzselect.ksh: Likewise.
4786 * timezone/zdump.c: Likewise.
4787 * timezone/zic.c: Likewise.
4788
4789 * math/auto-libm-test-in: Add tests of cpow.
4790 * math/auto-libm-test-out: Regenerated.
4791 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4792 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4793 mpc_cc_c.
4794 (func_calc_desc): Add mpc_cc_c union field.
4795 (test_functions): Add cpow.
4796 (special_fill_2pi): New function.
4797 (special_real_inputs): Add 2pi.
4798 (calc_generic_results): Handle mpc_cc_c.
4799 * sysdeps/i386/fpu/libm-test-ulps: Update.
4800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4801
4802 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4803 csqrt, ctan and ctanh.
4804 * math/auto-libm-test-out: Regenerated.
4805 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4806 (TEST_COND_x86): Likewise.
4807 (ccos_test_data): Use AUTO_TESTS_c_c.
4808 (ccosh_test_data): Likewise.
4809 (cexp_test_data): Likewise.
4810 (clog_test_data): Likewise.
4811 (csqrt_test_data): Likewise.
4812 (ctan_test_data): Likewise.
4813 (ctan_tonearest_test_data): Likewise.
4814 (ctan_towardzero_test_data): Likewise.
4815 (ctan_downward_test_data): Likewise.
4816 (ctan_upward_test_data): Likewise.
4817 (ctanh_test_data): Likewise.
4818 (ctanh_tonearest_test_data): Likewise.
4819 (ctanh_towardzero_test_data): Likewise.
4820 (ctanh_downward_test_data): Likewise.
4821 (ctanh_upward_test_data): Likewise.
4822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4823 mpc_c_c.
4824 (func_calc_desc): Add mpc_c_c union field.
4825 (FUNC_mpc_c_c): New macro.
4826 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4827 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4828 ctanh.
4829 (special_fill_min_subnorm_p120): New function.
4830 (special_real_inputs): Add min_subnorm_p120.
4831 (calc_generic_results): Handle mpc_c_c.
4832 * sysdeps/i386/fpu/libm-test-ulps: Update.
4833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834
48352013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4836
4837 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4838 do_sin_slow): New functions.
4839 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4840 cslow2, csloww1, csloww2): Use the new functions.
4841
4842 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4843 Use M to change sign of result instead of X. Assume X is
4844 positive.
4845 (csloww1): Likewise.
4846 (__sin): Adjust.
4847 (__cos): Adjust.
4848
4849 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4850 arguments A and DA.
4851 (__sin): Adjust.
4852 (__cos): Likewise.
4853
4854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4855 (__cos): Likewise.
4856 (sloww1): Don't adjust sign of DX.
4857 (csloww1): Likewise.
4858 (sloww2): Use X directly and don't adjust sign of DX.
4859 (csloww2): Likewise.
4860
48612013-12-19 Joseph Myers <joseph@codesourcery.com>
4862
4863 * math/auto-libm-test-in: Add tests of cabs and carg.
4864 * math/auto-libm-test-out: Regenerated.
4865 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4866 (carg_test_data): Likewise.
4867 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4868 mpc_c_f.
4869 (func_calc_desc): Add mpc_c_f union field.
4870 (test_functions): Add cabs and carg.
4871 (calc_generic_results): Handle mpc_c_f.
4872
4873 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4874 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4875 as a macro and a compat symbol.
4876 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4877 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4878 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4879 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4880 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4881 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4882 not use .hidden.
4883 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4884 Likewise.
4885 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4886 Likewise.
4887 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4888 Likewise.
4889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4890 Likewise.
4891 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4892 Likewise.
4893 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4894 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4895 from GLIBC_2.3.2.
4896
48972013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898
4899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4900
49012013-12-19 Joseph Myers <joseph@codesourcery.com>
4902
4903 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4904 trailing whitespace removed.
4905 * scripts/config.guess: Update to version 2013-11-29.
4906 * scripts/config.sub: Update to version 2013-10-01.
4907
4908 * math/auto-libm-test-in: Add tests of sincos.
4909 * math/auto-libm-test-out: Regenerated.
4910 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4911 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4912 mpfr_f_11.
4913 (func_calc_desc): Add mpfr_f_11 union field.
4914 (test_functions): Add sincos.
4915 (calc_generic_results): Handle mpfr_f_11.
4916 * sysdeps/i386/fpu/libm-test-ulps: Update.
4917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4918
49192013-12-19 Andreas Schwab <schwab@suse.de>
4920
4921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4922 CALL_MCOUNT.
4923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4925 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4926
49272013-12-19 Joseph Myers <joseph@codesourcery.com>
4928
4929 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4930 * sysdeps/i386/fpu/libm-test-ulps: Update.
4931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4932
4933 [BZ #16293]
4934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4935 round-to-nearest mode when using frndint.
4936 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4937 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4938 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4939 Likewise.
4940 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4941 sinh test to fail.
4942 * math/auto-libm-test-out: Regenerated.
4943 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4944 (TEST_COND_x86): Likewise.
4945 (expm1_tonearest_test_data): New array.
4946 (expm1_test_tonearest): New function.
4947 (expm1_towardzero_test_data): New array.
4948 (expm1_test_towardzero): New function.
4949 (expm1_downward_test_data): New array.
4950 (expm1_test_downward): New function.
4951 (expm1_upward_test_data): New array.
4952 (expm1_test_upward): New function.
4953 (main): Run the new test functions.
4954 * sysdeps/i386/fpu/libm-test-ulps: Update.
4955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4956
4957 * include/features.h: Update comment documenting feature test
4958 macros. Mention _DEFAULT_SOURCE in comment.
4959 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4960 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4961 _BSD_SOURCE and _SVID_SOURCE.
4962 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4963 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4964 !_SVID_SOURCE]: Likewise.
4965 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4966 (__USE_POSIX_IMPLICITLY): Define.
4967 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4968 (_POSIX_SOURCE): Undefine and redefine.
4969 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4970 (_POSIX_C_SOURCE): Likewise.
4971 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4972 (Feature Test Macros): Update documentation of default features.
4973
49742013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4975
4976 * benchtests/Makefile: Add bench-strtok.
4977 * benchtests/bench-strtok.c: New file: strtok benchtest.
4978
49792013-12-19 Allan McRae <allan@archlinux.org>
4980
4981 * manual/install.texi: Suppress menu for plain text output.
4982 * INSTALL: Regenerated.
4983
49842013-12-18 Brooks Moses <bmoses@google.com>
4985
4986 [BZ #15846]
4987 * misc/getauxval.c: Include errno.h.
4988 (__getauxval): Set errno to ENOENT if the requested type is not
4989 found.
4990 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4991 don't declare with __attribute_const__.
4992 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4993 * manual/startup.texi: Document that getauxval sets errno.
4994
49952013-12-18 Joseph Myers <joseph@codesourcery.com>
4996
4997 * math/auto-libm-test-in: Add tests of jn and yn.
4998 * math/auto-libm-test-out: Regenerated.
4999 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5000 (yn_test_data): Likewise.
5001 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5002 mpfr_if_f.
5003 (func_calc_desc): Add mpfr_if_f union field.
5004 (FUNC_mpfr_if_f): New macro.
5005 (test_functions): Add jn and yn.
5006 (calc_generic_results): Assert type of second input for
5007 mpfr_ff_f. Handle mpfr_if_f.
5008 (output_for_one_input_case): Disable all checking for arguments
5009 fitting floating-point types in case of an integer argument.
5010 * sysdeps/i386/fpu/libm-test-ulps: Update.
5011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5012
5013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5014 Don't expect fegetround reference in libm.so.
5015
50162013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5017
5018 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5019 $(config-cflags-nofma).
5020
50212013-12-18 Joseph Myers <joseph@codesourcery.com>
5022
5023 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5024 * math/auto-libm-test-out: Regenerated.
5025
5026 [BZ #16338]
5027 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5028 to determine exponent and adjust argument to have exponent of -1.
5029 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5030 log2.
5031 * math/auto-libm-test-out: Regenerated.
5032 * sysdeps/i386/fpu/libm-test-ulps: Update.
5033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5034
50352013-12-18 Ondřej Bílka <neleai@seznam.cz>
5036
5037 * manual/probes.texi: Remove cases when per-thread arenas are
5038 disabled.
5039
50402013-12-18 Andreas Schwab <schwab@suse.de>
5041
5042 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5043 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5044 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5045 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5046 * sysdeps/i386/i686/multiarch/Makefile: Update.
5047 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5048
50492013-12-17 Joseph Myers <joseph@codesourcery.com>
5050
5051 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5052 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5053
50542013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5055
5056 [BZ #15968]
5057 Support TZ transition times < 00:00:00.
5058 This is needed for version-3 tz-format files; it supports time
5059 stamps past 2037 for America/Godthab (the only entry in the tz
5060 database for which this change is relevant).
5061 * manual/time.texi (TZ Variable): Document transition times
5062 from -167:59:59 through -00:00:01.
5063 * time/tzset.c (tz_rule): Time of day is now signed.
5064 (__tzset_parse_tz): Parse negative time of day.
5065
5066 Document TZ transition times >= 25:00:00.
5067 * manual/time.texi (TZ Variable): Document transition times from
5068 25:00:00 through 167:59:59. These are already supported, and this
5069 support will help with version-3 tz-format files.
5070
5071 * manual/time.texi (TZ Variable): Modernize North America example
5072 to reflect current (i.e., 2007-and-later) daylight saving rules.
5073
5074 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5075
50762013-12-17 Joseph Myers <joseph@codesourcery.com>
5077
5078 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5079 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5082 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5083 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5084 * sysdeps/unix/bsd/clock.c: Likewise.
5085 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5086 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5087 * sysdeps/unix/bsd/init-posix.c: Likewise.
5088 * sysdeps/unix/bsd/poll.c: Likewise.
5089 * sysdeps/unix/bsd/ptsname.c: Likewise.
5090 * sysdeps/unix/bsd/seekdir.c: Likewise.
5091 * sysdeps/unix/bsd/setegid.c: Likewise.
5092 * sysdeps/unix/bsd/seteuid.c: Likewise.
5093 * sysdeps/unix/bsd/setgid.c: Likewise.
5094 * sysdeps/unix/bsd/setrgid.c: Likewise.
5095 * sysdeps/unix/bsd/setruid.c: Likewise.
5096 * sysdeps/unix/bsd/setsid.c: Likewise.
5097 * sysdeps/unix/bsd/setuid.c: Likewise.
5098 * sysdeps/unix/bsd/sigaction.c: Likewise.
5099 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5100 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5101 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5102 * sysdeps/unix/bsd/telldir.c: Likewise.
5103 * sysdeps/unix/bsd/times.c: Likewise.
5104 * sysdeps/unix/bsd/usleep.c: Likewise.
5105
5106 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5107 ($(objpfx)libbsd-compat.a): Remove rule.
5108
5109 * include/features.h (__FAVOR_BSD): Do not define.
5110 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5111 features conflicting with POSIX.
5112 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5113 (_BSD_SOURCE): Remove description of not being a subset of other
5114 feature test macros.
5115 * manual/job.texi (getpgrp): Do not document BSD version.
5116 (getpgid): Do not document by reference to BSD getpgrp.
5117 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5118 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5119 * signal/signal.h [__FAVOR_BSD]: Likewise.
5120 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5121 instead of making contents conditional on [__FAVOR_BSD].
5122 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5123
51242013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125
5126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5127
51282013-12-17 Joseph Myers <joseph@codesourcery.com>
5129
5130 [BZ #16314]
5131 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5132 values below 2**-450, not 2**-500.
5133 * math/auto-libm-test-in: Don't allow spurious underflow from
5134 hypot.
5135 * math/auto-libm-test-out: Regenerated.
5136
5137 [BZ #16316]
5138 [BZ #16330]
5139 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5140 values of ha and hb and sort them after adjusting subnormal
5141 arguments.
5142 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5143 Likewise.
5144 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5145 values of ea and eb and sort them after adjusting subnormal
5146 arguments.
5147 * math/auto-libm-test-in: Do not expect some hypot tests of
5148 subnormals to fail. Add more hypot tests.
5149 * math/auto-libm-test-out: Regenerated.
5150
51512013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5152
5153 [BZ #13304]
5154 * sysdeps/sh/s_fma.c: New file.
5155 * sysdeps/sh/s_fmaf.c: New file.
5156 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5157 version.
5158 * sysdeps/sh/Implies: Add sh/soft-fp.
5159
51602013-12-16 Roland McGrath <roland@hack.frob.com>
5161
5162 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5163 level of indirection to members `objname', `errstring', `malloced'.
5164 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5165 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5166 it as the __longjmp argument (just pass 1 instead).
5167 (_dl_catch_error): Initialize C with argument pointers and address of
5168 volatile local ERRCODE rather than copying values out of C at return.
5169
51702013-12-16 Joseph Myers <joseph@codesourcery.com>
5171
5172 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5173 * math/auto-libm-test-out: Regenerated.
5174 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5175 (hypot_test_data): Likewise.
5176 (pow_test_data): Likewise.
5177 (pow_tonearest_test_data): Likewise.
5178 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5179 mpfr_ff_f.
5180 (func_calc_desc): Add mpfr_ff_f union field.
5181 (FUNC_mpfr_ff_f): New macro.
5182 (test_functions): Add atan2, hypot and pow.
5183 (special_fill_min): New function.
5184 (special_fill_minus_min): Likewise.
5185 (special_fill_min_subnorm): Likewise.
5186 (special_fill_minus_min_subnorm): Likewise.
5187 (special_real_inputs): Add min, -min, min_subnorm and
5188 -min_subnorm.
5189 (calc_generic_results): Handle mpfr_ff_f.
5190 * sysdeps/i386/fpu/libm-test-ulps: Update.
5191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5192
51932013-12-16 Will Newton <will.newton@linaro.org>
5194
5195 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5196 (Aligned Memory Blocks): Add documentation for aligned_alloc
5197 and suggest it as an alternative to posix_memalign.
5198 (Hooks for Malloc): Document __memalign_hook is also called
5199 for aligned_alloc. (Summary of Malloc): Add summary for
5200 aligned alloc. Document __memalign_hook is also called
5201 for aligned_alloc.
5202
52032013-12-16 Will Newton <will.newton@linaro.org>
5204
5205 * manual/memory.texi (Malloc Examples): Clarify default
5206 alignment documentation. Suggest posix_memalign rather
5207 than memalign or valloc.
5208 (Aligned Memory Blocks): Remove suggestion to use memalign
5209 or valloc. Remove obsolete comment about BSD.
5210 Document memalign errno values and mark the function obsolete.
5211 Document posix_memalign returned error codes. Mark valloc
5212 as obsolete. (Hooks for Malloc): __memalign_hook is also
5213 called for posix_memalign and valloc.
5214 (Summary of Malloc): Add posix_memalign to function summary.
5215 __memalign_hook is also called for posix_memalign and valloc.
5216
52172013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5218
5219 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5220 TAYLOR_SIN.
5221 (__sin): Adjust.
5222 (__cos): Likewise.
5223 (sloww): Use mynumber union. Expand ternary operator into
5224 if-else statements.
5225 (cslow): use mynumber union.
5226
52272013-12-16 Allan McRae <allan@archlinux.org>
5228
5229 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5230 * configure: Regenerated.
5231
5232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5233
5234 [BZ #14120]
5235 * configure.ac: Added --enable-maintainer-mode. Check for
5236 autoconf when enabled.
5237 * configure: Regenerated.
5238
5239 * nscd/nscd.service: New file.
5240 * nscd/nscd.tmpfiles: New file.
5241
52422013-12-14 Ondřej Bílka <neleai@seznam.cz>
5243
5244 [BZ #12100]
5245 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5246 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5247 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5248 (strstr): Add __strstr_sse2_unaligned ifunc.
5249 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5250 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5251 (strcasestr): Remove __strcasestr_sse42 ifunc.
5252 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5255
52562013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5257
5258 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5259 * sysdeps/sh/bits/fenv.h: ... here.
5260 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5261
52622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263
5264 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5265
52662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267
5268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5269 hypotf multiarch implementations.
5270 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5273 multiarch hypot for PPC64.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5277 multiarch hypotf for PPC64.
5278
52792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5280
5281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5282 modff multiarch implementations.
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5286 multiarch modf for PPC64.
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5290 multiarch modff for PPC64.
5291
52922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5293
5294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5295 and logl multiarch implementations.
5296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5299 multiarch logb for PPC64.
5300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5303 multiarch logb for PPC64.
5304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5307 multiarch logb for PPC64.
5308
53092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5310
5311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5312 isinff multiarch implementation.
5313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5314 file.
5315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5317 multiarch isinf for PPC64.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5319 file.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5321 multiarch isinff for PPC64.
5322
53232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5324
5325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5326 finitef multiarch implementation.
5327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5328 file.
5329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5331 multiarch finite for PPC64.
5332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5333 file.
5334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5335 multiarch finitef for PPC64.
5336
53372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5338
5339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5340 lrint multiarch implementation.
5341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5342 file.
5343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5345 multiarch llrint for PPC64.
5346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5347 multiarch lrint for PPC64.
5348
53492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350
5351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5352 copysignf multiarch implementation.
5353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5354 file.
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5356 file.
5357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5358 multiarch copysign for PPC64.
5359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5360 multiarch copysignf for PPC64.
5361
53622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5363
5364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5365 multiarch implementation.
5366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5367 file.
5368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5369 file.
5370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5371 file.
5372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5373 file.
5374 multiarch llround for PPC64.
5375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5376 multiarch trunc for PPC64.
5377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5378 multiarch truncf for PPC64.
5379
53802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5381
5382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5383 multiarch implementation.
5384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5385 file.
5386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5387 file.
5388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5389 file.
5390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5391 file.
5392 multiarch llround for PPC64.
5393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5394 multiarch round for PPC64.
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5396 multiarch roundf for PPC64.
5397
53982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5399
5400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5401 multiarch implementation.
5402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5403 file.
5404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5405 file.
5406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5407 file.
5408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5409 file.
5410 multiarch llround for PPC64.
5411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5412 multiarch floor for PPC64.
5413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5414 multiarch floorf for PPC64.
5415
54162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5417
5418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5419 multiarch implementation.
5420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5421 file.
5422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5423 file.
5424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5425 file.
5426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5427 file.
5428 multiarch llround for PPC64.
5429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5430 multiarch ceil for PPC64.
5431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5432 multiarch ceilf for PPC64.
5433
54342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5435
5436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5437 multiarch implementation.
5438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5439 file.
5440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5441 file.
5442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5443 file.
5444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5445 multiarch llround for PPC64.
5446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5447 multiarch lround for PPC64.
5448
54492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5450
5451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5452 multiarch implementation.
5453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5456 file.
5457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5460 multiarch isnan for PPC64.
5461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5462 multiarch isnanf for PPC64.
5463
54642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465
5466 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5467 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5468 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5469 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5470 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5472
54732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5474
5475 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5478 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5479
54802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5483 multiarch implementations.
5484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Likewise.
5486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5487 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5488 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5489 multiarch stpcpy for PPC64.
5490
54912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5492
5493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5494 multiarch implementations.
5495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5496 (__libc_ifunc_impl_list): Likewise.
5497 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5498 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5499 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5500 multiarch strcpy for PPC64.
5501
55022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5503
5504 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5505 redefine function name.
5506 (_wordcopy_fwd_dest_aligned): Likewise.
5507 (_wordcopy_bwd_aligned): Likewise.
5508 (_wordcopy_bwd_dest_aligned): Likewise.
5509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5510 multiarch implementations.
5511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5512 (__libc_ifunc_impl_list): Likewise.
5513 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5514 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5515 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5516 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5517 multiarch wcscpy for PPC64.
5518
55192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520
5521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5522 multiarch implementations.
5523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5524 (__libc_ifunc_impl_list): Likewise.
5525 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5526 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5527 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5528 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5529 multiarch wcscpy for PPC64.
5530
55312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5532
5533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5534 multiarch implementations.
5535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5536 (__libc_ifunc_impl_list): Likewise.
5537 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5538 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5539 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5540 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5541 multiarch wcsrchr for PPC64.
5542
55432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544
5545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5546 multiarch implementations.
5547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5548 (__libc_ifunc_impl_list): Likewise.
5549 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5550 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5551 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5552 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5553 multiarch wcschr for PPC64.
5554
55552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5556
5557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5558 multiarch implementations.
5559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5560 (__libc_ifunc_impl_list): Likewise.
5561 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5562 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5563 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5564 multiarch strchrnul for PPC64.
5565
55662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5567
5568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5569 implementations.
5570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5571 (__libc_ifunc_impl_list): Likewise.
5572 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5573 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5574 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5575 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5576 strchr for PPC64.
5577
55782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5579
5580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5581 implementations.
5582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5583 (__libc_ifunc_impl_list): Likewise.
5584 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5586 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5587 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5588 strncmp for PPC64.
5589
55902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591
5592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5593 multiarch implementations.
5594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5595 (__libc_ifunc_impl_list): Likewise.
5596 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5597 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5598 strncasecmp for PPC64.
5599 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5600 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5601 multiarch strncasecmp_l for PPC64.
5602
56032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5604
5605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5606 multiarch implementations.
5607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5608 (__libc_ifunc_impl_list): Likewise.
5609 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5610 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5611 multiarch strcasecmp for PPC64.
5612 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5613 file.
5614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5615 multiarch strcasecmp_l for PPC64.
5616
56172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5618
5619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5620 implementations.
5621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5622 (__libc_ifunc_impl_list): Likewise.
5623 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5624 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5625 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5626 strnlen for PPC64.
5627
56282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5629
5630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5631 implementations.
5632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5633 (__libc_ifunc_impl_list): Likewise.
5634 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5635 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5636 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5637 strlen for PPC64.
5638
56392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640
5641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5642 implementations.
5643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5644 (__libc_ifunc_impl_list): Likewise.
5645 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5646 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5647 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5648 rawmemrchr for PPC64.
5649
56502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5651
5652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5653 implementation.
5654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5655 (__libc_ifunc_impl_list): Likewise.
5656 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5657 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5658 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5659 memrchr for PPC64.
5660
56612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5662
5663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5664 implementation.
5665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5666 (__libc_ifunc_impl_list): Likewise.
5667 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5668 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5669 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5670 memchr for PPC64.
5671
56722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5673
5674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5675 implementation.
5676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5677 (__libc_ifunc_impl_list): Likewise.
5678 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5679 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5680 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5681 mempcpy for PPC64.
5682
56832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684
5685 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5686 avoid cretion of __bzero symbol.
5687 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5688 Likewise.
5689 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5690 Likewise.
5691 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5692 Likewise.
5693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5694 multiarch implementations.
5695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5696 (__libc_ifunc_impl_list): Likewise.
5697 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5698 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5699 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5700 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5701 bzero for PPC32.
5702 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5703 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5704 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5705 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5706 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5707 memset for PPC64.
5708 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5709
57102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5711
5712 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5714 implementations.
5715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5716 (__libc_ifunc_impl_list): Likewise.
5717 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5718 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5719 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5720 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5721 memcmp for PPC64.
5722
57232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5724
5725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5726 multiarch for POWER/PPC64.
5727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5728 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5729 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5734 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5735 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5736 memcpy for PPC64.
5737
57382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5739
5740 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5741 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5742 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5743 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5744 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5745 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5746 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5747 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5748 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5749 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5750 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5751 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5752 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5753 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5754 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5762
57632013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5764
5765 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5766
57672013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5768
5769 * benchtests/Makefile (bench): Add exp2 and log2.
5770 (LDLIBS-bench-exp2): Add -lm.
5771 (LDLIBS-bench-log2): Likewise.
5772 * benchtests/exp2-inputs: New inputs file.
5773 * benchtests/log2-inputs: New inputs file.
5774 * benchtests/log-inputs: Add new inputs.
5775 * benchtests/tan-inputs: Likewise.
5776
57772013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5778
5779 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5780 definition...
5781 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5782 csloww1, csloww2): ... from here.
5783
5784 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5785 instead of structures.
5786 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5787 (POLYNOMIAL): Likewise.
5788 (TAYLOR_SLOW): Likewise.
5789 (__sin): Likewise.
5790 (__cos): Likewise.
5791 (slow1): Likewise.
5792 (slow2): Likewise.
5793 (sloww): Likewise.
5794 (sloww1); Likewise.
5795 (sloww2): Likewise.
5796 (bsloww1): Likewise.
5797 (bsloww2): Likewise.
5798 (cslow2): Likewise.
5799 (csloww): Likewise.
5800 (csloww1): Likewise.
5801 (csloww2): Likewise.
5802
58032013-12-10 Ondřej Bílka <neleai@seznam.cz>
5804
5805 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5806 (__malloc_assert, __libc_realloc, __libc_calloc,
5807 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5808 memcpy and memset.
5809 * malloc/hooks.c (realloc_check): Likewise.
5810
58112013-12-10 Ondřej Bílka <neleai@seznam.cz>
5812
5813 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5814 * malloc/arena.c: Remove PER_THREAD conditional.
5815 [!PER_THREAD]: Remove code.
5816 (ptmalloc_unlock_all2): Likewise.
5817 (ptmalloc_init): Likewise.
5818 (_int_new_arena): Likewise.
5819 (arena_get2): Likewise.
5820 * malloc/hooks.c (__malloc_get_state): Likewise.
5821 (__malloc_set_state): Likewise.
5822 * malloc/malloc.c: Likewise.
5823 (struct malloc_state): Likewise.
5824 (struct malloc_par): Likewise.
5825 (__libc_realloc): Likewise.
5826 (__libc_mallopt): Likewise.
5827
58282013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829
5830 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5831
58322013-12-09 Ondřej Bílka <neleai@seznam.cz>
5833
5834 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5835 macro to a function. Check for zero perturb_byte.
5836 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5837
58382013-12-09 Ondřej Bílka <neleai@seznam.cz>
5839
5840 * malloc/malloc.c: (force_reg): Remove.
5841 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5842 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5843 force_reg by atomic_forced_read.
5844 * malloc/arena.c (ptmalloc_init): Likewise.
5845 * malloc/hooks.c (top_check): Likewise.
5846
58472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5848
5849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5850
58512013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5852
5853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5854
58552013-12-08 Joseph Myers <joseph@codesourcery.com>
5856
5857 * math/auto-libm-test-in: Add tests of lgamma.
5858 * math/auto-libm-test-out: Regenerated.
5859 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5860 (M_LOG_2_SQRT_PIl): Likewise.
5861 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5862 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5863 mpfr_f_f1.
5864 (func_calc_desc): Add mpfr_f_f1 union field.
5865 (ARGS1): New macro.
5866 (ARGS2): Likewise.
5867 (ARGS3): Likewise.
5868 (ARGS4): Likewise.
5869 (RET1): Likewise.
5870 (RET2): Likewise.
5871 (CALC): Likewise.
5872 (FUNC): Likewise.
5873 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5874 (test_functions): Add lgamma.
5875 (calc_generic_results): Handle mpfr_f_f1.
5876 * sysdeps/i386/fpu/libm-test-ulps: Update.
5877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5878
58792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5880
5881 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5882 __mpn_add_n for PowerPC64/POWER7.
5883 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5884 __mpn_sub_n for PowerPC64/POWER7.
5885
58862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887
5888 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5889 __mpn_addmul_1 for PowerPC64.
5890 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5891 __mpn_submul_1 for PowerPC64.
5892 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5893 for PowerPC64.
5894 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5895 for PowerPC64.
5896
58972013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5898
5899 [BZ #15089]
5900 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5901
59022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5903
5904 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5905
59062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5907
5908 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5909 add multiarch folders.
5910 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5911 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5912 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5913 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5914 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5915 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5916 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5917 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5918 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5919 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5920 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5927
59282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5931 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5933 New file.
5934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5935 New file.
5936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5937 multiarch __ieee754_hypot for PowerPC32.
5938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5939 New file.
5940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5941 New file.
5942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5943 multiarch __ieee754_hypotf for PowerPC32.
5944
59452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5948 long_double_symbol only if __logbl is defined.
5949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5950 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5952 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5954 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5956 path for implementation.
5957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5958 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5960 logb, and logbl multiarch implementations for PowerPC32.
5961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5962 file.
5963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5964 file.
5965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5966 multiarch logb for PowerPC32.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5968 file.
5969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5970 file.
5971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5972 multiarch logbf for PowerPC32.
5973 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5975 file.
5976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5977 multiarch logbl implementation for PowerPC32.
5978
59792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5980
5981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5982 and modff multiarch implementations.
5983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5984 New file.
5985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5986 New file.
5987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5988 multiarch modf for PowerPC32.
5989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5990 New file.
5991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5992 New file.
5993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5994 multiarch modff for PowerPC32.
5995
59962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5999 and lrintf multiarch implementations.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6001 New file.
6002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6003 New file.
6004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6005 multiarch lrint for PowerPC32.
6006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6007 file: multiarch lrintf for PowerPC32.
6008
60092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6010
6011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6012 and lroundf multiarch implementations.
6013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6014 New file.
6015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6016 New file.
6017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6018 New file.
6019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6020 multiarch lround for PowerPC32.
6021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6022 file: multiarch lroundf for PowerPC32.
6023
60242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6025
6026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6027 copysign and copysignf multiarch implementations.
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6029 New file.
6030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6031 New file.
6032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6033 file: multiarch copysign for PowerPC32.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6035 file: multiarch copysignf for PowerPC32.
6036
60372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038
6039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6040 and truncf multiarch implementations.
6041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6042 New file.
6043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6044 file.
6045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6046 multiarch trunc for PowerPC32.
6047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6048 New file.
6049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6050 New file.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6052 multiarch truncf for PowerPC32.
6053
60542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055
6056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6057 and roundf multiarch implementations.
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6059 New file.
6060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6061 file.
6062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6063 multiarch round for PowerPC32.
6064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6065 New file.
6066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6067 New file.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6069 multiarch roundf for PowerPC32.
6070
60712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072
6073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6074 and floorf multiarch implementations.
6075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6076 New file.
6077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6078 file.
6079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6080 multiarch floor for PowerPC32.
6081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6082 New file.
6083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6084 New file.
6085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6086 multiarch floorf for PowerPC32.
6087
60882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6089
6090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6091 and ceilf multiarch implementations.
6092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6093 New file.
6094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6095 file.
6096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6097 multiarch ceil for PowerPC32.
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6099 New file.
6100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6101 file.
6102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6103 multiarch ceilf for PowerPC32.
6104
61052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6106
6107 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6108 is defined.
6109 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6110 FINITEF is defined.
6111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6112 and finitef multiarch implementations.
6113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6114 New file.
6115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6116 file.
6117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6118 multiarch finite for PowerPC32.
6119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6120 New file.
6121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6122 file: multiarch finitef for PowerPC32.
6123
61242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6125
6126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6127 and isinff multiarch implementations.
6128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6129 file.
6130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6131 file.
6132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6133 multiarch isinf for PowerPC32.
6134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6135 New file.
6136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6137 multiarch isinff for PowerPC32.
6138
61392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
6141 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6142 alias when __isnan is defined.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6144 and isnanf multiarch implementations.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6146 file.
6147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6148 file.
6149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6150 file.
6151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6152 file.
6153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6154 multiarch isnan for PowerPC32.
6155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6156 New file.
6157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6158 New file.
6159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6160 multiarch isnanf for PowerPC32.
6161
61622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163
6164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6165 and sqrtf multiarch implementations.
6166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6167 file.
6168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6169 file.
6170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6171 multiarch sqrt for PowerPC32.
6172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6173 file.
6174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6175 file.
6176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6177 multiarch sqrtf for PowerPC32.
6178
61792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6180
6181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6182 and llroundf multiarch implementations.
6183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6184 New file.
6185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6186 New file.
6187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6188 New file.
6189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6190 file: multiarch llround for PowerPC32.
6191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6192 file: multiarch llroundf for PowerPC32.
6193
61942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195
6196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6197 multiarch PowerPC32 fpu implementations.
6198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6199 New file.
6200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6201 New file.
6202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6203 multiarch llrint for PowerPC32.
6204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6205 New file.
6206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6207 New file.
6208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6209 file.
6210
62112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6212
6213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6214
62152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216
6217 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6218 file.
6219 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6220 file.
6221 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6222 file.
6223 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6224 multiarch wordcopy for PPC32.
6225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6226 wordcopy objects.
6227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6228 (__libc_ifunc_impl_list): Likewise.
6229 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6230 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6231 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6232 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6233 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6234 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6235
62362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6237
6238 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6240 file.
6241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6242 file.
6243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6244 file.
6245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6246 multiarch wcscpy for PPC32.
6247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6248 multiarch objects.
6249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6250 (__libc_ifunc_impl_list): Likewise.
6251 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6252 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6253 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6254 sysdeps/powerpc/power6/wcscpy.c.
6255
62562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257
6258 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6260 file.
6261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6262 file.
6263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6264 file.
6265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6266 multiarch wcsrchr for PPC32.
6267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6268 multiarch objects.
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6270 (__libc_ifunc_impl_list): Likewise.
6271 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6272 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6273 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6274 sysdeps/powerpc/power6/wcsrchr.c.
6275
62762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277
6278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6279 file.
6280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6281 file.
6282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6284 multiarch wcschr for PPc32.
6285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6286 multiarch objects.
6287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6288 (__libc_ifunc_impl_list): Likewise.
6289 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6290 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6291 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6292 sysdeps/powerpc/power6/wcschr.c.
6293
62942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6295
6296 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6297 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6298 file.
6299 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6300 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6301 file: multiarch strchr for PPC32.
6302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6303 multiarch objects.
6304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6305 (__libc_ifunc_impl_list): Likewise.
6306
63072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6308
6309 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6310 name.
6311 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6312 file.
6313 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6314 file.
6315 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6316 multiarch strchrnul for PPC32.
6317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6318 multiarch objects.
6319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6320 (__libc_ifunc_impl_list): Likewise.
6321
63222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323
6324 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6325 file.
6326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6327 multiarch strncasecmp for PPC32.
6328 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6329 file.
6330 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6331 multiarch strncasecmp_l for PPC32.
6332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6333 strncasecmp multiarch objects.
6334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6335 (__libc_ifunc_impl_list): Likewise.
6336
63372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6338
6339 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6340 file.
6341 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6342 multiarch strncasecmp for PPC32.
6343 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6344 New file.
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6346 multiarch strcasecmp_l for PPC32.
6347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6348 multiarch objects.
6349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6350 (__libc_ifunc_impl_list): Likewise.
6351
63522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6353
6354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6355 file.
6356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6357 file.
6358 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6359 multiarch strncmp for PPC32.
6360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6361 multiarch objects.
6362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6363 (__libc_ifunc_impl_list): Likewise.
6364
63652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366
6367 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6368 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6369 file.
6370 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6371 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6373 multiarch objects.
6374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6375 (__libc_ifunc_impl_list): Likewise.
6376
63772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6380 file.
6381 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6382 file.
6383 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6385 multiarch objects.
6386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6387 (__libc_ifunc_impl_list): Likewise.
6388
63892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6390
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6392 file.
6393 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6394 file.
6395 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6396 multiarch rawmemchr for PPC32.
6397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6398 multiarch objects.
6399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6400 (__libc_ifunc_impl_list): Likewise.
6401
64022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403
6404 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6405 file.
6406 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6407 file.
6408 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6409 file: memrchr multiarch for PPC32.
6410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6411 multiarch objects.
6412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6413 (__libc_ifunc_impl_list): Likewise.
6414
64152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6416
6417 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6418 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6419 file.
6420 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6421 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6422 multiarch memchr for PPC32.
6423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6424 multiarch objects.
6425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6426 (__libc_ifunc_impl_list): Likewise.
6427
64282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429
6430 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6431 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6432 file.
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6434 file.
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6436 file: multiarch mempcpy for PPC32.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6438 multiarch objects.
6439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6440 (__libc_ifunc_impl_list): Likewise.
6441
64422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6443
6444 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6445 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6446 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6448 multiarch bzero for PPC32.
6449 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6450 file.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6452 file.
6453 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6454 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6455 file: multiarch memset for PPC32.
6456 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6458 memset multiarch objects.
6459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6460 (__libc_ifunc_impl_list): Likewise.
6461
64622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6463
6464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6465 file.
6466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6467 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6468 memcmp for PPC32.
6469 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6471 multiarch objects.
6472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6473 (__libc_ifunc_impl_list): Likewise.
6474
64752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6476
6477 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6478 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6480 file.
6481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6482 file.
6483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6484 file.
6485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6486 multiarch memcpy for PPC32.
6487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6488 multiarch objects.
6489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6490 (__libc_ifunc_impl_list): Likewise.
6491
64922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493
6494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6495 support multiarch for POWER/PPC32.
6496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6497 Likewise.
6498 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6500 Implies file to make multiarch folder appers before the fpu and
6501 default folder for power4 configuration.
6502
65032013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6504
6505 * scripts/bench.pl: Append volatile keyword to type.
6506
65072013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6508
6509 * sysdeps/sh/sotruss-lib.c: New file.
6510 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6511
65122013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6513
6514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6515
65162013-12-05 Joseph Myers <joseph@codesourcery.com>
6517
6518 [BZ #6810]
6519 * math/w_tgamma.c: Include <errno.h>.
6520 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6521 * math/w_tgammaf.c: Include <errno.h>.
6522 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6523 * math/w_tgammal.c: Include <errno.h>.
6524 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6525 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6526 underflow. Add more tgamma tests.
6527 * math/auto-libm-test-out: Regenerated.
6528 * sysdeps/i386/fpu/libm-test-ulps: Update.
6529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6530
6531 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6532 sin, sinh, tan, tanh, tgamma, y0 and y1.
6533 * math/auto-libm-test-out: Regenerated.
6534 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6535 (TEST_COND_x86): Likewise.
6536 (M_E2l): Remove macro.
6537 (M_E3l): Likewise.
6538 (M_2_SQRT_PIl): Likewise.
6539 (M_SQRT_PIl): Likewise.
6540 (M_1_DIV_El): Likewise.
6541 (log_test_data): Use AUTO_TESTS_f_f.
6542 (log10_test_data): Likewise.
6543 (log1p_test_data): Likewise.
6544 (log2_test_data): Likewise.
6545 (sin_test_data): Likewise.
6546 (sin_tonearest_test_data): Likewise.
6547 (sin_towardzero_test_data): Likewise.
6548 (sin_downward_test_data): Likewise.
6549 (sin_upward_test_data): Likewise.
6550 (sinh_test_data): Likewise.
6551 (sinh_tonearest_test_data): Likewise.
6552 (sinh_towardzero_test_data): Likewise.
6553 (sinh_downward_test_data): Likewise.
6554 (sinh_upward_test_data): Likewise.
6555 (tan_test_data): Likewise.
6556 (tan_tonearest_test_data): Likewise.
6557 (tan_towardzero_test_data): Likewise.
6558 (tan_downward_test_data): Likewise.
6559 (tan_upward_test_data): Likewise.
6560 (tanh_test_data): Likewise.
6561 (tgamma_test_data): Likewise.
6562 (y0_test_data): Likewise.
6563 (y1_test_data): Likewise.
6564 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6565 (special_real_inputs): Add pi/4.
6566 * sysdeps/i386/fpu/libm-test-ulps: Update.
6567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6568
65692013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6570
6571 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6572 "longjmp_target" static probes.
6573 (__longjmp): Rename to __longjmp_symbol.
6574 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6575 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6576 on which longjmp to generate.
6577 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6578 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6579 probe.
6580 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6581 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6582 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6583 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6584 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6585 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6587 __longjmp_symbol based on which __longjmp to generate.
6588 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6589 probe.
6590 (setjmp): Rename to setjmp_symbol.
6591 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6592 (_setjmp): Rename to _setjmp_symbol.
6593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6594 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6595 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6596 which setjmp to generate.
6597 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6598 "longjmp_target" static probes.
6599
66002013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6601
6602 * benchtests/README: Add note about output arguments.
6603 * benchtests/bench-sincos.c: Remove file.
6604 * benchtests/sincos-inputs: New file.
6605 * scripts/bench.pl: Identify output arguments and define
6606 static variables for them.
6607
6608 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6609
6610 [BZ #15941]
6611 * Makefile (INSTALL): Add install-plain.texi as the primary
6612 dependency.
6613 * manual/install-plain.texi: New file.
6614 * manual/install.texi: Include node directive only for
6615 non-plaintext output.
6616
66172013-12-04 Joseph Myers <joseph@codesourcery.com>
6618
6619 * stdlib/longlong.h: Update from GCC.
6620
6621 [BZ #6807]
6622 [BZ #15901]
6623 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6624 * math/w_j0f.c (y0f): Likewise.
6625 * math/w_j0l.c (__y0l): Likewise.
6626 * math/w_j1.c (y1): Likewise.
6627 * math/w_j1f.c (y1f): Likewise.
6628 * math/w_j1l.c (__y1l): Likewise
6629 * math/w_jn.c (yn): Likewise.
6630 * math/w_jnf.c (ynf): Likewise.
6631 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6632 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6633 value for Bessel function domain errors outside _SVID_ mode.
6634 Adjust sign of return value for yn (negative integer, 0).
6635 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6636 by zero in return for negative x and set sign appropriately for
6637 negative n.
6638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6639 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6640 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6641 expectations in error cases.
6642 (y1_test_data): Likewise.
6643 (yn_test_data): Likewise.
6644 * sysdeps/i386/fpu/libm-test-ulps: Update.
6645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6646
66472013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6648
6649 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6650 "64" to "64-v1". Add "64-v2".
6651 (abi-64-options): Rename to ...
6652 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6653 (abi-64-condition): Rename to ...
6654 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6655 (abi-64-ld-soname): Rename to ...
6656 (abi-64-v1-ld-soname): ... this.
6657 (abi-64-v2-options): Define.
6658 (abi-64-v2-condition): Likewise.
6659 (abi-64-v2-ld-soname): Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6661 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6665
66662013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6667 Alan Modra <amodra@gmail.com>
6668
6669 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6670 New versions for use with the ELFv2 ABI.
6671 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6672 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6673 declaration.
6674 (struct La_ppc64v2_retval): Likewise.
6675 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6676 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6677 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6678 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6679 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6680 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6681 Do not save or restore CR.
6682 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6683 (_dl_profile_resolve): Do no save or restore CR. Support extended
6684 return values for ELFv2 ABI. Fix location of FPR return registers.
6685 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6686 updated values for _CALL_ELF == 2.
6687 (La_regs, La_retval, int_retval): Likewise.
6688
66892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6690
6691 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6692 (FRAME_MIN_SIZE_PARM): Likewise.
6693 (FRAME_BACKCHAIN): Likewise.
6694 (FRAME_CR_SAVE): Likewise.
6695 (FRAME_LR_SAVE): Likewise.
6696 (FRAME_TOC_SAVE): Likewise.
6697 (FRAME_PARM_SAVE): Likewise.
6698 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6699 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6700 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6701 (call_mcount_parm_offset): New macro.
6702 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6703 (PROF): Use symbolic stack frame offsets.
6704 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6706 Redefine in terms of FRAME_MIN_SIZE.
6707 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6708 (_dl_profile_resolve): Likewise. Update comment.
6709 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6710 symbols stack frame offsets.
6711 (__sigsetjmp): Likewise.
6712 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6713 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6714 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6715 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6716
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6718 (FRAME_BACKCHAIN): Remove.
6719 (FRAME_CR_SAVE): Likewise.
6720 (FRAME_LR_SAVE): Likewise.
6721 (FRAME_COMPILER_DW): Likewise.
6722 (FRAME_LINKER_DW): Likewise.
6723 (FRAME_TOC_SAVE): Likewise.
6724 (FRAME_PARM_SAVE): Likewise.
6725 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6726 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6727 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6729 (CHECK_SP): Use symbolic stack frame offsets.
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6731 zone" instead of caller's parameter save area for temp storage.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6733 Likewise. Also, use symbolic stack frame offsets.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6735 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6736 our own stack frame instead of the caller's.
6737 (__socket): Use symbolic stack frame offsets.
6738
67392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6740 Alan Modra <amodra@gmail.com>
6741
6742 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6743 Define.
6744 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6745 PPC64_LOCAL_ENTRY_OFFSET): Define.
6746 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6747 New function.
6748 (elf_machine_fixup_plt): Call it.
6749 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6750 reloc arguments.
6751 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6752 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6753 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6754 r2 before calling target.
6755
67562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6757 Alan Modra <amodra@gmail.com>
6758
6759 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6760 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6761 versions of macros to support ELFv2 ABI.
6762 (LOCALENTRY): New macro.
6763 (ENTRY, EALIGN): Use it.
6764 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6765 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6766 fall through into ENTRY entry point.
6767 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6768 Only define if _CALL_ELF != 2.
6769
6770 (elf_machine_matches_host): Verify ABI version matches.
6771 (RTLD_START): Use LOCALENTRY.
6772 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6773 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6774 (PLT_ENTRY_WORDS): New macro.
6775 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6776 (elf_machine_runtime_setup): Support ELFv2 ABI.
6777 (elf_machine_fixup_plt): Likewise.
6778 (elf_machine_plt_conflict): Likewise.
6779 (resolve_ifunc): Likewise.
6780 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6781 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6782 Likewise.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6784 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6786 (makecontext): Support ELFv2 ABI.
6787 * elf/elf.h (EF_PPC64_ABI): Define.
6788
67892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6790
6791 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6792 New assembler macro.
6793 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6794 [ASSEMBLER] (ENTRY): ... but instead here ...
6795 [ASSEMBLER] (EALIGN): ... and here.
6796 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6797 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6798 [!ASSEMBLER] (ENTRY_2): Use it.
6799 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6800 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6801 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6802 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6803 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6805 Use PPC64_LOAD_FUNCPTR.
6806
68072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6808
6809 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6810
68112013-12-04 Alan Modra <amodra@gmail.com>
6812
6813 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6814 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6815 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6816 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6817
6818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6819 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6820 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6821 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6822 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6823 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6824
68252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6826
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6828 (__makecontext): Fix incorrect CFI when backtracing out of
6829 context created via makecontext.
6830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6831 (__setcontext): Fix incorrect CFI during switch to new context.
6832 (__novec_setcontext): Likewise.
6833
68342013-12-04 Ondřej Bílka <neleai@seznam.cz>
6835
6836 [BZ #4772]
6837 * time/strptime_l.c (__strptime_internal): Allow modifiers
6838 in strptime.
6839 * time/tst-strptime.c (day_tests): Add testcase.
6840
6841
68422013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6843
6844 * scripts/bench.pl: Skip over blank lines.
6845
68462013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6847
6848 [BZ #926]
6849 * manual/time.texi (Calendar Time): Clarify what timezone functions
6850 use.
6851
68522013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6853
6854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6855
68562013-12-04 Ondřej Bílka <neleai@seznam.cz>
6857
6858 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6859 implementation.
6860 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6861 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6862 * debug/memset_chk.c (__memset_chk): Likewise.
6863 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6864 * debug/strncpy_chk.c: Likewise.
6865
68662013-12-03 Joseph Myers <joseph@codesourcery.com>
6867
6868 [BZ #15268]
6869 [BZ #15425]
6870 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6871 (__ieee754_exp): For possibly underflowing results, check size of
6872 result and force underflow exception if required.
6873 * math/auto-libm-test-in: Add more tests of exp.
6874 * math/auto-libm-test-out: Regenerated.
6875 * sysdeps/i386/fpu/libm-test-ulps: Update.
6876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6877
6878 [BZ #16283]
6879 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6880 * math/w_exp2f.c (__exp2f): Likewise.
6881 * math/w_exp2l.c (__exp2l): Likewise.
6882 * math/auto-libm-test-in: Do not allow missing errno on exp2
6883 underflow.
6884 * math/auto-libm-test-out: Regenerated.
6885
68862013-12-03 Ondřej Bílka <neleai@seznam.cz>
6887
6888 [BZ #16274]
6889 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6890 handle filename validation.
6891 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6892 (do_open): Delete.
6893
68942013-12-03 Joseph Myers <joseph@codesourcery.com>
6895
6896 [BZ #6786]
6897 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6898 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6899 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6900 <float.h>.
6901 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6902 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6903 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6905 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6906 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6907 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6908 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6909 Add more erfc tests.
6910 * math/auto-libm-test-out: Regenerated.
6911 * sysdeps/i386/fpu/libm-test-ulps: Update.
6912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6913
6914 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6915 exp2, expm1, j0 and j1.
6916 * math/auto-libm-test-out: Regenerated.
6917 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6918 (erfc_test_data): Likewise.
6919 (exp_test_data): Likewise.
6920 (exp_tonearest_test_data): Likewise.
6921 (exp_towardzero_test_data): Likewise.
6922 (exp_downward_test_data): Likewise.
6923 (exp_upward_test_data): Likewise.
6924 (exp10_test_data): Likewise.
6925 (exp2_test_data): Likewise.
6926 (expm1_test_data): Likewise.
6927 (j0_test_data): Likewise.
6928 (j1_test_data): Likewise.
6929 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6930 (input_flag_type): Add flag_xfail_rounding.
6931 (input_flags): Add xfail-rounding.
6932 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6933 (output_for_one_input_case): Handle flag_xfail_rounding.
6934 * sysdeps/i386/fpu/libm-test-ulps: Update.
6935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6936
69372013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6938
6939 [BZ #16289]
6940 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6941 division by 0.
6942
69432013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6944
6945 [BZ #16195]
6946 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6947 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6948 (STAP_PROBE0): New macro.
6949 (STAP_PROBE1): Likewise.
6950 (STAP_PROBE2): Likewise.
6951 (STAP_PROBE3): Likewise.
6952 (STAP_PROBE4): Likewise.
6953
69542013-12-02 Ondřej Bílka <neleai@seznam.cz>
6955
6956 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6957
69582013-12-02 Steve Ellcey <sellcey@mips.com>
6959
6960 * benchtests/Makefile (bench): Add sqrt.
6961 (LDLIBS-bench-sqrt): New.
6962 * benchtests/sqrt-input: New.
6963
69642013-12-02 Pavel Simerda <psimerda@redhat.com>
6965
6966 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6967 (GAIH_EAI): Likewise.
6968 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6969 (gaih_inet): Likewise.
6970 (getaddrinfo): Don't use GAIH_EAI.
6971
6972 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6973 (struct gaih): Remove definition.
6974
69752013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6976
6977 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6978 Use HERRNOP directly.
6979
69802013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981
6982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6983
69842013-11-30 Joseph Myers <joseph@codesourcery.com>
6985
6986 * math/gen-auto-libm-tests.c (test_functions): Add more
6987 single-argument functions.
6988 (special_fill_pi_2): New function.
6989 (special_fill_minus_pi_2): Likewise.
6990 (special_fill_pi_6): Likewise.
6991 (special_fill_minus_pi_6): Likewise.
6992 (special_fill_pi_3): Likewise.
6993 (special_fill_2pi_3): Likewise.
6994 (special_fill_e): Likewise.
6995 (special_fill_1_e): Likewise.
6996 (special_fill_e_minus_1): Likewise.
6997 (special_real_inputs): Add more special inputs.
6998 (output_for_one_input_case): Do not require ERANGE on underflow to
6999 zero if round-to-nearest result does not underflow to zero, unless
7000 exact results required.
7001 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7002 atan, atanh, cbrt, cos and cosh.
7003 * math/auto-libm-test-out: Regenerated.
7004 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7005 (acos_tonearest_test_data): Likewise.
7006 (acos_towardzero_test_data): Likewise.
7007 (acos_downward_test_data): Likewise.
7008 (acos_upward_test_data): Likewise.
7009 (acosh_test_data): Likewise.
7010 (asin_test_data): Likewise.
7011 (asin_tonearest_test_data): Likewise.
7012 (asin_towardzero_test_data): Likewise.
7013 (asin_upward_test_data): Likewise.
7014 (asinh_test_data): Likewise.
7015 (atan_test_data): Likewise.
7016 (atanh_test_data): Likewise.
7017 (cbrt_test_data): Likewise.
7018 (cos_test_data): Likewise.
7019 (cos_tonearest_test_data): Likewise.
7020 (cos_towardzero_test_data): Likewise.
7021 (cos_downward_test_data): Likewise.
7022 (cos_upward_test_data): Likewise.
7023 (cosh_test_data): Likewise.
7024 (cosh_tonearest_test_data): Likewise.
7025 (cosh_towardzero_test_data): Likewise.
7026 (cosh_downward_test_data): Likewise.
7027 (cosh_upward_test_data): Likewise.
7028 * sysdeps/i386/fpu/libm-test-ulps: Update.
7029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7030
70312013-11-29 Joseph Myers <joseph@codesourcery.com>
7032
7033 [BZ #6787]
7034 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7035 * math/w_exp10f.c (__exp10f): Likewise.
7036 * math/w_exp10l.c (__exp10l): Likewise.
7037 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7038 errno settings in existing tests.
7039
7040 [BZ #14032]
7041 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7042 precision control set to double precision.
7043 * sysdeps/i386/fpu/w_sqrt.c: New file.
7044 * math/auto-libm-test-in: Add more tests.
7045 * math/auto-libm-test-out: Update.
7046
7047 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7048 (sqrt_test_tonearest): New function.
7049 (sqrt_towardzero_test_data): New variable.
7050 (sqrt_test_towardzero): New function.
7051 (sqrt_downward_test_data): New variable.
7052 (sqrt_test_downward): New function.
7053 (sqrt_upward_test_data): New variable.
7054 (sqrt_test_upward): New function.
7055 (main): Call the new functions.
7056
7057 * math/gen-auto-libm-tests.c: New file.
7058 * math/auto-libm-test-in: Likewise.
7059 * math/auto-libm-test-out: New generated file.
7060 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7061 variables.
7062 (%beautify): Add generated representations of zero.
7063 (top level): Set $auto_input and call parse_auto_input.
7064 (beautify): Remove trailing "f" from hex float constants.
7065 (parse_args): Handle XFAIL_TEST.
7066 (convert_condition): New function.
7067 (or_value): Likewise.
7068 (or_cond_value): Likewise.
7069 (generate_testfile): Handle AUTO_TESTS_* lines.
7070 (parse_auto_input): New function.
7071 * math/libm-test.inc (XFAIL_TEST): New macro.
7072 (ERRNO_UNCHANGED): Update value.
7073 (ERRNO_EDOM): Likewise.
7074 (ERRNO_ERANGE): Likewise.
7075 (IGNORE_RESULT): Likewise.
7076 (TEST_COND_flt_32): New macro.
7077 (TEST_COND_dbl_64): Likewise.
7078 (TEST_COND_ldbl_96_intel): Likewise.
7079 (TEST_COND_ldbl_96_m68k): Likewise.
7080 (TEST_COND_ldbl_128): Likewise.
7081 (TEST_COND_ldbl_128ibm): Likewise.
7082 (TEST_COND_long32): Likewise.
7083 (TEST_COND_long64): Likewise.
7084 (TEST_COND_before_rounding): Likewise.
7085 (TEST_COND_after_rounding): Likewise.
7086 (enable_test): Handle XFAIL_TEST flag.
7087 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7088 with finite results.
7089 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7090 auto-libm-test-out.
7091
70922013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7093 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7094
7095 [BZ #16214]
7096 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7097 __tls_get_addr_internal instead of __tls_get_offset in order to
7098 avoid GOT pointer dependency. Make rtld export
7099 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7100 __tls_get_addr since we are a __tls_get_offset platform.
7101 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7102 GOT pointer being set up before.
7103 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7104
71052013-11-28 Joseph Myers <joseph@codesourcery.com>
7106
7107 * manual/math.texi (Errors in Math Functions): Document accuracy
7108 goals.
7109
7110 [BZ #15004]
7111 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7112 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7115 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7117 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7126 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7127
7128 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7129 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7130 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7131 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7132 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7133 Likewise.
7134 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7135 Likewise.
7136 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7137 Likewise.
7138 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7139 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7140 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7141 atomic-feupdateenv and flt-rounds.
7142 * sysdeps/powerpc/nofpu/Versions (libc): Add
7143 __atomic_feholdexcept, __atomic_feclearexcept,
7144 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7145 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7146 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7147 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7148 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7149 here.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7151 Update.
7152
7153 * manual/arith.texi (FP Exceptions): Document that exceptions may
7154 not be raised when matherr is used.
7155 (Math Error Reporting): Document overflow in directed rounding
7156 modes. Document that errno may not be set when finite values are
7157 returned on overflow. Document intent to set errno on underflow
7158 only for underflow to zero.
7159
7160 [BZ #16271]
7161 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7162 round-to-nearest then adjust result for other rounding modes.
7163 * include/fenv.h (fegetround): Use libm_hidden_proto.
7164 * math/fegetround.c (fegetround): Use libm_hidden_def.
7165 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7166 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7167 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7168 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7169 Likewise.
7170 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7172 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7173 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7174
71752013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7176
7177 [BZ #16077]
7178 * nss/Versions (libnss_files): Add
7179 _nss_files_gethostbyname3_r.
7180 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7181 New function.
7182 (HOST_DB_LOOKUP): Remove macro.
7183 (_nss_files_gethostbyname_r): Implement function without the
7184 HOST_DB_LOOKUP macro.
7185 (_nss_files_gethostbyname2_r): Likewise.
7186
71872013-11-28 Ondřej Bílka <neleai@seznam.cz>
7188
7189 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7190
71912013-11-26 Uros Bizjak <ubizjak@gmail.com>
7192
7193 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7194 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7195 warning.
7196
71972013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7198
7199 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7200 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7201 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7202 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7203 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7204 __fe_nomask_env_priv and attribute_hidden.
7205 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7206 (libc_feupdateenv_test_ppc): Likewise.
7207 (libc_feresetround_ppc): Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7209 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7210 compat_symbol macro.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7212 (__fe_nomask_env): Likewise.
7213 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7214
72152013-11-26 Ondřej Bílka <neleai@seznam.cz>
7216
7217 * string/Makefile: Remove ifunc tests.
7218 * string/test-string.h: Define TEST_IFUNC.
7219 * string/test-bcopy-ifunc.c: Remove.
7220 * string/test-bzero-ifunc.c: Likewise.
7221 * string/test-memccpy-ifunc.c: Likewise.
7222 * string/test-memchr-ifunc.c: Likewise.
7223 * string/test-memcmp-ifunc.c: Likewise.
7224 * string/test-memcpy-ifunc.c: Likewise.
7225 * string/test-memmem-ifunc.c: Likewise.
7226 * string/test-memmove-ifunc.c: Likewise.
7227 * string/test-mempcpy-ifunc.c: Likewise.
7228 * string/test-memrchr-ifunc.c: Likewise.
7229 * string/test-memset-ifunc.c: Likewise.
7230 * string/test-rawmemchr-ifunc.c: Likewise.
7231 * string/test-stpcpy-ifunc.c: Likewise.
7232 * string/test-stpncpy-ifunc.c: Likewise.
7233 * string/test-strcasecmp-ifunc.c: Likewise.
7234 * string/test-strcasestr-ifunc.c: Likewise.
7235 * string/test-strcat-ifunc.c: Likewise.
7236 * string/test-strchr-ifunc.c: Likewise.
7237 * string/test-strchrnul-ifunc.c: Likewise.
7238 * string/test-strcmp-ifunc.c: Likewise.
7239 * string/test-strcpy-ifunc.c: Likewise.
7240 * string/test-strcspn-ifunc.c: Likewise.
7241 * string/test-strlen-ifunc.c: Likewise.
7242 * string/test-strncasecmp-ifunc.c: Likewise.
7243 * string/test-strncat-ifunc.c: Likewise.
7244 * string/test-strncmp-ifunc.c: Likewise.
7245 * string/test-strncpy-ifunc.c: Likewise.
7246 * string/test-strnlen-ifunc.c: Likewise.
7247 * string/test-strpbrk-ifunc.c: Likewise.
7248 * string/test-strrchr-ifunc.c: Likewise.
7249 * string/test-strspn-ifunc.c: Likewise.
7250 * string/test-strstr-ifunc.c: Likewise.
7251
72522013-11-26 Ondřej Bílka <neleai@seznam.cz>
7253
7254 * benchtests/Makefile: Remove ifunc tests.
7255 * benchtests/bench-string.h: Define TEST_IFUNC.
7256 * benchtests/bench-bcopy-ifunc.c: Remove.
7257 * benchtests/bench-bzero-ifunc.c: Likewise.
7258 * benchtests/bench-memccpy-ifunc.c: Likewise.
7259 * benchtests/bench-memchr-ifunc.c: Likewise.
7260 * benchtests/bench-memcmp-ifunc.c: Likewise.
7261 * benchtests/bench-memcpy-ifunc.c: Likewise.
7262 * benchtests/bench-memmem-ifunc.c: Likewise.
7263 * benchtests/bench-memmove-ifunc.c: Likewise.
7264 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7265 * benchtests/bench-memrchr-ifunc.c: Likewise.
7266 * benchtests/bench-memset-ifunc.c: Likewise.
7267 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7268 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7269 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7270 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7271 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7272 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7273 * benchtests/bench-strcat-ifunc.c: Likewise.
7274 * benchtests/bench-strchr-ifunc.c: Likewise.
7275 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7276 * benchtests/bench-strcmp-ifunc.c: Likewise.
7277 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7278 * benchtests/bench-strcpy-ifunc.c: Likewise.
7279 * benchtests/bench-strcspn-ifunc.c: Likewise.
7280 * benchtests/bench-strlen-ifunc.c: Likewise.
7281 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7282 * benchtests/bench-strncat-ifunc.c: Likewise.
7283 * benchtests/bench-strncmp-ifunc.c: Likewise.
7284 * benchtests/bench-strncpy-ifunc.c: Likewise.
7285 * benchtests/bench-strnlen-ifunc.c: Likewise.
7286 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7287 * benchtests/bench-strrchr-ifunc.c: Likewise.
7288 * benchtests/bench-strsep-ifunc.c: Likewise.
7289 * benchtests/bench-strspn-ifunc.c: Likewise.
7290 * benchtests/bench-strstr-ifunc.c: Likewise.
7291
72922013-11-26 Ondřej Bílka <neleai@seznam.cz>
7293
7294 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7295
72962013-11-26 Ondřej Bílka <neleai@seznam.cz>
7297
7298 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7299 * rt/aio.h: Likewise.
7300 * sysdeps/gnu/bits/utmp.h: Likewise.
7301 * sysdeps/gnu/bits/utmpx.h: Likewise.
7302 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7303 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7304 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7305 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7306 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7307 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7308 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7309 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7311 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7316 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7317 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7318 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7319 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7320 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7321 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7322 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7323 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7324 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7325 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7326 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7328 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7330 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7331 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7333 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7336 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7337 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7338 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7339 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7340 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7341 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7342 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7343 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7344
73452013-11-25 Carlos O'Donell <carlos@redhat.com>
7346
7347 [BZ #16245]
7348 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7349 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7350
73512013-11-25 Joseph Myers <joseph@codesourcery.com>
7352
7353 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7354 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7355 Likewise.
7356
73572013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7358
7359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7360 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7361 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7362 (__fesetround): Remove define.
7363 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7364 rounding and exceptions handling.
7365 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7366 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7367 (__fe_nomask_env): Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7369 __fegetround instead of fegetround.
7370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7372
73732013-11-21 Roland McGrath <roland@hack.frob.com>
7374
7375 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7376 it's there.
7377
7378 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7379
73802013-11-21 Meador Inge <meadori@codesourcery.com>
7381
7382 [BZ #11157]
7383 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7384 (encrypt_r): Likewise.
7385 * malloc/obstack.h (obstack_free): Likewise.
7386 * posix/unistd.h (encrypt): Likewise.
7387
73882013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7389
7390 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7391 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7392 DL_CALL_DT_FINI() that call the functions directly.
7393 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7394 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7395 * elf/dl-fini.c: Likewise.
7396
73972013-11-20 Ondřej Bílka <neleai@seznam.cz>
7398
7399 * malloc/hooks.c (memalign_check): Add alignment rounding.
7400 * malloc/malloc.c (_mid_memalign): New function.
7401 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7402 Implement by calling _mid_memalign.
7403 * manual/probes.texi (Memory Allocation Probes): Remove
7404 memory_valloc_retry and memory_pvalloc_retry.
7405
74062013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7407
7408 * locale/programs/locarchive.c (open_archive): Add const
7409 qualifier to ARCHIVEFNAME and copy default fname to
7410 DEFAULT_FNAME.
7411
7412 [BZ #15601]
7413 * libio/tst-widetext.input: Rename Oriya to Odia.
7414 * locale/iso-639.def: Likewise.
7415
7416 * manual/probes.texi (Mathematical Function Probes): Add
7417 documentation for sin, cos, asin and acos probes.
7418 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7419 (__sin32): Add slowasin probe.
7420 (__cos32): Add slowacos probe.
7421 (__mpsin): Add slowsin probe.
7422 (__mpcos): Add slowcos probe.
7423
74242013-11-19 Joseph Myers <joseph@codesourcery.com>
7425
7426 [BZ #15483]
7427 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7428 thread-local __sim_exceptions_thread and global
7429 __sim_exceptions_global.
7430 (__sim_disabled_exceptions): Change to thread-local
7431 __sim_disabled_exceptions_thread and global
7432 __sim_disabled_exceptions_global.
7433 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7434 and global __sim_round_mode_global.
7435 (__simulate_exceptions): Use thread-local floating-point state and
7436 set global state from it as needed.
7437 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7438 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7439 __sim_round_mode_thread.
7440 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7441 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7442 and global __sim_exceptions_global.
7443 (__sim_disabled_exceptions): Change to thread-local
7444 __sim_disabled_exceptions_thread and global
7445 __sim_disabled_exceptions_global.
7446 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7447 and global __sim_round_mode_global.
7448 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7449 (SIM_SET_GLOBAL): Likewise.
7450 * sysdeps/powerpc/soft-fp/sfp-machine.h
7451 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7452 __sim_round_mode_thread.
7453 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7454 __sim_disabled_exceptions_thread.
7455 (__sim_exceptions): Change to __sim_exceptions_thread.
7456 (__sim_disabled_exceptions): Change to
7457 __sim_disabled_exceptions_thread.
7458 (__sim_round_mode): Change to __sim_round_mode_thread.
7459 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7460 thread-local floating-point state and set global state from it as
7461 needed.
7462 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7463 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7464 (__sim_disabled_exceptions): Remove extern declaration.
7465 (feenableexcept): Use thread-local floating-point state and set
7466 global state from it as needed.
7467 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7468 extern declaration.
7469 (__sim_disabled_exceptions): Likewise.
7470 (__sim_round_mode): Likewise.
7471 (__fegetenv): Use thread-local floating-point state.
7472 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7473 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7474 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7475 floating-point state and set global state from it as needed.
7476 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7477 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7478 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7479 Likewise.
7480 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7481 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7482 Likewise.
7483 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7484 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7485 Use __sim_round_mode_thread.
7486 * math/test-fenv-tls.c: New file.
7487 * math/Makefile (tests): Add test-fenv-tls.
7488 ($(objpfx)test-fenv-tls): Depend on
7489 $(common-objpfx)nptl/libpthread.so.
7490
74912013-11-19 Andreas Schwab <schwab@suse.de>
7492
7493 * locale/programs/locale.c (show_info): Decode wordarray elements.
7494 * locale/categories.def (LC_MONETARY): Add element for
7495 _NL_MONETARY_CRNCYSTR.
7496 * locale/C-monetary.c (conversion_rate): New variable.
7497 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7498 element.
7499
75002013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7501
7502 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7503 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7504
75052013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7506
7507 * elf/Makefile (tst-auxv): New test.
7508 * elf/tst-auxv.c: New
7509 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7510
75112013-11-18 Joseph Myers <joseph@codesourcery.com>
7512
7513 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7514 (hidden_proto): Caller changed.
7515 (hidden_tls_proto): New macro.
7516 (libc_hidden_tls_proto): Likewise.
7517 (rtld_hidden_tls_proto): Likewise.
7518 (libm_hidden_tls_proto): Likewise.
7519 (libresolv_hidden_tls_proto): Likewise.
7520 (librt_hidden_tls_proto): Likewise.
7521 (libdl_hidden_tls_proto): Likewise.
7522 (libnss_files_hidden_tls_proto): Likewise.
7523 (libnsl_hidden_tls_proto): Likewise.
7524 (libnss_nisplus_hidden_tls_proto): Likewise.
7525 (libutil_hidden_tls_proto): Likewise.
7526
75272013-11-18 Ondřej Bílka <neleai@seznam.cz>
7528
7529 [BZ #10253]
7530 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7531 (decompose_rpath): Defer expansion to fillin_rpath.
7532 (_dl_init_paths): Pass linkmap to fillin_rpath.
7533
75342013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7535
7536 * benchtests/Makefile: Add strsep.
7537 * benchtests/bench-strsep.c: New file: strsep benchtest.
7538 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7539
75402013-11-18 Andreas Schwab <schwab@suse.de>
7541
7542 * locale/programs/locale.c (show_info) [case byte]: Check for
7543 '\377' instead of '\177'.
7544 * locale/C-monetary.c (not_available): Always use "\377".
7545 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7546 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7547 detect unavailable sign_posn locale elements.
7548 * locale/localeconv.c (__localeconv): For grouping and
7549 mon_grouping handle "\177" and "\377" like no grouping.
7550 (INT_ELEM): New macro. Use it to set all numeric members.
7551 * locale/programs/ld-monetary.c (monetary_read)
7552 <tok_mon_grouping>: Normalize single -1 to the empty string.
7553 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7554 Likewise.
7555
75562013-11-07 Ondřej Bílka <neleai@seznam.cz>
7557
7558 [BZ #16055]
7559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7560 when we match (nil).
7561 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7562
75632013-11-16 Joseph Myers <joseph@codesourcery.com>
7564
7565 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7566 (NO_TEST_INLINE): Update value.
7567 (ERRNO_UNCHANGED): Likewise.
7568 (ERRNO_EDOM): Likewise.
7569 (ERRNO_ERANGE): Likewise.
7570 (IGNORE_RESULT): Likewise.
7571 (check_float_internal): Check signs of NaN results if
7572 TEST_NAN_SIGN used.
7573 (check_complex): Pass TEST_NAN_SIGN flag through to second
7574 check_float_internal call.
7575 (copysign_test_data): Add tests with quiet NaNs as second
7576 argument. Use TEST_NAN_SIGN.
7577 (fabs_test_data): Add test of negative quiet NaN argument. Use
7578 TEST_NAN_SIGN.
7579 (signbit_test_data): Add tests of quiet NaN argument.
7580 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7581
7582 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7583 $ignore_result.
7584 (parse_args): Handle function results specified as IGNORE.
7585 * math/libm-test.inc (IGNORE_RESULT): New macro.
7586 (check_float_internal): Do not check numerical result if flag
7587 IGNORE_RESULT set.
7588 (check_complex): Pass through IGNORE_RESULT to second
7589 check_float_internal call.
7590 (check_int): Do not check numerical result if flag IGNORE_RESULT
7591 set.
7592 (check_long): Likewise.
7593 (check_bool): Likewise.
7594 (check_longlong): Likewise.
7595 (lrint_test_data): Add tests of infinite and NaN arguments.
7596 (lrint_tonearest_test_data): Likewise.
7597 (lrint_towardzero_test_data): Likewise.
7598 (lrint_downward_test_data): Likewise.
7599 (lrint_upward_test_data): Likewise.
7600 (llrint_test_data): Likewise.
7601 (llrint_tonearest_test_data): Likewise.
7602 (llrint_towardzero_test_data): Likewise.
7603 (llrint_downward_test_data): Likewise.
7604 (llrint_upward_test_data): Likewise.
7605 (lround_test_data): Likewise.
7606 (llround_test_data): Likewise.
7607
7608 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7609 (ERRNO_UNCHANGED): Update value.
7610 (ERRNO_EDOM): Likewise.
7611 (ERRNO_ERANGE): Likewise.
7612 (NO_TEST_INLINE_FLOAT): New macro.
7613 (NO_TEST_INLINE_DOUBLE): Likewise.
7614 (enable_test): New function.
7615 (RUN_TEST_f_f): Check enable_test before running test.
7616 (RUN_TEST_2_f): Likewise.
7617 (RUN_TEST_fff_f): Likewise.
7618 (RUN_TEST_c_f): Likewise.
7619 (RUN_TEST_f_f1): Likewise.
7620 (RUN_TEST_fF_f1): Likewise.
7621 (RUN_TEST_fI_f1): Likewise.
7622 (RUN_TEST_ffI_f1): Likewise.
7623 (RUN_TEST_c_c): Likewise.
7624 (RUN_TEST_cc_c): Likewise.
7625 (RUN_TEST_f_i): Likewise.
7626 (RUN_TEST_f_i_tg): Likewise.
7627 (RUN_TEST_ff_i_tg): Likewise.
7628 (RUN_TEST_f_b): Likewise.
7629 (RUN_TEST_f_b_tg): Likewise.
7630 (RUN_TEST_f_l): Likewise.
7631 (RUN_TEST_f_L): Likewise.
7632 (RUN_TEST_fFF_11): Likewise.
7633 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7634 conditionals.
7635 (cosh_test_data): Likewise.
7636 (exp_test_data): Likewise.
7637 (expm1_test_data): Likewise.
7638 (hypot_test_data): Likewise.
7639 (pow_test_data): Likewise.
7640 (sinh_test_data): Likewise.
7641 (tanh_test_data): Likewise.
7642 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7643 flags argument.
7644
7645 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7646 tests with quiet NaN input and output.
7647 (acosh_test_data): Likewise.
7648 (asin_test_data): Likewise.
7649 (asinh_test_data): Likewise.
7650 (atan_test_data): Likewise.
7651 (atanh_test_data): Likewise.
7652 (atan2_test_data): Likewise.
7653 (cbrt_test_data): Likewise.
7654 (cos_test_data): Likewise.
7655 (cosh_test_data): Likewise.
7656 (erf_test_data): Likewise.
7657 (erfc_test_data): Likewise.
7658 (exp_test_data): Likewise.
7659 (exp10_test_data): Likewise.
7660 (exp2_test_data): Likewise.
7661 (expm1_test_data): Likewise.
7662 (hypot_test_data): Likewise.
7663 (j0_test_data): Likewise.
7664 (j1_test_data): Likewise.
7665 (jn_test_data): Likewise.
7666 (lgamma_test_data): Likewise.
7667 (log_test_data): Likewise.
7668 (log10_test_data): Likewise.
7669 (log1p_test_data): Likewise.
7670 (log2_test_data): Likewise.
7671 (pow_test_data): Likewise.
7672 (scalb_test_data): Likewise.
7673 (sin_test_data): Likewise.
7674 (sincos_test_data): Likewise.
7675 (sinh_test_data): Likewise.
7676 (tan_test_data): Likewise.
7677 (tanh_test_data): Likewise.
7678 (tgamma_test_data): Likewise.
7679 (y0_test_data): Likewise.
7680 (y1_test_data): Likewise.
7681 (yn_test_data): Likewise.
7682
7683 [BZ #16167]
7684 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7685 argument being NaN and avoid computations with second argument in
7686 that case.
7687 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7688 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7689 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7690
76912013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7692
7693 * locale/iso-639.def: Add Chitwani Tharu (the).
7694
76952013-11-14 Andreas Schwab <schwab@suse.de>
7696
7697 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7698 word instead of empty string.
7699
77002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7701
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7703 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7705 (__fe_nomask_env): Likewise.
7706
77072013-11-13 Steve Ellcey <sellcey@mips.com>
7708
7709 * benchtests/bench-timing.h: Include time.h.
7710
77112013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7712
7713 [BZ #15997]
7714 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7715 to 3.4.0 for x32.
7716 * sysdeps/unix/sysv/linux/configure: Regenerated.
7717
77182013-11-13 Joseph Myers <joseph@codesourcery.com>
7719
7720 [BZ #16151]
7721 * stdlib/strtod_l.c (round_and_return): Do not consider
7722 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7723 exponent one less than half the least subnormal exponent.
7724 * stdlib/test-strtod-round-data: Add more tests.
7725 * stdlib/tst-strtod-round.c (tests): Regenerated.
7726
77272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7728
7729 [BZ #14143]
7730 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7731 (__fe_mask_env): Likewise.
7732 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7733 libm_hidden_proto and add function prototype.
7734 (__fe_mask_env): Add function prototype.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7736 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7738 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7740 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7741
77422013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7743
7744 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7745 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7746
77472013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7748
7749 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7750 of htab_find_slot().
7751
77522013-11-11 David S. Miller <davem@davemloft.net>
7753
7754 [BZ #16150]
7755 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7756 symbol in the non-vis3 case in static builds.
7757 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7758 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7759 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7760 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7761
77622013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7763
7764 [BZ #387]
7765 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7766 it is empty.
7767
77682013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7769
7770 * benchtests/Makefile: Add bench-strtod.
7771 * benchtests/bench-strtod.c: New file: strtod benchtest
7772
77732013-11-11 Andreas Schwab <schwab@suse.de>
7774
7775 [BZ #16153]
7776 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7777 terminating NUL in key length.
7778
77792013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7780
7781 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7782 Add artificial ODP entry for vDSO symbol for PPC64.
7783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7784 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7785
77862013-11-07 Ondřej Bílka <neleai@seznam.cz>
7787
7788 [BZ #15374]
7789 * nss/getent.c (services_keys): Recognize services starting with digit.
7790
77912013-11-06 David S. Miller <davem@davemloft.net>
7792
7793 [BZ #15985]
7794 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7795 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7796
77972013-11-06 Will Newton <will.newton@linaro.org>
7798
7799 * manual/memory.texi (Malloc Examples): Remove register
7800 keyword from examples.
7801
78022013-11-04 Chris Leonard <cjl@sugarlabs.org>
7803
7804 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7805
78062013-11-04 Joseph Myers <joseph@codesourcery.com>
7807
7808 [BZ #6981]
7809 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7810 depending on [__GCC_IEC_559 > 0].
7811 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7812 depending on [__GCC_IEC_559_COMPLEX > 0].
7813
78142013-11-03 Chris Leonard <cjl@sugarlabs.org>
7815
7816 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7817 to iso-639.def.
7818
78192013-11-03 Ondřej Bílka <neleai@seznam.cz>
7820
7821 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7822
78232013-11-01 Ondřej Bílka <neleai@seznam.cz>
7824
7825 [BZ #16112]
7826 * malloc/malloc (malloc_info): Do not handle first bin as
7827 special case.
7828
78292013-11-01 Chris Leonard <cjl@sugarlabs.org>
7830
7831 * locale/iso-639.def: Add Central Nahuatl (nhn).
7832
78332013-11-01 Bruno Haible <bruno@clisp.org>
7834
7835 [BZ #7003]
7836 * manual/math.texi (BSD Random): Specify range upper bound as
7837 in POSIX.
7838
78392013-10-31 Chris Leonard <cjl@sugarlabs.org>
7840
7841 * locale/iso-639.def: Add Meadow Mari (mhr).
7842
78432013-10-31 Ondřej Bílka <neleai@seznam.cz>
7844
7845 [BZ #14752], [BZ #15763]
7846 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7847 Validate name.
7848 * rt/tst_shm.c: Add test for escaping directory.
7849
78502013-10-31 Andreas Schwab <schwab@suse.de>
7851
7852 [BZ #15917]
7853 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7854 followed by 'x' as part of digit sequence.
7855 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7856
78572013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7858
7859 [BZ #16037]
7860 * configure.ac: allow GNU Make 4.0 and greater.
7861 * configure: Regenerated.
7862
78632013-10-30 Will Newton <will.newton@linaro.org>
7864
7865 [BZ #16038]
7866 * malloc/hooks.c (memalign_check): Limit alignment to the
7867 maximum representable power of two.
7868 * malloc/malloc.c (__libc_memalign): Likewise.
7869 * malloc/tst-memalign.c (do_test): Add test for very
7870 large alignment values.
7871 * malloc/tst-posix_memalign.c (do_test): Likewise.
7872
78732013-10-30 Ondřej Bílka <neleai@seznam.cz>
7874
7875 [BZ #11087]
7876 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7877 (munmap_chunk): Likewise.
7878 (mremap_chunk): Likewise.
7879
78802013-10-30 Ondřej Bílka <neleai@seznam.cz>
7881
7882 [BZ #15799]
7883 * stdlib/div.c (div): Remove obsolete code.
7884 * stdlib/ldiv.c (ldiv): Likewise.
7885 * stdlib/lldiv.c (lldiv): Likewise.
7886
78872013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7888
7889 [BZ #16071]
7890 * nss/nss_files/files-XXX.c (get_contents_ret): New
7891 enumerator.
7892 (get_contents): New function.
7893 (internal_getent): Use it. Expand size of LINEBUFLEN.
7894
78952013-10-30 Mike Frysinger <vapier@gentoo.org>
7896
7897 * configure.in: Moved to ...
7898 * configure.ac: ... here. Change reference to configure.in
7899 to configure.ac.
7900 * sysdeps/arm/preconfigure.ac: ... here.
7901 configure.in to configure.ac.
7902 * sysdeps/gnu/configure.in: Moved to ...
7903 * sysdeps/gnu/configure.ac: ... here.
7904 * sysdeps/i386/configure.in: Moved to ...
7905 * sysdeps/i386/configure.ac: ... here.
7906 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7907 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7908 * sysdeps/mach/configure.in: Moved to ...
7909 * sysdeps/mach/configure.ac: ... here.
7910 * sysdeps/mach/hurd/configure.in: Moved to ...
7911 * sysdeps/mach/hurd/configure.ac: ... here.
7912 * sysdeps/powerpc/configure.in: Moved to ...
7913 * sysdeps/powerpc/configure.ac: ... here.
7914 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7915 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7916 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7917 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7918 * sysdeps/s390/s390-32/configure.in: Moved to ...
7919 * sysdeps/s390/s390-32/configure.ac: ... here.
7920 * sysdeps/s390/s390-64/configure.in: Moved to ...
7921 * sysdeps/s390/s390-64/configure.ac: ... here.
7922 * sysdeps/sh/configure.in: Moved to ...
7923 * sysdeps/sh/configure.ac: ... here.
7924 * sysdeps/sparc/configure.in: Moved to ...
7925 * sysdeps/sparc/configure.ac: ... here.
7926 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7927 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7928 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7929 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7930 * sysdeps/x86_64/configure.in: Moved to ...
7931 * sysdeps/x86_64/configure.ac: ... here.
7932 * sysdeps/x86_64/preconfigure.in: Moved to ...
7933 * sysdeps/x86_64/preconfigure.ac: ... here.
7934 * aclocal.m4: Change reference to configure.in to configure.ac.
7935 * config.h.in: Likewise.
7936 * manual/install.texi: Likewise.
7937 * manual/maint.texi: Likewise.
7938 * Makefile: Likewise.
7939 * malloc/Makefile: Likewise.
7940 * nscd/Makefile: Likewise.
7941 * Makeconfig: Change reference to configure.in and
7942 preconfigure.in to configure.ac and preconfigure.ac
7943 respectively.
7944 * INSTALL: Regenerated.
7945 * configure: Likewise.
7946 * sysdeps/gnu/configure: Likewise.
7947 * sysdeps/i386/configure: Likewise.
7948 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7949 * sysdeps/mach/configure: Likewise.
7950 * sysdeps/mach/hurd/configure: Likewise.
7951 * sysdeps/powerpc/configure: Likewise.
7952 * sysdeps/powerpc/powerpc32/configure: Likewise.
7953 * sysdeps/powerpc/powerpc64/configure: Likewise.
7954 * sysdeps/s390/s390-32/configure: Likewise.
7955 * sysdeps/s390/s390-64/configure: Likewise.
7956 * sysdeps/sh/configure: Likewise.
7957 * sysdeps/sparc/configure: Likewise.
7958 * sysdeps/unix/sysv/linux/configure: Likewise.
7959 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7960 * sysdeps/x86_64/configure: Likewise.
7961 * sysdeps/x86_64/preconfigure: Likewise.
7962
79632013-10-29 Andreas Schwab <schwab@suse.de>
7964
7965 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7966
79672013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7968
7969 * benchtests/pow-inputs: Add new inputs.
7970
7971 * benchtests/exp-inputs: Add new inputs.
7972
7973 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7974 conditional check for return value.
7975 (__cos32): Likewise.
7976
79772013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978
7979 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7980 to provide a boost for large inputs with word alignment.
7981 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7982 implementation based on optimized PPC64 strcpy.
7983 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7984 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7985 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7986 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7987
79882013-10-25 Ondřej Bílka <neleai@seznam.cz>
7989
7990 [BZ #2801]
7991 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7992
79932013-10-25 Ondřej Bílka <neleai@seznam.cz>
7994
7995 [BZ #14876]
7996 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7997 * time/tst-strptime.c (day_tests): Add testcase.
7998
79992013-10-25 Ondřej Bílka <neleai@seznam.cz>
8000
8001 [BZ #14029]
8002 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8003
80042013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8005
8006 [BZ #16074]
8007 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8008 MAP_FAILED on error.
8009
80102013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8011
8012 [BZ #16072]
8013 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8014 heap for large requests.
8015
80162013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8017
8018 [BZ #9954]
8019 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8020 result if the result has no associated interface.
8021 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8022 interface for all 127.X.Y.Z addresses.
8023
80242013-10-24 Chris Leonard <cjl@sugarlabs.org>
8025
8026 * locale/iso-639.def: Add Ligurian (lij)
8027
80282013-10-21 Ondřej Bílka <neleai@seznam.cz>
8029
8030 [BZ #15825]
8031 * sunrpc/rpc_main.c: Document rpcgen -5.
8032
80332013-10-19 Michael Stahl <mstahl@redhat.com>
8034
8035 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8036
80372013-10-19 Ondřej Bílka <neleai@seznam.cz>
8038
8039 [BZ #10278]
8040 * posix/glob.c: Match only directories when trailing slash is present.
8041 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8042 (main): Add testcase.
8043
80442013-10-19 Ondřej Bílka <neleai@seznam.cz>
8045
8046 [BZ #15670]
8047 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8048
80492013-10-18 Carlos O'Donell <carlos@redhat.com>
8050
8051 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8052 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8053 AUTH_DES and cindex for FIPS 140-2.
8054 (DES Encryption): Add cindex FIPS 46-3.
8055
8056 * locale/locarchive.h (struct locarhandle): Add fname.
8057 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8058 if an optional argument was specified to --list-archive,
8059 otherwise NULL.
8060 * locale/programs/locarchive.c (show_archive_content): Take new
8061 argument fname and pass it via ah.fname to open_archive.
8062 * locale/programs/localedef.h: Update decl.
8063 (open_archive): If AH->fname is non-null, open that file
8064 rather than the default file name, and don't ignore ENOENT.
8065 (create_archive): Set AH.fname to NULL.
8066 (delete_locales_from_archive): Likewise.
8067 (add_locales_to_archive): Likewise.
8068 * locale/programs/locfile.c (write_all_categories): Likewise.
8069
80702013-10-18 Joseph Myers <joseph@codesourcery.com>
8071 Aldy Hernandez <aldyh@redhat.com>
8072
8073 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8074 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8075 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8076 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8077 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8080 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8081 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8083 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8085 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8086 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8087 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8088 Likewise.
8089 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8090 Likewise.
8091 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8092 Likewise.
8093 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8094 Likewise.
8095 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8096 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8097 Likewise.
8098 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8099 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8100 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8101 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8102 Likewise.
8103 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8104 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8105 * sysdeps/powerpc/preconfigure: Likewise.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8107 Likewise.
8108 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8109 Replace contents of file by #include of <fenv_libc.h>.
8110 * sysdeps/powerpc/soft-fp/sfp-machine.h
8111 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8112 and <sys/prctl.h>.
8113 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8126 Allow copysignl PLT reference to be missing.
8127
81282013-10-18 Richard Sandiford <richard@codesourcery.com>
8129 Joseph Myers <joseph@codesourcery.com
8130
8131 [BZ #15948]
8132 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8133 single character.
8134 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8135
81362013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8137
8138 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8139 * elf/tst-tls1.c: Likewise.
8140 * elf/tst-tls10.h: Likewise.
8141 * elf/tst-tls14.c: Likewise.
8142 * elf/tst-tls2.c: Likewise.
8143 * elf/tst-tls3.c: Likewise.
8144 * elf/tst-tls4.c: Likewise.
8145 * elf/tst-tls5.c: Likewise.
8146 * elf/tst-tls6.c: Likewise.
8147 * elf/tst-tls7.c: Likewise.
8148 * elf/tst-tls8.c: Likewise.
8149 * elf/tst-tls9.c: Likewise.
8150 * elf/tst-tlsmod1.c: Likewise.
8151 * elf/tst-tlsmod13.c: Likewise.
8152 * elf/tst-tlsmod13a.c: Likewise.
8153 * elf/tst-tlsmod14a.c: Likewise.
8154 * elf/tst-tlsmod16a.c: Likewise.
8155 * elf/tst-tlsmod16b.c: Likewise.
8156 * elf/tst-tlsmod2.c: Likewise.
8157 * elf/tst-tlsmod3.c: Likewise.
8158 * elf/tst-tlsmod4.c: Likewise.
8159 * elf/tst-tlsmod5.c: Likewise.
8160 * elf/tst-tlsmod6.c: Likewise.
8161
81622013-10-18 Ondřej Bílka <neleai@seznam.cz>
8163
8164 [BZ #12486]
8165 * malloc/malloc.c: remove checks for statistics.
8166
81672013-10-17 Ondřej Bílka <neleai@seznam.cz>
8168
8169 [BZ #15277]
8170 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8171 * inet/tst-network.c: Add testcase.
8172
81732013-10-17 Andreas Schwab <schwab@suse.de>
8174
8175 [BZ #15218]
8176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8177 to determine canonical name.
8178
81792013-10-17 Ondřej Bílka <neleai@seznam.cz>
8180
8181 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8182 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8205 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8206 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8239
82402013-10-17 Joseph Myers <joseph@codesourcery.com>
8241
8242 [BZ #16041]
8243 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8244 make result into a quiet NaN.
8245
82462013-10-16 Joseph Myers <joseph@codesourcery.com>
8247
8248 * soft-fp/adddf3.c: Fix horizontal whitespace.
8249 * soft-fp/addsf3.c: Likewise.
8250 * soft-fp/addtf3.c: Likewise.
8251 * soft-fp/divdf3.c: Likewise.
8252 * soft-fp/divsf3.c: Likewise.
8253 * soft-fp/divtf3.c: Likewise.
8254 * soft-fp/double.h: Likewise.
8255 * soft-fp/eqdf2.c: Likewise.
8256 * soft-fp/eqsf2.c: Likewise.
8257 * soft-fp/eqtf2.c: Likewise.
8258 * soft-fp/extenddftf2.c: Likewise.
8259 * soft-fp/extended.h: Likewise.
8260 * soft-fp/extendsfdf2.c: Likewise.
8261 * soft-fp/extendsftf2.c: Likewise.
8262 * soft-fp/extendxftf2.c: Likewise.
8263 * soft-fp/fixdfdi.c: Likewise.
8264 * soft-fp/fixdfsi.c: Likewise.
8265 * soft-fp/fixdfti.c: Likewise.
8266 * soft-fp/fixsfdi.c: Likewise.
8267 * soft-fp/fixsfsi.c: Likewise.
8268 * soft-fp/fixsfti.c: Likewise.
8269 * soft-fp/fixtfdi.c: Likewise.
8270 * soft-fp/fixtfsi.c: Likewise.
8271 * soft-fp/fixtfti.c: Likewise.
8272 * soft-fp/fixunsdfdi.c: Likewise.
8273 * soft-fp/fixunsdfsi.c: Likewise.
8274 * soft-fp/fixunsdfti.c: Likewise.
8275 * soft-fp/fixunssfdi.c: Likewise.
8276 * soft-fp/fixunssfsi.c: Likewise.
8277 * soft-fp/fixunssfti.c: Likewise.
8278 * soft-fp/fixunstfdi.c: Likewise.
8279 * soft-fp/fixunstfsi.c: Likewise.
8280 * soft-fp/fixunstfti.c: Likewise.
8281 * soft-fp/floatdidf.c: Likewise.
8282 * soft-fp/floatdisf.c: Likewise.
8283 * soft-fp/floatditf.c: Likewise.
8284 * soft-fp/floatsidf.c: Likewise.
8285 * soft-fp/floatsisf.c: Likewise.
8286 * soft-fp/floatsitf.c: Likewise.
8287 * soft-fp/floattidf.c: Likewise.
8288 * soft-fp/floattisf.c: Likewise.
8289 * soft-fp/floattitf.c: Likewise.
8290 * soft-fp/floatundidf.c: Likewise.
8291 * soft-fp/floatundisf.c: Likewise.
8292 * soft-fp/floatunditf.c: Likewise.
8293 * soft-fp/floatunsidf.c: Likewise.
8294 * soft-fp/floatunsisf.c: Likewise.
8295 * soft-fp/floatunsitf.c: Likewise.
8296 * soft-fp/floatuntidf.c: Likewise.
8297 * soft-fp/floatuntisf.c: Likewise.
8298 * soft-fp/floatuntitf.c: Likewise.
8299 * soft-fp/fmadf4.c: Likewise.
8300 * soft-fp/fmasf4.c: Likewise.
8301 * soft-fp/fmatf4.c: Likewise.
8302 * soft-fp/gedf2.c: Likewise.
8303 * soft-fp/gesf2.c: Likewise.
8304 * soft-fp/getf2.c: Likewise.
8305 * soft-fp/ledf2.c: Likewise.
8306 * soft-fp/lesf2.c: Likewise.
8307 * soft-fp/letf2.c: Likewise.
8308 * soft-fp/muldf3.c: Likewise.
8309 * soft-fp/mulsf3.c: Likewise.
8310 * soft-fp/multf3.c: Likewise.
8311 * soft-fp/negdf2.c: Likewise.
8312 * soft-fp/negsf2.c: Likewise.
8313 * soft-fp/negtf2.c: Likewise.
8314 * soft-fp/op-1.h: Likewise.
8315 * soft-fp/op-2.h: Likewise.
8316 * soft-fp/op-4.h: Likewise.
8317 * soft-fp/op-8.h: Likewise.
8318 * soft-fp/op-common.h: Likewise.
8319 * soft-fp/quad.h: Likewise.
8320 * soft-fp/single.h: Likewise.
8321 * soft-fp/soft-fp.h: Likewise.
8322 * soft-fp/sqrtdf2.c: Likewise.
8323 * soft-fp/sqrtsf2.c: Likewise.
8324 * soft-fp/sqrttf2.c: Likewise.
8325 * soft-fp/subdf3.c: Likewise.
8326 * soft-fp/subsf3.c: Likewise.
8327 * soft-fp/subtf3.c: Likewise.
8328 * soft-fp/truncdfsf2.c: Likewise.
8329 * soft-fp/trunctfdf2.c: Likewise.
8330 * soft-fp/trunctfsf2.c: Likewise.
8331 * soft-fp/trunctfxf2.c: Likewise.
8332 * soft-fp/unorddf2.c: Likewise.
8333 * soft-fp/unordsf2.c: Likewise.
8334 * soft-fp/unordtf2.c: Likewise.
8335
83362013-10-15 Joseph Myers <joseph@codesourcery.com>
8337
8338 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8339 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8340
83412013-10-15 Ondřej Bílka <neleai@seznam.cz>
8342
8343 * elf/dl-libc.c: Clear initfini list after freeing.
8344
83452013-10-14 Joseph Myers <joseph@codesourcery.com>
8346
8347 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8348 * soft-fp/addsf3.c: Likewise.
8349 * soft-fp/addtf3.c: Likewise.
8350 * soft-fp/divdf3.c: Likewise.
8351 * soft-fp/divsf3.c: Likewise.
8352 * soft-fp/divtf3.c: Likewise.
8353 * soft-fp/double.h: Likewise.
8354 * soft-fp/eqdf2.c: Likewise.
8355 * soft-fp/eqsf2.c: Likewise.
8356 * soft-fp/eqtf2.c: Likewise.
8357 * soft-fp/extenddftf2.c: Likewise.
8358 * soft-fp/extended.h: Likewise.
8359 * soft-fp/extendsfdf2.c: Likewise.
8360 * soft-fp/extendsftf2.c: Likewise.
8361 * soft-fp/extendxftf2.c: Likewise.
8362 * soft-fp/fixdfdi.c: Likewise.
8363 * soft-fp/fixdfsi.c: Likewise.
8364 * soft-fp/fixdfti.c: Likewise.
8365 * soft-fp/fixsfdi.c: Likewise.
8366 * soft-fp/fixsfsi.c: Likewise.
8367 * soft-fp/fixsfti.c: Likewise.
8368 * soft-fp/fixtfdi.c: Likewise.
8369 * soft-fp/fixtfsi.c: Likewise.
8370 * soft-fp/fixtfti.c: Likewise.
8371 * soft-fp/fixunsdfdi.c: Likewise.
8372 * soft-fp/fixunsdfsi.c: Likewise.
8373 * soft-fp/fixunsdfti.c: Likewise.
8374 * soft-fp/fixunssfdi.c: Likewise.
8375 * soft-fp/fixunssfsi.c: Likewise.
8376 * soft-fp/fixunssfti.c: Likewise.
8377 * soft-fp/fixunstfdi.c: Likewise.
8378 * soft-fp/fixunstfsi.c: Likewise.
8379 * soft-fp/fixunstfti.c: Likewise.
8380 * soft-fp/floatdidf.c: Likewise.
8381 * soft-fp/floatdisf.c: Likewise.
8382 * soft-fp/floatditf.c: Likewise.
8383 * soft-fp/floatsidf.c: Likewise.
8384 * soft-fp/floatsisf.c: Likewise.
8385 * soft-fp/floatsitf.c: Likewise.
8386 * soft-fp/floattidf.c: Likewise.
8387 * soft-fp/floattisf.c: Likewise.
8388 * soft-fp/floattitf.c: Likewise.
8389 * soft-fp/floatundidf.c: Likewise.
8390 * soft-fp/floatundisf.c: Likewise.
8391 * soft-fp/floatunsidf.c: Likewise.
8392 * soft-fp/floatunsisf.c: Likewise.
8393 * soft-fp/floatuntidf.c: Likewise.
8394 * soft-fp/floatuntisf.c: Likewise.
8395 * soft-fp/floatuntitf.c: Likewise.
8396 * soft-fp/fmadf4.c: Likewise.
8397 * soft-fp/fmasf4.c: Likewise.
8398 * soft-fp/fmatf4.c: Likewise.
8399 * soft-fp/gedf2.c: Likewise.
8400 * soft-fp/gesf2.c: Likewise.
8401 * soft-fp/getf2.c: Likewise.
8402 * soft-fp/ledf2.c: Likewise.
8403 * soft-fp/lesf2.c: Likewise.
8404 * soft-fp/letf2.c: Likewise.
8405 * soft-fp/muldf3.c: Likewise.
8406 * soft-fp/mulsf3.c: Likewise.
8407 * soft-fp/multf3.c: Likewise.
8408 * soft-fp/negdf2.c: Likewise.
8409 * soft-fp/negsf2.c: Likewise.
8410 * soft-fp/negtf2.c: Likewise.
8411 * soft-fp/op-1.h: Likewise.
8412 * soft-fp/op-2.h: Likewise.
8413 * soft-fp/op-4.h: Likewise.
8414 * soft-fp/op-8.h: Likewise.
8415 * soft-fp/op-common.h: Likewise.
8416 * soft-fp/quad.h: Likewise.
8417 * soft-fp/single.h: Likewise.
8418 * soft-fp/soft-fp.h: Likewise.
8419 * soft-fp/sqrtdf2.c: Likewise.
8420 * soft-fp/sqrtsf2.c: Likewise.
8421 * soft-fp/sqrttf2.c: Likewise.
8422 * soft-fp/subdf3.c: Likewise.
8423 * soft-fp/subsf3.c: Likewise.
8424 * soft-fp/subtf3.c: Likewise.
8425 * soft-fp/truncdfsf2.c: Likewise.
8426 * soft-fp/trunctfdf2.c: Likewise.
8427 * soft-fp/trunctfsf2.c: Likewise.
8428 * soft-fp/trunctfxf2.c: Likewise.
8429 * soft-fp/unorddf2.c: Likewise.
8430 * soft-fp/unordsf2.c: Likewise.
8431 * soft-fp/unordtf2.c: Likewise.
8432
84332013-10-14 Ondřej Bílka <neleai@seznam.cz>
8434
8435 [BZ #15672]
8436 * misc/error.c (error_tail): Fix possible buffer overflow.
8437
84382013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8439
8440 [BZ #13028]
8441 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8442 address.
8443
84442013-10-14 P. J. McDermott <pj@pehjota.net>
8445
8446 [BZ #832]
8447 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8448 testing pipefail option.
8449
84502013-10-12 Joseph Myers <joseph@codesourcery.com>
8451
8452 * soft-fp/double.h: Indent preprocessor directives inside #if.
8453 * soft-fp/extended.h: Likewise.
8454 * soft-fp/op-2.h: Likewise.
8455 * soft-fp/op-4.h: Likewise.
8456 * soft-fp/op-common.h: Likewise.
8457 * soft-fp/quad.h: Likewise.
8458 * soft-fp/single.h: Likewise.
8459 * soft-fp/soft-fp.h: Likewise.
8460
84612013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8462
8463 * iconv/iconv_prog.c: Fix typos.
8464 * stdio-common/psiginfo-data.h: Likewise.
8465
84662013-10-12 Reuben Thomas <rrt@sc3d.org>
8467
8468 [BZ #15764]
8469 * locale/setlocale.c: Fix typo.
8470
84712013-10-12 Joseph Myers <joseph@codesourcery.com>
8472
8473 [BZ #16036]
8474 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8475 signaling NaN arguments.
8476 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8477 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8478
8479 [BZ #14910]
8480 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8481 unordered operands.
8482 * soft-fp/gesf2.c (__gesf2): Likewise.
8483 * soft-fp/getf2.c (__getf2): Likewise.
8484 * soft-fp/ledf2.c (__ledf2): Likewise.
8485 * soft-fp/lesf2.c (__lesf2): Likewise.
8486 * soft-fp/letf2.c (__letf2): Likewise.
8487
8488 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8489 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8490 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8491 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8492 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8493 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8494 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8495 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8496 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8497 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8498 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8499 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8500 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8501 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8502 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8503 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8504 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8505 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8506 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8507 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8508 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8509 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8510 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8511 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8512 * soft-fp/floattidf.c (__floattidf): Likewise.
8513 * soft-fp/floattisf.c (__floattisf): Likewise.
8514 * soft-fp/floattitf.c (__floattitf): Likewise.
8515 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8516 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8517 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8518 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8519 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8520 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8521 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8522 * soft-fp/gesf2.c (__gesf2): Likewise.
8523 * soft-fp/getf2.c (__getf2): Likewise.
8524 * soft-fp/ledf2.c (__ledf2): Likewise.
8525 * soft-fp/lesf2.c (__lesf2): Likewise.
8526 * soft-fp/letf2.c (__letf2): Likewise.
8527
8528 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8529 Undefine and redefine.
8530 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8531 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8532 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8533 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8534 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8535 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8536 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8537 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8538 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8539 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8540 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8541 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8542 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8543 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8544 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8545
8546 [BZ #16032]
8547 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8548 without decrementing exponent if mantissa >= that for the
8549 denominator, not >.
8550 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8551 denominator, not >. Decrement exponent in < case instead of
8552 incrementing in >= case.
8553 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8554 without decrementing exponent if mantissa >= that for the
8555 denominator, not >.
8556
8557 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8558 computing saturated result for unsigned overflow.
8559
85602013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8561 Jeff Law <law@redhat.com>
8562
8563 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8564 (atan2Mp): Add systemtap probe marker.
8565 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8566 (__ieee754_log): Add systemtap probe marker.
8567 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8568 (atanMp): Add systemtap probe marker.
8569 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8570 (tanMp): Add systemtap probe marker.
8571 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8572 (__slowexp): Add systemtap probe marker.
8573 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8574 (__slowpow): Add systemtap probe marker.
8575 * manual/probes.texi: Document probes.
8576
85772013-10-11 Eric Biggers <ebiggers3@gmail.com>
8578
8579 [BZ #15362]
8580 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8581 written.
8582 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8583 written.
8584 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8585 written to buffer but not flushed.
8586 * libio/iofwrite_u.c: Likewise.
8587 * libio/iopadn.c: Return bytes returned even if EOF was
8588 encountered.
8589 * libio/iowpadn.c: Likewise.
8590 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8591 if _IO_padn does not write the whole buffer.
8592 [!COMPILE_WPRINTF] (PAD): Likewise.
8593
85942013-10-10 David S. Miller <davem@davemloft.net>
8595
8596 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8597 directory block.
8598
85992013-10-10 Joseph Myers <joseph@codesourcery.com>
8600
8601 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8602 instead of FSF address.
8603 * soft-fp/fixdfti.c: Likewise.
8604 * soft-fp/fixsfti.c: Likewise.
8605 * soft-fp/fixtfti.c: Likewise.
8606 * soft-fp/fixunsdfti.c: Likewise.
8607 * soft-fp/fixunssfti.c: Likewise.
8608 * soft-fp/fixunstfti.c: Likewise.
8609 * soft-fp/floattidf.c: Likewise.
8610 * soft-fp/floattisf.c: Likewise.
8611 * soft-fp/floattitf.c: Likewise.
8612 * soft-fp/floatuntidf.c: Likewise.
8613 * soft-fp/floatuntisf.c: Likewise.
8614 * soft-fp/floatuntitf.c: Likewise.
8615 * soft-fp/trunctfxf2.c: Likewise.
8616
8617 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8618 * soft-fp/fixdfti.c: Likewise.
8619 * soft-fp/fixsfti.c: Likewise.
8620 * soft-fp/fixtfti.c: Likewise.
8621 * soft-fp/fixunsdfti.c: Likewise.
8622 * soft-fp/fixunssfti.c: Likewise.
8623 * soft-fp/fixunstfti.c: Likewise.
8624 * soft-fp/floattidf.c: Likewise.
8625 * soft-fp/floattisf.c: Likewise.
8626 * soft-fp/floattitf.c: Likewise.
8627 * soft-fp/floatuntidf.c: Likewise.
8628 * soft-fp/floatuntisf.c: Likewise.
8629 * soft-fp/floatuntitf.c: Likewise.
8630 * soft-fp/trunctfxf2.c: Likewise.
8631
86322013-10-10 David S. Miller <davem@davemloft.net>
8633
8634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8635
86362013-10-10 Joseph Myers <joseph@codsourcery.com>
8637
8638 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8639 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8640 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8645
8646 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8647 for NaNs before doing comparisons on argument.
8648 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8649 Likewise.
8650
86512013-10-10 Will Newton <will.newton@linaro.org>
8652
8653 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8654 passed to _int_memalign does not overflow.
8655
86562013-10-10 Torvald Riegel <triegel@redhat.com>
8657
8658 * scripts/bench.pl: Add include-sources directive.
8659 * benchtests/README: Update documentation.
8660
86612013-10-10 Joseph Myers <joseph@codesourcery.com>
8662
8663 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8664 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8665 instead of FP_INIT_ROUNDMODE.
8666 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8667 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8668
8669 [BZ #16034]
8670 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8671 copy class of input value.
8672 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8673 not handle exceptions.
8674 * soft-fp/negsf2.c (__negsf2): Likewise.
8675 * soft-fp/negtf2.c (__negtf2): Likewise.
8676 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8677
86782013-10-09 Joseph Myers <joseph@codesourcery.com>
8679
8680 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8681 semicolon. From Linux kernel.
8682
86832013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8684
8685 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8686
86872013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8688
8689 [BZ #156]
8690 * manual/socket.texi: Added statement about buffer
8691 for gethostbyname2_r.
8692
86932013-10-08 Ondřej Bílka <neleai@seznam.cz>
8694
8695 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8696 Use .p2align directive instead, throughout.
8697 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8698 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8699 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8701 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8702 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8703 * sysdeps/x86_64/strchr.S: Likewise.
8704 * sysdeps/x86_64/strrchr.S: Likewise.
8705
87062013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8707
8708 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8709
8710 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8711
8712 * sysdeps/generic/math_private.h (__mpsin1): Remove
8713 declaration.
8714 (__mpcos1): Likewise.
8715 (__mpsin): New argument __range_reduce.
8716 (__mpcos): Likewise.
8717 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8718 (slow): Use __mpsin and __mpcos.
8719 (slow1): Likewise.
8720 (slow2): Likewise.
8721 (sloww): Likewise.
8722 (sloww1): Likewise.
8723 (sloww2): Likewise.
8724 (bsloww): Likewise.
8725 (bsloww1): Likewise.
8726 (bsloww2): Likewise.
8727 (cslow2): Likewise.
8728 (csloww): Likewise.
8729 (csloww1): Likewise.
8730 (csloww2): Likewise.
8731 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8732 range_reduce. Merge in __mpsin1.
8733 (__mpcos): Likewise.
8734 (__mpsin1): Remove.
8735 (__mpcos1): Likewise.
8736
87372013-10-07 Joseph Myers <joseph@codesourcery.com>
8738
8739 * locale/loadlocale.c (_nl_intern_locale_data): Use
8740 LOCFILE_ALIGNED_P.
8741 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8742 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8743 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8744 obstack data is appropriately aligned.
8745 (obstack_int32_grow_fast): Likewise.
8746 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8747 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8748 (add_locale_uint32_array): Likewise.
8749
87502013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8751
8752 * benchtests/Makefile: Remove ARGLIST and RET variables.
8753 ($(objpfx)bench-%.c): Pass only function name to the script.
8754 * benchtests/README: Update documentation.
8755 * benchtests/acos-inputs: Add new directives.
8756 * benchtests/acosh-inputs: Likewise.
8757 * benchtests/asin-inputs: Likewise.
8758 * benchtests/asinh-inputs: Likewise.
8759 * benchtests/atan-inputs: Likewise.
8760 * benchtests/atanh-inputs: Likewise.
8761 * benchtests/cos-inputs: Likewise.
8762 * benchtests/cosh-inputs: Likewise.
8763 * benchtests/exp-inputs: Likewise.
8764 * benchtests/log-inputs: Likewise.
8765 * benchtests/pow-inputs: Likewise.
8766 * benchtests/rint-inputs: Likewise.
8767 * benchtests/sin-inputs: Likewise.
8768 * benchtests/sinh-inputs: Likewise.
8769 * benchtests/tan-inputs: Likewise.
8770 * benchtests/tanh-inputs: Likewise.
8771 * scripts/bench.pl: Add support for new directives.
8772
87732013-10-07 Alan Modra <amodra@gmail.com>
8774
8775 * README: Fix careless merge.
8776
87772013-10-05 Alan Modra <amodra@gmail.com>
8778
8779 * NEWS: Mention powerpc64le support and bugs fixed.
8780 * README: Both big-endian and little-endian powerpc64 supported.
8781
87822013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8783
8784 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8785 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8786 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8787 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8788
87892013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8790
8791 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8792 match prototype.
8793
87942013-10-04 Joseph Myers <joseph@codesourcery.com>
8795
8796 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8797 Move -mhard-float appending from
8798 ports/sysdeps/powerpc/powerpc32/Makefile.
8799 [$(with-fp) = yes] (ASFLAGS): Likewise.
8800 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8801 * sysdeps/powerpc/nofpu: Move directory from
8802 ports/sysdeps/powerpc/nofpu.
8803 * sysdeps/powerpc/soft-fp: Move directory from
8804 ports/sysdeps/powerpc/soft-fp.
8805 * sysdeps/powerpc/powerpc32/405: Move directory from
8806 ports/sysdeps/powerpc/powerpc32/405.
8807 * sysdeps/powerpc/powerpc32/440: Move directory from
8808 ports/sysdeps/powerpc/powerpc32/440.
8809 * sysdeps/powerpc/powerpc32/464: Move directory from
8810 ports/sysdeps/powerpc/powerpc32/464.
8811 * sysdeps/powerpc/powerpc32/476: Move directory from
8812 ports/sysdeps/powerpc/powerpc32/476.
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8814 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8816 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8818 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8820 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8823 * README: Update for powerpc-*-linux-gnu software floating point
8824 support in libc.
8825
8826 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8827 case to powerpc/powerpc32*.
8828 * sysdeps/unix/sysv/linux/configure: Regenerated.
8829
8830 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8831 (_FPU_MASK_OM): Define as 0x04.
8832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8834 0x00c10080.
8835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8836 0x0000003c.
8837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8838
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8840 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8841 getcontext_e500.
8842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8843 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8844 setcontext_e500.
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8846 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8847 and setcontext_e500.
8848
88492013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8850
8851 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8852
88532013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8854
8855 * manual/threads.texi (Default Thread Attributes): Fix typo.
8856
88572013-10-04 Will Newton <will.newton@linaro.org>
8858
8859 * malloc/Makefile: Add tst-memalign.
8860 * malloc/tst-memalign.c: New file.
8861
8862 * malloc/tst-posix_memalign.c: Add comments.
8863 (do_test): Add comments and call free on all potentially
8864 allocated pointers. Add space after cast.
8865
8866 * malloc/tst-pvalloc.c: Add comments.
8867 (do_test): Add comments and call free on all potentially
8868 allocated pointers. Remove duplicate check for NULL pointer.
8869 Add space after cast.
8870
8871 * malloc/tst-valloc.c: Add comments.
8872 (do_test): Add comments and call free on all potentially
8873 allocated pointers. Remove duplicate check for NULL pointer.
8874 Add space after cast.
8875
88762013-10-04 Alan Modra <amodra@gmail.com>
8877
8878 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8879 Use stdint types in rather than __attribute__((mode())).
8880 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8881
88822013-10-04 Alan Modra <amodra@gmail.com>
8883
8884 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8885 Correct handling of unaligned relocs for little-endian.
8886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8887
88882013-10-04 Alan Modra <amodra@gmail.com>
8889
8890 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8891 * configure: Regenerate.
8892 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8893 * shlib-versions: Likewise.
8894
88952013-10-04 Alan Modra <amodra@gmail.com>
8896
8897 * string/tester.c (test_memrchr): Increment reported test cycle.
8898
88992013-10-04 Alan Modra <amodra@gmail.com>
8900
8901 * string/test-memcpy.c (do_one_test): When reporting errors, print
8902 string address and don't overrun end of string.
8903
89042013-10-04 Alan Modra <amodra@gmail.com>
8905
8906 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8907 insrdi. Make better use of reg selection to speed exit slightly.
8908 Schedule entry path a little better. Remove useless "are we done"
8909 checks on entry to main loop. Handle wrapping around zero address.
8910 Correct main loop count. Handle single left-over word from main
8911 loop inline rather than by using loop_small. Remove extra word
8912 case in loop_small caused by wrong loop count. Add little-endian
8913 support.
8914 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8916 cache hint.
8917 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8918 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8919 support. Avoid rlwimi.
8920 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8921
89222013-10-04 Alan Modra <amodra@gmail.com>
8923
8924 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8925 insrdi. Formatting.
8926 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8927 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8928 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8929 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8930 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8931 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8932
89332013-10-04 Alan Modra <amodra@gmail.com>
8934
8935 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8936 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8937 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8938 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8939 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8940 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8941 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8943 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8944 use of regs. Use power7 mtocrf. Tidy function tails.
8945
89462013-10-04 Alan Modra <amodra@gmail.com>
8947
8948 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8949 Formatting. Consistently use rXXX register defines or rN defines.
8950 Use early exit labels that avoid restoring unused non-volatile regs.
8951 Make cr field use more consistent with rWORDn compares. Rename
8952 regs used as shift registers for unaligned loop, using rN defines
8953 for short lifetime/multiple use regs.
8954 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8955 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8956 addi 1,1,64 to pop stack frame. Simplify return value code.
8957 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8958
89592013-10-04 Alan Modra <amodra@gmail.com>
8960
8961 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8962 support. Correct typos, formatting. Optimize tail. Use insrdi
8963 rather than rlwimi.
8964 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8966 little-endian support. Correct typos.
8967 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8968 rather than rlwimi.
8969 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8970 in loop and entry code to keep "and." results.
8971 (strchr): Add little-endian support. Comment. Move cntlzd
8972 earlier in tail.
8973 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8974
89752013-10-04 Alan Modra <amodra@gmail.com>
8976
8977 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8978 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8979 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8980 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8981
89822013-10-04 Alan Modra <amodra@gmail.com>
8983
8984 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8985 (rTMP): Define as r11.
8986 (strcmp): Add little-endian support. Optimise tail.
8987 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8988 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8989 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8990 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8994
89952013-10-04 Alan Modra <amodra@gmail.com>
8996
8997 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8998 little-endian support. Remove unnecessary "are we done" tests.
8999 Handle "s" wrapping around zero and extremely large "size".
9000 Correct main loop count. Handle single left-over word from main
9001 loop inline rather than by using small_loop. Correct comments.
9002 Delete "zero" tail, use "end_max" instead.
9003 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9004
90052013-10-04 Alan Modra <amodra@gmail.com>
9006
9007 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9008 support. Don't branch over align.
9009 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9010 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9011 support. Rearrange tmp reg use to suit. Comment.
9012 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9013
90142013-10-04 Alan Modra <amodra@gmail.com>
9015
9016 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9017
90182013-10-04 Alan Modra <amodra@gmail.com>
9019
9020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9021 conditional form of branch and link when obtaining pc.
9022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9023
90242013-10-04 Alan Modra <amodra@gmail.com>
9025
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9027 HIWORD/LOWORD.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9030
90312013-10-04 Alan Modra <amodra@gmail.com>
9032
9033 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9034 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9035 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9036 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9037 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9038 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9039 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9040 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9041 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9042 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9043
90442013-10-04 Anton Blanchard <anton@au1.ibm.com>
9045 Alistair Popple <alistair@ozlabs.au.ibm.com>
9046 Alan Modra <amodra@gmail.com>
9047
9048 [BZ #15723]
9049 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9050 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9051 _dl_hwcap access for little-endian.
9052 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9053 destroy vmx regs when saving unaligned.
9054 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9055 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9056 destroy vmx regs when saving unaligned.
9057
90582013-10-04 Alan Modra <amodra@gmail.com>
9059
9060 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9061 Don't use a union to pack hi/low value.
9062
90632013-10-04 Anton Blanchard <anton@au1.ibm.com>
9064
9065 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9066 for little-endian.
9067 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9068 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9069 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9070 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9071 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9072
90732013-10-04 Alan Modra <amodra@gmail.com>
9074
9075 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9076 constants to usual value for .cst8 section, and remove redundant
9077 high address load.
9078 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9079 constant for 0x1p52. Load little-endian words of double from
9080 correct stack offsets.
9081
90822013-10-04 Alan Modra <amodra@gmail.com>
9083
9084 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9085 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9086 words of double from correct stack offsets.
9087 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9088 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9089 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9093 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9094 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9095 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9101 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9102 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9103 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9104
91052013-10-04 Alan Modra <amodra@gmail.com>
9106
9107 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9108 64-bit int/double union.
9109 (_FPU_SETCW): Likewise.
9110 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9111 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9112
91132013-10-04 Alan Modra <amodra@gmail.com>
9114
9115 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9116 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9117
91182013-10-04 Alan Modra <amodra@gmail.com>
9119
9120 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9121 use vector int constants.
9122 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9123
91242013-10-04 Anton Blanchard <anton@au1.ibm.com>
9125
9126 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9127 array with long long.
9128 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9129 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9130 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9131 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9132 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9133 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9134 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9135 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9136 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9137 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9138 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9139 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9140 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9141
91422013-10-04 Anton Blanchard <anton@au1.ibm.com>
9143
9144 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9145 (__signbit): Likewise. Correct for little-endian.
9146 (__signbitl): Call __signbit.
9147 (lrint): Correct for little-endian.
9148 (lrintf): Call lrint.
9149
91502013-10-04 Alan Modra <amodra@gmail.com>
9151
9152 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9153 union 32-bit int array member with 64-bit int array.
9154 (t515, tm256): Double rather than long double.
9155 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9156
91572013-10-04 Alan Modra <amodra@gmail.com>
9158
9159 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9160 Delete.
9161 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9163 version of math_ldbl.h.
9164
91652013-10-04 Alan Modra <amodra@gmail.com>
9166
9167 [BZ #15734], [BZ #15735]
9168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9169 all uses of ieee875 long double macros and unions. Simplify test
9170 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9171 ldbl_extract_mantissa value for ix,iy exponents. Properly
9172 normalize after ldbl_extract_mantissa, and don't add hidden bit
9173 already handled. Don't treat low word of ieee854 mantissa like
9174 low word of IBM long double and mask off bit when testing for
9175 zero.
9176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9177 all uses of ieee875 long double macros and unions. Simplify tests
9178 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9179 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9180 two1022, instead use their values. Recognise that tests for large
9181 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9182 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9183 Rewrite all uses of ieee875 long double macros and unions. Simplify
9184 test for 0.0L and nan. Correct negation.
9185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9186 ieee875 long double macros and unions. Correct output for large
9187 magnitude x. Correct absolute value calculation.
9188 (__erfcl): Likewise.
9189 * math/libm-test.inc: Add tests for errors discovered in IBM long
9190 double versions of fmodl, remainderl, erfl and erfcl.
9191
91922013-10-04 Alan Modra <amodra@gmail.com>
9193
9194 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9195 all uses of ieee854 long double macros and unions. Simplify tests
9196 for long doubles that are fully specified by the high double.
9197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9198 Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9200 Remove dead code too.
9201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9202 (__ieee754_ynl): Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9205 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9206 Remove dead code too.
9207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9211 Simplify.
9212 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9213 Simplify.
9214 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9217 Comment on variable precision.
9218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9220 Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9226
92272013-10-04 Alan Modra <amodra@gmail.com>
9228
9229 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9231 all uses of ieee854 long double macros and unions.
9232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9236 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9238 Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9243 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9244 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9245 Simplify sign and nan test too.
9246 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9247 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9248 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9249 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9250 Likewise.
9251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9253 Likewise.
9254 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9255 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9256 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9257 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9258 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9260
92612013-10-04 Alan Modra <amodra@gmail.com>
9262
9263 * stdio-common/printf_size.c (__printf_size): Don't use
9264 union ieee854_long_double in fpnum union.
9265 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9266 signbit macro to retrieve sign from long double.
9267 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9268 retrieve sign from long double.
9269 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9270 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9272 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9273 * math/test-misc.c (main): Don't use union ieee854_long_double.
9274
92752013-10-04 Alan Modra <amodra@gmail.com>
9276
9277 [BZ #15680]
9278 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9280 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9281 calculation. Remove unnecessary test for denormal exponent.
9282 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9283 Correct handling of denormals. Avoid undefined shift behaviour.
9284 Correct normalisation of low mantissa when low double is denormal.
9285 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9286 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9287 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9288 Correct normalisation of low mantissa. Test for overflow of high
9289 mantissa and normalise.
9290 (ldbl_nearbyint): Use more readable constant for two52.
9291 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9292 (__mpn_construct_long_double): Fix test for overflow of high
9293 mantissa and correct normalisation. Avoid undefined shift.
9294
92952013-10-04 Alan Modra <amodra@gmail.com>
9296
9297 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9298 (union ibm_extended_long_double): Define as an array of ieee754_double.
9299 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9300 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9301 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9302 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9306 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9309 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9310
93112013-10-03 Joseph Myers <joseph@codesourcery.com>
9312
9313 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9314 page size instead of calling getpagesize.
9315
9316 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9317 (LOCFILE_ALIGN_MASK): Likewise.
9318 (LOCFILE_ALIGN_UP): Likewise.
9319 (LOCFILE_ALIGNED_P): Likewise.
9320 * locale/programs/ld-collate.c (collate_output): Use the new
9321 macros instead of __alignof__ (int32_t).
9322 * locale/weight.h (findidx): Likewise.
9323
93242013-10-03 Ondřej Bílka <neleai@seznam.cz>
9325
9326 [BZ #431]
9327 * manual/string.texi: Fix strncat and wcsncat.
9328
93292013-10-03 Brooks Moses <bmoses@google.com>
9330
9331 [BZ #15915]
9332 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9333 * Makerules: ...here, and adjust associated comments.
9334
93352013-10-02 Will Newton <will.newton@linaro.org>
9336
9337 * malloc/Makefile: Add tst-pvalloc.
9338 * malloc/tst-pvalloc.c: New file.
9339
93402013-10-02 Will Newton <will.newton@linaro.org>
9341
9342 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9343 improve test coverage.
9344
93452013-10-02 Will Newton <will.newton@linaro.org>
9346
9347 * malloc/Makefile: Add tst-posix_memalign.
9348 * malloc/tst-posix_memalign.c: New file.
9349
93502013-10-01 Eric Blake <eblake@redhat.com>
9351
9352 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9353 Use __THROWNL rather than __THROW on static functions.
9354
93552013-09-30 Petr Machata <pmachata@redhat.com>
9356
9357 * elf/elf.h (R_AARCH64_ABS16): New macro.
9358 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9359 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9360 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9361 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9362 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9363 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9364 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9365 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9366 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9367 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9368 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9369 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9370 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9371 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9372 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9373 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9374 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9375 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9376 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9377 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9378 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9379 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9380 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9381 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9382 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9383 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9384 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9385 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9386 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9387 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9388 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9389 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9390 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9391 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9392 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9393 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9394 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9395 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9396 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9397 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9398 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9399 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9400 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9401 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9402 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9403 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9404 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9405 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9406 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9407 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9408 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9409 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9410 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9411 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9412 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9413 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9414 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9415 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9416 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9417 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9418 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9419 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9420 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9421 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9422 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9423 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9424 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9425 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9426 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9427 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9428 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9429 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9430 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9431 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9432 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9433 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9434 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9435 (R_AARCH64_TLSDESC_LDR): Likewise.
9436 (R_AARCH64_TLSDESC_ADD): Likewise.
9437 (R_AARCH64_TLSDESC_CALL): Likewise.
9438
94392013-09-30 Andreas Schwab <schwab@suse.de>
9440
9441 [BZ #15048]
9442 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9443 the nss database lookup.
9444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9446
94472013-09-28 Mike Frysinger <vapier@gentoo.org>
9448
9449 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9450
94512013-09-28 P. J. McDermott <pj@pehjota.net>
9452
9453 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9454 ${Bash-specific parameter/pattern/string} parameter expansion.
9455 * sysdeps/unix/make-syscalls.sh: Likewise.
9456
94572013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9458
9459 * sysdeps/sh/stackguard-macros.h: New file.
9460
94612013-09-26 Ondřej Bílka <neleai@seznam.cz>
9462
9463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9465 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9466 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9467 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9468 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9469
94702013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9471
9472 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9473 Fix thread ID register.
9474
94752013-09-25 Joseph Myers <joseph@codesourcery.com>
9476
9477 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9478 [POSIX || UNIX98]: Require rather than permitting all symbols from
9479 <time.h>.
9480 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9481 element of struct sched_param.
9482 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9483 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9484 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9485 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9486 constant.
9487
94882013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9489
9490 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9491 argument calculation.
9492
94932013-09-24 Joseph Myers <joseph@codesourcery.com>
9494
9495 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9496 Expect macro.
9497 [POSIX] (pthread_attr_t): Do not require type.
9498 [POSIX] (pthread_cond_t): Likewise.
9499 [POSIX] (pthread_condattr_t): Likewise.
9500 [POSIX] (pthread_key_t): Likewise.
9501 [POSIX] (pthread_mutex_t): Likewise.
9502 [POSIX] (pthread_mutexattr_t): Likewise.
9503 [POSIX] (pthread_once_t): Likewise.
9504 [POSIX] (pthread_t): Likewise.
9505 [POSIX-based standards] (pthread_atfork): Expect function.
9506
95072013-09-24 Joseph Myers <joseph@codesourcery.com>
9508 Richard Sandiford <richard@codesourcery.com>
9509
9510 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9511 (swap_endianness_p): New extern variable.
9512 (set_big_endian): New inline function.
9513 (maybe_swap_uint32): Likewise.
9514 (maybe_swap_uint32_array): Likewise.
9515 (maybe_swap_uint32_obstack): Likewise.
9516 * locale/programs/locfile.c: Include <stdbool.h>.
9517 (swap_endianness_p): New variable.
9518 (add_locale_uint32): Call maybe_swap_uint32.
9519 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9520 (write_locale_data): Call maybe_swap_uint32_array.
9521 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9522 maybe_swap_uint32.
9523 (obstack_int32_grow_fast): Likewise.
9524 (output_weightwc): Call maybe_swap_uint32_obstack.
9525 (collate_output): Likewise.
9526 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9527 (OPT_LITTLE_ENDIAN): Likewise.
9528 (options): Add --little-endian and --big-endian options.
9529 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9530 * locale/programs/locarchive.c: Include "locfile.h".
9531 (GET): New macro.
9532 (SET): Likewise.
9533 (INC): Likewise.
9534 (create_archive): Use the new macros to access fields of
9535 structures directly mapped from or written to locale archives.
9536 (oldlocrecentcmp): Likewise.
9537 (enlarge_archive): Likewise.
9538 (insert_name): Likewise.
9539 (add_alias): Likewise.
9540 (add_locale): Likewise.
9541 (delete_locales_from_archive): Likewise.
9542 (show_archive_content): Likewise.
9543 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9544 locale data.
9545
95462013-09-24 Roland McGrath <roland@hack.frob.com>
9547
9548 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9549 http://www.gnu.org/doc/freemanuals.texi.
9550 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9551
95522013-09-24 Will Newton <will.newton@linaro.org>
9553
9554 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9555 macro.
9556
95572013-09-23 Joseph Myers <joseph@codesourcery.com>
9558
9559 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9560 unsigned char.
9561
95622013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9563
9564 * manual/threads.texi (POSIX Threads): Fix a typo.
9565
95662013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
9568 [BZ #14547]
9569 * string/tst-strcoll-overflow.c: New test case.
9570 * string/Makefile (xtests): Add tst-strcoll-overflow.
9571 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9572 cache if string sizes may cause integer overflow.
9573
9574 [BZ #14547]
9575 * string/strcoll_l.c (coll_seq): New members rule, idx,
9576 save_idx and back_us.
9577 (get_next_seq_nocache): New function.
9578 (do_compare_nocache): New function.
9579 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9580 when malloc fails.
9581
95822013-09-23 Carlos O'Donell <carlos@redhat.com>
9583
9584 [BZ #15754]
9585 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9586 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9587 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9588
9589 [BZ #15754]
9590 * elf/Makefile (tests): Add tst-ptrguard1.
9591 (tests-static): Add tst-ptrguard1-static.
9592 (tst-ptrguard1-ARGS): Define.
9593 (tst-ptrguard1-static-ARGS): Define.
9594 * elf/tst-ptrguard1.c: New file.
9595 * elf/tst-ptrguard1-static.c: New file.
9596 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9597 * sysdeps/i386/stackguard-macros.h: Likewise.
9598 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9599 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9600 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9601 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9602 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9603 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9604
96052013-09-23 Hector Marco <hecmargi@upv.es>
9606 Ismael Ripoll <iripoll@disca.upv.es>
9607 Carlos O'Donell <carlos@redhat.com>
9608
9609 [BZ #15754]
9610 * sysdeps/generic/stackguard-macros.h: Define
9611 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9612 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9613 Define __pointer_chk_guard_local.
9614 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9615 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9616
96172013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9618
9619 [BZ #15859]
9620 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9621
96222013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9623
9624 * include/string.h (__ffs): Declare as hidden.
9625 * string/ffs.c (__ffs): Define as hidden.
9626 * sysdeps/i386/ffs.c (__ffs): Likewise.
9627 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9628 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9629 * sysdeps/s390/ffs.c (__ffs): Likewise.
9630 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9631
96322013-09-20 Alexandre Oliva <aoliva@redhat.com>
9633
9634 * NEWS: Mention malloc probes.
9635
9636 * malloc/arena.c (new_heap): New memory_heap_new probe.
9637 (grow_heap): New memory_heap_more probe.
9638 (shrink_heap): New memory_heap_less probe.
9639 (heap_trim): New memory_heap_free probe.
9640 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9641 (systrim): New memory_sbrk_less probe.
9642 * manual/probes.texi: Document them.
9643
9644 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9645 * manual/probes.texi: Document it.
9646
9647 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9648 (__libc_realloc): Add memory_realloc_retry probe.
9649 (__libc_memalign): Add memory_memalign_retry probe.
9650 (__libc_valloc): Add memory_valloc_retry probe.
9651 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9652 (__libc_calloc): Add memory_calloc_retry probe.
9653 * manual/probes.texi: Document them.
9654
9655 * malloc/arena.c (get_free_list): Add probe
9656 memory_arena_reuse_free_list.
9657 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9658 and memory_arena_reuse.
9659 (arena_get2) [!PER_THREAD]: Likewise.
9660 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9661 memory_arena_reuse_realloc.
9662 * manual/probes.texi: Document them.
9663
9664 * malloc/malloc.c (__libc_free): Add
9665 memory_mallopt_free_dyn_thresholds probe.
9666 (__libc_mallopt): Add multiple memory_mallopt probes.
9667 * manual/probes.texi: Document them.
9668
9669 * malloc/malloc.c: Include stap-probe.h.
9670 (__libc_mallopt): Add memory_mallopt probe.
9671 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9672 * manual/probes.texi: New.
9673 * manual/Makefile (chapters): Add probes.
9674 * manual/threads.texi: Set next node.
9675
96762013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9677
9678 [BZ #15963, #13985]
9679 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9680 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9681 Add `Chinese' to `nan' entry name.
9682
96832013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9684
9685 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9686 (POLYNOMIAL): Likewise.
9687 (TAYLOR_SINCOS): Likewise.
9688 (TAYLOR_SLOW): Likewise.
9689 (__sin): Use TAYLOR_SINCOS.
9690 (__cos): Likewise.
9691 (slow): Use TAYLOR_SLOW.
9692 (sloww): Likewise.
9693 (bsloww): Likewise.
9694 (csloww): Likewise.
9695
96962013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9697
9698 * stdlib/strtod_l.c: Fix buffer overrun.
9699
97002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9701
9702 * benchtests/Makefile (bench): Add sincos.
9703 * benchtests/bench-sincos.c: New file.
9704
9705 * math/libm-test.inc (cos_test_data): New test inputs.
9706 (sin_test_data): Likewise.
9707
9708 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9709 macro.
9710 (__sin): Use it.
9711 (__cos): Likewise.
9712 (slow1): Likewise.
9713 (slow2): Likewise.
9714 (sloww1): Likewise.
9715 (sloww2): Likewise.
9716 (bsloww1): Likewise.
9717 (bsloww2): Likewise.
9718 (cslow2): Likewise.
9719 (csloww1): Likewise.
9720 (csloww2): Likewise.
9721
9722 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9723 function.
9724 (__sin): Use it.
9725 (__cos): Likewise.
9726
9727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9728 gotos.
9729 (__cos): Likewise.
9730
97312013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9732
9733 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9734 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9735 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9736 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9737 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9738 * elf/cache.c (print_entry): Handle the new cache flags.
9739
97402013-09-18 Joseph Myers <joseph@codesourcery.com>
9741 Aldy Hernandez <aldyh@redhat.com>
9742
9743 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9744 Change condition to [_SOFT_FLOAT].
9745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9757 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9760 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9761 declaration.
9762
97632013-09-18 Joseph Myers <joseph@codesourcery.com>
9764
9765 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9766 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9767 (__longjmp): Use LOAD_GP to load saved GPRs.
9768 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9769 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9770 (__sigsetjmp): Use SAVE_GP to save GPRs.
9771
9772 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9773 Do not append -msoft-float.
9774 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9775
97762013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9777
9778 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9779
97802013-09-17 Joseph Myers <joseph@codesourcery.com>
9781
9782 [BZ #15966]
9783 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9784 (_FPU_GETCW): Use initial "__" on variable and field names but not
9785 on macro parameter name.
9786 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9787 parentheses around reference to macro parameter.
9788
97892013-09-13 Richard Sandiford <richard@codesourcery.com>
9790
9791 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9792 prototype.
9793 (ctype_startup): Use uint32_t in cast and sizeof for
9794 ctype->charnames.
9795
97962013-09-11 Jia Liu <proljc@gmail.com>
9797
9798 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9799 __daddr_t_defined.
9800 [__FreeBSD__]: Likewise.
9801
98022013-09-11 Ondřej Bílka <neleai@seznam.cz>
9803
9804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9805 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9806 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9807 (strchr): Remove __strchr_sse42 ifunc selection.
9808 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9809 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9810
98112013-09-11 Will Newton <will.newton@linaro.org>
9812
9813 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9814 parameter to RES. Remove hardcoded 1000 value.
9815 * benchtests/bench-skeleton.c (main): Pass RES parameter
9816 to TIMING_INIT and multiply result by 1000.
9817
98182013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9819
9820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9821
98222013-09-11 Andreas Schwab <schwab@suse.de>
9823
9824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9825 if not defined.
9826 (O_TMPFILE) [__USE_GNU]: Define.
9827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9828 Define.
9829
98302013-09-11 Will Newton <will.newton@linaro.org>
9831
9832 [BZ #15857]
9833 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9834 does not overflow.
9835
98362013-09-11 Will Newton <will.newton@linaro.org>
9837
9838 [BZ #15856]
9839 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9840 does not overflow.
9841
98422013-09-11 Will Newton <will.newton@linaro.org>
9843
9844 [BZ #15855]
9845 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9846 does not overflow.
9847
98482013-09-10 Ondřej Bílka <neleai@seznam.cz>
9849
9850 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9851 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9852 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9853 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9854 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9855
98562013-09-10 Allan McRae <allan@archlinux.org>
9857
9858 [BZ #15748]
9859 * manual/arith.texi (Parsing of Floats): Clarify
9860 cross-reference.
9861
9862 [BZ #15849]
9863 * manual/install.texi (Running make install): Mention
9864 --enable-pt-chown.
9865 * INSTALL: Regenerated.
9866
98672013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9868
9869 * csu/init-first.c (_init): Remove the !SHARED condition around
9870 FPU control word initialization.
9871 * elf/dl-support.c (_dl_fpu_control): New variable.
9872 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9873 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9874 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9875 * math/test-fpucw-static.c: New file.
9876 * math/test-fpucw-ieee.c: New file.
9877 * math/test-fpucw-ieee-static.c: New file.
9878 * math/Makefile (tests): Add `test-fpucw-ieee' and
9879 `$(tests-static)'.
9880 (tests-static): New variable.
9881 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9882 dependency to...
9883 [($(build-shared),yes)]
9884 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9885 ... this.
9886 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9887 New dependency.
9888
98892013-09-09 Allan McRae <allan@archlinux.org>
9890
9891 [BZ #15939]
9892 * manual/string.texi (Collation Functions): Fix typo in
9893 strcoll example.
9894 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9895
9896 [BZ #15893]
9897 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9898
9899 [BZ #15892]
9900 * libio/memstream.c (open_memstream): Fix memory leak.
9901 * libio/wmemstream.c (open_wmemstream): Likewise.
9902
9903 [BZ #15895]
9904 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9905
99062013-09-09 Will Newton <will.newton@linaro.org>
9907
9908 * malloc/Makefile: Add tst-realloc to tests.
9909 * malloc/tst-realloc.c: New file.
9910
99112013-09-09 Allan McRae <allan@archlinux.org>
9912
9913 [BZ #15844]
9914 * COPYING: Update from GNU website to fix FSF address.
9915 * COPYING.LIB: Likewise.
9916
99172013-09-06 David S. Miller <davem@davemloft.net>
9918
9919 * po/zh_TW.po: Update Chinese (traditional) translation from
9920 translation project.
9921
99222013-09-06 Richard Sandiford <richard@codesourcery.com>
9923 Joseph Myers <joseph@codesourcery.com>
9924
9925 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9926 "localeinfo.h".
9927 (obstack_chunk_alloc): New macro.
9928 (obstack_chunk_free): Likewise.
9929 (record_offset): New function.
9930 (init_locale_data): Likewise.
9931 (align_locale_data): Likewise.
9932 (add_locale_empty): Likewise.
9933 (add_locale_raw_data): Likewise.
9934 (add_locale_raw_obstack): Likewise.
9935 (add_locale_string): Likewise.
9936 (add_locale_wstring): Likewise.
9937 (add_locale_uint32): Likewise.
9938 (add_locale_uint32_array): Likewise.
9939 (add_locale_char): Likewise.
9940 (start_locale_structure): Likewise.
9941 (end_locale_structure): Likewise.
9942 (start_locale_prelude): Likewise.
9943 (end_locale_prelude): Likewise.
9944 (write_locale_data): Take locale_file structure rather than an
9945 iovec.
9946 * locale/programs/locfile.h: Include "obstack.h".
9947 (struct locale_file): Change to store locale file contents instead
9948 of header.
9949 (init_locale_data): New prototype.
9950 (align_locale_data): Likewise.
9951 (add_locale_empty): Likewise.
9952 (add_locale_raw_data): Likewise.
9953 (add_locale_raw_obstack): Likewise.
9954 (add_locale_string): Likewise.
9955 (add_locale_wstring): Likewise.
9956 (add_locale_uint32): Likewise.
9957 (add_locale_uint32_array): Likewise.
9958 (add_locale_char): Likewise.
9959 (start_locale_structure): Likewise.
9960 (end_locale_structure): Likewise.
9961 (start_locale_prelude): Likewise.
9962 (end_locale_prelude): Likewise.
9963 (write_locale_data): Update prototype.
9964 * locale/programs/3level.h (struct TABLE): Remove result field.
9965 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9966 Use new locale_file interface.
9967 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9968 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9969 * locale/programs/ld-address.c (address_output): Use new
9970 locale_file interface.
9971 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9972 NO_ADD_LOCALE.
9973 (collate_finish): Don't call collseq_table_finalize.
9974 (collate_output): Use new locale_file interface.
9975 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9976 in file.
9977 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9978 (TABLE): Move defines earlier in file.
9979 (ELEMENT): Likewise.
9980 (DEFAULT): Likewise.
9981 (wctrans_table_add): Move macro and inline function earlier in
9982 file.
9983 (struct wctype_table): Move type earlier in file.
9984 (add_locale_wctype_table): New static prototype.
9985 (struct locale_ctype_t): Use logical types instead of struct iovec
9986 pointers for members.
9987 (ctype_output): Use new locale_file interface.
9988 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9989 new locale_file interface.
9990 (allocate_arrays): Update for use of new locale_file interface.
9991 * locale/programs/ld-identification.c (identification_output): Use
9992 new locale_file interface.
9993 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9994 * locale/programs/ld-messages.c (messages_output): Likewise.
9995 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9996 * locale/programs/ld-name.c (name_output): Likewise.
9997 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9998 * locale/programs/ld-paper.c (paper_output): Likewise.
9999 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10000 * locale/programs/ld-time.c (time_output): Likewise.
10001
100022013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10003
10004 * benchtests/Makefile: Add memrchr benchmark.
10005 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10006 benchmark as memrchr.
10007 * benchtests/bench-memrchr-ifunc.c: New file.
10008 * benchtests/bench-memrchr.c: New file.
10009
100102013-09-06 Will Newton <will.newton@linaro.org>
10011
10012 * benchtests/Makefile (string-bench): Add memcpy.
10013
100142013-09-05 Carlos O'Donell <carlos@redhat.com>
10015 Cong Wang <amwang@redhat.com>
10016
10017 [BZ #15850]
10018 * sysdeps/unix/sysv/linux/bits/in.h
10019 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10020 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10021 before __USE_KERNEL_IPV6_DEFS uses.
10022 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10023 IPPROTO_BEETPH.
10024 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10025 sockaddr_in6, or ipv6_mreq.
10026
100272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10028
10029 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10030 memory access for final bytes in some large inputs.
10031 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10032
100332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10034
10035 * string/test-memrchr.c: New file.
10036 * string/test-memrchr-ifunc.c: New file.
10037 * string/Makefile: Add new memrchr testcase.
10038
100392013-09-05 Mike Frysinger <vapier@gentoo.org>
10040
10041 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10042 fanotify_init returns EPERM.
10043
100442013-09-04 Joseph Myers <joseph@codesourcery.com>
10045
10046 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10047 errors.
10048 (top level): Treat second token from macro or constant entries for
10049 allowed headers as allowed.
10050 * include/complex.h: Condition internal declarations on
10051 [!_ISOMAC].
10052 * include/fenv.h: Condition include of <stdbool.h> and internal
10053 declarations on [!_ISOMAC].
10054
100552013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10056
10057 [BZ #15923]
10058 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10059
100602013-09-04 Joseph Myers <joseph@codesourcery.com>
10061
10062 * configure.in (--enable-versioning): Remove configure option.
10063 (libc_cv_asm_symver_directive): Remove configure test.
10064 (libc_cv_ld_version_script_option): Likewise.
10065 (VERSIONING): Remove variable and AC_SUBST.
10066 (DO_VERSIONING): Remove AC_DEFINE.
10067 * configure: Regenerated.
10068 * config.h.in (DO_VERSIONING): Remove macro.
10069 * Makerules [$(versioning) = yes]: Change conditionals to
10070 [$(build-shared) = yes].
10071 * config.make.in (versioning): Remove variable.
10072 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10073 [$(build-shared) = yes].
10074 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10075 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10076 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10077 [$(build-shared) = yes].
10078 * extra-lib.mk [$(versioning) = yes]: Likewise.
10079 * hurd/Makefile [$(versioning) = yes]: Likewise.
10080 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10081 [SHARED].
10082 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10083 [SHARED].
10084 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10085 [SHARED && !NO_HIDDEN].
10086 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10087 [SHARED].
10088 [SHARED && DO_VERSIONING]: Likewise..
10089 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10090 [$(build-shared) = yes].
10091 * manual/install.texi (--disable-versioning): Remove
10092 documentation.
10093 * INSTALL: Regenerated.
10094 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10095 to [SHARED].
10096 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10097 [$(build-shared) = yes].
10098 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10099 * sysdeps/i386/i686/multiarch/strstr-c.c
10100 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10101 [SHARED && !NO_HIDDEN].
10102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10103 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10104 * sysdeps/powerpc/powerpc32/dl-machine.c
10105 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10106 * sysdeps/powerpc/powerpc32/sysdep.h
10107 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10108 to [SHARED && PIC && !NO_HIDDEN].
10109 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10110 conditional to [SHARED].
10111
101122013-09-04 Will Newton <will.newton@linaro.org>
10113
10114 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10115 * benchtests/bench-string.h: Include bench-timing.h instead
10116 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10117 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10118 call to HP_TIMING_DIFF_INIT.
10119 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10120 instead of hp-timing.h macros.
10121 * benchtests/bench-memchr.c: Likewise.
10122 * benchtests/bench-memcmp.c: Likewise.
10123 * benchtests/bench-memcpy.c: Likewise.
10124 * benchtests/bench-memmem.c: Likewise.
10125 * benchtests/bench-memmove.c: Likewise.
10126 * benchtests/bench-memset.c: Likewise.
10127 * benchtests/bench-rawmemchr.c: Likewise.
10128 * benchtests/bench-strcasecmp.c: Likewise.
10129 * benchtests/bench-strcasestr.c: Likewise.
10130 * benchtests/bench-strcat.c: Likewise.
10131 * benchtests/bench-strchr.c: Likewise.
10132 * benchtests/bench-strcmp.c: Likewise.
10133 * benchtests/bench-strcpy.c: Likewise.
10134 * benchtests/bench-strcpy_chk.c: Likewise.
10135 * benchtests/bench-strlen.c: Likewise.
10136 * benchtests/bench-strncasecmp.c: Likewise.
10137 * benchtests/bench-strncat.c: Likewise.
10138 * benchtests/bench-strncmp.c: Likewise.
10139 * benchtests/bench-strncpy.c: Likewise.
10140 * benchtests/bench-strnlen.c: Likewise.
10141 * benchtests/bench-strpbrk.c: Likewise.
10142 * benchtests/bench-strrchr.c: Likewise.
10143 * benchtests/bench-strspn.c: Likewise.
10144 * benchtests/bench-strstr.c: Likewise.
10145
101462013-09-04 Will Newton <will.newton@linaro.org>
10147
10148 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10149
101502013-09-03 Joseph Myers <joseph@codesourcery.com>
10151
10152 [BZ #15427]
10153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10154 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10155 * math/libm-test.inc (lgamma_test_data): Add more tests.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10158
101592013-09-03 Ondřej Bílka <neleai@seznam.cz>
10160
10161 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10163 Add ifunc.
10164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10165 Add strcmp-sse2-unaligned
10166 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10167
101682013-09-02 Mike Frysinger <vapier@gentoo.org>
10169
10170 * Versions.def (libc): Add GLIBC_2.19.
10171
101722013-09-02 Mike Frysinger <vapier@gentoo.org>
10173
10174 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10175 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10176
101772013-09-02 Joseph Myers <joseph@codesourcery.com>
10178
10179 [BZ #14155]
10180 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10181 intermediate calculations in recurrence.
10182 (__ieee754_ynf): Likewise.
10183 * math/libm-test.inc (jn_test_data): Do not allow spurious
10184 underflow exception. Add more tests.
10185 (yn_test_data): Add more tests.
10186 * sysdeps/i386/fpu/libm-test-ulps: Update.
10187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10188
101892013-09-02 Ondřej Bílka <neleai@seznam.cz>
10190
10191 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10192
101932013-08-30 Ondřej Bílka <neleai@seznam.cz>
10194
10195 * csu/init-first.c: Fix then/than typos.
10196 * locale/programs/ld-collate.c: Likewise.
10197 * locale/programs/linereader.h: Likewise.
10198 * manual/charset.texi: Likewise.
10199 * manual/filesys.texi: Likewise.
10200 * manual/stdio.texi: Likewise.
10201 * manual/string.texi: Likewise.
10202 * stdlib/fmtmsg.c: Likewise.
10203 * sysdeps/i386/stpncpy.S: Likewise.
10204 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10205 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10206 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10207 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10208
102092013-08-30 Ondřej Bílka <neleai@seznam.cz>
10210
10211 * elf/dl-open.c: Fix typos.
10212 * iconvdata/gbbig5.c: Likewise.
10213 * iconvdata/iso-2022-jp.c: Likewise.
10214 * iconv/gconv_int.h: Likewise.
10215 * iconv/loop.c: Likewise.
10216 * nis/rpcsvc/nis.h: Likewise.
10217 * resolv/ns_name.c: Likewise.
10218 * stdio-common/vfscanf.c: Likewise.
10219 * streams/stropts.h: Likewise.
10220 * sunrpc/rpc_thread.c: Likewise.
10221 * sysdeps/i386/strpbrk.S: Likewise.
10222 * sysdeps/ieee754/k_standard.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10225 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10226 * sysdeps/mach/hurd/profil.c: Likewise.
10227 * sysdeps/s390/dl-procinfo.h: Likewise.
10228 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10229 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10231 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10233
102342013-08-30 Ondřej Bílka <neleai@seznam.cz>
10235
10236 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10238
102392013-08-29 Ondřej Bílka <neleai@seznam.cz>
10240
10241 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10242 aix specific files.
10243 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10245 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10246 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10247 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10248 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10249 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10250 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10251
102522013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10253 Roland McGrath <roland@hack.frob.com>
10254
10255 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10256 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10257
102582013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10259
10260 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10261 __executable_start symbol instead of _start.
10262
102632013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10264
10265 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10266 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10267 Move macros to...
10268 * sysdeps/gnu/ldsodefs.h: ... this new file.
10269
10270 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10271 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10272 instead of ELFOSABI_LINUX.
10273
10274 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10275 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10276 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10277 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10278 Likewise.
10279 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10280 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10282 Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10284 (ibm_extended_long_double): Add ieee_nan member.
10285 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10286 (do_test): New function.
10287
10288 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10289 TEST_TRUNC.
10290 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10291 functions, renamed from truncdfsf_test, trunctfsf_test,
10292 trunctfdf_test.
10293 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10294 functions.
10295 (do_test): Run all these.
10296
102972013-08-29 Ondřej Bílka <neleai@seznam.cz>
10298
10299 * argp/argp-help.c: Fix typos.
10300 * argp/argp-parse.c: Likewise.
10301 * debug/backtracesyms.c: Likewise.
10302 * elf/elf.h: Likewise.
10303 * malloc/malloc.c: Likewise.
10304 * nis/nis_print.c: Likewise.
10305 * resolv/res_comp.c: Likewise.
10306 * stdlib/stdlib.h: Likewise.
10307 * sunrpc/clnt_tcp.c: Likewise.
10308 * sunrpc/clnt_udp.c: Likewise.
10309 * sunrpc/clnt_unix.c: Likewise.
10310 * sysdeps/unix/bsd/ptsname.c: Likewise.
10311 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10312 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10314 Likewise.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10316 Likewise.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10318 Likewise.
10319 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10320
103212013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10322
10323 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10325
103262013-08-27 Mike Frysinger <vapier@gentoo.org>
10327
10328 [BZ #15897]
10329 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10330 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10331 ($(objpfx)bug-dl-leaf): New rule.
10332 ($(objpfx)bug-dl-leaf.so): Likewise.
10333 ($(objpfx)bug-dl-leaf.out): Likewise.
10334 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10335 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10336 * dlfcn/bug-dl-leaf.c: New test.
10337 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10338 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10339 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10340 (dlclose): Likewise.
10341 (dlmopen): Likewise.
10342
103432013-08-27 Roland McGrath <roland@hack.frob.com>
10344
10345 * include/netdb.h [!_ISOMAC]:
10346 Don't include <tls.h>.
10347 (h_errno, __libc_h_errno): Move declaration and macros out of
10348 [_LIBC_REENTRANT].
10349
10350 * include/resolv.h [_RESOLV_H_]:
10351 Don't include <tls.h>.
10352 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10353 * resolv/res_libc.c: Don't include <tls.h>.
10354 (_res): Use __attribute__ ((nocommon)) in place of
10355 __attribute__ ((section (".bss"))).
10356
10357 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10358 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10359
10360 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10361
10362 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10363 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10364
10365 * resolv/res_mkquery.c: Include <sys/time.h>.
10366
10367 * inet/ifreq.c: Moved to ...
10368 * sysdeps/unix/ifreq.c: ... here.
10369 * inet/ifreq.c: New file, true stub version.
10370
10371 * socket/sa_len.c: New file.
10372 * socket/Makefile (aux): Add it.
10373 * sysdeps/unix/sysv/linux/Makefile
10374 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10375 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10376 and #include <socket/sa_len.c>.
10377 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10378 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10379
10380 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10381 * bits/socket.h: ... here.
10382
10383 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10384 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10385 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10386
103872013-08-27 Andreas Schwab <schwab@suse.de>
10388
10389 [BZ #15736]
10390 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10391 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10392 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10393 * string/test-strcasecmp.c (test_main): Run tests in several
10394 locales.
10395 * string/test-strncasecmp.c (test_main): Likewise.
10396
10397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10398 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10399 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10401 (__strncasecmp_ssse3) [PIC]: Likewise.
10402
104032013-08-26 Roland McGrath <roland@hack.frob.com>
10404
10405 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10406
10407 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10408 instead of explicitly declaring xdecrypt.
10409 * nis/nss_nis/nis-publickey.c: Likewise.
10410
104112013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10412
10413 [BZ #15890]
10414 * nscd/aicache.c: Include res_hconf.h.
10415 (addhstaiX): Initialize res_hconf.
10416
104172013-08-26 Andreas Schwab <schwab@suse.de>
10418
10419 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10420 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10421
104222013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10423
10424 * nscd/aicache.c (addhstaiX): Fix indentation.
10425
104262013-08-25 Mike Frysinger <vapier@gentoo.org>
10427
10428 * configure.ac: Quote $build_pt_chown test.
10429 * configure: Regenerated.
10430
104312013-08-23 Joseph Myers <joseph@codesourcery.com>
10432
10433 [BZ #15532]
10434 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10435 * math/s_cexpf.c (__cexpf): Likewise.
10436 * math/s_cexpl.c (__cexpl): Likewise.
10437 * math/libm-test.inc (cexp_test_data): Correct expected return
10438 value for NaN + i0. Add another test.
10439
104402013-08-22 David S. Miller <davem@davemloft.net>
10441
10442 * po/ca.po: Update Catalan translation from translation project.
10443 * po/uk.po: Add Ukrainian translations from translation project.
10444
104452013-08-21 Joseph Myers <joseph@codesourcery.com>
10446
10447 [BZ #15797]
10448 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10449 is infinite, not alongside NaN test.
10450 * math/s_fdimf.c (__fdimf): Likewise.
10451 * math/s_fdiml.c (__fdiml): Likewise.
10452 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10453 errno is unchanged.
10454
104552013-08-21 Ondřej Bílka <neleai@seznam.cz>
10456
10457 * argp/argp-help.c: Fix typos.
10458 * crypt/speeds.c: Likewise.
10459 * csu/check_fds.c: Likewise.
10460 * elf/dl-load.c: Likewise.
10461 * elf/dl-open.c: Likewise.
10462 * elf/reldep3.c: Likewise.
10463 * elf/reldep.c: Likewise.
10464 * elf/sprof.c: Likewise.
10465 * iconv/iconv_charmap.c: Likewise.
10466 * iconv/skeleton.c: Likewise.
10467 * iconv/strtab.c: Likewise.
10468 * io/lockf64.c: Likewise.
10469 * libio/libioP.h: Likewise.
10470 * resolv/gai_notify.c: Likewise.
10471 * resolv/ns_name.c: Likewise.
10472 * resolv/ns_samedomain.c: Likewise.
10473 * resolv/res_send.c: Likewise.
10474 * stdlib/random.c: Likewise.
10475 * sunrpc/rpc/xdr.h: Likewise.
10476 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10477 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10478 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10479 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10481 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10483 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10484 * sysdeps/mach/hurd/check_fds.c: Likewise.
10485 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10486 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10487 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10488 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10489 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10490 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10491 * sysdeps/pthread/aio_notify.c: Likewise.
10492 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10493 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10494 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10495 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10496 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10497
104982013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10499
10500 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10501 version if bit_Slow_SSE4_2 is set.
10502 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10504
105052013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10506
10507 [BZ #15867]
10508 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10509 trampoline stack frame information.
10510 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10511 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10512 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10513 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10514 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10515 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10516 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10517 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10518 sa_flags value.
10519 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10520 interrupting a syscall and set with option SA_SIGINFO.
10521
105222013-08-20 Joseph Myers <joseph@codesourcery.com>
10523
10524 [BZ #15531]
10525 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10526 argument is infinite.
10527 * math/s_cprojf.c (__cprojf): Likewise.
10528 * math/s_cprojl.c (__cprojl): Likewise.
10529 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10530 * math/libm-test.inc (cproj_test_data): Add more tests.
10531
10532 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10533
10534 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10535 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10536 size. Use __ffs to determine corresponding shift.
10537
105382013-08-20 Joseph Myers <joseph@codesourcery.com>
10539 Roland McGrath <roland@hack.frob.com>
10540
10541 * Makefile (INSTALL): Remove trailing blank lines from output of
10542 makeinfo.
10543
105442013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10545
10546 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10547 Align 32 bit compat elf_greg to 8 bytes.
10548
105492013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10550
10551 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10552
105532013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10554
10555 * string/strcoll_l.c (coll_seq): New structure.
10556 (get_next_seq_cached): New function.
10557 (get_next_seq): New function.
10558 (do_compare): New function.
10559 (STRCOLL): Use GNU style definition. Simplify implementation
10560 by using get_next_seq, get_next_seq_cached and do_compare.
10561
105622013-08-16 Florian Weimer <fweimer@redhat.com>
10563
10564 [BZ #14699]
10565 CVE-2013-4237
10566 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10567 member.
10568 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10569 member.
10570 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10571 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10572 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10573 conditional.
10574 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10575 GETDENTS_64BIT_ALIGNED.
10576 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10577 * manual/filesys.texi (Reading/Closing Directory): Document
10578 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10579 strongly.
10580 * manual/conf.texi (Limits for Files): Add portability note to
10581 NAME_MAX, PATH_MAX.
10582 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10583
105842013-08-13 Andreas Schwab <schwab@suse.de>
10585
10586 [BZ #15749]
10587 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10588 of fabs.
10589 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10590 LDBL_MAX_EXP >= 16384]: Add tests for it.
10591
105922013-08-12 David S. Miller <davem@davemloft.net>
10593
10594 * version.h (RELEASE): Set to "development".
10595 (VERSION): Set to "2.18.90".
10596 * NEWS: Add 2.19 section.
10597
105982013-08-03 David S. Miller <davem@davemloft.net>
10599
10600 * po/ko.po: Update Korean translation from translation project.
10601
106022013-08-01 David S. Miller <davem@davemloft.net>
10603
10604 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10605 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10606 Bilka.
10607
106082013-07-30 David S. Miller <davem@davemloft.net>
10609
10610 * po/fr.po: Update French translation from translation project.
10611
106122013-07-28 David S. Miller <davem@davemloft.net>
10613
10614 * po/cs.po: Update Czech translation from translation project.
10615
10616 * po/sv.po: Update Swedish translation from translation project.
10617
106182013-07-27 David S. Miller <davem@davemloft.net>
10619
10620 * po/eo.po: Update Esperanto translation from translation project.
10621
10622 * po/vi.po: Update Vietnamese translation from translation project.
10623
10624 * po/de.po: Update German translation from translation project.
10625
106262013-07-26 David S. Miller <davem@davemloft.net>
10627
10628 * po/bg.po: Update Bulgarian translation from translation project.
10629
10630 * po/nl.po: Update Dutch translation from translation project.
10631 * po/pl.po: Update Polish translation from translation project.
10632 * po/ru.po: Update Russian translation from translation project.
10633
106342013-07-24 David S. Miller <davem@davemloft.net>
10635
10636 * po/libc.pot: Update.
10637
106382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10639
10640 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10641 variable page size.
10642 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10643 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10644 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10645
106462013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10647
10648 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10649
106502013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10651 Andreas Schwab <schwab@suse.de>
10652 Roland McGrath <roland@hack.frob.com>
10653 Joseph Myers <joseph@codesourcery.com>
10654 Carlos O'Donell <carlos@redhat.com>
10655
10656 [BZ #15755]
10657 * config.h.in: Define HAVE_PT_CHOWN.
10658 * config.make.in (build-pt-chown): New variable.
10659 * configure.in (--enable-pt_chown): New configure option.
10660 * configure: Regenerate.
10661 * login/Makefile: Include Makeconfig. Build pt_chown only if
10662 build-pt-chown is enabled.
10663 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10664 pt_chown to fix pty ownership.
10665 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10666 CLOSE_ALL_FDS.
10667 * manual/install.texi (Configuring and compiling): Mention
10668 --enable-pt_chown. Add @findex for grantpt.
10669 * INSTALL: Regenerate.
10670
106712013-07-20 David S. Miller <davem@davemloft.net>
10672
10673 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10674 difference between 32-bit and 64-bit.
10675
106762013-07-15 Carlos O'Donell <carlos@redhat.com>
10677
10678 [BZ #15711]
10679 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10680 Avoid system header dependency with -ffreestanding.
10681 ($(objpfx)bits/syscall%d): Likewise.
10682
106832013-07-13 David S. Miller <davem@davemloft.net>
10684
10685 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10686 underflows from atanl/atan2l due to bug 15319.
10687 (casinh_test_data): Likewise.
10688
106892013-07-07 David S. Miller <davem@davemloft.net>
10690
10691 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10692
106932013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10694
10695 * sysdeps/i386/fpu/libm-test-ulps: Update.
10696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10697
106982013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10699
10700 * configure.in (--enable-lock-elision): Fix message text.
10701 * INSTALL: Regenerate.
10702 * configure: Regenerate.
10703
107042013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10705
10706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10707
107082013-07-03 Andreas Jaeger <aj@suse.de>
10709
10710 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10711 define.
10712 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10713 (ptrace_peeksiginfo_args): Add.
10714 (__ptrace_peeksiginfo_flags): Add.
10715 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10716 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10718
107192013-07-03 Allan McRae <allan@archlinux.org>
10720
10721 * sysdeps/i386/fpu/libm-test-ulps: Update.
10722
107232013-07-02 David S. Miller <davem@davemloft.net>
10724
10725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10726
107272013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10728
10729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10730
107312013-07-02 Joseph Myers <joseph@codesourcery.com>
10732
10733 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735
107362013-07-02 Andi Kleen <ak@linux.intel.com>
10737
10738 * config.h.in (ENABLE_LOCK_ELISION): Add.
10739 * configure.in (--enable-lock-elision): Add option.
10740 * manual/install.texi: Document --enable lock elision.
10741 * configure: Regenerate
10742 * INSTALL: Regenerate.
10743
107442013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10745
10746 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10747 SSE4.2 strcasecmp for libc.a.
10748 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10749
107502013-07-02 Joseph Myers <joseph@codesourcery.com>
10751
10752 [BZ #13304]
10753 * soft-fp/op-common.h (_FP_FMA): New macro.
10754 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10755 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10756 (_FP_MUL_MEAT_1_imm): ... here.
10757 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10758 (_FP_MUL_MEAT_1_wide): ... here.
10759 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10760 (_FP_MUL_MEAT_1_hard): ... here.
10761 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10762 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10763 (_FP_MUL_MEAT_2_wide): ... here.
10764 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10765 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10766 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10767 (_FP_MUL_MEAT_2_gmp): ... here.
10768 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10769 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10770 (_FP_MUL_MEAT_4_wide): ... here.
10771 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10772 (_FP_MUL_MEAT_4_gmp): ... here.
10773 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10774 (_FP_WFRACBITS_DW_S): Likewise.
10775 (_FP_WFRACXBITS_DW_S): Likewise.
10776 (_FP_HIGHBIT_DW_S): Likewise.
10777 (FP_FMA_S): Likewise.
10778 (_FP_FRAC_HIGH_DW_S): Likewise.
10779 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10780 (_FP_WFRACBITS_DW_D): Likewise.
10781 (_FP_WFRACXBITS_DW_D): Likewise.
10782 (_FP_HIGHBIT_DW_D): Likewise.
10783 (FP_FMA_D): Likewise.
10784 (_FP_FRAC_HIGH_DW_D): Likewise.
10785 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10786 (_FP_WFRACBITS_DW_E): Likewise.
10787 (_FP_WFRACXBITS_DW_E): Likewise.
10788 (_FP_HIGHBIT_DW_E): Likewise.
10789 (FP_FMA_E): Likewise.
10790 (_FP_FRAC_HIGH_DW_E): Likewise.
10791 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10792 (_FP_WFRACBITS_DW_Q): Likewise.
10793 (_FP_WFRACXBITS_DW_Q): Likewise.
10794 (_FP_HIGHBIT_DW_Q): Likewise.
10795 (FP_FMA_Q): Likewise.
10796 (_FP_FRAC_HIGH_DW_Q): Likewise.
10797 * soft-fp/fmasf4.c: New file.
10798 * soft-fp/fmadf4.c: Likewise.
10799 * soft-fp/fmatf4.c: Likewise.
10800
108012013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10802
10803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10804 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10805 Silvermont.
10806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10807 macro.
10808 (index_Slow_SSE4_2): Likewise.
10809 (index_Prefer_PMINUB_for_stringop): Likewise.
10810 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10811 bit_Slow_SSE4_2 is set.
10812 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10813 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10814
108152013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10816
10817 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10818 rtld_global._dl_hwcap2.
10819 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10820 POWER8.
10821 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10822 POWER8 feature descriptions defined in _dl_hwcap2.
10823 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10824 string handling for POWER8 feature bits.
10825 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10826 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10827 _dl_powerpc_cap_flags.
10828 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10829 * sysdeps/powerpc/rtld-global-offsets.sym
10830 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10831 _dl_hwcap2 in the rtld_global_ro structure.
10832
108332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10834
10835 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10836 hardware capabilities in support of AT_HWCAP2.
10837 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10838 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10839 GLRO(dl_hwcap2).
10840 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10841 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10842 explicitly the unknown a_type display mechanism is used.
10843 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10844 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10845 struct member.
10846 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10847 to macro prototype for AT_HWCAP2 support.
10848 * sysdeps/i386/dl-procinfo.h: Likewise.
10849 * sysdeps/s390/dl-procinfo.h: Likewise.
10850 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10851 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10852 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10853 return -1 for unknown a_type display fallback.
10854 * sysdeps/sparc/dl-procinfo.h: Likewise.
10855 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10856 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10857
108582013-06-28 Joseph Myers <joseph@codesourcery.com>
10859
10860 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10861 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10862
108632013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10864
10865 [BZ #12492]
10866 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10867 mprotect making __stack_prot writable.
10868
108692013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10870 Joseph Myers <joseph@codesourcery.com>
10871
10872 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10873 as being properly aligned.
10874
108752013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10876
10877 * dlfcn/modstatic5.c: New file.
10878 * dlfcn/tststatic5.c: New file.
10879 * dlfcn/Makefile (tests): Add tststatic5.
10880 (tests-static): Likewise.
10881 (modules-names): Add modstatic5.
10882 (tststatic5-ENV): New variable.
10883 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10884
10885 [BZ #15022]
10886 * elf/dl-support.c (_dl_main_map): New variable.
10887 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10888 (_dl_nns, _dl_load_adds): Set to 1.
10889 (_dl_initial_searchlist): Refer to _dl_main_map.
10890 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10891 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10892 call to _dl_get_origin.
10893 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10894 around call_map.
10895 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10896 * dlfcn/modstatic3.c: New file.
10897 * dlfcn/tststatic3.c: New file.
10898 * dlfcn/tststatic4.c: New file.
10899 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10900 (tests-static): Likewise.
10901 (modules-names): Add modstatic3.
10902 (tststatic3-ENV, tststatic4-ENV): New variables.
10903 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10904 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10905
109062013-06-26 Joseph Myers <joseph@codesourcery.com>
10907
10908 * configure.in (CC): Require GCC version 4.4 or later.
10909 * configure: Regenerated.
10910 * manual/install.texi (Tools for Compilation): Update GCC version
10911 requirement.
10912 * INSTALL: Regenerated.
10913
109142013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10915
10916 [BZ #15674]
10917 * string/test-memcmp.c (check2): New.
10918 (main): Call check2.
10919
10920 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10921
109222013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10923
10924 [BZ #15022]
10925 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10926 over to...
10927 (dl_open_worker) [!SHARED]: ... here.
10928
109292013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10930
10931 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10932
109332013-06-25 Richard Henderson <rth@redhat.com>
10934
10935 * locale/programs/locarchive.c: Include <libc-internal.h>
10936
109372013-06-25 Joseph Myers <joseph@codesourcery.com>
10938
10939 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10940 trailing whitespace removed.
10941
109422013-06-24 Mike Frysinger <vapier@gentoo.org>
10943
10944 [BZ #10283]
10945 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10946 * locale/programs/locarchive.c: Include libc-mmap.h.
10947 (prepare_address_space): Take two new outputs (the mmap base and len).
10948 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10949 values.
10950 (create_archive): Declare new mmap base and len values for
10951 prepare_address_space, and store the result in ah.
10952 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10953 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10954 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10955 Declare new mmap base and len values for
10956 prepare_address_space, and store the result in new_ah.
10957 (open_archive): Declare new mmap base and len values for
10958 prepare_address_space, and store the result in ah.
10959 (close_archive): If ah->mmap_base is not NULL, use that and
10960 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10961 * sysdeps/generic/libc-mmap.h: New file.
10962
109632013-06-24 Mike Frysinger <vapier@gentoo.org>
10964
10965 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10966 (ALIGN_UP): Likewise.
10967 (PTR_ALIGN_DOWN): Likewise.
10968 (PTR_ALIGN_UP): Likewise.
10969
109702013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10971
10972 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10973 entry mapped to PPC_PLATFORM_POWER8.
10974 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10975 POWER8.
10976 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10977 (_dl_string_platform): Add case for exporting platform position for
10978 POWER8.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10980 search path to sysdeps/powerpc/powerpc32/power8 directory.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10982 search path to sysdeps/powerpc/powerpc64/power8 directory.
10983 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10984 power7 directories.
10985 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10986 power7 directories.
10987
109882013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10989
10990 * INSTALL: Regenerate.
10991
10992 * nscd/connections.c (nscd_init): Fix comment.
10993
109942013-06-22 Joseph Myers <joseph@codesourcery.com>
10995
10996 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10997
10998 [BZ #15667]
10999 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11000 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11001
110022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11003
11004 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11005 DL_DST_REQ_STATIC.
11006 (DL_DST_REQ_STATIC): Remove macro.
11007
110082013-06-21 Joseph Myers <joseph@codesourcery.com>
11009
11010 [BZ #7006]
11011 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11012 with a shift of 0 bits.
11013
110142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11015
11016 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11017 $(tststatic-ENV).
11018
110192013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11020
11021 [BZ #15655]
11022 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11023
110242013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11025
11026 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11027 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11028 accepts -fno-tree-loop-distribute-patterns.
11029 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11030 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11031 recursive call.
11032 * string/memset.c (memset): Likewise.
11033 * string/test-memmove.c (simple_memmove): Disable loop transformation
11034 to library calls.
11035 * string/test-memset.c (simple_memset): Likewise.
11036 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11037 * benchtests/bench-memset.c (simple_memset): Likewise.
11038 * configure: Regenerated.
11039
110402013-06-20 Joseph Myers <joseph@codesourcery.com>
11041
11042 * math/test-misc.c (main): Ignore fesetround failure when failures
11043 of subsequent rounding tests would be ignored.
11044
11045 [BZ #15654]
11046 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11047 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11048 * math/fegetenv.c (__fegetenv): Return 0.
11049 * math/fegetexcept.c (fegetexcept): Return 0.
11050 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11051 FE_TONEAREST.
11052 * math/feholdexcpt.c (feholdexcept): Return 0.
11053 * math/fesetenv.c (__fesetenv): Return 0.
11054 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11055 argument FE_TONEAREST.
11056 * math/feupdateenv.c (__feupdateenv): Return 0.
11057 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11058
110592013-06-18 Roland McGrath <roland@hack.frob.com>
11060
11061 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11062 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11063 ($(objpfx)rtld-%.os rules): Use them.
11064
110652013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11066
11067 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11068 fields.
11069
110702013-06-17 Roland McGrath <roland@hack.frob.com>
11071
11072 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11073 length of target pattern, then descending length of dependency pattern.
11074 * configure.in (AWK): Require gawk 3.1.2 or newer.
11075 * manual/install.texi (Tools for Compilation): Say that we do.
11076 * configure: Regenerated.
11077
11078 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11079 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11080 * scripts/sysd-rules.awk: ... this new script.
11081 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11082 than a glob-style pattern.
11083
110842013-06-17 Joseph Myers <joseph@codesourcery.com>
11085
11086 * math/test-misc.c (main): Do not treat incorrectly rounded
11087 conversions as failure unless ROUNDING_TESTS passes.
11088
110892013-06-15 Joseph Myers <joseph@codesourcery.com>
11090
11091 [BZ #15631]
11092 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11093 restore exception state around main square root computation, then
11094 check for inexactness explicitly.
11095
11096 * math/libm-test.inc (fma_test_data): Add another test.
11097
110982013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11099
11100 * manual/threads.texi (Non-POSIX Extensions): New document
11101 node. Document pthread_getattr_default_np and
11102 pthread_setattr_default_np.
11103
11104 * Versions.def (libpthread): Add GLIBC_2.18.
11105 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11107 Likewise.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11109 Likewise.
11110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11111 Likewise.
11112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11113 Likewise.
11114 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11115 Likewise.
11116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11117 Likewise.
11118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11119 Likewise.
11120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11121 Likewise.
11122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11123 Likewise.
11124
111252013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11126
11127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11128 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11129
111302013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11131 H.J. Lu <hjl.tools@gmail.com>
11132
11133 [BZ #15627]
11134 * sysdeps/x86_64/rtld-memset.c: Remove file.
11135 * sysdeps/x86_64/rtld-memset.S: New file.
11136
111372013-06-14 Joseph Myers <joseph@codesourcery.com>
11138
11139 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11140 (test_in_one_mode): Take arguments for whether the rounding mode
11141 is supported for each floating-point type.
11142 (do_test): Pass new arguments to test_in_one_mode using
11143 ROUNDING_TESTS.
11144
111452013-06-13 Roland McGrath <roland@hack.frob.com>
11146
11147 * posix/tst-waitid.c (do_test): Distinguish different instances of
11148 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11149 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11150 before entering the kernel for waitpid.
11151
111522013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11153
11154 * NEWS: Fix note on clock function precision. Text by Roland
11155 McGrath.
11156
111572013-06-13 Roland McGrath <roland@hack.frob.com>
11158
11159 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11160 it into place only when and if the sanity check passes.
11161
111622013-06-13 Joseph Myers <joseph@codesourcery.com>
11163
11164 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11165 output for whether conversion result is exact. Take argument
11166 indicating whether type is IBM long double.
11167 (round_for_all): Change need_exact field to ibm_ld.
11168 * stdlib/tst-strtod-round.c (struct exactness): New type.
11169 (struct test): Change bool ld_ok field to struct exactness exact.
11170 (TEST): Update all definitions for change to field.
11171 (tests): Regenerate array contents.
11172 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11173 field value. Check for IBM long double here.
11174 (do_test): Update calls to test_in_one_mode.
11175
111762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11177
11178 [BZ #12515]
11179 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11180 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11181
111822013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11183
11184 [BZ #15605]
11185 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11186 generated by the compiler on loop optimizations.
11187 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11188 general definitions.
11189
111902013-06-12 Joseph Myers <joseph@codesourcery.com>
11191
11192 * math/bug-nextafter.c: Include <math-tests.h>.
11193 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11194 the relevant type.
11195 * math/bug-nexttoward.c: Include <math-tests.h>.
11196 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11197 the relevant type.
11198 * math/test-misc.c: Include <math-tests.h>.
11199 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11200 the relevant type.
11201
112022013-06-12 Andreas Jaeger <aj@suse.de>
11203
11204 * po/ia.po: Update Interlingua translation from translation
11205 project.
11206
112072013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11208
11209 * include/fenv.h: Include stdbool.h.
11210 (struct rm_ctx): New structure.
11211 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11212 Define macro.
11213 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11214 (SET_RESTORE_ROUNDF): Likewise.
11215 (SET_RESTORE_ROUNDL): Likewise.
11216 (SET_RESTORE_ROUND_NOEX): Likewise.
11217 (SET_RESTORE_ROUND_NOEXF): Likewise.
11218 (SET_RESTORE_ROUND_NOEXL): Likewise.
11219 (SET_RESTORE_ROUND_53BIT): Likewise.
11220 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11221 (libc_feresetround_noexf_ctx): Likewise.
11222 (libc_feresetround_noexl_ctx): Likewise.
11223 (libc_feholdsetround_53bit_ctx): Likewise.
11224 (libc_feresetround_53bit_ctx): Likewise.
11225 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11226 (libc_feholdexcept_setround_sse_ctx): New function.
11227 (libc_fesetenv_sse_ctx): Likewise.
11228 (libc_feupdateenv_sse_ctx): Likewise.
11229 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11230 (libc_feholdexcept_setround_387_ctx): Likewise.
11231 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11232 (libc_feholdsetround_387_prec_ctx): Likewise.
11233 (libc_feholdsetround_387_ctx): Likewise.
11234 (libc_feholdsetround_387_53bit_ctx): Likewise.
11235 (libc_feholdsetround_sse_ctx): Likewise.
11236 (libc_feresetround_sse_ctx): Likewise.
11237 (libc_feresetround_387_ctx): Likewise.
11238 (libc_feupdateenv_387_ctx): Likewise.
11239 (libc_feholdexcept_setroundf_ctx): Define macro.
11240 (libc_fesetenvf_ctx): Likewise.
11241 (libc_feupdateenvf_ctx): Likewise.
11242 (libc_feholdsetroundf_ctx): Likewise.
11243 (libc_feresetroundf_ctx): Likewise.
11244 (libc_feholdexcept_setround_ctx): Likewise.
11245 (libc_fesetenv_ctx): Likewise.
11246 (libc_feupdateenv_ctx): Likewise.
11247 (libc_feholdsetround_ctx): Likewise.
11248 (libc_feresetround_ctx): Likewise.
11249 (libc_feholdexcept_setroundl_ctx): Likewise.
11250 (libc_feupdateenvl_ctx): Likewise.
11251 (libc_feholdsetroundl_ctx): Likewise.
11252 (libc_feresetroundl_ctx): Likewise.
11253 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11254 (libc_feresetround_53bit_ctx): Likewise.
11255
112562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11257
11258 * locale/iso-639.def: Convert to UTF-8.
11259
112602013-06-11 Joseph Myers <joseph@codesourcery.com>
11261
11262 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11263 (EXCEPTION_TESTS_double): Likewise.
11264 (EXCEPTION_TESTS_long_double): Likewise.
11265 (EXCEPTION_TESTS): Likewise.
11266 * math/libm-test.inc (test_exceptions): Only test exceptions if
11267 EXCEPTION_TESTS (FLOAT).
11268
112692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11270
11271 * benchtests/Makefile (string-bench): Add strcpy_chk and
11272 stpcpy_chk.
11273 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11274 * benchtests/bench-stpcpy_chk.c: New file.
11275 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11276 * benchtests/bench-strcpy_chk.c: New file.
11277 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11278 code.
11279 (do_test): Likewise.
11280
112812013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11282
11283 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11284 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11285 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11286 with tabs where appropriate.
11287 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11288 dl-procinfo.h.
11289 [PPC_PLATFORM_PPC440]: Likewise.
11290 [PPC_PLATFORM_PPC464]: Likewise.
11291 [PPC_PLATFORM_PPC476]: Likewise.
11292 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11293 ppc464, and ppc476 platform strings merging from ports/
11294 dl-procinfo.h.
11295
112962013-06-11 Andreas Schwab <schwab@suse.de>
11297
11298 [BZ #14991]
11299 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11300 (from_ucs4_idx): Regenerate.
11301 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11302 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11303 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11304 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11305 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11306 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11307 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11308 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11309 from FROM_LOOP and TO_LOOP specific macros.
11310 (BODY): Handle combining characters.
11311 * iconvdata/BIG5HKSCS.irreversible: Update.
11312 * iconvdata/BIG5HKSCS.precomposed: New file.
11313 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11314 characters.
11315 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11316
113172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11318
11319 * include/sys/time.h: Fix indentation and add copyright header.
11320
11321 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11322 (do_test): Likewise.
11323 * string/test-memchr.c (do_one_test): Likewise.
11324 (do_test): Likewise.
11325 * string/test-memcmp.c (do_one_test): Likewise.
11326 (do_test): Likewise.
11327 * string/test-memcpy.c (do_one_test): Likewise.
11328 (do_test): Likewise.
11329 * string/test-memmem.c (do_one_test): Likewise.
11330 (do_test): Likewise.
11331 (do_random_tests): Likewise.
11332 * string/test-memmove.c (do_one_test): Likewise.
11333 (do_test): Likewise.
11334 * string/test-memset.c (do_one_test): Likewise.
11335 (do_test): Likewise.
11336 * string/test-rawmemchr.c (do_one_test): Likewise.
11337 (do_test): Likewise.
11338 * string/test-strcasecmp.c (do_one_test): Likewise.
11339 (do_test): Likewise.
11340 * string/test-strcasestr.c (do_one_test): Likewise.
11341 (do_test): Likewise.
11342 * string/test-strcat.c (do_one_test): Likewise.
11343 (do_test): Likewise.
11344 * string/test-strchr.c (do_one_test): Likewise.
11345 (do_test): Likewise.
11346 * string/test-strcmp.c (do_one_test): Likewise.
11347 (do_test): Likewise.
11348 * string/test-strcpy.c (do_one_test): Likewise.
11349 (do_test): Likewise.
11350 * string/test-string.h: Likewise.
11351 (test_init): Likewise.
11352 * string/test-strlen.c (do_one_test): Likewise.
11353 (do_test): Likewise.
11354 * string/test-strncasecmp.c (do_one_test): Likewise.
11355 (do_test): Likewise.
11356 * string/test-strncat.c (do_one_test): Likewise.
11357 (do_test): Likewise.
11358 * string/test-strncmp.c (do_one_test): Likewise.
11359 (do_test_limit): Likewise.
11360 (do_test): Likewise.
11361 * string/test-strncpy.c (do_one_test): Likewise.
11362 (do_test): Likewise.
11363 * string/test-strnlen.c (do_one_test): Likewise.
11364 (do_test): Likewise.
11365 * string/test-strpbrk.c (do_one_test): Likewise.
11366 (do_test): Likewise.
11367 * string/test-strrchr.c (do_one_test): Likewise.
11368 (do_test): Likewise.
11369 * string/test-strspn.c (do_one_test): Likewise.
11370 (do_test): Likewise.
11371 * string/test-strstr.c (do_one_test): Likewise.
11372 (do_test): Likewise.
11373
11374 * benchtests/Makefile (string-bench): Add string benchmarks.
11375 * benchtests/bench-bcopy-ifunc.c: New file.
11376 * benchtests/bench-bcopy.c: New file.
11377 * benchtests/bench-bzero-ifunc.c: New file.
11378 * benchtests/bench-bzero.c: New file.
11379 * benchtests/bench-memccpy-ifunc.c: New file.
11380 * benchtests/bench-memccpy.c: New file.
11381 * benchtests/bench-memchr-ifunc.c: New file.
11382 * benchtests/bench-memchr.c: New file.
11383 * benchtests/bench-memcmp-ifunc.c: New file.
11384 * benchtests/bench-memcmp.c: New file.
11385 * benchtests/bench-memmem-ifunc.c: New file.
11386 * benchtests/bench-memmem.c: New file.
11387 * benchtests/bench-memmove-ifunc.c: New file.
11388 * benchtests/bench-memmove.c: New file.
11389 * benchtests/bench-mempcpy-ifunc.c: New file.
11390 * benchtests/bench-mempcpy.c: New file.
11391 * benchtests/bench-memset-ifunc.c: New file.
11392 * benchtests/bench-memset.c: New file.
11393 * benchtests/bench-rawmemchr-ifunc.c: New file.
11394 * benchtests/bench-rawmemchr.c: New file.
11395 * benchtests/bench-stpcpy-ifunc.c: New file.
11396 * benchtests/bench-stpcpy.c: New file.
11397 * benchtests/bench-stpncpy-ifunc.c: New file.
11398 * benchtests/bench-stpncpy.c: New file.
11399 * benchtests/bench-strcasecmp-ifunc.c: New file.
11400 * benchtests/bench-strcasecmp.c: New file.
11401 * benchtests/bench-strcasestr-ifunc.c: New file.
11402 * benchtests/bench-strcasestr.c: New file.
11403 * benchtests/bench-strcat-ifunc.c: New file.
11404 * benchtests/bench-strcat.c: New file.
11405 * benchtests/bench-strchr-ifunc.c: New file.
11406 * benchtests/bench-strchr.c: New file.
11407 * benchtests/bench-strchrnul-ifunc.c: New file.
11408 * benchtests/bench-strchrnul.c: New file.
11409 * benchtests/bench-strcmp-ifunc.c: New file.
11410 * benchtests/bench-strcmp.c: New file.
11411 * benchtests/bench-strcpy-ifunc.c: New file.
11412 * benchtests/bench-strcpy.c: New file.
11413 * benchtests/bench-strcspn-ifunc.c: New file.
11414 * benchtests/bench-strcspn.c: New file.
11415 * benchtests/bench-strlen-ifunc.c: New file.
11416 * benchtests/bench-strlen.c: New file.
11417 * benchtests/bench-strncasecmp-ifunc.c: New file.
11418 * benchtests/bench-strncasecmp.c: New file.
11419 * benchtests/bench-strncat-ifunc.c: New file.
11420 * benchtests/bench-strncat.c: New file.
11421 * benchtests/bench-strncmp-ifunc.c: New file.
11422 * benchtests/bench-strncmp.c: New file.
11423 * benchtests/bench-strncpy-ifunc.c: New file.
11424 * benchtests/bench-strncpy.c: New file.
11425 * benchtests/bench-strnlen-ifunc.c: New file.
11426 * benchtests/bench-strnlen.c: New file.
11427 * benchtests/bench-strpbrk-ifunc.c: New file.
11428 * benchtests/bench-strpbrk.c: New file.
11429 * benchtests/bench-strrchr-ifunc.c: New file.
11430 * benchtests/bench-strrchr.c: New file.
11431 * benchtests/bench-strspn-ifunc.c: New file.
11432 * benchtests/bench-strspn.c: New file.
11433 * benchtests/bench-strstr-ifunc.c: New file.
11434 * benchtests/bench-strstr.c: New file.
11435
11436 * benchtests/Makefile: Disable parallel execution of targets.
11437 (string-bench): Add memcpy.
11438 (benchset): New variable to store a list of benchmark sets.
11439 (bench-func): Renamed from bench.
11440 (bench-set): New target.
11441 (bench): Depend on bench-func and bench-set.
11442 * benchtests/README: Add section on benchmark sets.
11443 * benchtests/bench-memcpy-ifunc.c: New file.
11444 * benchtests/bench-memcpy.c: New file.
11445 * benchtests/bench-string.h: New file.
11446
114472013-06-11 Andreas Schwab <schwab@suse.de>
11448
11449 [BZ #15577]
11450 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11451 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11452 values in the triple.
11453 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11454 terminator in the group key.
11455
114562013-06-11 Andreas Jaeger <aj@suse.de>
11457
11458 * po/zh_TW.po: Update Chinese (traditional) translation from
11459 translation project.
11460
114612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11462
11463 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11464 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11465 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11466 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11467 (clock_getcpuclockid): Likewise.
11468 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11469 Add weak_alias and libc_hidden_def.
11470 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11471 * rt/clock_gettime.c (clock_gettime): Rename to
11472 __clock_gettime. Add weak_alias and libc_hidden_def.
11473 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11474 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11475 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11476 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11477 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11478 Likewise.
11479 * rt/clock_settime.c (clock_settime): Rename to
11480 __clock_settime. Add weak_alias and libc_hidden_def.
11481 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11482
114832013-06-10 Joseph Myers <joseph@codesourcery.com>
11484
11485 * mach/err_boot.sub: Remove trailing whitespace.
11486 * mach/err_ipc.sub: Likewise.
11487 * mach/err_mach.sub: Likewise.
11488
11489 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11490 (ROUNDING_TESTS_double): Likewise.
11491 (ROUNDING_TESTS_long_double): Likewise.
11492 (ROUNDING_TESTS): Likewise.
11493 * math/libm-test.inc: Include <math-tests.h>.
11494 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11495 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11496 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11497 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11498
114992013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11500
11501 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11502 of assigning.
11503
115042013-06-08 Joseph Myers <joseph@codesourcery.com>
11505
11506 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11507 otherwise empty TRANS lines.
11508 * sysdeps/gnu/errlist.c: Regenerated.
11509
11510 * catgets/gencat.c (error_print): Use (void) in function
11511 definition.
11512 * crypt/crypt_util.c (__init_des): Likewise.
11513 * crypt/speeds.c (Stop): Likewise.
11514 (main): Likewise.
11515 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11516 * inet/ruserpass.c (token): Likewise.
11517 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11518 * intl/localealias.c (extend_alias_table): Likewise.
11519 * intl/plural-exp.c (init_germanic_plural): Likewise.
11520 * libio/fcloseall.c (__fcloseall): Likewise.
11521 * libio/genops.c (_IO_flush_all): Likewise.
11522 (_IO_flush_all_linebuffered): Likewise.
11523 (_IO_cleanup): Likewise.
11524 (_IO_iter_begin): Likewise.
11525 (_IO_iter_end): Likewise.
11526 (_IO_list_lock): Likewise.
11527 (_IO_list_unlock): Likewise.
11528 (_IO_list_resetlock): Likewise.
11529 * libio/getchar.c (getchar): Likewise.
11530 * libio/getchar_u.c (getchar_unlocked): Likewise.
11531 * libio/getwchar.c (getwchar): Likewise.
11532 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11533 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11534 * login/getpt.c (__getpt): Likewise.
11535 * login/tst-utmp.c (main): Likewise.
11536 * malloc/hooks.c (__malloc_check_init): Likewise.
11537 * malloc/malloc.c (__malloc_stats): Likewise.
11538 * malloc/mtrace.c (tr_break): Likewise.
11539 (mtrace): Likewise.
11540 (muntrace): Likewise.
11541 * misc/fstab.c (endfsent): Likewise.
11542 * misc/getclktck.c (__getclktck): Likewise.
11543 * misc/getdtsz.c (__getdtablesize): Likewise.
11544 * misc/gethostid.c (gethostid): Likewise.
11545 * misc/getpagesize.c (__getpagesize): Likewise.
11546 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11547 (__get_nprocs): Likewise.
11548 (__get_phys_pages): Likewise.
11549 (__get_avphys_pages): Likewise.
11550 * misc/getttyent.c (getttyent): Likewise.
11551 (setttyent): Likewise.
11552 (endttyent): Likewise.
11553 * misc/getusershell.c (getusershell): Likewise.
11554 (endusershell): Likewise.
11555 (setusershell): Likewise.
11556 (initshells): Likewise.
11557 * misc/hsearch.c (__hdestroy): Likewise.
11558 * misc/sync.c (sync): Likewise.
11559 * misc/syslog.c (closelog_internal): Likewise.
11560 (closelog): Likewise.
11561 * misc/ttyslot.c (ttyslot): Likewise.
11562 * misc/vhangup.c (vhangup): Likewise.
11563 * posix/fork.c (__fork): Likewise.
11564 * posix/getegid.c (__getegid): Likewise.
11565 * posix/geteuid.c (__geteuid): Likewise.
11566 * posix/getgid.c (__getgid): Likewise.
11567 * posix/getpid.c (__getpid): Likewise.
11568 * posix/getppid.c (__getppid): Likewise.
11569 * posix/getuid.c (__getuid): Likewise.
11570 * posix/pause.c (pause): Likewise.
11571 * posix/setpgrp.c (setpgrp): Likewise.
11572 * posix/setsid.c (__setsid): Likewise.
11573 * posix/test-vfork.c (noop): Likewise.
11574 * resolv/gethnamaddr.c (_endhtent): Likewise.
11575 (_gethtent): Likewise.
11576 (ht_endhostent): Likewise.
11577 (gethostent): Likewise.
11578 (dns_service): Likewise.
11579 * stdlib/drand48.c (drand48): Likewise.
11580 * stdlib/lrand48.c (lrand48): Likewise.
11581 * stdlib/mrand48.c (mrand48): Likewise.
11582 * stdlib/rand.c (rand): Likewise.
11583 * stdlib/random.c (__random): Likewise.
11584 * stdlib/setenv.c (clearenv): Likewise.
11585 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11586 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11587 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11588 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11589 (__get_nprocs): Likewise.
11590 (__get_phys_pages): Likewise.
11591 (__get_avphys_pages): Likewise.
11592 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11593 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11594 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11595 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11596 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11597 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11598 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11599 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11600 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11601 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11602 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11603 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11604 * sysdeps/posix/clock.c (clock): Likewise.
11605 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11606 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11607 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11608 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11609 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11611 (__get_nprocs_conf): Likewise.
11612 (__get_phys_pages): Likewise.
11613 (__get_avphys_pages): Likewise.
11614 * time/clock.c (clock): Likewise.
11615 * time/tzset.c (__tzname_max): Likewise.
11616
116172013-06-07 Joseph Myers <joseph@codesourcery.com>
11618
11619 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11620 (__bswap_32): Do not use "register".
11621 * crypt/crypt.c (_ufc_doit_r): Likewise.
11622 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11623 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11624 * gmon/gmon.c (__monstartup): Likewise.
11625 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11626 * hurd/hurdmalloc.c (more_memory): Likewise.
11627 (malloc): Likewise.
11628 (free): Likewise.
11629 (realloc): Likewise.
11630 (malloc_fork_prepare): Likewise.
11631 (malloc_fork_parent): Likewise.
11632 (malloc_fork_child): Likewise.
11633 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11634 (_svcauth_des): Likewise.
11635 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11636 * inet/inet_net.c (inet_network): Likewise.
11637 * inet/inet_netof.c (inet_netof): Likewise.
11638 * inet/rcmd.c (__validuser2_sa): Likewise.
11639 * io/fts.c (fts_open): Likewise.
11640 (fts_load): Likewise.
11641 (fts_close): Likewise.
11642 (fts_read): Likewise.
11643 (fts_children): Likewise.
11644 (fts_build): Likewise.
11645 (fts_stat): Likewise.
11646 (fts_sort): Likewise.
11647 (fts_alloc): Likewise.
11648 (fts_lfree): Likewise.
11649 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11650 (_IO_file_xsgetn): Likewise.
11651 (_IO_file_xsgetn_mmap): Likewise.
11652 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11653 (_IO_cookie_write): Likewise.
11654 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11655 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11656 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11657 * malloc/obstack.c (_obstack_begin): Likewise.
11658 (_obstack_begin_1): Likewise.
11659 (_obstack_newchunk): Likewise.
11660 (_obstack_allocated_p): Likewise.
11661 (obstack_free): Likewise.
11662 (_obstack_memory_used): Likewise.
11663 * misc/getttyent.c (getttynam): Likewise.
11664 (getttyent): Likewise.
11665 (skip): Likewise.
11666 (value): Likewise.
11667 * misc/getusershell.c (initshells): Likewise.
11668 * misc/syslog.c (__vsyslog_chk): Likewise.
11669 * misc/ttyslot.c (ttyslot): Likewise.
11670 * nis/nis_hash.c (__nis_hash): Likewise.
11671 * posix/fnmatch_loop.c (FCT): Likewise.
11672 * posix/getconf.c (print_all): Likewise.
11673 (main): Likewise.
11674 * posix/getopt.c (exchange): Likewise.
11675 * posix/glob.c (globfree): Likewise.
11676 (prefix_array): Likewise.
11677 (__glob_pattern_type): Likewise.
11678 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11679 (NS_GET32): Likewise.
11680 (NS_PUT16): Likewise.
11681 (NS_PUT32): Likewise.
11682 * resolv/gethnamaddr.c (getanswer): Likewise.
11683 (gethostbyname2): Likewise.
11684 (gethostbyaddr): Likewise.
11685 (_gethtent): Likewise.
11686 (_gethtbyname2): Likewise.
11687 (_gethtbyaddr): Likewise.
11688 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11689 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11690 * resolv/res_init.c (__res_vinit): Likewise.
11691 (net_mask): Likewise.
11692 * resolv/res_mkquery.c (outchar): Likewise.
11693 (PRINT): Likewise.
11694 * stdio-common/printf_fp.c (outchar): Likewise.
11695 (PRINT): Likewise.
11696 * stdio-common/printf_fphex.c (outchar): Likewise.
11697 (PRINT): Likewise.
11698 * stdio-common/printf_size.c (outchar): Likewise.
11699 (PRINT): Likewise.
11700 * stdio-common/test_rdwr.c (main): Likewise.
11701 * stdio-common/tfformat.c (matches): Likewise.
11702 * stdio-common/vfprintf.c (outchar): Likewise.
11703 (printf_unknown): Likewise.
11704 (buffered_vfprintf): Likewise.
11705 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11706 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11707 (ReadFile): Likewise.
11708 * stdlib/qsort.c (SWAP): Likewise.
11709 (_quicksort): Likewise.
11710 * stdlib/setenv.c (__add_to_environ): Likewise.
11711 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11712 * stdlib/strtol_l.c (__strtol_l): Likewise.
11713 * stdlib/tst-strtod.c (main): Likewise.
11714 * stdlib/tst-strtol.c (main): Likewise.
11715 * stdlib/tst-strtoll.c (main): Likewise.
11716 * string/bits/string2.h (__strcmp_cc): Likewise.
11717 (__strcmp_cg): Likewise.
11718 (__strcspn_c1): Likewise.
11719 (__strcspn_c2): Likewise.
11720 (__strcspn_c3): Likewise.
11721 (__strspn_c1): Likewise.
11722 (__strspn_c2): Likewise.
11723 (__strspn_c3): Likewise.
11724 (__strsep_1c): Likewise.
11725 (__strsep_2c): Likewise.
11726 (__strsep_3c): Likewise.
11727 * string/memccpy.c (__memccpy): Likewise.
11728 * string/stpcpy.c (__stpcpy): Likewise.
11729 * string/strcmp.c (strcmp): Likewise.
11730 * string/strrchr.c (strrchr): Likewise.
11731 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11732 Likewise.
11733 * sysdeps/mach/hurd/getcwd.c
11734 (_hurd_canonicalize_directory_name_internal): Likewise.
11735 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11736 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11737 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11738 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11739 Likewise, in both definitions.
11740 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11741 definitions.
11742 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11743 64] (__bswap_64): Likewise.
11744 * time/test_time.c (main): Likewise.
11745 * time/tzfile.c (__tzfile_read): Likewise.
11746 (__tzfile_compute): Likewise.
11747 * time/tzset.c (__tzset_parse_tz): Likewise.
11748 (tzset_internal): Likewise.
11749 (compute_change): Likewise.
11750 * wcsmbs/wcscat.c (__wcscat): Likewise.
11751 * wcsmbs/wcschr.c (wcschr): Likewise.
11752 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11753 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11754 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11755 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11756 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11757 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11758 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11759 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11760 * wcsmbs/wmemset.c (wmemset): Likewise.
11761
117622013-06-06 Joseph Myers <joseph@codesourcery.com>
11763
11764 * scripts/config.guess: Update to version 2013-05-16.
11765 * scripts/config.sub: Update to version 2013-04-24.
11766 * scripts/install-sh: Update to version 2011-11-20.07.
11767 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11768 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11769
117702013-06-06 Ondřej Bílka <neleai@seznam.cz>
11771
11772 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11773 * elf/sln.c: Likewise.
11774 * hurd/hurd/ioctl.h: Likewise.
11775 * hurd/hurdmalloc.c: Likewise.
11776 * hurd/xattr.c: Likewise.
11777 * include/shlib-compat.h: Likewise.
11778 * inet/ruserpass.c: Likewise.
11779 * libio/iofgets_u.c: Likewise.
11780 * libio/iofgetws_u.c: Likewise.
11781 * locale/programs/ld-identification.c: Likewise.
11782 * locale/programs/ld-time.c: Likewise.
11783 * mach/msg-destroy.c: Likewise.
11784 * nss/nss_files/files-netgrp.c: Likewise.
11785 * resolv/res_data.c: Likewise.
11786 * soft-fp/op-1.h: Likewise.
11787 * soft-fp/op-2.h: Likewise.
11788 * soft-fp/op-4.h: Likewise.
11789 * soft-fp/op-common.h: Likewise.
11790 * stdio-common/printf_fphex.c: Likewise.
11791 * stdlib/strtod_l.c: Likewise.
11792 * sunrpc/rpc/clnt.h: Likewise.
11793 * sysdeps/generic/framestate.c: Likewise.
11794 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11795 * sysdeps/i386/bsd-setjmp.S: Likewise.
11796 * sysdeps/i386/__longjmp.S: Likewise.
11797 * sysdeps/i386/setjmp.S: Likewise.
11798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11799 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11812 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11814 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11816 * sysdeps/ieee754/support.c: Likewise.
11817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11818 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11819 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11820 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11821 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11822 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11823 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11824 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11825 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11826 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11827 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11828 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11831 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11832 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11833 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11835
118362013-06-05 Ondřej Bílka <neleai@seznam.cz>
11837
11838 * posix/transbug.c: Remove executable mode.
11839
118402013-06-05 Joseph Myers <joseph@codesourcery.com>
11841
11842 * crypt/speeds.c: Remove trailing whitespace.
11843 * dlfcn/default.c: Likewise.
11844 * elf/ifuncdep2.c: Likewise.
11845 * elf/ifuncmain1.c: Likewise.
11846 * elf/ifuncmain1vis.c: Likewise.
11847 * elf/testobj.h: Likewise.
11848 * elf/tst-stackguard1.c: Likewise.
11849 * gmon/sys/gmon.h: Likewise.
11850 * hurd/hurdmsg.c: Likewise.
11851 * hurd/new-fd.c: Likewise.
11852 * hurd/ports-get.c: Likewise.
11853 * iconvdata/ibm1008_420.c: Likewise.
11854 * inet/tst-getni1.c: Likewise.
11855 * inet/tst-getni2.c: Likewise.
11856 * libio/ioungetc.c: Likewise.
11857 * libio/wfiledoalloc.c: Likewise.
11858 * manual/libm-err-tab.pl: Likewise.
11859 * math/w_dremf.c: Likewise.
11860 * misc/ftruncate.c: Likewise.
11861 * posix/bug-glob2.c: Likewise.
11862 * posix/tst-pcre.c: Likewise.
11863 * posix/wait4.c: Likewise.
11864 * resolv/README: Likewise.
11865 * resolv/res_debug.h: Likewise.
11866 * resolv/tst-inet_ntop.c: Likewise.
11867 * setjmp/bug269-setjmp.c: Likewise.
11868 * soft-fp/extended.h: Likewise.
11869 * soft-fp/op-1.h: Likewise.
11870 * soft-fp/op-2.h: Likewise.
11871 * soft-fp/op-4.h: Likewise.
11872 * soft-fp/op-8.h: Likewise.
11873 * soft-fp/testit.c: Likewise.
11874 * stdio-common/bug16.c: Likewise.
11875 * stdlib/random.c: Likewise.
11876 * sunrpc/rpcsvc/rquota.x: Likewise.
11877 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11878 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11880 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11881 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11882 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11883 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11885 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11886 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11887 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11890 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11891 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11899 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11900 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11906 * sysdeps/ieee754/s_lib_version.c: Likewise.
11907 * sysdeps/mach/hurd/check_fds.c: Likewise.
11908 * sysdeps/mach/hurd/getsockname.c: Likewise.
11909 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11910 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11911 * sysdeps/powerpc/bits/link.h: Likewise.
11912 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11913 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11914 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11915 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11916 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11917 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11918 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11919 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11920 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11921 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11922 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11923 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11924 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11925 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11926 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11927 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11933 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11935 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11936 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11938 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11940 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11943 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11944 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11945 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11946 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11947 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11948 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11949 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11950 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11951 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11952 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11953 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11954 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11955 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11956 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11957 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11958 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11959 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11960 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11961 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11964 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11965 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11966 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11967 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11968 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11970 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11973 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11974 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11975 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11976 * sysdeps/powerpc/sysdep.h: Likewise.
11977 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11978 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11979 * sysdeps/sh/dl-trampoline.S: Likewise.
11980 * sysdeps/sh/memset.S: Likewise.
11981 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11982 * sysdeps/sh/strlen.S: Likewise.
11983 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11984 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11985 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11986 * sysdeps/sparc/sparc32/rem.S: Likewise.
11987 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11988 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11989 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11990 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11991 * sysdeps/sparc/sparc32/urem.S: Likewise.
11992 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11993 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11994 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11995 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11996 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11997 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11998 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11999 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12000 * sysdeps/unix/bsd/times.c: Likewise.
12001 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12002 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12006 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12007 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12008 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12012 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12013 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12014 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12015 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12016 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12017 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12018 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12019 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12020 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12021 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12022 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12023 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12024 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12025 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12026 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12027 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12028 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12029 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12030 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12031 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12032 * sysdeps/x86_64/strcspn.S: Likewise.
12033
120342013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12035
12036 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12037 generated file. Regenerate properly from gen-translit.pl.
12038 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12039 locale/C-translit.h.
12040
120412013-06-05 Andreas Schwab <schwab@suse.de>
12042
12043 [BZ #15100]
12044 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12045 week as 6 instead of -1.
12046 * time/tst-strptime.c (day_tests): Add test case.
12047
120482013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12049
12050 * sysdeps/generic/math_private.h
12051 (libc_feholdexcept_setround_53bit): Replace with
12052 libc_feholdsetround_53bit.
12053 (libc_feupdateenv_53bit): Replace with
12054 libc_feresetround_53bit.
12055 (SET_RESTORE_ROUND_53BIT): Adjust.
12056
120572013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12058
12059 * string/test-strchrnul.c: Add copyright header.
12060
12061 * posix/tst-getaddrinfo4.c: Increase test timeout.
12062
120632013-06-03 Carlos O'Donell <carlos@redhat.com>
12064
12065 [BZ #15536]
12066 * math/libm-test.inc (MAX_EXP): Remove
12067 (MIN_EXP): Define.
12068 (ulp): Use MIN_EXP - MANT_DIG.
12069 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12070
120712013-05-31 Carlos O'Donell <carlos@redhat.com>
12072
12073 * po/be.po: Revert last change.
12074 * po/zh_CN.po: Likewise.
12075 * po/header.pot: Likewise.
12076
120772013-05-31 Joseph Myers <joseph@codesourcery.com>
12078
12079 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12080 link-libc-deps to empty as target-specific variable.
12081 * Makerules (link-libc-args): New variable.
12082 (libc-for-link): Likewise.
12083 (link-libc-deps): Likewise.
12084 (lib%.so): Depend on $(link-libc-deps). Link with
12085 $(link-libc-args).
12086 (build-module): Link with $(link-libc-args).
12087 (build-module-asneeded): Likewise.
12088 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12089 list of objects.
12090 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12091 target-specific variable.
12092 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12093 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12094 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12095 libc.
12096 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12097 libc and ld.so.
12098 ($(objpfx)libpcprofile.so): Likewise.
12099 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12100 libc_nonshared.a.
12101 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12102 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12103 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12104 $(link-libc-deps).
12105 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12106 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12107 * login/Makefile ($(objpfx)libutil.so): Likewise.
12108 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12109 * math/Makefile ($(objpfx)libm.so): Likewise.
12110 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12111 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12112 variable instead of depending directly on libc.
12113 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12114 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12115 $(link-libc-deps).
12116 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12117 libc.
12118 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12119 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12120 ($(objpfx)libanl.so): Likewise.
12121 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12122 ld.so.
12123 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12124 $(link-libc-deps).
12125 * sysdeps/i386/fpu/Makefile: Remove file.
12126 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12127 ($(objpfx)libm.so): Remove dependency on ld.so.
12128
121292013-05-30 Patsy Franklin <pfrankli@redhat.com>
12130
12131 [BZ # 15553]
12132 * nis/yp_xdr.c (XDRMAXNAME): Define.
12133 (XDRMAXRECORD): Define.
12134 (xdr_domainname): Use XDRMAXNAME.
12135 (xdr_mapname): Likewise.
12136 (xdr_peername): Likewise.
12137 (xdr_keydat): Use XDRMAXRECORD.
12138 (xdr_valdat): Likewise.
12139
121402013-05-30 Jeff Law <law@redhat.com>
12141
12142 [BZ #14256]
12143 * manual/errno.texi (ESTALE): Update to account for more than
12144 just NFS file systems.
12145 * sysdeps/gnu/errlist.c: Regenerated.
12146
121472013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12148
12149 [BZ #15465]
12150 * elf/Makefile (tests): Add tst-null-argv.
12151 (modules-names): Add tst-null-argv-lib.
12152 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12153 (tst-null-argv-ENV): Set environment for tst-null-argv.
12154 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12155 (RTLD_PROGNAME): New macro.
12156 * elf/tst-null-argv.c: New test case.
12157 * elf/tst-null-argv-lib.c: Library for test case.
12158 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12159 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12160 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12161 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12162 * elf/dl-init.c (call_init): Likewise.
12163 (_dl_init): Likewise.
12164 * elf/dl-load.c (print_search_path): Likewise.
12165 (_dl_map_object): Likewise.
12166 * elf/dl-lookup.c (do_lookup_x): Likewise.
12167 (add_dependency): Likewise.
12168 (_dl_lookup_symbol_x): Likewise.
12169 (_dl_debug_bindings): Likewise.
12170 * elf/dl-open.c (_dl_show_scope): Likewise.
12171 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12172 * elf/dl-version.c (match_symbol): Likewise.
12173 (_dl_check_map_versions): Likewise.
12174 * elf/rtld.c (dl_main): Likewise.
12175 (print_unresolved): Use RTLD_PROGNAME.
12176 (print_missing_version): Likewise.
12177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12178 (elf_machine_rela): Likewise.
12179 * sysdeps/powerpc/powerpc32/dl-machine.c
12180 (__process_machine_rela): Likewise.
12181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12182 Likewise.
12183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12184 Likewise.
12185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12186 Likewise.
12187 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12189 Likewise.
12190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12191 Likewise.
12192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12193
121942013-05-28 Carlos O'Donell <carlos@redhat.com>
12195
12196 * po/be.po: Add descriptive title.
12197 * po/zh_CN.po: Likewise.
12198 * po/header.pot: Likewise.
12199
122002013-05-28 Mike Frysinger <vapier@gentoo.org>
12201
12202 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12203 error message.
12204 (enlarge_archive): Likewise.
12205
122062013-05-28 Ben North <ben@redfrontdoor.org>
12207
12208 * manual/arith.texi (frexp): It is the magnitude of the return
12209 value which lies in [0.5, 1), not the return value itself.
12210
122112013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12212
12213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12214
122152013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12216
12217 * stdio-common/bug26.c (main): Correct fscanf template.
12218
12219 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12220 declare _dl_skip_args.
12221
12222 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12223 Don't declare.
12224
12225 * manual/platform.texi: Add missing @end deftypefun.
12226
122272013-05-24 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #15529]
12230 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12231 bit of mantissa of 2^16382.
12232 * math/libm-test.inc (hypot_test_data): Add more tests.
12233
12234 * math/libm-test.inc: Add drem and pow10 to list of tested
12235 functions.
12236 (pow10_test): New function.
12237 (drem_test): Likewise.
12238 (drem_test_tonearest): Likewise.
12239 (drem_test_towardzero): Likewise.
12240 (drem_test_downward): Likewise.
12241 (drem_test_upward): Likewise.
12242 (main): Call the new functions.
12243
12244 * math/libm-test.inc (finite_test_data): Remove.
12245 (finite_test): Run tests from isfinite_test_data.
12246 (gamma_test_data): Remove.
12247 (gamma_test): Run tests from lgamma_test_data.
12248 * sysdeps/i386/fpu/libm-test-ulps: Update.
12249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12250
122512013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12252
12253 * manual/platform.texi: Add PowerPC PPR function set documentation.
12254 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12255 implementation.
12256
122572013-05-24 Carlos O'Donell <carlos@redhat.com>
12258
12259 * math/libm-test.inc (MAX_EXP): Define.
12260 (ULPDIFF): Define.
12261 (ulp): New function.
12262 (check_float_internal): Use ULPDIFF.
12263 (cpow_test): Disable failing test.
12264 (check_ulp): Test ulp() implemetnation.
12265 (main): Call check_ulp before starting tests.
12266
122672013-05-24 Joseph Myers <joseph@codesourcery.com>
12268
12269 * math/gen-libm-test.pl (generate_testfile): Do not handle
12270 START_DATA and END_DATA.
12271 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12272 END_DATA.
12273 (acos_tonearest_test_data): Likewise.
12274 (acos_towardzero_test_data): Likewise.
12275 (acos_downward_test_data): Likewise.
12276 (acos_upward_test_data): Likewise.
12277 (acosh_test_data): Likewise.
12278 (asin_test_data): Likewise.
12279 (asin_tonearest_test_data): Likewise.
12280 (asin_towardzero_test_data): Likewise.
12281 (asin_downward_test_data): Likewise.
12282 (asin_upward_test_data): Likewise.
12283 (asinh_test_data): Likewise.
12284 (atan_test_data): Likewise.
12285 (atanh_test_data): Likewise.
12286 (atan2_test_data): Likewise.
12287 (cabs_test_data): Likewise.
12288 (cacos_test_data): Likewise.
12289 (cacosh_test_data): Likewise.
12290 (carg_test_data): Likewise.
12291 (casin_test_data): Likewise.
12292 (casinh_test_data): Likewise.
12293 (catan_test_data): Likewise.
12294 (catanh_test_data): Likewise.
12295 (cbrt_test_data): Likewise.
12296 (ccos_test_data): Likewise.
12297 (ccosh_test_data): Likewise.
12298 (ceil_test_data): Likewise.
12299 (cexp_test_data): Likewise.
12300 (cimag_test_data): Likewise.
12301 (clog_test_data): Likewise.
12302 (clog10_test_data): Likewise.
12303 (conj_test_data): Likewise.
12304 (copysign_test_data): Likewise.
12305 (cos_test_data): Likewise.
12306 (cos_tonearest_test_data): Likewise.
12307 (cos_towardzero_test_data): Likewise.
12308 (cos_downward_test_data): Likewise.
12309 (cos_upward_test_data): Likewise.
12310 (cosh_test_data): Likewise.
12311 (cosh_tonearest_test_data): Likewise.
12312 (cosh_towardzero_test_data): Likewise.
12313 (cosh_downward_test_data): Likewise.
12314 (cosh_upward_test_data): Likewise.
12315 (cpow_test_data): Likewise.
12316 (cproj_test_data): Likewise.
12317 (creal_test_data): Likewise.
12318 (csin_test_data): Likewise.
12319 (csinh_test_data): Likewise.
12320 (csqrt_test_data): Likewise.
12321 (ctan_test_data): Likewise.
12322 (ctan_tonearest_test_data): Likewise.
12323 (ctan_towardzero_test_data): Likewise.
12324 (ctan_downward_test_data): Likewise.
12325 (ctan_upward_test_data): Likewise.
12326 (ctanh_test_data): Likewise.
12327 (ctanh_tonearest_test_data): Likewise.
12328 (ctanh_towardzero_test_data): Likewise.
12329 (ctanh_downward_test_data): Likewise.
12330 (ctanh_upward_test_data): Likewise.
12331 (erf_test_data): Likewise.
12332 (erfc_test_data): Likewise.
12333 (exp_test_data): Likewise.
12334 (exp_tonearest_test_data): Likewise.
12335 (exp_towardzero_test_data): Likewise.
12336 (exp_downward_test_data): Likewise.
12337 (exp_upward_test_data): Likewise.
12338 (exp10_test_data): Likewise.
12339 (exp2_test_data): Likewise.
12340 (expm1_test_data): Likewise.
12341 (fabs_test_data): Likewise.
12342 (fdim_test_data): Likewise.
12343 (finite_test_data): Likewise.
12344 (floor_test_data): Likewise.
12345 (fma_test_data): Likewise.
12346 (fma_towardzero_test_data): Likewise.
12347 (fma_downward_test_data): Likewise.
12348 (fma_upward_test_data): Likewise.
12349 (fmax_test_data): Likewise.
12350 (fmin_test_data): Likewise.
12351 (fmod_test_data): Likewise.
12352 (fpclassify_test_data): Likewise.
12353 (frexp_test_data): Likewise.
12354 (gamma_test_data): Likewise.
12355 (hypot_test_data): Likewise.
12356 (ilogb_test_data): Likewise.
12357 (isfinite_test_data): Likewise.
12358 (isgreater_test_data): Likewise.
12359 (isgreaterequal_test_data): Likewise.
12360 (isinf_test_data): Likewise.
12361 (isless_test_data): Likewise.
12362 (islessequal_test_data): Likewise.
12363 (islessgreater_test_data): Likewise.
12364 (isnan_test_data): Likewise.
12365 (isnormal_test_data): Likewise.
12366 (issignaling_test_data): Likewise.
12367 (isunordered_test_data): Likewise.
12368 (j0_test_data): Likewise.
12369 (j1_test_data): Likewise.
12370 (jn_test_data): Likewise.
12371 (ldexp_test_data): Likewise.
12372 (lgamma_test_data): Likewise.
12373 (lrint_test_data): Likewise.
12374 (lrint_tonearest_test_data): Likewise.
12375 (lrint_towardzero_test_data): Likewise.
12376 (lrint_downward_test_data): Likewise.
12377 (lrint_upward_test_data): Likewise.
12378 (llrint_test_data): Likewise.
12379 (llrint_tonearest_test_data): Likewise.
12380 (llrint_towardzero_test_data): Likewise.
12381 (llrint_downward_test_data): Likewise.
12382 (llrint_upward_test_data): Likewise.
12383 (log_test_data): Likewise.
12384 (log10_test_data): Likewise.
12385 (log1p_test_data): Likewise.
12386 (log2_test_data): Likewise.
12387 (logb_test_data): Likewise.
12388 (logb_downward_test_data): Likewise.
12389 (lround_test_data): Likewise.
12390 (llround_test_data): Likewise.
12391 (modf_test_data): Likewise.
12392 (nearbyint_test_data): Likewise.
12393 (nextafter_test_data): Likewise.
12394 (nexttoward_test_data): Likewise.
12395 (pow_test_data): Likewise.
12396 (pow_tonearest_test_data): Likewise.
12397 (pow_towardzero_test_data): Likewise.
12398 (pow_downward_test_data): Likewise.
12399 (pow_upward_test_data): Likewise.
12400 (remainder_test_data): Likewise.
12401 (remainder_tonearest_test_data): Likewise.
12402 (remainder_towardzero_test_data): Likewise.
12403 (remainder_downward_test_data): Likewise.
12404 (remainder_upward_test_data): Likewise.
12405 (remquo_test_data): Likewise.
12406 (rint_test_data): Likewise.
12407 (rint_tonearest_test_data): Likewise.
12408 (rint_towardzero_test_data): Likewise.
12409 (rint_downward_test_data): Likewise.
12410 (rint_upward_test_data): Likewise.
12411 (round_test_data): Likewise.
12412 (scalb_test_data): Likewise.
12413 (scalbn_test_data): Likewise.
12414 (scalbln_test_data): Likewise.
12415 (signbit_test_data): Likewise.
12416 (sin_test_data): Likewise.
12417 (sin_tonearest_test_data): Likewise.
12418 (sin_towardzero_test_data): Likewise.
12419 (sin_downward_test_data): Likewise.
12420 (sin_upward_test_data): Likewise.
12421 (sincos_test_data): Likewise.
12422 (sinh_test_data): Likewise.
12423 (sinh_tonearest_test_data): Likewise.
12424 (sinh_towardzero_test_data): Likewise.
12425 (sinh_downward_test_data): Likewise.
12426 (sinh_upward_test_data): Likewise.
12427 (sqrt_test_data): Likewise.
12428 (tan_test_data): Likewise.
12429 (tan_tonearest_test_data): Likewise.
12430 (tan_towardzero_test_data): Likewise.
12431 (tan_downward_test_data): Likewise.
12432 (tan_upward_test_data): Likewise.
12433 (tanh_test_data): Likewise.
12434 (tgamma_test_data): Likewise.
12435 (trunc_test_data): Likewise.
12436 (y0_test_data): Likewise.
12437 (y1_test_data): Likewise.
12438 (yn_test_data): Likewise.
12439 (significand_test_data): Likewise.
12440
12441 * math/gen-libm-test.pl (@functions): Remove variable.
12442 (generate_testfile): Don't handle START and END lines.
12443 * math/libm-test.inc (START): New macro.
12444 (END): Likewise.
12445 (END_COMPLEX): Likewise.
12446 (acos_test): Use END macro without arguments.
12447 (acos_test_tonearest): Likewise.
12448 (acos_test_towardzero): Likewise.
12449 (acos_test_downward): Likewise.
12450 (acos_test_upward): Likewise.
12451 (acosh_test): Likewise.
12452 (asin_test): Likewise.
12453 (asin_test_tonearest): Likewise.
12454 (asin_test_towardzero): Likewise.
12455 (asin_test_downward): Likewise.
12456 (asin_test_upward): Likewise.
12457 (asinh_test): Likewise.
12458 (atan_test): Likewise.
12459 (atanh_test): Likewise.
12460 (atan2_test): Likewise.
12461 (cabs_test): Likewise.
12462 (cacos_test): Use END_COMPLEX macro without arguments.
12463 (cacosh_test): Likewise.
12464 (carg_test): Use END macro without arguments.
12465 (casin_test): Use END_COMPLEX macro without arguments.
12466 (casinh_test): Likewise.
12467 (catan_test): Likewise.
12468 (catanh_test): Likewise.
12469 (cbrt_test): Use END macro without arguments.
12470 (ccos_test): Use END_COMPLEX macro without arguments.
12471 (ccosh_test): Likewise.
12472 (ceil_test): Use END macro without arguments.
12473 (cexp_test): Use END_COMPLEX macro without arguments.
12474 (cimag_test): Use END macro without arguments.
12475 (clog_test): Use END_COMPLEX macro without arguments.
12476 (clog10_test): Likewise.
12477 (conj_test): Likewise.
12478 (copysign_test): Use END macro without arguments.
12479 (cos_test): Likewise.
12480 (cos_test_tonearest): Likewise.
12481 (cos_test_towardzero): Likewise.
12482 (cos_test_downward): Likewise.
12483 (cos_test_upward): Likewise.
12484 (cosh_test): Likewise.
12485 (cosh_test_tonearest): Likewise.
12486 (cosh_test_towardzero): Likewise.
12487 (cosh_test_downward): Likewise.
12488 (cosh_test_upward): Likewise.
12489 (cpow_test): Use END_COMPLEX macro without arguments.
12490 (cproj_test): Likewise.
12491 (creal_test): Use END macro without arguments.
12492 (csin_test): Use END_COMPLEX macro without arguments.
12493 (csinh_test): Likewise.
12494 (csqrt_test): Likewise.
12495 (ctan_test): Likewise.
12496 (ctan_test_tonearest): Likewise.
12497 (ctan_test_towardzero): Likewise.
12498 (ctan_test_downward): Likewise.
12499 (ctan_test_upward): Likewise.
12500 (ctanh_test): Likewise.
12501 (ctanh_test_tonearest): Likewise.
12502 (ctanh_test_towardzero): Likewise.
12503 (ctanh_test_downward): Likewise.
12504 (ctanh_test_upward): Likewise.
12505 (erf_test): Use END macro without arguments.
12506 (erfc_test): Likewise.
12507 (exp_test): Likewise.
12508 (exp_test_tonearest): Likewise.
12509 (exp_test_towardzero): Likewise.
12510 (exp_test_downward): Likewise.
12511 (exp_test_upward): Likewise.
12512 (exp10_test): Likewise.
12513 (exp2_test): Likewise.
12514 (expm1_test): Likewise.
12515 (fabs_test): Likewise.
12516 (fdim_test): Likewise.
12517 (finite_test): Likewise.
12518 (floor_test): Likewise.
12519 (fma_test): Likewise.
12520 (fma_test_towardzero): Likewise.
12521 (fma_test_downward): Likewise.
12522 (fma_test_upward): Likewise.
12523 (fmax_test): Likewise.
12524 (fmin_test): Likewise.
12525 (fmod_test): Likewise.
12526 (fpclassify_test): Likewise.
12527 (frexp_test): Likewise.
12528 (gamma_test): Likewise.
12529 (hypot_test): Likewise.
12530 (ilogb_test): Likewise.
12531 (isfinite_test): Likewise.
12532 (isgreater_test): Likewise.
12533 (isgreaterequal_test): Likewise.
12534 (isinf_test): Likewise.
12535 (isless_test): Likewise.
12536 (islessequal_test): Likewise.
12537 (islessgreater_test): Likewise.
12538 (isnan_test): Likewise.
12539 (isnormal_test): Likewise.
12540 (issignaling_test): Likewise.
12541 (isunordered_test): Likewise.
12542 (j0_test): Likewise.
12543 (j1_test): Likewise.
12544 (jn_test): Likewise.
12545 (ldexp_test): Likewise.
12546 (lgamma_test): Likewise.
12547 (lrint_test): Likewise.
12548 (lrint_test_tonearest): Likewise.
12549 (lrint_test_towardzero): Likewise.
12550 (lrint_test_downward): Likewise.
12551 (lrint_test_upward): Likewise.
12552 (llrint_test): Likewise.
12553 (llrint_test_tonearest): Likewise.
12554 (llrint_test_towardzero): Likewise.
12555 (llrint_test_downward): Likewise.
12556 (llrint_test_upward): Likewise.
12557 (log_test): Likewise.
12558 (log10_test): Likewise.
12559 (log1p_test): Likewise.
12560 (log2_test): Likewise.
12561 (logb_test): Likewise.
12562 (logb_test_downward): Likewise.
12563 (lround_test): Likewise.
12564 (llround_test): Likewise.
12565 (modf_test): Likewise.
12566 (nearbyint_test): Likewise.
12567 (nextafter_test): Likewise.
12568 (nexttoward_test): Likewise.
12569 (pow_test): Likewise.
12570 (pow_test_tonearest): Likewise.
12571 (pow_test_towardzero): Likewise.
12572 (pow_test_downward): Likewise.
12573 (pow_test_upward): Likewise.
12574 (remainder_test): Likewise.
12575 (remainder_test_tonearest): Likewise.
12576 (remainder_test_towardzero): Likewise.
12577 (remainder_test_downward): Likewise.
12578 (remainder_test_upward): Likewise.
12579 (remquo_test): Likewise.
12580 (rint_test): Likewise.
12581 (rint_test_tonearest): Likewise.
12582 (rint_test_towardzero): Likewise.
12583 (rint_test_downward): Likewise.
12584 (rint_test_upward): Likewise.
12585 (round_test): Likewise.
12586 (scalb_test): Likewise.
12587 (scalbn_test): Likewise.
12588 (scalbln_test): Likewise.
12589 (signbit_test): Likewise.
12590 (sin_test): Likewise.
12591 (sin_test_tonearest): Likewise.
12592 (sin_test_towardzero): Likewise.
12593 (sin_test_downward): Likewise.
12594 (sin_test_upward): Likewise.
12595 (sincos_test): Likewise.
12596 (sinh_test): Likewise.
12597 (sinh_test_tonearest): Likewise.
12598 (sinh_test_towardzero): Likewise.
12599 (sinh_test_downward): Likewise.
12600 (sinh_test_upward): Likewise.
12601 (sqrt_test): Likewise.
12602 (tan_test): Likewise.
12603 (tan_test_tonearest): Likewise.
12604 (tan_test_towardzero): Likewise.
12605 (tan_test_downward): Likewise.
12606 (tan_test_upward): Likewise.
12607 (tanh_test): Likewise.
12608 (tgamma_test): Likewise.
12609 (trunc_test): Likewise.
12610 (y0_test): Likewise.
12611 (y1_test): Likewise.
12612 (yn_test): Likewise.
12613 (significand_test): Likewise.
12614
126152013-05-24 Ondřej Bílka <neleai@seznam.cz>
12616
12617 [BZ #15381]
12618 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12619
126202013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12621
12622 [BZ #14894]
12623 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12624 __ppc_mdoio and __ppc_mdoom.
12625 * manual/platform.texi: Document new functions __ppc_yield,
12626 __ppc_mdoio and __ppc_mdoom.
12627
126282013-05-22 Carlos O'Donell <carlos@redhat.com>
12629
12630 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12631 (main): Mention "tls" pseudo-hwcap is legacy.
12632 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12633
126342013-05-22 Joseph Myers <joseph@codesourcery.com>
12635
12636 * math/gen-libm-test.pl (parse_args): Output only string of
12637 arguments as text for test name, not full call or descriptions of
12638 tests for extra outputs.
12639 (generate_testfile): Do not pass function name to parse_args.
12640 Generate this_func variable from START.
12641 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12642 field to arg_str.
12643 (struct test_ff_f_data): Likewise.
12644 (test_ff_f_data_nexttoward): Likewise.
12645 (struct test_fi_f_data): Likewise.
12646 (struct test_fl_f_data): Likewise.
12647 (struct test_if_f_data): Likewise.
12648 (struct test_fff_f_data): Likewise.
12649 (struct test_c_f_data): Likewise.
12650 (struct test_f_f1_data): Likewise. Remove field extra_name.
12651 (struct test_fF_f1_data): Likewise.
12652 (struct test_ffI_f1_data): Likewise.
12653 (struct test_c_c_data): Rename test_name field to arg_str.
12654 (struct test_cc_c_data): Likewise.
12655 (struct test_f_i_data): Likewise.
12656 (struct test_ff_i_data): Likewise.
12657 (struct test_f_l_data): Likewise.
12658 (struct test_f_L_data): Likewise.
12659 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12660 and extra2_name.
12661 (COMMON_TEST_SETUP): New macro.
12662 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12663 (COMMON_TEST_CLEANUP): Likewise.
12664 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12665 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12666 macros.
12667 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12668 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12669 macros.
12670 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12671 (RUN_TEST_fff_f): Take argument string. Call new setup and
12672 cleanup macros.
12673 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12674 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12675 macros.
12676 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12677 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12678 macros.
12679 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12680 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12681 cleanup macros.
12682 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12683 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12684 cleanup macros.
12685 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12686 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12687 cleanup macros.
12688 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12689 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12690 macros.
12691 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12692 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12693 macros.
12694 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12695 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12696 macros.
12697 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12698 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12699 cleanup macros.
12700 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12701 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12702 cleanup macros.
12703 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12704 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12705 macros.
12706 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12707 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12708 cleanup macros.
12709 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12710 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12711 macros.
12712 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12713 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12714 macros.
12715 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12716 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12717 cleanup macros.
12718 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12719
127202013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12721
12722 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12723 to _sifields.sigfault.
12724 (si_addr_lsb): Define new macro.
12725 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12727 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12728
127292013-05-03 Carlos O'Donell <carlos at redhat.com>
12730
12731 [BZ #15441]
12732 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12733 returns -1.
12734 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12735 null return -1.
12736 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12737 loading the domain.
12738
127392013-05-22 Joseph Myers <joseph@codesourcery.com>
12740
12741 * math/gen-libm-test.pl (parse_args): Do not include expected
12742 result in test name.
12743 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12744 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12745 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12746 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12747 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12749
127502013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12751
12752 * benchtests/Makefile: Sort function entries.
12753
12754 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12755 tanh, asinh, acosh, atanh.
12756 * benchtests/acos-inputs: New file.
12757 * benchtests/acosh-inputs: New file.
12758 * benchtests/asin-inputs: New file.
12759 * benchtests/asinh-inputs: New file.
12760 * benchtests/atanh-inputs: New file.
12761 * benchtests/cosh-inputs: New file.
12762 * benchtests/log-inputs: New file.
12763 * benchtests/sinh-inputs: New file.
12764 * benchtests/tanh-inputs: New file.
12765
127662013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12767
12768 [BZ #15339]
12769 * posix/tst-getaddrinfo4.c: New test.
12770 * posix/Makefile (tests): Add it.
12771
127722013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12773
12774 [BZ #15339]
12775 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12776 when no services were used.
12777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12778 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12779
127802013-05-21 Andreas Schwab <schwab@suse.de>
12781
12782 [BZ #15014]
12783 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12784 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12785 successful.
12786 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12787 redundant variable declarations and reallocation of buffer when
12788 parsing as IPv6 address. Always set NSS status when called from
12789 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12790 buffer too small. Correct computation of needed size.
12791 * nss/Makefile (tests): Add test-digits-dots.
12792 * nss/test-digits-dots.c: New test.
12793
127942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12795
12796 * benchtests/Makefile: Remove instructions for adding
12797 benchmark tests.
12798 * benchtests/README: New file to explain how to execute and
12799 enhance the benchmark tests.
12800
128012013-05-21 Andreas Schwab <schwab@suse.de>
12802
12803 [BZ #15493]
12804 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12805 * setjmp/tst-sigsetjmp.c: New test.
12806
128072013-05-20 Ondřej Bílka <neleai@seznam.cz>
12808
12809 * sysdeps/x86_64/memset.S (memset): New implementation.
12810 (__bzero): Likewise.
12811 (__memset_tail): New function.
12812
128132013-05-20 Ondřej Bílka <neleai@seznam.cz>
12814
12815 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12816 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12817 __memcpy_sse2_unaligned ifunc selection.
12818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12819 Add memcpy-sse2-unaligned.S.
12820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12821 Add: __memcpy_sse2_unaligned.
12822
128232013-05-19 Joseph Myers <joseph@codesourcery.com>
12824
12825 [BZ #15490]
12826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12827 math_force_eval before restoring floating-point envrionment.
12828 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12830 Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12832 <math_private.h>.
12833 (__nearbyintl): Use math_force_eval before restoring
12834 floating-point environment.
12835 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12836
12837 * math/gen-libm-test.pl (special_functions): Remove.
12838 (parse_args): Don't handle TEST_extra. Handle functions with no
12839 return value.
12840 * math/libm-test.inc (struct test_sincos_data): Replace with
12841 struct test_fFF_11_data.
12842 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12843 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12844 (sincos_test_data): Change element type to struct
12845 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12846 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12847 RUN_TEST_LOOP_sincos.
12848 * math/README.libm-test: Don't mention special handling of
12849 individual functions.
12850 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12851 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12852 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12853 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12854 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12856
12857 * math/gen-libm-test.pl (get_variable): Remove function.
12858 (parse_args): Don't show pointer parameters to call in test
12859 names. Use "extra output N" in test names for extra outputs
12860 rather than naming variables.
12861
128622013-05-18 Joseph Myers <joseph@codesourcery.com>
12863
12864 [BZ #15488]
12865 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12866 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12867 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12868 double tests.
12869 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12870 disable.
12871 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12872 check_long_double.
12873
12874 * math/gen-libm-test.pl (@tests): Remove variable.
12875 ($count): Likewise.
12876 (new_test): Remove function.
12877 (show_exceptions): New function.
12878 (special_functions): Use show_exceptions instead of new_test.
12879 (parse_args): Likewise.
12880 (generate_testfile): Pass only function name in generated call to
12881 print_max_error or print_complex_max_error.
12882 (get_ulps): Do not handle complex tests specially.
12883 (output_test): Rename to ...
12884 (get_all_ulps_for_test): ... this. Return a string rather than
12885 printing to a file. Require ulps to be present.
12886 (output_ulps): Generate arrays rather than #defines.
12887 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12888 (struct ulp_data): New type.
12889 (BUILD_COMPLEX_ULP): Remove macro.
12890 (compare_ulp_data): New function.
12891 (find_ulps): Likewise.
12892 (find_test_ulps): Likewise.
12893 (find_function_ulps): Likewise.
12894 (find_complex_function_ulps): Likewise.
12895 (print_max_error): Determine allowed ulps using
12896 find_function_ulps.
12897 (print_complex_max_error): Determine allowed ulps using
12898 find_complex_function_ulps.
12899 (check_float_internal): Determine max ulps using find_test_ulps.
12900 (check_float): Do not take max_ulp parameter. Update call to
12901 check_float_internal.
12902 (check_complex): Likewise.
12903 (check_int): Do not take max_ulp parameter.
12904 (check_long): Likewise.
12905 (check_bool): Likewise.
12906 (check_longlong): Likewise.
12907 (struct test_f_f_data): Remove max_ulp field.
12908 (struct test_ff_f_data): Likewise.
12909 (struct test_ff_f_data_nexttoward): Likewise.
12910 (struct test_fi_f_data): Likewise.
12911 (struct test_fl_f_data): Likewise.
12912 (struct test_if_f_data): Likewise.
12913 (struct test_fff_f_data): Likewise.
12914 (struct test_c_f_data): Likewise.
12915 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12916 (struct test_fF_f1_data): Likewise.
12917 (struct test_ffI_f1_data): Likewise.
12918 (struct test_c_c_data): Remove max_ulp field.
12919 (struct test_cc_c_data): Likewise.
12920 (struct test_f_i_data): Likewise.
12921 (struct test_ff_i_data): Likewise.
12922 (struct test_f_l_data): Likewise.
12923 (struct test_f_L_data): Likewise.
12924 (struct test_sincos_data): Likewise.
12925 (RUN_TEST_f_f): Do not handle ulps.
12926 (RUN_TEST_LOOP_f_f): Likewise.
12927 (RUN_TEST_2_f): Likewise.
12928 (RUN_TEST_LOOP_2_f): Likewise.
12929 (RUN_TEST_fff_f): Likewise.
12930 (RUN_TEST_LOOP_fff_f): Likewise.
12931 (RUN_TEST_c_f): Likewise.
12932 (RUN_TEST_LOOP_c_f): Likewise.
12933 (RUN_TEST_f_f1): Likewise.
12934 (RUN_TEST_LOOP_f_f1): Likewise.
12935 (RUN_TEST_fF_f1): Likewise.
12936 (RUN_TEST_LOOP_fF_f1): Likewise.
12937 (RUN_TEST_fI_f1): Likewise.
12938 (RUN_TEST_LOOP_fI_f1): Likewise.
12939 (RUN_TEST_ffI_f1): Likewise.
12940 (RUN_TEST_LOOP_ffI_f1): Likewise.
12941 (RUN_TEST_c_c): Likewise.
12942 (RUN_TEST_LOOP_c_c): Likewise.
12943 (RUN_TEST_cc_c): Likewise.
12944 (RUN_TEST_LOOP_cc_c): Likewise.
12945 (RUN_TEST_f_i): Likewise.
12946 (RUN_TEST_LOOP_f_i): Likewise.
12947 (RUN_TEST_f_i_tg): Likewise.
12948 (RUN_TEST_LOOP_f_i_tg): Likewise.
12949 (RUN_TEST_ff_i_tg): Likewise.
12950 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12951 (RUN_TEST_f_b): Likewise.
12952 (RUN_TEST_LOOP_f_b): Likewise.
12953 (RUN_TEST_f_b_tg): Likewise.
12954 (RUN_TEST_LOOP_f_b_tg): Likewise.
12955 (RUN_TEST_f_l): Likewise.
12956 (RUN_TEST_LOOP_f_l): Likewise.
12957 (RUN_TEST_f_L): Likewise.
12958 (RUN_TEST_LOOP_f_L): Likewise.
12959 (RUN_TEST_sincos): Likewise.
12960 (RUN_TEST_LOOP_sincos): Likewise.
12961
129622013-05-17 Joseph Myers <joseph@codesourcery.com>
12963
12964 [BZ #15480]
12965 [BZ #15485]
12966 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12967 main case of finite arguments, set rounding mode to FE_TONEAREST
12968 and discard exceptions.
12969 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12970 exceptions.
12971 (remainder_tonearest_test_data): New variable.
12972 (remainder_test_tonearest): New function.
12973 (remainder_towardzero_test_data): New variable.
12974 (remainder_test_towardzero): New function.
12975 (remainder_downward_test_data): New variable.
12976 (remainder_test_downward): New function.
12977 (remainder_upward_test_data): New variable.
12978 (remainder_test_upward): New function.
12979 (main): Call the new test functions.
12980
12981 * math/libm-test.inc (struct test_f_f1_data): Remove field
12982 extra_init.
12983 (struct test_fF_f1_data): Likewise.
12984 (struct test_ffI_f1_data): Likewise.
12985 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12986 based on value of EXTRA_EXPECTED.
12987 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12988 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12989 EXTRA_VAR based on value of EXTRA_EXPECTED.
12990 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12991 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12992 EXTRA_VAR based on value of EXTRA_EXPECTED.
12993 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12994 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12995 EXTRA_VAR based on value of EXTRA_EXPECTED.
12996 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12997 * math/gen-libm-test.pl (parse_args): Don't output initializers
12998 for extra output values.
12999
13000 * math/libm-test.inc (check_int): Expect result to be exactly
13001 equal to expected value and do not handle ulps.
13002 (check_long): Likewise.
13003 (check_longlong): Likewise.
13004
13005 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13006 exceptions.
13007 (cimag_test_data): Likewise.
13008 (conj_test_data): Likewise.
13009 (copysign_test_data): Likewise.
13010 (cproj_test_data): Likewise.
13011 (creal_test_data): Likewise.
13012 (fabs_test_data): Likewise.
13013 (fdim_test_data): Likewise.
13014 (finite_test_data): Likewise.
13015 (floor_test_data): Likewise.
13016 (fmax_test_data): Likewise.
13017 (fmin_test_data): Likewise.
13018 (fmod_test_data): Likewise.
13019 (fpclassify_test_data): Likewise.
13020 (frexp_test_data): Likewise.
13021 (ilogb_test_data): Likewise.
13022 (isfinite_test_data): Likewise.
13023 (isgreater_test_data): Likewise.
13024 (isgreaterequal_test_data): Likewise.
13025 (isinf_test_data): Likewise.
13026 (isless_test_data): Likewise.
13027 (islessequal_test_data): Likewise.
13028 (islessgreater_test_data): Likewise.
13029 (isnan_test_data): Likewise.
13030 (isnormal_test_data): Likewise.
13031 (issignaling_test_data): Likewise.
13032 (isunordered_test_data): Likewise.
13033 (ldexp_test_data): Likewise.
13034 (lrint_test_data): Likewise.
13035 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13036 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13037 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13038 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13039 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13040 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13041 test input.
13042 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13043 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13044 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13045 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13046 that test input.
13047 (lrint_downward_test_data): Test for "inexact" exceptions.
13048 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13049 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13050 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13051 test input.
13052 (lrint_upward_test_data): Test for "inexact" exceptions.
13053 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13054 test input.
13055 (llrint_test_data): Test for "inexact" exceptions.
13056 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13057 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13058 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13059 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13060 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13061 (llrint_downward_test_data): Test for "inexact" exceptions.
13062 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13063 (llrint_upward_test_data): Test for "inexact" exceptions.
13064 (logb_test_data): Likewise.
13065 (logb_downward_test_data): Likewise.
13066 (nextafter_test_data): Likewise.
13067 (nexttoward_test_data): Likewise.
13068 (remainder_test_data): Likewise.
13069 (remquo_test_data): Likewise.
13070 (scalbn_test_data): Likewise.
13071 (scalbln_test_data): Likewise.
13072 (signbit_test_data): Likewise.
13073 (sqrt_test_data): Likewise.
13074 (significand_test_data): Likewise.
13075
130762013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13077
13078 [BZ #15424]
13079 * benchtests/bench-modf.c (struct args): Mark arg0 as
13080 volatile.
13081 * scripts/bench.pl: Mark members of struct args as volatile.
13082
130832013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13084
13085 [BZ # 15497]
13086 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13087 negative infinity on POWER6 or lower.
13088 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13089
130902013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13091
13092 [BZ #15442]
13093 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13094 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13095 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13096 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13097 (_FP_SETQNAN): New macro.
13098 (_FP_SETQNAN_SEMIRAW): Likewise.
13099 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13100 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13101 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13102 (FP_EXTEND): Use _FP_FRAC_SNANP.
13103 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13104 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13105 into account.
13106 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13107 New macro.
13108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13109 Likewise.
13110
131112013-05-16 Joseph Myers <joseph@codesourcery.com>
13112
13113 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13114 with DIVIDE_BY_ZERO_EXCEPTION.
13115 (gamma_test_data): Likewise.
13116 (lgamma_test_data): Likewise.
13117 (log_test_data): Likewise.
13118 (log10_test_data): Likewise.
13119 (log2_test_data): Likewise.
13120 (tgamma_test_data): Likewise.
13121
13122 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13123 (acos_test_tonearest): Likewise.
13124 (acos_test_towardzero): Likewise.
13125 (acos_test_downward): Likewise.
13126 (acos_test_upward): Likewise.
13127 (acosh_test): Likewise.
13128 (asin_test): Likewise.
13129 (asin_test_tonearest): Likewise.
13130 (asin_test_towardzero): Likewise.
13131 (asin_test_downward): Likewise.
13132 (asin_test_upward): Likewise.
13133 (asinh_test): Likewise.
13134 (atan_test): Likewise.
13135 (atanh_test): Likewise.
13136 (atan2_test): Likewise.
13137 (cabs_test): Likewise.
13138 (cacos_test): Likewise.
13139 (cacosh_test): Likewise.
13140 (casin_test): Likewise.
13141 (casinh_test): Likewise.
13142 (catan_test): Likewise.
13143 (catanh_test): Likewise.
13144 (cbrt_test): Likewise.
13145 (ccos_test): Likewise.
13146 (ccosh_test): Likewise.
13147 (cexp_test): Likewise.
13148 (clog_test): Likewise.
13149 (clog10_test): Likewise.
13150 (cos_test): Likewise.
13151 (cos_test_tonearest): Likewise.
13152 (cos_test_towardzero): Likewise.
13153 (cos_test_downward): Likewise.
13154 (cos_test_upward): Likewise.
13155 (cosh_test): Likewise.
13156 (cosh_test_tonearest): Likewise.
13157 (cosh_test_towardzero): Likewise.
13158 (cosh_test_downward): Likewise.
13159 (cosh_test_upward): Likewise.
13160 (cpow_test): Likewise.
13161 (csin_test): Likewise.
13162 (csinh_test): Likewise.
13163 (csqrt_test): Likewise.
13164 (ctan_test): Likewise.
13165 (ctan_test_tonearest): Likewise.
13166 (ctan_test_towardzero): Likewise.
13167 (ctan_test_downward): Likewise.
13168 (ctan_test_upward): Likewise.
13169 (ctanh_test): Likewise.
13170 (ctanh_test_tonearest): Likewise.
13171 (ctanh_test_towardzero): Likewise.
13172 (ctanh_test_downward): Likewise.
13173 (ctanh_test_upward): Likewise.
13174 (erf_test): Likewise.
13175 (erfc_test): Likewise.
13176 (exp_test): Likewise.
13177 (exp_test_tonearest): Likewise.
13178 (exp_test_towardzero): Likewise.
13179 (exp_test_downward): Likewise.
13180 (exp_test_upward): Likewise.
13181 (exp10_test): Likewise.
13182 (exp2_test): Likewise.
13183 (expm1_test): Likewise.
13184 (fmod_test): Likewise.
13185 (gamma_test): Likewise.
13186 (hypot_test): Likewise.
13187 (j0_test): Likewise.
13188 (j1_test): Likewise.
13189 (jn_test): Likewise.
13190 (lgamma_test): Likewise.
13191 (log_test): Likewise.
13192 (log10_test): Likewise.
13193 (log1p_test): Likewise.
13194 (log2_test): Likewise.
13195 (logb_test_downward): Likewise.
13196 (pow_test): Likewise.
13197 (pow_test_tonearest): Likewise.
13198 (pow_test_towardzero): Likewise.
13199 (pow_test_downward): Likewise.
13200 (pow_test_upward): Likewise.
13201 (remainder_test): Likewise.
13202 (remquo_test): Likewise.
13203 (sin_test): Likewise.
13204 (sin_test_tonearest): Likewise.
13205 (sin_test_towardzero): Likewise.
13206 (sin_test_downward): Likewise.
13207 (sin_test_upward): Likewise.
13208 (sincos_test): Likewise.
13209 (sinh_test): Likewise.
13210 (sinh_test_tonearest): Likewise.
13211 (sinh_test_towardzero): Likewise.
13212 (sinh_test_downward): Likewise.
13213 (sinh_test_upward): Likewise.
13214 (sqrt_test): Likewise.
13215 (tan_test): Likewise.
13216 (tan_test_tonearest): Likewise.
13217 (tan_test_towardzero): Likewise.
13218 (tan_test_downward): Likewise.
13219 (tan_test_upward): Likewise.
13220 (tanh_test): Likewise.
13221 (tgamma_test): Likewise.
13222 (y0_test): Likewise.
13223 (y1_test): Likewise.
13224 (yn_test): Likewise.
13225
13226 * math/gen-libm-test.pl (adjust_arg): Remove function.
13227 (special_function): Remove argument $in_func. Only handle
13228 generating output for tables of tests, not inside functions.
13229 (parse_args): Likewise.
13230 (generate_testfile): Remove variable $in_func. Update call to
13231 parse_args.
13232 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13233 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13234 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13235 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13236 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13237 (MAX_VALUE_INIT): Rename macro to max_value.
13238 (MIN_VALUE_INIT): Rename macro to min_value.
13239 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13240 (plus_zero): Remove variable.
13241 (minus_zero): Likewise.
13242 (plus_infty): Likewise.
13243 (minus_infty): Likewise.
13244 (qnan_value): Likewise.
13245 (max_value): Likewise.
13246 (min_value): Likewise.
13247 (min_subnorm_value): Likewise.
13248
132492013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13250
13251 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13252 uint64_t or uint32_t usage.
13253 * crypt/sha256-block.c: Likewise.
13254 * crypt/sha256-crypt.c: Likewise.
13255 * crypt/sha256.c: Likewise.
13256 * crypt/sha512-block.c: Likewise.
13257 * crypt/sha512-crypt.c: Likewise.
13258 * crypt/sha512.c: Likewise.
13259 * debug/backtrace-tst.c: Likewise.
13260 * debug/pcprofiledump.c: Likewise.
13261 * elf/cache.c: Likewise.
13262 * elf/dl-cache.c: Likewise.
13263 * elf/dl-misc.c: Likewise.
13264 * elf/dl-profile.c: Likewise.
13265 * elf/dl-support.c: Likewise.
13266 * elf/ldconfig.c: Likewise.
13267 * elf/sprof.c: Likewise.
13268 * iconv/dummy-repertoire.c: Likewise.
13269 * iconv/iconv_charmap.c: Likewise.
13270 * iconv/skeleton.c: Likewise.
13271 * iconvdata/8bit-generic.c: Likewise.
13272 * iconvdata/cp737.h: Likewise.
13273 * iconvdata/cp775.h: Likewise.
13274 * iconvdata/ibm1008.h: Likewise.
13275 * iconvdata/ibm1025.h: Likewise.
13276 * iconvdata/ibm1046.h: Likewise.
13277 * iconvdata/ibm1097.h: Likewise.
13278 * iconvdata/ibm1112.h: Likewise.
13279 * iconvdata/ibm1122.h: Likewise.
13280 * iconvdata/ibm1123.h: Likewise.
13281 * iconvdata/ibm1124.h: Likewise.
13282 * iconvdata/ibm1129.h: Likewise.
13283 * iconvdata/ibm1130.h: Likewise.
13284 * iconvdata/ibm1132.h: Likewise.
13285 * iconvdata/ibm1133.h: Likewise.
13286 * iconvdata/ibm1137.h: Likewise.
13287 * iconvdata/ibm1140.h: Likewise.
13288 * iconvdata/ibm1141.h: Likewise.
13289 * iconvdata/ibm1142.h: Likewise.
13290 * iconvdata/ibm1143.h: Likewise.
13291 * iconvdata/ibm1144.h: Likewise.
13292 * iconvdata/ibm1145.h: Likewise.
13293 * iconvdata/ibm1146.h: Likewise.
13294 * iconvdata/ibm1147.h: Likewise.
13295 * iconvdata/ibm1148.h: Likewise.
13296 * iconvdata/ibm1149.h: Likewise.
13297 * iconvdata/ibm1153.h: Likewise.
13298 * iconvdata/ibm1154.h: Likewise.
13299 * iconvdata/ibm1155.h: Likewise.
13300 * iconvdata/ibm1156.h: Likewise.
13301 * iconvdata/ibm1157.h: Likewise.
13302 * iconvdata/ibm1158.h: Likewise.
13303 * iconvdata/ibm1160.h: Likewise.
13304 * iconvdata/ibm1161.h: Likewise.
13305 * iconvdata/ibm1162.h: Likewise.
13306 * iconvdata/ibm1163.h: Likewise.
13307 * iconvdata/ibm1164.h: Likewise.
13308 * iconvdata/ibm1166.h: Likewise.
13309 * iconvdata/ibm1167.h: Likewise.
13310 * iconvdata/ibm12712.h: Likewise.
13311 * iconvdata/ibm1390.h: Likewise.
13312 * iconvdata/ibm1399.h: Likewise.
13313 * iconvdata/ibm16804.h: Likewise.
13314 * iconvdata/ibm4517.h: Likewise.
13315 * iconvdata/ibm4899.h: Likewise.
13316 * iconvdata/ibm4909.h: Likewise.
13317 * iconvdata/ibm4971.h: Likewise.
13318 * iconvdata/ibm5347.h: Likewise.
13319 * iconvdata/ibm803.h: Likewise.
13320 * iconvdata/ibm856.h: Likewise.
13321 * iconvdata/ibm901.h: Likewise.
13322 * iconvdata/ibm902.h: Likewise.
13323 * iconvdata/ibm9030.h: Likewise.
13324 * iconvdata/ibm9066.h: Likewise.
13325 * iconvdata/ibm921.h: Likewise.
13326 * iconvdata/ibm922.h: Likewise.
13327 * iconvdata/ibm9448.h: Likewise.
13328 * iconvdata/isiri-3342.h: Likewise.
13329 * iconvdata/jis0201.h: Likewise.
13330 * include/link.h: Likewise.
13331 * include/netdb.h: Likewise.
13332 * inet/check_native.c: Likewise.
13333 * inet/check_pf.c: Likewise.
13334 * inet/getipv4sourcefilter.c: Likewise.
13335 * inet/getnameinfo.c: Likewise.
13336 * inet/getsourcefilter.c: Likewise.
13337 * inet/htonl.c: Likewise.
13338 * inet/setipv4sourcefilter.c: Likewise.
13339 * inet/setsourcefilter.c: Likewise.
13340 * inet/test-inet6_opt.c: Likewise.
13341 * inet/tst-network.c: Likewise.
13342 * locale/C-collate.c: Likewise.
13343 * locale/C-ctype.c: Likewise.
13344 * locale/C-time.c: Likewise.
13345 * locale/C-translit.h: Likewise.
13346 * locale/loadarchive.c: Likewise.
13347 * locale/programs/3level.h: Likewise.
13348 * locale/programs/charmap.c: Likewise.
13349 * locale/programs/charmap.h: Likewise.
13350 * locale/programs/ld-address.c: Likewise.
13351 * locale/programs/ld-collate.c: Likewise.
13352 * locale/programs/ld-ctype.c: Likewise.
13353 * locale/programs/ld-identification.c: Likewise.
13354 * locale/programs/ld-measurement.c: Likewise.
13355 * locale/programs/ld-messages.c: Likewise.
13356 * locale/programs/ld-monetary.c: Likewise.
13357 * locale/programs/ld-name.c: Likewise.
13358 * locale/programs/ld-numeric.c: Likewise.
13359 * locale/programs/ld-paper.c: Likewise.
13360 * locale/programs/ld-telephone.c: Likewise.
13361 * locale/programs/ld-time.c: Likewise.
13362 * locale/programs/linereader.c: Likewise.
13363 * locale/programs/locale.c: Likewise.
13364 * locale/programs/locarchive.c: Likewise.
13365 * locale/programs/locfile.h: Likewise.
13366 * locale/programs/repertoire.c: Likewise.
13367 * locale/programs/simple-hash.c: Likewise.
13368 * locale/programs/simple-hash.h: Likewise.
13369 * malloc/memusage.c: Likewise.
13370 * malloc/memusagestat.c: Likewise.
13371 * nis/nis_defaults.c: Likewise.
13372 * nis/nis_hash.c: Likewise.
13373 * nis/nis_print.c: Likewise.
13374 * nis/nis_xdr.c: Likewise.
13375 * nscd/connections.c: Likewise.
13376 * nscd/hstcache.c: Likewise.
13377 * nscd/nscd_gethst_r.c: Likewise.
13378 * nscd/nscd_getserv_r.c: Likewise.
13379 * nscd/nscd_helper.c: Likewise.
13380 * nscd/servicescache.c: Likewise.
13381 * nss/makedb.c: Likewise.
13382 * nss/nss_db/db-XXX.c: Likewise.
13383 * nss/nss_db/db-initgroups.c: Likewise.
13384 * nss/nss_db/db-netgrp.c: Likewise.
13385 * nss/nss_files/files-network.c: Likewise.
13386 * nss/nss_files/files-parse.c: Likewise.
13387 * posix/bug-regex5.c: Likewise.
13388 * posix/fnmatch_loop.c: Likewise.
13389 * posix/regcomp.c: Likewise.
13390 * posix/regexec.c: Likewise.
13391 * posix/tst-rfc3484-2.c: Likewise.
13392 * posix/tst-rfc3484-3.c: Likewise.
13393 * posix/tst-rfc3484.c: Likewise.
13394 * resolv/nss_dns/dns-canon.c: Likewise.
13395 * resolv/nss_dns/dns-network.c: Likewise.
13396 * resolv/res_init.c: Likewise.
13397 * resolv/res_mkquery.c: Likewise.
13398 * resolv/tst-aton.c: Likewise.
13399 * stdlib/cxa_atexit.c: Likewise.
13400 * stdlib/cxa_finalize.c: Likewise.
13401 * stdlib/gen-fpioconst.c: Likewise.
13402 * stdlib/strtol_l.c: Likewise.
13403 * string/tst-endian.c: Likewise.
13404 * sunrpc/auth_des.c: Likewise.
13405 * sunrpc/clnt_udp.c: Likewise.
13406 * sunrpc/rtime.c: Likewise.
13407 * sunrpc/svcauth_des.c: Likewise.
13408 * sunrpc/xdr.c: Likewise.
13409 * sunrpc/xdr_intXX_t.c: Likewise.
13410 * sunrpc/xdr_rec.c: Likewise.
13411 * sysdeps/generic/ldconfig.h: Likewise.
13412 * sysdeps/generic/ldsodefs.h: Likewise.
13413 * sysdeps/generic/memusage.h: Likewise.
13414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13417 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13424 * sysdeps/posix/getaddrinfo.c: Likewise.
13425 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13426 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13427 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13428 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13429 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13430 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13431 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13432 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13433 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13434 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13435 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13436 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13437 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13438 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13439 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13440 * sysdeps/x86_64/dl-tls.h: Likewise.
13441 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13442 * time/alt_digit.c: Likewise.
13443 * time/era.c: Likewise.
13444 * wcsmbs/tst-c16c32-1.c: Likewise.
13445
134462013-05-16 Joseph Myers <joseph@codesourcery.com>
13447
13448 * math/libm-test.inc (struct test_sincos_data): New type.
13449 (RUN_TEST_LOOP_sincos): New macro.
13450 (sincos_test_data): New variable.
13451 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13452
134532013-05-16 Richard Henderson <rth@redhat.com>
13454
13455 * math/atest-exp2.c (LIMB64): New macro.
13456 (CONSTSZ): New macro.
13457 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13458 (hexdig): Move ...
13459 (print_mpn_fp): ... to function scope.
13460 (read_mpn_hex): Remove.
13461 (get_log2): Remove.
13462 (exp2_mpn): Use mp_log2.
13463 (main): Use mp_exp1.
13464
134652013-05-16 Joseph Myers <joseph@codesourcery.com>
13466
13467 * math/libm-test.inc: Remove comment about not testing "inexact"
13468 exceptions.
13469 (INEXACT_EXCEPTION): New macro.
13470 (NO_INEXACT_EXCEPTION): Likewise.
13471 (INVALID_EXCEPTION_OK): Update value.
13472 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13473 (OVERFLOW_EXCEPTION_OK): Likewise.
13474 (UNDERFLOW_EXCEPTION_OK): Likewise.
13475 (IGNORE_ZERO_INF_SIGN): Likewise.
13476 (ERRNO_UNCHANGED): Likewise.
13477 (ERRNO_EDOM): Likewise.
13478 (ERRNO_ERANGE): Likewise.
13479 (test_exceptions): Handle testing "inexact" exceptions.
13480 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13481 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13482 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13483 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13484 INEXACT_EXCEPTION.
13485 (rint_towardzero_test_data): Likewise.
13486 (rint_downward_test_data): Likewise.
13487 (rint_upward_test_data): Likewise.
13488
13489 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13490 with OVERFLOW_EXCEPTION.
13491 (exp10_test_data): Likewise.
13492 (exp2_test_data): Likewise.
13493 (expm1_test_data): Likewise.
13494 (lgamma_test_data): Likewise.
13495 (pow_test_data): Likewise.
13496 (tgamma_test_data): Likewise.
13497 (yn_test_data): Remove duplicate test of overflow.
13498
13499 * math/libm-test.inc (struct test_cc_c_data): New type.
13500 (RUN_TEST_LOOP_cc_c): New macro.
13501 (cpow_test_data): New variable.
13502 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13503
13504 * math/libm-test.inc (struct test_f_L_data): New type.
13505 (RUN_TEST_LOOP_f_L): New macro.
13506 (llrint_test_data): New variable.
13507 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13508 (llrint_tonearest_test_data): New variable.
13509 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13510 (llrint_towardzero_test_data): New variable.
13511 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13512 (llrint_downward_test_data): New variable.
13513 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13514 (llrint_upward_test_data): New variable.
13515 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13516 (llround_test_data): New variable.
13517 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13518
135192013-05-13 Peter Collingbourne <pcc@google.com>
13520
13521 * math/atest-exp2.c (get_log2): Remove const attribute.
13522
135232013-05-15 Joseph Myers <joseph@codesourcery.com>
13524
13525 * math/libm-test.inc (struct test_f_l_data): New type.
13526 (RUN_TEST_LOOP_f_l): New macro.
13527 (lrint_test_data): New variable.
13528 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13529 (lrint_tonearest_test_data): New variable.
13530 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13531 (lrint_towardzero_test_data): New variable.
13532 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13533 (lrint_downward_test_data): New variable.
13534 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13535 (lrint_upward_test_data): New variable.
13536 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13537 (lround_test_data): New variable.
13538 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13539
135402013-05-15 Peter Collingbourne <pcc@google.com>
13541
13542 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13543 (EXTRACT_WORDS64) Use where appropriate.
13544 (INSERT_WORDS64) Likewise.
13545
13546 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13547 constraints with x constraints.
13548 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13549
13550 * malloc/obstack.c (_obstack_compat): Add initializer.
13551
135522013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13553
13554 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13555 si_trapno and add si_addr_lsb to _sifields.sigfault.
13556 (si_trapno): Remove macro.
13557 (si_addr_lsb): Define new macro.
13558 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13559
135602013-05-15 Joseph Myers <joseph@codesourcery.com>
13561
13562 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13563 instead of TEST_f_l.
13564 (llrint_test_tonearest): Likewise.
13565 (llrint_test_towardzero): Likewise.
13566 (llrint_test_downward): Likewise.
13567 (llrint_test_upward): Likewise.
13568 (llround_test): Likewise.
13569
13570 * math/libm-test.inc (struct test_f_i_data): Add comment.
13571 (RUN_TEST_LOOP_f_b): New macro.
13572 (RUN_TEST_LOOP_f_b_tg): Likewise.
13573 (finite_test_data): New variable.
13574 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13575 (isfinite_test_data): New variable.
13576 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13577 (isinf_test_data): New variable.
13578 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13579 (isnan_test_data): New variable.
13580 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13581 (isnormal_test_data): New variable.
13582 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13583 (issignaling_test_data): New variable.
13584 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13585 (signbit_test_data): New variable.
13586 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13587
13588 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13589 with INVALID_EXCEPTION.
13590 (acosh_test_data): Likewise.
13591 (asin_test_data): Likewise.
13592 (atanh_test_data): Likewise.
13593 (fmod_test_data): Likewise.
13594 (log_test_data): Likewise.
13595 (log10_test_data): Likewise.
13596 (log2_test_data): Likewise.
13597 (pow_test_data): Likewise.
13598 (sqrt_test_data): Likewise.
13599 (y0_test_data): Likewise.
13600 (y1_test_data): Likewise.
13601 (yn_test_data): Likewise.
13602
13603 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13604 function contents.
13605
13606 * math/libm-test.inc (struct test_ff_i_data): New type.
13607 (RUN_TEST_LOOP_ff_i_tg): New macro.
13608 (isgreater_test_data): New variable.
13609 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13610 (isgreaterequal_test_data): New variable.
13611 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13612 (isless_test_data): New variable.
13613 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13614 (islessequal_test_data): New variable.
13615 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13616 (islessgreater_test_data): New variable.
13617 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13618 (isunordered_test_data): New variable.
13619 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13620
136212013-05-14 David S. Miller <davem@davemloft.net>
13622
13623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13624
136252013-05-14 Joseph Myers <joseph@codesourcery.com>
13626
13627 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13628
13629 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13630 extra_test to int.
13631 (struct test_f_i_data): Change type of max_ulp to int.
13632
13633 * math/libm-test.inc (test_ffI_f1_data): New type.
13634 (RUN_TEST_LOOP_ffI_f1): New macro.
13635 (remquo_test_data): New variable.
13636 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13637
13638 * setjmp/tst-setjmp-fp.c: New file.
13639 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13640 (link-libm): New variable.
13641 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13642
13643 * math/libm-test.inc (struct test_f_i_data): New type.
13644 (RUN_TEST_LOOP_f_i): New macro.
13645 (RUN_TEST_LOOP_f_i_tg): Likewise.
13646 (fpclassify_test_data): New variable.
13647 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13648 (ilogb_test_data): New variable.
13649 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13650
13651 * math/libm-test.inc (scalbln_test): Correct function name in END
13652 call.
13653
13654 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13655 (RUN_TEST_LOOP_fI_f1): New macro.
13656 (frexp_test_data): New variable.
13657 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13658
13659 * math/libm-test.inc (struct test_fF_f1_data): New type.
13660 (RUN_TEST_LOOP_fF_f1): New macro.
13661 (modf_test_data): New variable.
13662 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13663
13664 * math/libm-test.inc (struct test_f_f1_data): New type.
13665 (RUN_TEST_LOOP_f_f1): New macro.
13666 (gamma_test_data): New variable.
13667 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13668 (lgamma_test_data): New variable.
13669 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13670
136712013-05-13 Carlos O'Donell <carlos@redhat.com>
13672
13673 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13674 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13675 (main): Comment "tls" pseudo-hwcap.
13676
136772013-05-13 Joseph Myers <joseph@codesourcery.com>
13678
13679 * math/libm-test.inc (struct test_fl_f_data): New type.
13680 (RUN_TEST_LOOP_fl_f): New variable.
13681 (scalbln_test_data): New variable.
13682 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13683
13684 * math/libm-test.inc (struct test_fi_f_data): New type.
13685 (RUN_TEST_LOOP_fi_f): New macro.
13686 (ldexp_test_data): New variable.
13687 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13688 (scalbn_test_data): New variable.
13689 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13690
13691 * math/libm-test.inc (struct test_c_f_data): New type.
13692 (RUN_TEST_LOOP_c_f): New macro.
13693 (cabs_test_data): New variable.
13694 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13695 (carg_test_data): New variable.
13696 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13697 (cimag_test_data): New variable.
13698 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13699 (creal_test_data): New variable.
13700 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13701
13702 * math/libm-test.inc (struct test_if_f_data): New type.
13703 (RUN_TEST_LOOP_if_f): New macro.
13704 (jn_test_data): New variable.
13705 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13706 (yn_test_data): New variable.
13707 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13708
13709 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13710
137112013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13712
13713 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13714 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13715
137162013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13717
13718 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13719 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13720 (bench-deps): Add bench-timing.h.
13721 * benchtests-bench-skeleton.c: Include bench-timing.h.
13722 (main): Use TIMING_* macros instead of clock_gettime.
13723 * benchtests/bench-timing.h: New file.
13724
13725 [BZ #14582]
13726 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13727 Renamed from _LIB_VERSION.
13728 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13729
137302013-05-12 Joseph Myers <joseph@codesourcery.com>
13731
13732 * math/libm-test.inc (struct test_fff_f_data): New type.
13733 (RUN_TEST_LOOP_fff_f): New macro.
13734 (fma_test_data): New variable.
13735 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13736 (fma_towardzero_test_data): New variable.
13737 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13738 (fma_downward_test_data): New variable.
13739 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13740 (fma_upward_test_data): New variable.
13741 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13742
13743 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13744 (struct test_c_c_data): New type.
13745 (RUN_TEST_LOOP_c_c): New macro.
13746 (cacos_test_data): New variable.
13747 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13748 (cacosh_test_data): New variable.
13749 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13750 (casin_test_data): New variable.
13751 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13752 (casinh_test_data): New variable.
13753 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13754 (catan_test_data): New variable.
13755 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13756 (catanh_test_data): New variable.
13757 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13758 (ccos_test_data): New variable.
13759 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13760 (ccosh_test_data): New variable.
13761 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13762 (cexp_test_data): New variable.
13763 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13764 (clog_test_data): New variable.
13765 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13766 (clog10_test_data): New variable.
13767 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13768 (conj_test_data): New variable.
13769 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13770 (cproj_test_data): New variable.
13771 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13772 (csin_test_data): New variable.
13773 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13774 (csinh_test_data): New variable.
13775 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13776 (csqrt_test_data): New variable.
13777 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13778 (ctan_test_data): New variable.
13779 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13780 (ctan_tonearest_test_data): New variable.
13781 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13782 (ctan_towardzero_test_data): New variable.
13783 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13784 (ctan_downward_test_data): New variable.
13785 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13786 (ctan_upward_test_data): New variable.
13787 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13788 (ctanh_test_data): New variable.
13789 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13790 (ctanh_tonearest_test_data): New variable.
13791 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13792 (ctanh_towardzero_test_data): New variable.
13793 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13794 (ctanh_downward_test_data): New variable.
13795 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13796 (ctanh_upward_test_data): New variable.
13797 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13798 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13799 of BUILD_COMPLEX.
13800
13801 * math/libm-test.inc (struct test_ff_f_data): New type.
13802 (struct test_ff_f_data_nexttoward): Likewise.
13803 (RUN_TEST_LOOP_2_f): New macro.
13804 (RUN_TEST_LOOP_ff_f): Likewise.
13805 (atan2_test_data): New variable.
13806 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13807 (copysign_test_data): New variable.
13808 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13809 (fdim_test_data): New variable.
13810 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13811 (fmax_test_data): New variable.
13812 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13813 (fmin_test_data): New variable.
13814 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13815 (fmod_test_data): New variable.
13816 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13817 (hypot_test_data): New variable.
13818 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13819 (nextafter_test_data): New variable.
13820 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13821 (nexttoward_test_data): New variable.
13822 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13823 (pow_test_data): New variable.
13824 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13825 (pow_tonearest_test_data): New variable.
13826 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13827 (pow_towardzero_test_data): New variable.
13828 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13829 (pow_downward_test_data): New variable.
13830 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13831 (pow_upward_test_data): New variable.
13832 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13833 (remainder_test_data): New variable.
13834 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13835 (scalb_test_data): New variable.
13836 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13837 * sysdeps/i386/fpu/libm-test-ulps: Update.
13838
138392013-05-11 Joseph Myers <joseph@codesourcery.com>
13840
13841 * math/libm-test.inc (fma_test): Use max_value instead of local
13842 variable fltmax.
13843 (nextafter_test): Likewise.
13844
13845 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13846 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13847 (acos_downward_test_data): New variable.
13848 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13849 (acos_upward_test_data): New variable.
13850 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13851 (acosh_test_data): New variable.
13852 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13853 (asin_test_data): New variable.
13854 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13855 (asin_tonearest_test_data): New variable.
13856 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13857 (asin_towardzero_test_data): New variable.
13858 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13859 (asin_downward_test_data): New variable.
13860 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13861 (asin_upward_test_data): New variable.
13862 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13863 (asinh_test_data): New variable.
13864 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13865 (atan_test_data): New variable.
13866 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13867 (atanh_test_data): New variable.
13868 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13869 (cbrt_test_data): New variable.
13870 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13871 (ceil_test_data): New variable.
13872 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13873 (cos_test_data): New variable.
13874 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13875 (cos_tonearest_test_data): New variable.
13876 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13877 (cos_towardzero_test_data): New variable.
13878 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13879 (cos_downward_test_data): New variable.
13880 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13881 (cos_upward_test_data): New variable.
13882 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13883 (cosh_test_data): New variable.
13884 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13885 (cosh_tonearest_test_data): New variable.
13886 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13887 (cosh_towardzero_test_data): New variable.
13888 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13889 (cosh_downward_test_data): New variable.
13890 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13891 (cosh_upward_test_data): New variable.
13892 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13893 (erf_test_data): New variable.
13894 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13895 (erfc_test_data): New variable.
13896 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13897 (exp_test_data): New variable.
13898 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13899 (exp_tonearest_test_data): New variable.
13900 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13901 (exp_towardzero_test_data): New variable.
13902 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13903 (exp_downward_test_data): New variable.
13904 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13905 (exp_upward_test_data): New variable.
13906 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13907 (exp10_test_data): New variable.
13908 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13909 (exp2_test_data): New variable.
13910 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13911 (expm1_test_data): New variable.
13912 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13913 (fabs_test_data): New variable.
13914 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13915 (floor_test_data): New variable.
13916 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13917 (j0_test_data): New variable.
13918 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13919 (j1_test_data): New variable.
13920 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13921 (log_test_data): New variable.
13922 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13923 (log10_test_data): New variable.
13924 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13925 (log1p_test_data): New variable.
13926 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13927 (log2_test_data): New variable.
13928 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13929 (logb_test_data): New variable.
13930 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13931 (logb_downward_test_data): New variable.
13932 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13933 (nearbyint_test_data): New variable.
13934 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13935 (rint_test_data): New variable.
13936 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13937 (rint_tonearest_test_data): New variable.
13938 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13939 (rint_towardzero_test_data): New variable.
13940 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13941 (rint_downward_test_data): New variable.
13942 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13943 (rint_upward_test_data): New variable.
13944 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13945 (round_test_data): New variable.
13946 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13947 (sin_test_data): New variable.
13948 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13949 (sin_tonearest_test_data): New variable.
13950 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13951 (sin_towardzero_test_data): New variable.
13952 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13953 (sin_downward_test_data): New variable.
13954 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13955 (sin_upward_test_data): New variable.
13956 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13957 (sinh_test_data): New variable.
13958 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13959 (sinh_tonearest_test_data): New variable.
13960 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13961 (sinh_towardzero_test_data): New variable.
13962 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13963 (sinh_downward_test_data): New variable.
13964 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13965 (sinh_upward_test_data): New variable.
13966 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13967 (sqrt_test_data): New variable.
13968 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13969 (tan_test_data): New variable.
13970 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13971 (tan_tonearest_test_data): New variable.
13972 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13973 (tan_towardzero_test_data): New variable.
13974 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13975 (tan_downward_test_data): New variable.
13976 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13977 (tan_upward_test_data): New variable.
13978 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13979 (tanh_test_data): New variable.
13980 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13981 (tgamma_test_data): New variable.
13982 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13983 (trunc_test_data): New variable.
13984 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13985 (y0_test_data): New variable.
13986 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13987 (y1_test_data): New variable.
13988 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13989 (significand_test_data): New variable.
13990 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13991
139922013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13993
13994 [BZ #12387]
13995 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13996
139972013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13998
13999 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14000
140012013-05-10 Andreas Jaeger <aj@suse.de>
14002
14003 [BZ #15448]
14004 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14005 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14006
140072013-05-10 Joseph Myers <joseph@codesourcery.com>
14008
14009 * math/gen-libm-test.pl (adjust_arg): New function.
14010 (special_functions): Handle generating output in both functions
14011 and arrays.
14012 (parse_args): Likewise.
14013 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14014 $in_func argument to parse_args.
14015 * math/libm-test.inc (struct test_f_f_data): New type.
14016 (IF_ROUND_INIT_): New macro.
14017 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14018 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14019 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14020 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14021 (ROUND_RESTORE_): Likewise.
14022 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14023 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14024 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14025 (ROUND_RESTORE_FE_UPWARD): Likewise.
14026 (RUN_TEST_LOOP_f_f): New macro.
14027 (acos_test_data): New variable.
14028 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14029 (acos_tonearest_test_data): New variable.
14030 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14031
140322013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14033
14034 * benchtests/bench-skeleton.c (startup): Fix coding style.
14035
140362013-05-10 Joseph Myers <joseph@codesourcery.com>
14037
14038 [BZ #6809]
14039 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14040 negative infinity argument.
14041 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14042 negative infinity argument.
14043 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14044 negative infinity argument.
14045 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14046 domain errors.
14047
140482013-05-10 Florian Weimer <fweimer@redhat.com>
14049
14050 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14051 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14052 * iconv/iconv_prog.c (main): Likewise.
14053 * locale/programs/charmap-dir.c (charmap_readdir)
14054 (fopen_uncompressed): Likewise.
14055 * locale/programs/locfile.c (siblings_uncached)
14056 (write_locale_data): Use lstat64 instead of lstat.
14057 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14058 stat.
14059
140602013-05-10 Andreas Jaeger <aj@suse.de>
14061
14062 [BZ #15395]
14063 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14064 localization.
14065 Include <locale.h>.
14066
140672013-05-09 Carlos O'Donell <carlos@redhat.com>
14068
14069 * elf/dl-close.c (_dl_close_worker): Add comments.
14070
140712013-05-09 Joseph Myers <joseph@codesourcery.com>
14072
14073 [BZ #15359]
14074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14075 high part of pi/2.
14076 (__ieee754_rem_pio2l): Update comments.
14077
14078 [BZ #15429]
14079 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14080 high part of pi/2.
14081 (__ieee754_rem_pio2l): Update comments.
14082
14083 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14084 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14085
14086 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14087 M_PI_4l.
14088
14089 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14090 (M_PI_34_LOG10El): Likewise.
14091 (M_PI2_LOG10El): Likewise.
14092 (M_PI4_LOG10El): Likewise.
14093 (M_PI_LOG10El): Likewise.
14094
140952013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14096
14097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14098
140992013-05-08 Joseph Myers <joseph@codesourcery.com>
14100
14101 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14102 (MINUS_ZERO_INIT): Likewise.
14103 (PLUS_INFTY_INIT): Likewise.
14104 (MINUS_INFTY_INIT): Likewise.
14105 (QNAN_VALUE_INIT): Likewise.
14106 (MAX_VALUE_INIT): Likewise.
14107 (MIN_VALUE_INIT): Likewise.
14108 (MIN_SUBNORM_VALUE_INIT): Likewise.
14109 (plus_zero): Initialize with PLUS_ZERO_INIT.
14110 (minus_zero): Initialize with MINUS_ZERO_INIT.
14111 (plus_infty): Initialize with PLUS_INFTY_INIT.
14112 (minus_infty): Initialize with MINUS_INFTY_INIT.
14113 (qnan_value): Initialize with QNAN_VALUE_INIT.
14114 (max_value): Initialize with MAX_VALUE_INIT.
14115 (min_value): Initialize with MIN_VALUE_INIT.
14116 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14117
14118 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14119 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14120 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14121 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14122
14123 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14124 (RUN_TEST_2_f): Likewise.
14125 (RUN_TEST_ff_f): Likewise.
14126 (RUN_TEST_fi_f): Likewise.
14127 (RUN_TEST_fl_f): Likewise.
14128 (RUN_TEST_fff_f): Likewise.
14129 (RUN_TEST_c_f): Likewise.
14130 (RUN_TEST_f_f1): Likewise.
14131 (RUN_TEST_fF_f1): Likewise.
14132 (RUN_TEST_fI_f1): Likewise.
14133 (RUN_TEST_ffI_f1): Likewise.
14134 (RUN_TEST_c_c): Likewise.
14135 (RUN_TEST_cc_c): Likewise.
14136 (RUN_TEST_f_i): Likewise.
14137 (RUN_TEST_f_i_tg): Likewise.
14138 (RUN_TEST_ff_i_tg): Likewise.
14139 (RUN_TEST_f_b): Likewise.
14140 (RUN_TEST_f_b_tg): Likewise.
14141 (RUN_TEST_f_l): Likewise.
14142 (RUN_TEST_f_L): Likewise.
14143 (RUN_TEST_sincos): Likewise.
14144 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14145 whether to show exceptions. Do not include ");\n" in return
14146 value.
14147 (special_functions): Output call to RUN_TEST_sincos instead of
14148 check_float calls. Update calls to new_test.
14149 (parse_args): Output call to single RUN_TEST_* macro instead of
14150 check_* calls and other assignments. Update calls to new_test.
14151
14152 [BZ #2546]
14153 [BZ #2560]
14154 [BZ #5159]
14155 [BZ #15426]
14156 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14157 input to result for tgamma overflow.
14158 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14159 (gamma_coeff): New variable.
14160 (NCOEFF): New macro.
14161 (gamma_positive): New function.
14162 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14163 underflow here. Use gamma_positive instead of exp (lgamma) for
14164 other arguments.
14165 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14166 (gamma_coeff): New variable.
14167 (NCOEFF): New macro.
14168 (gammaf_positive): New function.
14169 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14170 underflow here. Use gamma_positive instead of exp (lgamma) for
14171 other arguments.
14172 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14173 (gamma_coeff): New variable.
14174 (NCOEFF): New macro.
14175 (gammal_positive): New function.
14176 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14177 underflow here. Use gamma_positive instead of exp (lgamma) for
14178 other arguments.
14179 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14180 (gamma_coeff): New variable.
14181 (NCOEFF): New macro.
14182 (gammal_positive): New function.
14183 (__ieee754_gammal_r): Handle positive infinity, overflow and
14184 underflow here. Handle NaN the same as positive infinity. Remove
14185 check x < 0xffffffff for negative integers. Use gamma_positive
14186 instead of exp (lgamma) for other arguments.
14187 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14188 (gamma_coeff): New variable.
14189 (NCOEFF): New macro.
14190 (gammal_positive): New function.
14191 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14192 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14196 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14197 * sysdeps/generic/math_private.h (__gamma_productf): New
14198 prototype.
14199 (__gamma_product): Likewise.
14200 (__gamma_productl): Likewise.
14201 * math/Makefile (libm-calls): Add gamma_product.
14202 * math/libm-test.inc (tgamma_test): Add more tests.
14203 * sysdeps/i386/fpu/libm-test-ulps: Update.
14204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14205
142062013-05-08 Ondřej Bílka <neleai@seznam.cz>
14207
14208 * benchtests/bench-skeleton.c (main): Preheat CPU.
14209
142102013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14211
14212 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14213
142142013-05-07 Roland McGrath <roland@hack.frob.com>
14215
14216 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14217 and _dl_skip_args_internal.
14218
142192013-05-07 Carlos O'Donell <carlos@redhat.com>
14220
14221 * manual/message.texi (Message Translation): Talk about users.
14222 Message to key mapping impacts design.
14223
142242013-05-06 Roland McGrath <roland@hack.frob.com>
14225
14226 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14227
14228 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14229
14230 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14231 * sysdeps/wordsize-64/glob64.c: ... here.
14232
14233 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14234 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14235 New macros.
14236
14237 * debug/getlogin_r_chk.c: Moved to ...
14238 * login/getlogin_r_chk.c: ... here.
14239 * debug/Makefile (routines): Move getlogin_r_chk to ...
14240 * login/Makefile (routines): ... here.
14241 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14242 * login/Versions (libc: GLIBC_2.4): ... here.
14243
14244 * io/poll.c (__poll): Renamed from poll.
14245 Add libc_hidden_def.
14246 (poll): Define as weak alias.
14247
14248 * debug/ptsname_r_chk.c: Moved to ...
14249 * login/ptsname_r_chk.c: ... here.
14250 * debug/Makefile (routines): Move ptsname_r_chk to ...
14251 * login/Makefile (routines): ... here.
14252 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14253 * login/Versions (libc: GLIBC_2.4): ... here.
14254
14255 * posix/getlogin.c: Moved to ...
14256 * login/getlogin.c: ... here.
14257 * posix/getlogin_r.c: Moved to ...
14258 * login/getlogin_r.c: ... here.
14259 * posix/getlogin_r.c: Moved to ...
14260 * login/getlogin_r.c: ... here.
14261 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14262 * login/Makefile (routines): ... here.
14263 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14264 * login/Versions (libc: GLIBC_2.0): ... here.
14265
14266 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14267 (setrlimit): Define as weak alias.
14268
14269 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14270 Call __ names for open, ftruncate, and close.
14271 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14272 (truncate): Define as weak alias.
14273
142742013-05-06 Joseph Myers <joseph@codesourcery.com>
14275
14276 * math/gen-libm-test.pl (parse_args): Initialize x before each
14277 test of frexp, modf and remquo.
14278
14279 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14280 test signgam value.
14281
142822013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14283
14284 [BZ #15418]
14285 [BZ #15419]
14286 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14287 internal tests.
14288 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14289
142902013-05-06 Roland McGrath <roland@hack.frob.com>
14291
14292 * elf/dl-writev.h: New file.
14293 * elf/dl-misc.c: Include it.
14294 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14295 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14296
142972013-05-04 Joseph Myers <joseph@codesourcery.com>
14298
14299 * math/libm-test.inc (noXFails): Remove variable.
14300 (noXPasses): Likewise.
14301 (BUILD_COMPLEX_INT): Remove macro.
14302 (print_screen): Remove xfail argument.
14303 (print_screen_max_error): Likewise.
14304 (update_stats): Likewise.
14305 (print_max_error): Likewise. Update calls to other affected
14306 functions.
14307 (print_complex_max_error): Likewise.
14308 (test_single_exception): Update calls to print_screen.
14309 (test_single_errno): Likewise.
14310 (check_float_internal): Remove xfail argument. Update calls to
14311 other affected functions.
14312 (check_float): Likewise.
14313 (check_complex): Likewise.
14314 (check_int): Likewise.
14315 (check_long): Likewise.
14316 (check_bool): Likewise.
14317 (check_longlong): Likewise.
14318 (main): Don't print noXFails and noXPasses.
14319 * math/gen-libm-test.pl (top level): Don't mention expected
14320 failure handling in comment.
14321 (new_test): Don't handle expected failures.
14322 (parse_args): Don't mention expected failure handling in comment.
14323 (generate_testfile): Don't handle expected failures.
14324 (parse_ulps): Likewise.
14325 (print_ulps_file): Likewise.
14326 (get_failure): Remove function.
14327 (output_test): Don't handle expected failures.
14328 * make/README.libm-test: Don't mention expected failure handling.
14329
14330 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14331 (minus_zero): Likewise.
14332 (plus_infty): Likewise.
14333 (minus_infty): Likewise.
14334 (qnan_value): Likewise.
14335 (max_value): Likewise.
14336 (min_value): Likewise.
14337 (min_subnorm_value): Likewise.
14338 (initialize): Do not initialize those variables dynamically.
14339
143402013-05-03 Roland McGrath <roland@hack.frob.com>
14341
14342 * io/open.c (__open_2): Moved to ...
14343 * io/open_2.c: ... this new file.
14344 * io/open64.c (__open64_2): Moved to ...
14345 * io/open64_2.c: ... this new file.
14346 * io/openat.c (__openat_2): Moved to ...
14347 * io/openat_2.c: ... this new file.
14348 * io/openat64.c (__openat64_2): Moved to ...
14349 * io/openat64_2.c: ... this new file.
14350 * io/Makefile (routines): Add them.
14351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14352 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14353 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14354 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14355 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14356 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14357 (__openat64): Add hidden_ver.
14358 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14359 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14360
14361 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14362 Separately conditionalize setting of GLRO(dl_sysinfo) so
14363 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14364 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14365
143662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367
14368 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14369 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14370 definition.
14371 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14372 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14373 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14374 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14375 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14376
143772013-05-03 Joseph Myers <joseph@codesourcery.com>
14378
14379 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14380 test signgam value.
14381
14382 * math/libm-test.inc (hypot_test): Do not use
14383 IGNORE_ZERO_INF_SIGN.
14384
143852013-05-03 Andreas Jaeger <aj@suse.de>
14386
14387 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14388 Linux 3.9.
14389 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14390 (PF_MAX): Adjust for VSOCK change.
14391
143922013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14393
14394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14395
143962013-05-02 Carlos O'Donell <carlos@redhat.com>
14397
14398 [BZ #15264]
14399 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14400 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14401 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14402
144032013-05-02 David S. Miller <davem@davemloft.net>
14404
14405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14406
144072013-05-01 Ondřej Bílka <neleai@seznam.cz>
14408
14409 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14410
144112013-05-01 Roland McGrath <roland@hack.frob.com>
14412
14413 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14414
144152013-05-01 Richard Smith <richard@metafoo.co.uk>
14416
14417 [BZ #14952]
14418 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14419 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14420 Use __attribute__ ((__gnu_inline__)).
14421 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14422 Don't use __attribute__ ((__gnu_inline__)).
14423
144242013-05-01 Joseph Myers <joseph@codesourcery.com>
14425
14426 [BZ #15423]
14427 * math/s_catan.c (__catan): Handle small real or imaginary part of
14428 input specially to avoid spurious underflow.
14429 * math/s_catanf.c (__catanf): Likewise.
14430 * math/s_catanh.c (__catanh): Likewise.
14431 * math/s_catanhf.c (__catanhf): Likewise.
14432 * math/s_catanhl.c (__catanhl): Likewise.
14433 * math/s_catanl.c (__catanl): Likewise.
14434 * math/libm-test.inc (catan_test): Add more tests.
14435 (catanh_test): Likewise.
14436 * sysdeps/i386/fpu/libm-test-ulps: Update.
14437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14438
144392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14440
14441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14442
144432013-04-30 Joseph Myers <joseph@codesourcery.com>
14444
14445 [BZ #15416]
14446 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14447 accurately for denominator in atan2.
14448 * math/s_catanf.c (__catanf): Likewise.
14449 * math/s_catanh.c (__catanh): Likewise.
14450 * math/s_catanhf.c (__catanhf): Likewise.
14451 * math/s_catanhl.c (__catanhl): Likewise.
14452 * math/s_catanl.c (__catanl): Likewise.
14453 * math/libm-test.inc (catan_test): Add more tests.
14454 (catanh_test): Likewise.
14455 * sysdeps/i386/fpu/libm-test-ulps: Update.
14456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14457
144582013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14459
14460 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14461
14462 * benchtests/Makefile (bench): Remove slow benchmarks.
14463 * benchtests/atan-inputs: Add slow benchmark inputs.
14464 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14465 (BENCH_FUNC): Accept variant offset.
14466 (VARIANT): Define.
14467 * benchtests/bench-skeleton.c (main): Run benchmark for each
14468 variant.
14469 * benchtests/cos-inputs: Add slow benchmark inputs.
14470 * benchtests/exp-inputs: Likewise.
14471 * benchtests/pow-inputs: Likewise.
14472 * benchtests/sin-inputs: Likewise.
14473 * benchtests/slowatan-inputs: Remove.
14474 * benchtests/slowatan.c: Remove.
14475 * benchtests/slowcos-inputs: Remove.
14476 * benchtests/slowcos.c: Remove.
14477 * benchtests/slowexp-inputs: Remove.
14478 * benchtests/slowexp.c: Remove.
14479 * benchtests/slowpow-inputs: Remove.
14480 * benchtests/slowpow.c: Remove.
14481 * benchtests/slowsin-inputs: Remove.
14482 * benchtests/slowsin.c: Remove.
14483 * benchtests/slowtan-inputs: Remove.
14484 * benchtests/slowtan.c: Remove.
14485 * benchtests/tan-inputs: Add slow benchmark inputs.
14486 * scripts/bench.pl: Parse comments and directives.
14487
14488 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14489 in CPPFLAGS.
14490 ($(objpfx)bench-%.c): Remove *-ITER.
14491 * benchtests/bench-modf.c: Remove definition of ITER.
14492 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14493 (main): Loop for DURATION seconds instead of fixed number of
14494 iterations.
14495 * scripts/bench.pl: Don't expect iterations in parameters.
14496
144972013-04-29 Roland McGrath <roland@hack.frob.com>
14498
14499 * io/fchdir.c (__fchdir): Renamed from fchdir.
14500 (fchdir): Define as weak alias.
14501
145022013-04-29 Joseph Myers <joseph@codesourcery.com>
14503
14504 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14505 (ERRNO_EDOM): Likewise.
14506 (ERRNO_ERANGE): Likewise.
14507 (noErrnoTests): New variable.
14508 (init_max_error): Set errno to 0.
14509 (test_single_errno): New function.
14510 (test_errno): Likewise.
14511 (check_float_internal): Call test_errno. Set errno to 0.
14512 (check_complex): Refer to errno tests in comment.
14513 (check_int): Call test_errno. Set errno to 0.
14514 (check_long): Likewise.
14515 (check_bool): Likewise.
14516 (check_longlong): Likewise.
14517 (cos_test): Use ERRNO_* flags for errno tests instead of
14518 check_int.
14519 (expm1_test): Likewise.
14520 (fmod_test): Likewise.
14521 (ilogb_test): Likewise.
14522 (lgamma_test): Likewise.
14523 (pow_test): Likewise.
14524 (remainder_test): Likewise.
14525 (sin_test): Likewise.
14526 (tan_test): Likewise.
14527 (yn_test): Likewise.
14528 (initialize): Set errno to 0.
14529 (main): Print number of errno tests.
14530 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14531
145322013-04-29 Andreas Jaeger <aj@suse.de>
14533
14534 [BZ #15084]
14535 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14536 and RES_USEVC.
14537
14538 [BZ #15085]
14539 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14540 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14541 unimplemented.
14542
14543 [BZ #15380]
14544 * stdlib/random.c (__initstate): Return NULL if
14545 __initstate fails.
14546
14547 [BZ #15086]
14548 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14549 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14550 RES_SNGLKUPREOP.
14551
145522013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14553
14554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14555
145562013-04-29 Joseph Myers <joseph@codesourcery.com>
14557
14558 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14559 of individual tests.
14560 (casin_test): Likewise.
14561 (casinh_test): Likewise.
14562
145632013-04-27 Joseph Myers <joseph@codesourcery.com>
14564
14565 [BZ #15409]
14566 * math/s_catan.c (__catan): Handle arguments with large real or
14567 imaginary part separately without squaring.
14568 * math/s_catanf.c (__catanf): Likewise.
14569 * math/s_catanh.c (__catanh): Likewise.
14570 * math/s_catanhf.c (__catanhf): Likewise.
14571 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14572 and redefine.
14573 (__catanhl): Handle arguments with large real or imaginary part
14574 separately without squaring.
14575 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14576 and redefine.
14577 (__catanl): Handle arguments with large real or imaginary part
14578 separately without squaring.
14579 * math/libm-test.inc (catan_test): Add more tests.
14580 (catanh_test): Likewise.
14581 * sysdeps/i386/fpu/libm-test-ulps: Update.
14582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14583
145842013-04-27 Andreas Jaeger <aj@suse.de>
14585
14586 [BZ #15007]
14587 * stdlib/stdlib.h: Update guards for qecvt.
14588 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14589 <stdlib.h>.
14590
145912013-04-27 Allan McRae <allan@archlinux.org>
14592
14593 * sysdeps/i386/fpu/libm-test-ulps: Update.
14594
145952013-04-26 Joseph Myers <joseph@codesourcery.com>
14596
14597 [BZ #15406]
14598 * math/s_catan.c: Include <float.h>.
14599 (__catan): Ensure underflow exception occurs for underflowed
14600 result.
14601 * math/s_catanf.c: Include <float.h>.
14602 (__catanf): Ensure underflow exception occurs for underflowed
14603 result.
14604 * math/s_catanh.c: Include <float.h>.
14605 (__catanh): Ensure underflow exception occurs for underflowed
14606 result.
14607 * math/s_catanhf.c: Include <float.h>.
14608 (__catanhf): Ensure underflow exception occurs for underflowed
14609 result.
14610 * math/s_catanhl.c: Include <float.h>.
14611 (__catanhl): Ensure underflow exception occurs for underflowed
14612 result.
14613 * math/s_catanl.c: Include <float.h>.
14614 (__catanl): Ensure underflow exception occurs for underflowed
14615 result.
14616 * math/libm-test.inc (catan_test): Add more tests.
14617 (catanh_test): Likewise.
14618
14619 [BZ #15405]
14620 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14621 underflowed result.
14622 * math/s_ccoshf.c (__ccoshf): Likewise.
14623 * math/s_ccoshl.c (__ccoshl): Likewise.
14624 * math/s_csin.c (__csin): Likewise.
14625 * math/s_csinf.c (__csinf): Likewise.
14626 * math/s_csinh.c (__csinh): Likewise.
14627 * math/s_csinhf.c (__csinhf): Likewise.
14628 * math/s_csinhl.c (__csinhl): Likewise.
14629 * math/s_csinl.c (__csinl): Likewise.
14630 * math/libm-test.inc (ccos_test): Add more tests.
14631 (ccosh_test): Likewise.
14632 (csin_test): Likewise.
14633 (csinh_test): Likewise.
14634
146352013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14636
14637 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14638 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14639 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14640 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14641 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14642 powerpc/power5+/fpu folders.
14643 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14644
14645
146462013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14647
14648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14649
146502013-04-25 Joseph Myers <joseph@codesourcery.com>
14651
14652 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14653 additions to variable.
14654 [$(config-machine) = x86_64] (modules-names): Likewise.
14655 ($(objpfx)tst-audit3): Remove dependency.
14656 ($(objpfx)tst-audit3.out): Likewise.
14657 ($(objpfx)tst-audit4): Likewise.
14658 ($(objpfx)tst-audit4.out): Likewise.
14659 ($(objpfx)tst-audit5): Likewise.
14660 ($(objpfx)tst-audit5.out): Likewise.
14661 ($(objpfx)tst-audit6): Likewise.
14662 ($(objpfx)tst-audit6.out): Likewise.
14663 ($(objpfx)tst-audit7): Likewise.
14664 ($(objpfx)tst-audit7.out): Likewise.
14665 (tst-audit3-ENV): Remove variable.
14666 (tst-audit4-ENV): Likewise.
14667 (tst-audit5-ENV): Likewise.
14668 (tst-audit6-ENV): Likewise.
14669 (tst-audit7-ENV): Likewise.
14670 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14671 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14672 addition to variable.
14673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14677 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14678 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14679 tst-audit3, tst-audit4 and tst-audit5.
14680 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14681 tst-audit6 and tst-audit7.
14682 [$(subdir) = elf] (modules-names): Add audit modules for those
14683 tests.
14684 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14685 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14686 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14687 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14688 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14689 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14690 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14691 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14692 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14693 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14694 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14695 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14696 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14697 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14698 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14699 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14700 Likewise.
14701 [$(subdir) = elf && $(config-cflags-avx) = yes]
14702 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14703 [$(subdir) = elf && $(config-cflags-avx) = yes]
14704 (CFLAGS-tst-auditmod4a.c): Likewise.
14705 [$(subdir) = elf && $(config-cflags-avx) = yes]
14706 (CFLAGS-tst-auditmod4b.c): Likewise.
14707 [$(subdir) = elf && $(config-cflags-avx) = yes]
14708 (CFLAGS-tst-auditmod6b.c): Likewise.
14709 [$(subdir) = elf && $(config-cflags-avx) = yes]
14710 (CFLAGS-tst-auditmod6c.c): Likewise.
14711 [$(subdir) = elf && $(config-cflags-avx) = yes]
14712 (CFLAGS-tst-auditmod7b.c): Likewise.
14713 * elf/tst-audit3.c: Move to ...
14714 * sysdeps/x86_64/tst-audit3.c: ... here.
14715 * elf/tst-audit4.c: Move to ...
14716 * sysdeps/x86_64/tst-audit4.c: ... here.
14717 * elf/tst-audit5.c: Move to ...
14718 * sysdeps/x86_64/tst-audit5.c: ... here.
14719 * elf/tst-audit6.c: Move to ...
14720 * sysdeps/x86_64/tst-audit6.c: ... here.
14721 * elf/tst-audit7.c: Move to ...
14722 * sysdeps/x86_64/tst-audit7.c: ... here.
14723 * elf/tst-auditmod3a.c: Move to ...
14724 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14725 * elf/tst-auditmod3b.c: Move to ...
14726 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14727 * elf/tst-auditmod4a.c: Move to ...
14728 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14729 * elf/tst-auditmod4b.c: Move to ...
14730 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14731 * elf/tst-auditmod5a.c: Move to ...
14732 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14733 * elf/tst-auditmod5b.c: Move to ...
14734 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14735 * elf/tst-auditmod6a.c: Move to ...
14736 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14737 * elf/tst-auditmod6b.c: Move to ...
14738 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14739 * elf/tst-auditmod6c.c: Move to ...
14740 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14741 * elf/tst-auditmod7a.c: Move to ...
14742 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14743 * elf/tst-auditmod7b.c: Move to ...
14744 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14745
147462013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14747
14748 [BZ #15366]
14749 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14750 define unconditionally.
14751 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14752 define unconditionally.
14753 (INT8_C, INT16_C, etc.): Likewise.
14754
147552013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14756
14757 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14758 __ehdr_start with hidden visibility.
14759
14760 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14761
147622013-04-24 Carlos O'Donell <carlos@redhat.com>
14763
14764 * math/libm-test.inc (cos_test): Use accurate hex constants.
14765 (sincost_test): Likewise.
14766
147672013-04-24 Joseph Myers <joseph@codesourcery.com>
14768
14769 * math/libm-test.inc (catan_test): Add more tests.
14770 (catanh_test): Likewise.
14771
14772 * math/s_catanf.c (__catanf): Use suffixed floating-point
14773 constants.
14774 * math/s_catanhf.c (__catanhf): Likewise.
14775 * math/s_catanhl.c (__catanhl): Likewise.
14776 * math/s_catanl.c (__catanl): Likewise.
14777
14778 [BZ #15394]
14779 * math/s_catan.c (__catan): Calculate imaginary part of result
14780 with log1p not log unless computing log of number close to 0.
14781 * math/s_catanf.c (__catanf): Likewise.
14782 * math/s_catanl.c (__catanl): Likewise.
14783 * math/s_catanh.c (__catanh): Calculate real part of result with
14784 log1p not log unless computing log of number close to 0.
14785 * math/s_catanhf.c (__catanhf): Likewise.
14786 * math/s_catanhl.c (__catanhl): Likewise.
14787 * math/libm-test.inc (catan_test): Add more tests.
14788 (catanh_test): Likewise.
14789 * sysdeps/i386/fpu/libm-test-ulps: Update.
14790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14791
147922013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14793
14794 * benchtests/Makefile: Mention files in which fast and slow
14795 paths of math functions are implemented.
14796
147972013-04-23 Roland McGrath <roland@hack.frob.com>
14798
14799 * sysdeps/posix/timespec_get.c: New file.
14800
148012013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14802
14803 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14804 POWER.
14805 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14806 for POWER.
14807 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14808 powerpc/power5/fpu folders.
14809 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14810 * benchtests/Makefile: Add modf testcase.
14811 * benchtests/bench-modf.c: New file: Benchmark test for mo
14812
148132013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14814
14815 [BZ #14888]
14816 * time/Makefile (tests): Add tst-strptime-whitespace.
14817 * time/strptime_l.c (get_number): Use ISSPACE.
14818 (__strptime_internal): Likewise.
14819 * time/tst-strptime-whitespace.c: New test case.
14820
148212013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14822
14823 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14824 member.
14825 (_nss_files_init): Set it here.
14826
148272013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14828
14829 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14830 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14831 unsigned.
14832
148332013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14834
14835 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14836
148372013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14838
14839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14840 size just once.
14841
148422013-04-21 David S. Miller <davem@davemloft.net>
14843
14844 * po/ru.po: Update Russion translation from translation project.
14845
148462013-04-17 Adam Conrad <adconrad@0c3.net>
14847
14848 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14849 and setfsgid.
14850
148512013-04-17 Carlos O'Donell <carlos@redhat.com>
14852
14853 * configure.in: Remove i386 configure warning. Remove i386 case.
14854 * configure: Regenerate.
14855 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14856 Add example to error message.
14857 * sysdeps/i386/configure: Regenerate.
14858
148592013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14860
14861 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14862 slowtan.
14863 * benchtests/cos-inputs: New file.
14864 * benchtests/slowcos-inputs: New file.
14865 * benchtests/slowcos.c: New file.
14866 * benchtests/slowtan-inputs: New file.
14867 * benchtests/slowtan.c: New file.
14868 * benchtests/tan-inputs: New file.
14869
148702013-04-16 Roland McGrath <roland@hack.frob.com>
14871
14872 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14873 considered kosher.
14874
148752013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14876
14877 * benchtests/Makefile: Include cppflags-iterator.mk to add
14878 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14879
14880 * Makefile.in (bench-clean): New target.
14881 * benchtests/Makefile (bench-clean): Likewise.
14882
148832013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14884
14885 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14886
148872013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14888
14889 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14890
148912013-04-15 Andreas Schwab <schwab@suse.de>
14892
14893 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14894 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14895 * nscd/pwdcache.c (cache_addpw): Likewise.
14896 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14897 more than recsize.
14898
148992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14900
14901 * benchtests/Makefile (bench): Write all output to
14902 bench-out.tmp together.
14903
149042013-04-15 Andreas Schwab <schwab@suse.de>
14905
14906 * nscd/nscd.c (main): Don't fork again after closing files.
14907
149082013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14909
14910 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14911
14912 * benchtests/Rules (bench-deps): Collect dependencies into a
14913 single variable. Add Makefile to dependencies.
14914 ($(objpfx)bench-%.c): Depend on bench-deps.
14915
149162013-04-12 Roland McGrath <roland@hack.frob.com>
14917 Xavier Roche <roche+kml2@exalead.com>
14918
14919 [BZ #15361]
14920 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14921 just that it's a file descriptor.
14922 * manual/llio.texi (Synchronizing AIO Operations): Update description
14923 for EBADF error from aio_fsync.
14924
149252013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14926
14927 * Rules (bench): Move target definition...
14928 * benchtests/Makefile: ... here.
14929
149302013-04-11 Carlos O'Donell <carlos@redhat.com>
14931
14932 * math/libm-test.inc (cos_test): Fix PI/2 test.
14933 (sincos_test): Likewise.
14934 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14935 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14936
149372013-04-11 Andreas Schwab <schwab@suse.de>
14938
14939 [BZ #13988]
14940 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14941 accept exponent character only when digits were seen.
14942 * stdio-common/Makefile (tests): Add bug26.
14943 * stdio-common/bug26.c: New file.
14944
14945 [BZ #14293]
14946 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14947 non-freeable.
14948
149492013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14950
14951 * Makeconfig (rtld-prefix): Define built linker prefix.
14952 * Rules (run-bench): Use it.
14953 * math/Makefile (run-regen-ulps): Likewise.
14954
14955 * Rules (bench): Remove eval.
14956
149572013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14958 Roland McGrath <roland@hack.frob.com>
14959 Ondrej Bilka <neleai@seznam.cz>
14960
14961 [BZ #15346]
14962 * time/getdate.c: Include ctype.h and alloca.h.
14963 (__getdate_r): Trim leading and trailing spaces of input.
14964 * time/tst-getdate.c (tests): Add tests with leading and
14965 trailing spaces.
14966
149672013-04-08 Roland McGrath <roland@hack.frob.com>
14968
14969 [BZ #14280]
14970 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14971 when computing value.
14972
149732013-04-06 Carlos O'Donell <carlos@redhat.com>
14974
14975 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14976 Use testrun.sh to run libm tests.
14977
14978 [BZ #15309]
14979 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14980
149812013-04-06 Marko Myllynen <myllynen@redhat.com>
14982
14983 [BZ #15264]
14984 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14985
149862013-04-06 Carlos O'Donell <carlos@redhat.com>
14987
14988 * Makefile.in (regen-ulps): New target.
14989 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14990 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14991 [ifneq (no,$(PERL)] (regen-ulps): New target.
14992 [ifeq (no,$(PERL)] (regen-ulps): New target.
14993 * math/libm-test.inc (ulps_file_name): Define.
14994 (output_dir): New variable.
14995 (options): Add "output-dir" option.
14996 (parse_opt): Handle 'o' case.
14997 (main): If output_dir is non-NULL use it as a prefix
14998 otherwise use "".
14999 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15000
150012013-04-06 Carlos O'Donell <carlos@redhat.com>
15002
15003 [BZ #10060, #10062]
15004 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15005 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15006 fail configure if __sync_val_compare_and_swap is not inlined.
15007 * sysdeps/i386/configure: Regenerate.
15008 * configure.in: Build for i686 when configured for i386.
15009 * configure: Regenerate.
15010 * README: Remove i386 reference.
15011
150122013-04-06 Carlos O'Donell <carlos@redhat.com>
15013
15014 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15015 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15016
150172013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15018
15019 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15020 (lmsnanval): New variables.
15021 (F): Add conversion tests.
15022 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15023 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15024
15025 * stdio-common/tstdiomisc.c (F): Properly collect individual
15026 tests' results.
15027
15028 [BZ #14686, #15336]
15029 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15030 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15031 Instead, use input NaN values or generate a qNaN by arithmetic
15032 operation. Also fix bugs to comply with the standard.
15033 * math/libm-test.inc (remainder_test): Add more tests.
15034
15035 [BZ #15335, #15342]
15036 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15037 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15038 input NaN values or generate a qNaN by arithmetic operation.
15039
15040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15041 unreachable code.
15042
15043 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15044 definitions.
15045
150462013-04-03 Joseph Myers <joseph@codesourcery.com>
15047
15048 [BZ #14478]
15049 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15050 underflowed result.
15051 * math/s_cexpf.c (__cexpf): Likewise.
15052 * math/s_cexpl.c (__cexpl): Likewise.
15053 * math/libm-test.inc (cexp_test): Add more tests.
15054
150552013-04-03 Andreas Schwab <schwab@suse.de>
15056
15057 [BZ #15330]
15058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15059 order arrays from heap if bigger than alloca cutoff.
15060
150612013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15062
15063 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15064 (SNAN_TESTS_double): Refer to GCC PR56831.
15065 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15066 GCC PR56828.
15067
150682013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15069
15070 * Rules (bench): Move bench.out after the run is complete.
15071
15072 * Rules (bench): Echo currently running benchmark.
15073
15074 * benchtests/Makefile (bench): Add atan and slowatan.
15075 * benchtests/atan-inputs: New file.
15076 * benchtests/slowatan-inputs: New file.
15077 * benchtests/slowatan.c: New file.
15078
15079 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15080 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15081 its value.
15082
15083 [BZ #15305]
15084 * sysdeps/unix/sysv/linux/kernel-features.h
15085 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15086 __ASSUME_XFS_RESTRICTED_CHOWN.
15087 * sysdeps/unix/sysv/linux/pathconf.c
15088 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15089 Save and restore errno.
15090
150912013-04-02 Joseph Myers <joseph@codesourcery.com>
15092
15093 [BZ #15327]
15094 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15095 arguments using __kernel_casinh.
15096 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15097 arguments using __kernel_casinhf.
15098 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15099 arguments using __kernel_casinhl.
15100 * math/libm-test.inc (cacosh_test): Add more tests.
15101 * sysdeps/i386/fpu/libm-test-ulps: Update.
15102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15103
151042013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15105
15106 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15108
15109 * bench/Makefile (bench): Add sin and slowsin.
15110 * benchtests/sin-inputs: New file.
15111 * benchtests/slowsin-inputs: New file.
15112 * benchtests/slowsin.c: New file.
15113
15114 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15115 (bench): Add slowexp and slowpow.
15116 (exp-ITER): Increase iterations.
15117 (pow-ITER): Likewise.
15118 * benchtests/exp-inputs: Change input.
15119 * benchtests/pow-inputs: Likewise.
15120 * benchtests/slowexp-inputs: New file.
15121 * benchtests/slowexp.c: New file.
15122 * benchtests/slowpow-inputs: New file.
15123 * benchtests/slowpow.c: New file.
15124
151252013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15126
15127 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15128 instructions.
15129 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15130 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15131 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15132 * benchtests/Makefile: Add rint benchtest.
15133 * benchtests/rint-inputs: Input for rint benchtest.
15134
151352013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15136
15137 * Versions.def (libm): Add GLIBC_2.18.
15138 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15139 hidden libm prototypes.
15140 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15141 * math/Makefile (libm-calls): Add s_issignaling.
15142 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15143 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15144 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15145 declaration.
15146 * math/math.h [__USE_GNU] (issignaling): New macro.
15147 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15148 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15150 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15151 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15152 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15153 * manual/arith.texi (issignaling): New section.
15154 * manual/libm-err-tab.pl (@all_functions): Update comment.
15155 * math/gen-libm-test.pl (parse_args): Apply special handling for
15156 issignaling.
15157 * math/libm-test.inc (print_float, issignaling_test): New
15158 functions.
15159 (check_float_internal): Add issignaling checks.
15160 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15161 default definition.
15162 * sysdeps/powerpc/math-tests.h: New file.
15163 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15164 tests.
15165 * math/test-snan.c (TEST_FUNC): Likewise.
15166
151672013-03-30 David S. Miller <davem@davemloft.net>
15168
15169 * po/de.po: Update from translation team.
15170
151712013-03-30 Joseph Myers <joseph@codesourcery.com>
15172
15173 [BZ #10357]
15174 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15175 imaginary part less than 1.0 and real part less than 0.5
15176 specially.
15177 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15178 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15179 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15180 (cacos_test): Add more tests.
15181 (casin_test): Likewise.
15182 (casinh_test): Likewise.
15183 * sysdeps/i386/fpu/libm-test-ulps: Update.
15184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15185
151862013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15187
15188 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15189 ONE with its value.
15190
15191 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15192 (__pow_mp): Replace ONE and MONE with their values.
15193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15195 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15196 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15197 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15198 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15199
15200 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15201
15202 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15203 (__pow_mp): Replace ZERO and MZERO with their values.
15204 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15205 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15206 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15208 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15209 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15210 (__sqr): Likewise.
15211
15212 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15213
15214 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15215
152162013-03-28 Roland McGrath <roland@hack.frob.com>
15217
15218 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15219 Declare with __attribute__ ((weak)).
15220 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15221 Call __call_tls_dtors only if it's not NULL.
15222
152232013-03-28 Roland McGrath <roland@hack.frob.com>
15224
15225 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15226 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15227 magic __ehdr_start linker symbol if it's defined.
15228 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15229 them up here if it was already done.
15230
15231 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15232 (_dl_aux_init): Use const in cast when setting it.
15233 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15234 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15235 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15236
15237 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15238 Declare them here.
15239 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15240 * csu/libc-tls.c: Nor here.
15241 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15242
15243 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15244 (__libc_message): Never call vsyslog.
15245
152462013-03-28 Alan Modra <amodra@gmail.com>
15247
15248 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15249 Define as empty.
15250 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15251 Likewise.
15252
152532013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15254
15255 [BZ #15214]
15256 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15257 underflow.
15258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15259
152602013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15261
15262 [BZ #15304]
15263 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15264 Don't add gid passed as argument.
15265
15266 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15267
152682013-03-27 Joseph Myers <joseph@codesourcery.com>
15269
15270 [BZ #15307]
15271 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15272 imaginary part between 1.0 and 1.5 and real part less than 0.5
15273 specially.
15274 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15275 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15276 * math/libm-test.inc (cacos_test): Add more tests.
15277 (casin_test): Likewise.
15278 (casinh_test): Likewise.
15279 * sysdeps/i386/fpu/libm-test-ulps: Update.
15280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15281
152822013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15283
15284 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15285 constants.
15286 (norm): Likewise.
15287 (denorm): Likewise.
15288 (__dbl_mp): Likewise.
15289 (add_magnitudes): Likewise.
15290 (sub_magnitudes): Likewise.
15291 (__add): Likewise.
15292 (__sub): Likewise.
15293 (__mul): Likewise.
15294 (__sqr): Likewise.
15295 (__inv): Likewise.
15296 (__dvd): Likewise.
15297
15298 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15299 commented code.
15300 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15301 (__dubcos): Likewise.
15302 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15303 (__ieee754_acos): Likewise.
15304 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15305 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15306 (__exp1): Likewise.
15307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15309 (log1): Likewise.
15310 (my_log2): Likewise.
15311 (checkint): Likewise.
15312 * sysdeps/ieee754/dbl-64/e_remainder.c
15313 (__ieee754_remainder): Likewise.
15314 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15315 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15316 (bsloww): Likewise.
15317 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15318
15319 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15320 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15321 MANTISSA_STORE_T to store computations on mantissa. Use
15322 macros for rounding and division.
15323 (denorm): Likewise.
15324 (__dbl_mp): Likewise.
15325 (add_magnitudes): Likewise.
15326 (sub_magnitudes): Likewise.
15327 (__mul): Likewise.
15328 (__sqr): Likewise.
15329 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15330 powers of two in terms of TWOPOW macro.
15331 (mp_no): Make type of mantissa as MANTISSA_T.
15332 [!RADIXI]: Define RADIXI.
15333 [!TWO52]: Define TWO52.
15334 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15335
153362013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15337
15338 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15339 llroundl symbol when building for PPC32.
15340
153412013-03-24 Mark H Weaver <mhw@netris.org>
15342
15343 * manual/arith.texi (Normalization Functions): Fix prototypes for
15344 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15345
153462013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15347
15348 [BZ #13889]
15349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15350 high value to check if expl overflow.
15351 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15352 to check for underflow and overflow.
15353 * math/libm-test.inc: Add exp test.
15354
153552013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15356
15357 [BZ #11120]
15358 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15359 with NOT_IN_libc.
15360
153612013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15362
15363 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15364 symbol.
15365
153662013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15367
15368 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15369 wrap blocks consisting of several statements.
15370
15371 * sysdeps/generic/math-tests.h: New file.
15372 * sysdeps/i386/fpu/math-tests.h: Likewise.
15373 * math/test-snan.c: Include it.
15374 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15375
153762013-03-21 Joseph Myers <joseph@codesourcery.com>
15377
15378 [BZ #15285]
15379 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15380 (__ieee754_j0l): Do not improve calculations using cos of twice
15381 input for inputs above LDBL_MAX / 2.0L.
15382 (__ieee754_y0l): Likewise.
15383 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15384 (__ieee754_j1l): Do not improve calculations using cos of twice
15385 input for inputs above LDBL_MAX / 2.0L.
15386 (__ieee754_y1l): Likewise.
15387 * math/libm-test.inc (j0_test): Add another test.
15388 (j1_test): Likewise.
15389 (y0_test): Likewise.
15390 (y1_test): Likewise.
15391 * sysdeps/i386/fpu/libm-test-ulps: Update.
15392
153932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15394
15395 * Rules ($(objpfx)bench-%.c): Include code from a C source
15396 file.
15397
153982013-03-21 Joseph Myers <joseph@codesourcery.com>
15399
15400 [BZ #15287]
15401 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15402 imaginary part 1.0 and real part less than 0.5 specially.
15403 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15404 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15405 * math/libm-test.inc (cacos_test): Add more tests.
15406 (casin_test): Likewise.
15407 (casinh_test): Likewise.
15408 * sysdeps/i386/fpu/libm-test-ulps: Update.
15409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15410
154112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15412
15413 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15414 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15415
154162013-03-20 Joseph Myers <joseph@codesourcery.com>
15417
15418 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15419 * config.make.in (config-cflags-sse4): Remove variable.
15420 (config-cflags-avx): Likewise.
15421 (config-cflags-sse2avx): Likewise.
15422 (config-cflags-novzeroupper): Likewise.
15423 (config-asflags-i686): Likewise.
15424 (have-mfma4): Likewise.
15425 (have-as-vis3): Likewise.
15426 (MIG): Likewise.
15427 * configure.in (MIG): Do not AC_SUBST.
15428 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15429 (libc_cv_cc_sse4): Do not AC_SUBST.
15430 (libc_cv_cc_avx): Likewise.
15431 (libc_cv_cc_sse2avx): Likewise.
15432 (libc_cv_cc_novzeroupper): Likewise.
15433 (libc_cv_cc_fma4): Likewise.
15434 (libc_cv_as_i686): Likewise.
15435 (libc_cv_sparc_as_vis3): Likewise.
15436 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15437 LIBC_CONFIG_VAR.
15438 (config-asflags-i686): Likewise.
15439 (config-cflags-avx): Likewise.
15440 (config-cflags-sse2avx): Likewise.
15441 (have-mfma4): Likewise.
15442 (config-cflags-novzeroupper): Likewise.
15443 * sysdeps/mach/configure.in (MIG): Likewise.
15444 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15445 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15446 LIBC_CONFIG_VAR.
15447 (config-cflags-avx): Likewise.
15448 (config-cflags-sse2avx): Likewise.
15449 (have-mfma4): Likewise.
15450 (config-cflags-novzeroupper): Likewise.
15451 * configure: Regenerated.
15452 * sysdeps/i386/configure: Likewise.
15453 * sysdeps/mach/configure: Likewise.
15454 * sysdeps/sparc/configure: Likewise.
15455 * sysdeps/x86_64/configure: Likewise.
15456
154572013-03-20 Roland McGrath <roland@hack.frob.com>
15458
15459 [BZ #14812]
15460 * locale/programs/localedef.c (options): Put N_ translation marker
15461 on argument names, not just descriptions.
15462
154632013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15464
15465 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15466
154672013-03-20 Ondřej Bílka <neleai@seznam.cz>
15468
15469 [BZ #14176]
15470 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15471
154722013-03-19 Roland McGrath <roland@hack.frob.com>
15473
15474 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15475 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15476 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15477 [!BEFORE_ABORT] (before_abort): New function.
15478 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15479 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15480 (writev_for_fatal): New function.
15481 (WRITEV_FOR_FATAL): New macro; call that.
15482 (backtrace_and_maps): New function.
15483 (BEFORE_ABORT): New macro; call that.
15484 (struct str_list): Type removed.
15485 (__libc_message, __libc_fatal): Functions removed.
15486 Include <sysdeps/posix/libc_fatal.c> instead.
15487
154882013-03-19 Joseph Myers <joseph@codesourcery.com>
15489
15490 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15491 constants.
15492 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15493 double constants.
15494
154952013-03-19 Andreas Schwab <schwab@suse.de>
15496
15497 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15498 * sysdeps/gnu/configure: Regenerate.
15499
15500 * configure.in: Substitute libc_cv_rtlddir.
15501 * configure: Regenerate.
15502 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15503 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15504 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15505 * elf/Makefile (install-others, CFLAGS-interp.c)
15506 (ldso_install, common-ldd-rewrite): Likewise.
15507 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15508 $(inst_slibdir)/$(rtld-installed-name).
15509 * scripts/rellns-sh: Add -p option.
15510 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15511 for source.
15512
155132013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15514
15515 * manual/nptl.texi: Renamed to ...
15516 * manual/threads.texi: ... this.
15517 * manual/Makefile (chapters): Update.
15518
155192013-03-18 Roland McGrath <roland@hack.frob.com>
15520
15521 [BZ #14812]
15522 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15523 on argument names, not just descriptions.
15524 * malloc/memusagestat.c (options): Likewise.
15525 * nss/getent.c (options): Likewise.
15526
155272013-03-18 Benno Schulenberg <bensberg@justemail.net>
15528
15529 [BZ #14812]
15530 * iconv/iconv_prog.c (options): Put N_ translation marker
15531 on argument names, not just descriptions.
15532 * iconv/iconvconfig.c (options): Likewise.
15533
155342013-03-18 Ondrej Bilka <neleai@seznam.cz>
15535
15536 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15537 implementation which is faster on all x86_64 architectures.
15538 Tested on AMD, Intel Nehalem, SNB, IVB.
15539 * sysdeps/x86_64/strnlen.S: Likewise.
15540
15541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15542 Remove all multiarch strlen and strnlen versions.
15543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15544 Remove strlen and strnlen related parts.
15545
15546 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15547 Inline strlen part.
15548 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15549
15550 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15551 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15552 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15553 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15554 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15555 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15556
155572013-03-17 Carlos O'Donell <carlos@redhat.com>
15558
15559 * manual/memory.texi (Malloc Tunable Parameters):
15560 Sort parameters alphabetically. Add comments for missing entries.
15561
155622013-03-17 David S. Miller <davem@davemloft.net>
15563
15564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15565
155662013-03-16 Joseph Myers <joseph@codesourcery.com>
15567
15568 [BZ #15283]
15569 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15570 for arguments at most half maximum finite value.
15571 * math/libm-test.inc (j0_test): Add more tests.
15572 (j1_test): Likewise.
15573 (y0_test): Likewise.
15574 (y1_test): Likewise.
15575 * sysdeps/i386/fpu/libm-test-ulps: Update.
15576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15577
15578 [BZ #14155]
15579 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15580 1 / x and functions P and Q for arguments above 0x1p256L.
15581 (__ieee754_y0l): Likewise.
15582 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15583 (__ieee754_y1l): Likewise.
15584 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15585 (j1_test): Likewise.
15586 (y0_test): Likewise.
15587 (y1_test): Likewise.
15588
155892013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15590
15591 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15592 variable.
15593
155942013-03-15 Roland McGrath <roland@hack.frob.com>
15595
15596 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15597 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15598 zero since it's initialized to EXEC_PAGESIZE.
15599
15600 * sysdeps/unix/sysv/linux/ldsodefs.h
15601 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15602 * sysdeps/generic/ldsodefs.h: ... here.
15603
156042013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15605
15606 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15607
15608 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15609 math/test-snan.c.
15610 * math/test-snan.c: Renamed from
15611 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15612 * math/Makefile (tests): Add test-snan.
15613 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15614 test-powerpc-snan.
15615
15616 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15617 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15618 functions.
15619 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15620 __builtin_nan family of functions.
15621 * math/libm-test.inc (initialize): Initialize qnan_value with
15622 __builtin_nan family of functions.
15623 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15624 Remove variables.
15625 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15626 Remove functions.
15627 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15628 storage class. Initialize qNaN_var and sNaN_var with
15629 __builtin_nan and __builtin_nans families of functions,
15630 respectively.
15631
15632 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15633 (sqrt_test): Remove duplicate test with qNaN input.
15634 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15635 (round_test, signbit_test, significand_test): Note missing +/-Inf
15636 as well as qNaN tests.
15637
15638 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15639 qNaN_var. Fix a few strings, too.
15640 * math/libm-test.inc (nan_value): Rename to qnan_value.
15641 * math/gen-libm-test.pl (%beautify): Adjust to that.
15642 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15643 * math/test-misc.c (main): Likewise.
15644 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15645 to __qnan_bytes, and __qnan_union, respectively.
15646 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15647 Likewise.
15648 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15649 and lqnanval, respectively.
15650 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15651 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15652 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15653 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15654
15655 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15656 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15657 doubles.
15658
15659 * math/test-misc.c (main): Fix copy'n'pastos.
15660 * misc/tst-efgcvt.c (special): Likewise.
15661
15662 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15663 Remove declarations.
15664
156652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15666
15667 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15668 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15669 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15670 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15671
156722013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15673
15674 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15675 macro to return vdso values correctly in IFUNC implementations.
15676 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15677 Optimization by using IFUNC.
15678
156792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15680 Richard Henderson <rth@redhat.com>
15681 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15682
15683 * Makefile.in (bench): New target.
15684 * NEWS: Mention the benchmark framework.
15685 * Rules (bench): Likewise.
15686 (binaries-bench): Generate binaries for functions to
15687 benchmark.
15688 * benchtests/Makefile: New makefile for benchmark tests.
15689 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15690 programs.
15691 * benchtests/exp-inputs: New input file for EXP function.
15692 * benchtests/pow-inputs: New input file for POW function.
15693 * scripts/bench.pl: New script to generate source files for
15694 benchmark programs.
15695
156962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15697
15698 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15699 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15700 computations on mantissa. Use macros for rounding and
15701 division.
15702 (denorm): Likewise.
15703 (__dbl_mp): Likewise.
15704 (add_magnitudes): Likewise.
15705 (sub_magnitudes): Likewise.
15706 (__mul): Likewise.
15707 (__sqr): Likewise.
15708 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15709 powers of two in terms of TWOPOW macro.
15710 (mp_no): Make type of mantissa as MANTISSA_T.
15711 [!RADIXI]: Define RADIXI.
15712 [!TWO52]: Define TWO52.
15713 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15714
15715 * manual/nptl.texi (cindex): Modify threads to pthreads.
15716
157172013-03-15 Joseph Myers <joseph@codesourcery.com>
15718
15719 * sysdeps/x86_64/preconfigure: Regenerated.
15720
157212013-03-14 Joseph Myers <joseph@codesourcery.com>
15722
15723 [BZ #14155]
15724 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15725 0x1p28 and above.
15726 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15727 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15728 0x1p28 and above.
15729 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15730 * math/libm-test.inc (j0_test): Do not allow one spurious
15731 underflow exception.
15732 (y1_test): Likewise.
15733
157342013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15735
15736 * manual/Makefile (chapters): Add nptl.
15737 * manual/debug.texi (Debugging Support): Add link to Threads
15738 chapter.
15739 * manual/nptl.texi: New file.
15740
15741 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15742
157432013-03-14 Petr Baudis <pasky@ucw.cz>
15744
15745 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15746 for non-NULL pointer before the memory validity test. Pointed
15747 out by Holger Brunck <holger.brunck@keymile.com>.
15748
157492013-03-13 Andreas Schwab <schwab@suse.de>
15750
15751 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15752 instead of .os.
15753
157542013-03-13 Joseph Myers <joseph@codesourcery.com>
15755
15756 * timezone/zic.c: Update from tzcode 2013b.
15757
157582013-03-12 Carlos O'Donell <carlos@redhat.com>
15759
15760 * manual/install.texi (Configuring and compiling):
15761 Mention i686 and i586.
15762 * INSTALL: Regenerate.
15763
157642013-03-12 Roland McGrath <roland@hack.frob.com>
15765
15766 * sysdeps/init_array/elf-init.c: New file.
15767 * csu/elf-init.c
15768 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15769 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15770
15771 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15772 __gmon_start__ as global, but as static with a .preinit_array pointer.
15773 * sysdeps/init_array/gmon-start.c: New file. Use that.
15774 * sysdeps/init_array/crti.S: New file, empty except for comments.
15775 * sysdeps/init_array/crtn.S: Likewise.
15776
157772013-03-11 Ondřej Bílka <neleai@seznam.cz>
15778
15779 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15780 definining bcopy.
15781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15782 Remove Prefer_SSE_for_memop.
15783 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15784 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15785 HAS_PREFER_SSE_FOR_MEMOP.
15786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15787 memset-x86-64.
15788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15789 Remove bzero, memset ifunc support.
15790 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15791 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15792 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15793 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15794
157952013-03-11 Andreas Schwab <schwab@suse.de>
15796
15797 [BZ #15234]
15798 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15799 by SHLIB_COMPAT.
15800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15801 (GLIBC_2.16): Remove pthread_atfork.
15802
158032013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15804
15805 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15806 (ptestcases.h): Likewise.
15807
158082013-03-08 Roland McGrath <roland@hack.frob.com>
15809
15810 * Makeconfig ($(common-objpfx)config.status): Depend on
15811 sysdeps/*/preconfigure{,.in} too.
15812
158132013-03-08 Joseph Myers <joseph@codesourcery.com>
15814
15815 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15816 (__free_hook): Use void * instead of __malloc_ptr_t.
15817 (__malloc_hook): Likewise.
15818 (__realloc_hook): Likewise.
15819 (__memalign_hook): Likewise.
15820 (__after_morecore_hook): Likewise.
15821 * malloc/arena.c (save_malloc_hook): Likewise.
15822 (save_free_hook): Likewise.
15823 * malloc/hooks.c (malloc_hook_ini): Likewise.
15824 (realloc_hook_ini): Likewise.
15825 (memalign_hook_ini): Likewise.
15826 * malloc/malloc.c (malloc_hook_ini): Likewise.
15827 (realloc_hook_ini): Likewise.
15828 (memalign_hook_ini): Likewise.
15829 (__free_hook): Likewise.
15830 (__malloc_hook): Likewise.
15831 (__realloc_hook): Likewise.
15832 (__memalign_hook): Likewise.
15833 (__libc_malloc): Likewise.
15834 (__libc_free): Likewise.
15835 (__libc_realloc): Likewise.
15836 (__libc_memalign): Likewise.
15837 (__libc_valloc): Likewise.
15838 (__libc_pvalloc): Likewise.
15839 (__libc_calloc): Likewise.
15840 (__posix_memalign): Likewise.
15841 * malloc/morecore.c (__sbrk): Likewise.
15842 (__default_morecore): Likewise.
15843
15844 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15845
15846 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15847 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15848 __malloc_ptrdiff_t.
15849
15850 * malloc/malloc.h (__malloc_size_t): Remove macro.
15851 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15852 __malloc_size_t.
15853 (old_memalign_hook): Likewise.
15854 (old_realloc_hook): Likewise.
15855 (struct hdr): Likewise.
15856 (flood): Likewise.
15857 (mallochook): Likewise.
15858 (memalignhook): Likewise.
15859 (reallochook): Likewise.
15860 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15861 (tr_old_realloc_hook): Likewise.
15862 (tr_old_memalign_hook): Likewise.
15863 (tr_mallochook): Likewise.
15864 (tr_reallochook): Likewise.
15865 (tr_memalignhook): Likewise.
15866
158672013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15868
15869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15870 default_ldbl_pack and using as default implementation.
15871 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15872 implementation.
15873 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15874 redundant definition.
15875 (ldbl_insert_mantissa): Likewise.
15876 (ldbl_canonicalize): Likewise.
15877 (ldbl_nearbyint): Likewise.
15878 (ldbl_pack): Rename to ldbl_pack_ppc.
15879 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15880 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15881 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15882
158832013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15884
15885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15886 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15887 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15888 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15890 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15891 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15892 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15893
158942013-03-07 Andreas Jaeger <aj@suse.de>
15895
15896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15897 bits/mman-linux.h.
15898
158992013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15900
15901 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15902 Include mpa.h and declare __MPEXP.
15903 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15904 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15905 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15906 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15907 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15908 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15909 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15910
15911 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15912 (__slowpow): Use long double EXPL and LOGL functions to
15913 compute POW.
15914 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15915 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15916 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15918 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15920
15921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15922 intermediate variable to calculate exponent.
15923 (__sqr): Likewise.
15924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15925 Likewise.
15926 (__sqr): Likewise.
15927
15928 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15929 [!NO__SQR]: Define __sqr.
15930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15931 and NO__SQR. Remove all code except __mul and __sqr. Include
15932 sysdeps/ieee754/dbl-64/mpa.c.
15933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15934
15935 [BZ #12723]
15936 * posix/Makefile (tests): Add tst-pathconf.
15937 * posix/tst-pathconf.c: New test case.
15938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15939 _PC_PIPE_BUF.
15940 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15941
159422013-03-06 Patsy Franklin <pfrankli@redhat.com>
15943
15944 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15945
159462013-03-06 Andreas Jaeger <aj@suse.de>
15947
15948 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15949 definition via __MAP_ANONYMOUS.
15950
15951 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15952 it's not part of Linux headers.
15953
15954 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15955 (MAP_HUGE_MASK): Define.
15956
15957 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15958 Define.
15959 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15961 Define.
15962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15963 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15964 Define.
15965 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15967 Define.
15968 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15969
15970 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15971 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15972 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15973 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15974 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15975 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15976
15977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15978 Handle f2fs.
15979
15980 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15981 Handle f2fs and efivarfs.
15982
15983 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15984 f2fs.
15985
15986 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15987 (EFIVARFS_MAGIC): Add.
15988 (F2FS_LINK_MAX): Add.
15989
159902013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15991
15992 * stdio-common/vfprintf.c: Replace __builtin_expect with
15993 __glibc_unlikely.
15994
159952013-03-06 Joseph Myers <joseph@codesourcery.com>
15996
15997 [BZ #13550]
15998 * sysdeps/generic/bp-sym.h: Remove file.
15999 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16000 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16001 <bp-sym.h> and <bp-asm.h>.
16002 (__longjmp): Don't use BP_SYM.
16003 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16004 and <bp-asm.h>.
16005 (memcpy): Don't use BP_SYM.
16006 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16007 <bp-sym.h> and <bp-asm.h>.
16008 (memcpy): Don't use BP_SYM.
16009 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16010 <bp-asm.h>.
16011 (memcpy): Don't use BP_SYM.
16012 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16013 <bp-asm.h>.
16014 (memset): Don't use BP_SYM.
16015 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16016 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16017 (__bzero): Don't use BP_SYM.
16018 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16019 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16020 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16021 <bp-sym.h> and <bp-asm.h>.
16022 (memcmp): Don't use BP_SYM. Remove comment about bounded
16023 pointers.
16024 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16025 <bp-sym.h> and <bp-asm.h>.
16026 (memcpy): Don't use BP_SYM.
16027 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16028 <bp-sym.h> and <bp-asm.h>.
16029 (memset): Don't use BP_SYM.
16030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16032 (__bzero): Don't use BP_SYM.
16033 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16034 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16036 <bp-sym.h> and <bp-asm.h>.
16037 (strncmp): Don't use BP_SYM. Remove comment about bounded
16038 pointers.
16039 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16040 <bp-sym.h> and <bp-asm.h>.
16041 (memcpy): Don't use BP_SYM.
16042 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16043 <bp-sym.h> and <bp-asm.h>.
16044 (memset): Don't use BP_SYM.
16045 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16046 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16047 (__bzero): Don't use BP_SYM.
16048 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16049 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16051 <bp-sym.h> and <bp-asm.h>.
16052 (__memchr): Don't use BP_SYM.
16053 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16054 <bp-sym.h> and <bp-asm.h>.
16055 (memcmp): Don't use BP_SYM. Remove comment about bounded
16056 pointers.
16057 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16058 <bp-sym.h> and <bp-asm.h>.
16059 (memcpy): Don't use BP_SYM.
16060 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16061 <bp-sym.h> and <bp-asm.h>.
16062 (__mempcpy): Don't use BP_SYM.
16063 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16064 <bp-sym.h> and <bp-asm.h>.
16065 (__memrchr): Don't use BP_SYM.
16066 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16067 <bp-sym.h> and <bp-asm.h>.
16068 (memset): Don't use BP_SYM.
16069 (__bzero): Likewise.
16070 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16071 <bp-sym.h> and <bp-asm.h>.
16072 (__rawmemchr): Don't use BP_SYM.
16073 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16074 <bp-sym.h> and <bp-asm.h>.
16075 (__STRCMP): Don't use BP_SYM.
16076 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16077 <bp-sym.h> and <bp-asm.h>.
16078 (strchr): Don't use BP_SYM.
16079 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16080 <bp-sym.h> and <bp-asm.h>.
16081 (__strchrnul): Don't use BP_SYM.
16082 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16083 <bp-sym.h> and <bp-asm.h>.
16084 (strlen): Don't use BP_SYM.
16085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16086 <bp-sym.h> and <bp-asm.h>.
16087 (strncmp): Don't use BP_SYM. Remove comment about bounded
16088 pointers.
16089 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16090 <bp-sym.h> and <bp-asm.h>.
16091 (__strnlen): Don't use BP_SYM.
16092 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16093 <bp-sym.h> and <bp-asm.h>.
16094 (__GI__setjmp): Don't use BP_SYM.
16095 (_setjmp): Likewise.
16096 (__sigsetjmp): Likewise.
16097 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16098 (L(start_addresses)): Don't use BP_SYM.
16099 (_start): Likewise.
16100 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16101 <bp-asm.h>.
16102 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16103 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16104 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16105 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16106 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16107 <bp-asm.h>.
16108 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16109 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16110 about bounded pointers.
16111 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16112 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16113 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16114 <bp-asm.h>.
16115 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16116 about bounded pointers. Remove GKM FIXME comments.
16117 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16118 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16119 <bp-asm.h>.
16120 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16121 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16122 Remove GKM FIXME comments.
16123 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16124 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16125 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16126 <bp-asm.h>.
16127 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16128 about bounded pointers. Remove GKM FIXME comment.
16129 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16130 and <bp-asm.h>.
16131 (strncmp): Don't use BP_SYM. Remove comment about bounded
16132 pointers.
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16134 <bp-sym.h> and <bp-asm.h>.
16135 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16137 <bp-sym.h> and <bp-asm.h>.
16138 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16139 comment.
16140
161412013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16142
16143 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16144 call free(NULL).
16145
161462013-03-05 David S. Miller <davem@davemloft.net>
16147
16148 * po/es.po: Update from translation team.
16149
161502013-03-05 Andreas Jaeger <aj@suse.de>
16151
16152 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16153 <bits/mman-linux.h>.
16154 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16155 is fine.
16156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16157 <bits/mman-linux.h> to end of file.
16158 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16159 is fine.
16160 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16161 <bits/mman-linux.h> to end of file.
16162 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16163 is fine.
16164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16165 <bits/mman-linux.h> to end of file.
16166
16167 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16168 (MCL_CURRENT, MCL_FUTURE): Define here.
16169
161702013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16171
16172 [BZ #15232]
16173 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16174 attribute_hidden.
16175 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16176
161772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16178
16179 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16180 fourth parameter needed for rt_sigprocmask syscall.
16181 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16182 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16183 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16184 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16185 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16186 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16187
161882013-03-04 Joseph Myers <joseph@codesourcery.com>
16189
16190 [BZ #13550]
16191 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16192 comment about bounded pointers.
16193 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16194 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16195
161962013-03-04 Andreas Jaeger <aj@suse.de>
16197
16198 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16199 common definitions.
16200
16201 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16202 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16203 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16207
162082013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16209
16210 [BZ #15055]
16211 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16212 __ieee754_sqrl instead of __sqrl.
16213
162142013-03-01 Joseph Myers <joseph@codesourcery.com>
16215
16216 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16217 * sysdeps/powerpc/fpu_control.h: ... here.
16218 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16219 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16220 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16221 * sysdeps/powerpc/bits/mathinline.h: ... here.
16222
162232013-03-01 Roland McGrath <roland@hack.frob.com>
16224
16225 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16226 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16227 to just [NEED_DL_SYSINFO_DSO].
16228 * elf/dl-support.c: Likewise.
16229 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16230 * elf/rtld.c (dl_main): Likewise.
16231 * elf/setup-vdso.h (setup_vdso): Likewise.
16232 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16233 * sysdeps/unix/sysv/linux/dl-sysdep.c
16234 (_dl_discover_osversion): Likewise.
16235
162362013-03-01 Carlos O'Donell <carlos@redhat.com>
16237
16238 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16239 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16240
162412013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16242
16243 * NEWS: Mention libm performance improvements and non-x86 PI
16244 futex support.
16245
16246 * csu/libc-start.c (__pthread_initialize_minimal): Change
16247 function arguments.
16248 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16249
162502013-02-28 Joseph Myers <joseph@codesourcery.com>
16251
16252 [BZ #13550]
16253 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16254 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16255 <bp-sym.h> and <bp-asm.h>.
16256 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16257 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16258 and <bp-asm.h>.
16259 (memcpy): Don't use BP_SYM.
16260 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16261 <bp-asm.h>.
16262 (__mpn_add_n): Don't use BP_SYM.
16263 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16264 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16265 and <bp-asm.h>.
16266 (__mpn_addmul_1): Don't use BP_SYM.
16267 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16268 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16269 <bp-sym.h>.
16270 (_setjmp): Don't use BP_SYM.
16271 (__novmx_setjmp): Likewise.
16272 (__GI__setjmp): Likewise.
16273 (__vmx_setjmp): Likewise.
16274 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16275 <bp-sym.h>.
16276 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16277 (__bzero): Don't use BP_SYM.
16278 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16279 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16280 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16281 <bp-sym.h> and <bp-asm.h>.
16282 (memcpy): Don't use BP_SYM.
16283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16284 <bp-sym.h> and <bp-asm.h>.
16285 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16286 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16287 <bp-sym.h> and <bp-asm.h>.
16288 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16289 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16290 <bp-asm.h>.
16291 (__mpn_lshift): Don't use BP_SYM.
16292 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16293 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16294 <bp-asm.h>.
16295 (memset): Don't use BP_SYM.
16296 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16297 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16298 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16299 <bp-asm.h>.
16300 (__mpn_mul_1): Don't use BP_SYM.
16301 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16303 <bp-sym.h> and <bp-asm.h>.
16304 (memcmp): Don't use BP_SYM.
16305 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16306 <bp-sym.h> and <bp-asm.h>.
16307 (memcpy): Don't use BP_SYM.
16308 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16309 <bp-sym.h> and <bp-asm.h>.
16310 (memset): Don't use BP_SYM.
16311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16312 <bp-sym.h> and <bp-asm.h>.
16313 (strncmp): Don't use BP_SYM.
16314 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16315 <bp-sym.h> and <bp-asm.h>.
16316 (memcpy): Don't use BP_SYM.
16317 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16318 <bp-sym.h> and <bp-asm.h>.
16319 (memset): Don't use BP_SYM.
16320 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16321 <bp-sym.h> and <bp-asm.h>.
16322 (__memchr): Don't use BP_SYM.
16323 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16324 <bp-sym.h> and <bp-asm.h>.
16325 (memcmp): Don't use BP_SYM.
16326 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16327 <bp-sym.h> and <bp-asm.h>.
16328 (memcpy): Don't use BP_SYM.
16329 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16330 <bp-sym.h> and <bp-asm.h>.
16331 (__mempcpy): Don't use BP_SYM.
16332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16333 <bp-sym.h> and <bp-asm.h>.
16334 (__memrchr): Don't use BP_SYM.
16335 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16336 <bp-sym.h> and <bp-asm.h>.
16337 (memset): Don't use BP_SYM.
16338 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16339 <bp-sym.h> and <bp-asm.h>.
16340 (__rawmemchr): Don't use BP_SYM.
16341 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16342 <bp-sym.h> and <bp-asm.h>.
16343 (__STRCMP): Don't use BP_SYM.
16344 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16345 <bp-sym.h> and <bp-asm.h>.
16346 (strchr): Don't use BP_SYM.
16347 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16348 <bp-sym.h> and <bp-asm.h>.
16349 (__strchrnul): Don't use BP_SYM.
16350 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16351 <bp-sym.h> and <bp-asm.h>.
16352 (strlen): Don't use BP_SYM.
16353 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16354 <bp-sym.h> and <bp-asm.h>.
16355 (strncmp): Don't use BP_SYM.
16356 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16357 <bp-sym.h> and <bp-asm.h>.
16358 (__strnlen): Don't use BP_SYM.
16359 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16360 <bp-asm.h>.
16361 (__mpn_rshift): Don't use BP_SYM.
16362 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16363 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16364 <bp-sym.h> and <bp-asm.h>.
16365 (__sigsetjmp): Don't use BP_SYM.
16366 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16367 (L(start_addresses)): Don't use BP_SYM.
16368 (_start): Likewise.
16369 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16370 <bp-asm.h>.
16371 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16372 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16373 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16374 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16375 <bp-asm.h>.
16376 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16377 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16378 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16379 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16380 <bp-asm.h>.
16381 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16382 comments.
16383 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16384 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16385 <bp-asm.h>.
16386 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16387 FIXME comments.
16388 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16389 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16390 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16391 <bp-asm.h>.
16392 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16393 comment.
16394 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16395 and <bp-asm.h>.
16396 (strncmp): Don't use BP_SYM,
16397 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16398 <bp-asm.h>.
16399 (__mpn_sub_n): Don't use BP_SYM.
16400 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16401 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16402 and <bp-asm.h>.
16403 (__mpn_submul_1): Don't use BP_SYM.
16404 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16406 <bp-sym.h> and <bp-asm.h>.
16407 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16409 <bp-sym.h> and <bp-asm.h>.
16410 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16411 comment.
16412
164132013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16414
16415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16416 Use ZK to minimize writes to Z.
16417 (sub_magnitudes): Simplify code a bit.
16418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16419 Use ZK to minimize writes to Z.
16420 (sub_magnitudes): Simplify code a bit.
16421
164222013-02-27 Roland McGrath <roland@hack.frob.com>
16423
16424 * csu/gmon-start.c: Add special exception to license text.
16425
164262013-02-27 Richard Henderson <rth@redhat.com>
16427
16428 * scripts/config.guess: Update from config.git.
16429 * scripts/config.sub: Likewise.
16430
164312013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16432
16433 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16434
16435 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16436
16437 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16438
16439 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16440
16441 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16442
164432013-02-26 Roland McGrath <roland@hack.frob.com>
16444
16445 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16446 [$(build-shared = yes].
16447
164482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16449
16450 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16451 (__mul): Reduce iterations for calculating mantissa.
16452
16453 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16454 MPTWO.
16455 (__mpranred): Likewise.
16456
16457 [BZ #15160]
16458 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16459 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16460
164612013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16462
16463 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16464 Define __attribute__.
16465
164662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16467
16468 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16469 unused.
16470 * posix/regex_internal.h (__attribute): Remove.
16471 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16472 (re_string_context_at): Likewise.
16473 (bitset_not): Use __attribute__ and mark function as possibly
16474 unused.
16475 (bitset_merge): Likewise.
16476 (bitset_mask): Likewise.
16477 (re_string_char_size_at): Likewise.
16478 (re_string_wchar_at): Likewise.
16479 (re_string_elem_size_at): Likewise.
16480
164812013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16482
16483 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16484 code.
16485 (cc32): Likewise.
16486
16487 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16488 (__acr): Likewise.
16489 (__cpy): Likewise.
16490 (norm): Likewise.
16491 (denorm): Likewise.
16492 (__dbl_mp): Likewise.
16493 (add_magnitudes): Likewise.
16494 (sub_magnitudes): Likewise.
16495 (__mul): Likewise.
16496 (__inv): Likewise.
16497
16498 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16499 style.
16500
16501 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16502 style.
16503
16504 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16505 code.
16506
16507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16508 up changes with default code.
16509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16510 Likewise.
16511
165122013-02-24 Allan McRae <allan@archlinux.org>
16513
16514 * manual/socket.texi (The Internet Namespace): Order menu items
16515 to match that in the file.
16516
16517 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16518 node listing of the info page menu.
16519
165202013-02-21 Joseph Myers <joseph@codesourcery.com>
16521
16522 [BZ #13550]
16523 * sysdeps/i386/bp-asm.h: Remove file.
16524 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16525 (PARMS): Do not use macros from bp-asm.h.
16526 (S1): Likewise.
16527 (S2): Likewise.
16528 (SIZE): Likewise.
16529 (__mpn_add_n): Do not use BP_SYM
16530 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16531 "bp-asm.h".
16532 (PARMS): Do not use macros from bp-asm.h.
16533 (S1): Likewise.
16534 (SIZE): Likewise.
16535 (__mpn_addmul_1): Do not use BP_SYM
16536 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16537 "bp-asm.h".
16538 (PARMS): Do not use macros from bp-asm.h.
16539 (SIGMSK): Likewise.
16540 (_setjmp): Likewise. Do not use BP_SYM.
16541 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16542 "bp-asm.h".
16543 (PARMS): Do not use macros from bp-asm.h.
16544 (SIGMSK): Likewise.
16545 (setjmp): Likewise. Do not use BP_SYM.
16546 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16547 "bp-asm.h".
16548 (PARMS): Do not use macros from bp-asm.h.
16549 (__frexp): Do not use BP_SYM.
16550 (frexp): Likewise.
16551 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16552 "bp-asm.h".
16553 (PARMS): Do not use macros from bp-asm.h.
16554 (__frexpf): Do not use BP_SYM.
16555 (frexpf): Likewise.
16556 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16557 "bp-asm.h".
16558 (PARMS): Do not use macros from bp-asm.h.
16559 (__frexpl): Do not use BP_SYM.
16560 (frexpl): Likewise.
16561 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16562 "bp-asm.h".
16563 (PARMS): Do not use macros from bp-asm.h.
16564 (__remquo): Do not use BP_SYM.
16565 (remquo): Likewise.
16566 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16567 "bp-asm.h".
16568 (PARMS): Do not use macros from bp-asm.h.
16569 (__remquof): Do not use BP_SYM.
16570 (remquof): Likewise.
16571 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16572 "bp-asm.h".
16573 (PARMS): Do not use macros from bp-asm.h.
16574 (__remquol): Do not use BP_SYM.
16575 (remquol): Likewise.
16576 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16577 "bp-asm.h".
16578 (PARMS): Do not use macros from bp-asm.h.
16579 (DEST): Likewise.
16580 (SRC): Likewise.
16581 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16582 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16583 "bp-asm.h".
16584 (PARMS): Do not use macros from bp-asm.h.
16585 (strlen): Do not use BP_SYM.
16586 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16587 "bp-asm.h".
16588 (PARMS): Do not use macros from bp-asm.h.
16589 (S1): Likewise.
16590 (S2): Likewise.
16591 (SIZE): Likewise.
16592 (__mpn_add_n): Do not use BP_SYM.
16593 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16594 "bp-asm.h".
16595 (PARMS): Do not use macros from bp-asm.h.
16596 (S1): Likewise.
16597 (SIZE): Likewise.
16598 (__mpn_addmul_1): Do not use BP_SYM.
16599 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16600 weak_alias.
16601 (bzero): Likewise.
16602 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16603 "bp-asm.h".
16604 (PARMS): Do not use macros from bp-asm.h.
16605 (S): Likewise.
16606 (SIZE): Likewise.
16607 (__mpn_lshift): Do not use BP_SYM.
16608 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16609 "bp-asm.h".
16610 (PARMS): Do not use macros from bp-asm.h.
16611 (DEST): Likewise.
16612 (SRC): Likewise.
16613 (LEN): Likewise.
16614 (memcpy): Likewise. Do not use BP_SYM.
16615 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16616 libc_hidden_def and weak_alias.
16617 (mempcpy): Do not use BP_SYM in weak_alias.
16618 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16619 "bp-asm.h".
16620 (PARMS): Do not use macros from bp-asm.h.
16621 (DEST): Likewise.
16622 (LEN): Likewise.
16623 [!BZERO_P] (CHR): Likewise.
16624 (memset): Likewise. Do not use BP_SYM.
16625 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16626 "bp-asm.h".
16627 (PARMS): Do not use macros from bp-asm.h.
16628 (S1): Likewise.
16629 (SIZE): Likewise.
16630 (__mpn_mul_1): Do not use BP_SYM.
16631 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16632 "bp-asm.h".
16633 (PARMS): Do not use macros from bp-asm.h.
16634 (S): Likewise.
16635 (SIZE): Likewise.
16636 (__mpn_rshift): Do not use BP_SYM.
16637 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16638 "bp-asm.h".
16639 (PARMS): Do not use macros from bp-asm.h.
16640 (STR): Likewise.
16641 (CHR): Likewise.
16642 (strchr): Likewise. Do not use BP_SYM.
16643 (index): Do not use BP_SYM in weak_alias.
16644 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16645 "bp-asm.h".
16646 (PARMS): Do not use macros from bp-asm.h.
16647 (DEST): Likewise.
16648 (SRC): Likewise.
16649 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16650 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16651 "bp-asm.h".
16652 (PARMS): Do not use macros from bp-asm.h.
16653 (strlen): Do not use BP_SYM.
16654 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16655 "bp-asm.h".
16656 (PARMS): Do not use macros from bp-asm.h.
16657 (S1): Likewise.
16658 (S2): Likewise.
16659 (SIZE): Likewise.
16660 (__mpn_sub_n): Do not use BP_SYM.
16661 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16662 "bp-asm.h".
16663 (PARMS): Do not use macros from bp-asm.h.
16664 (S1): Likewise.
16665 (SIZE): Likewise.
16666 (__mpn_submul_1): Do not use BP_SYM.
16667 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16668 "bp-asm.h".
16669 (PARMS): Do not use macros from bp-asm.h.
16670 (S1): Likewise.
16671 (S2): Likewise.
16672 (SIZE): Likewise.
16673 (__mpn_add_n): Do not use BP_SYM.
16674 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16675 weak_alias.
16676 (bzero): Likewise.
16677 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16678 "bp-asm.h".
16679 (PARMS): Do not use macros from bp-asm.h.
16680 (BLK2): Likewise.
16681 (LEN): Likewise.
16682 (memcmp): Do not use BP_SYM.
16683 (bcmp): Do not use BP_SYM in weak_alias.
16684 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16685 "bp-asm.h".
16686 (PARMS): Do not use macros from bp-asm.h.
16687 (DEST): Likewise.
16688 (SRC): Likewise.
16689 (LEN): Likewise.
16690 (memcpy): Likewise. Do not use BP_SYM.
16691 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16692 "bp-asm.h".
16693 (PARMS): Do not use macros from bp-asm.h.
16694 (DEST): Likewise.
16695 (SRC): Likewise.
16696 (LEN): Likewise.
16697 (memmove): Likewise. Do not use BP_SYM.
16698 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16699 "bp-asm.h".
16700 (PARMS): Do not use macros from bp-asm.h.
16701 (DEST): Likewise.
16702 (SRC): Likewise.
16703 (LEN): Likewise.
16704 (__mempcpy): Likewise. Do not use BP_SYM.
16705 (mempcpy): Do not use BP_SYM in weak_alias.
16706 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16707 "bp-asm.h".
16708 (PARMS): Do not use macros from bp-asm.h.
16709 (DEST): Likewise.
16710 (LEN): Likewise.
16711 [!BZERO_P] (CHR): Likewise.
16712 (memset): Likewise. Do not use BP_SYM.
16713 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16714 "bp-asm.h".
16715 (PARMS): Do not use macros from bp-asm.h.
16716 (STR2): Likewise.
16717 (strcmp): Do not use BP_SYM.
16718 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16719 "bp-asm.h".
16720 (PARMS): Do not use macros from bp-asm.h.
16721 (STR): Likewise.
16722 (DELIM): Likewise.
16723 [USE_AS_STRTOK_R] (SAVE): Likewise.
16724 (FUNCTION): Likewise. Do not use BP_SYM.
16725 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16726 aliases.
16727 (strtok_r): Likewise.
16728 (__GI___strtok_r): Likewise.
16729 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16730 (PARMS): Do not use macros from bp-asm.h.
16731 (S): Likewise.
16732 (SIZE): Likewise.
16733 (__mpn_lshift): Do not use BP_SYM.
16734 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16735 (PARMS): Do not use macros from bp-asm.h.
16736 (STR): Likewise.
16737 (CHR): Likewise.
16738 (__memchr): Do not use BP_SYM.
16739 (memchr): Do not use BP_SYM in weak_alias.
16740 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16741 (PARMS): Do not use macros from bp-asm.h.
16742 (BLK2): Likewise.
16743 (LEN): Likewise.
16744 (memcmp): Do not use BP_SYM.
16745 (bcmp): Do not use BP_SYM in weak_alias.
16746 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16747 (PARMS): Do not use macros from bp-asm.h.
16748 (S1): Likewise.
16749 (SIZE): Likewise.
16750 (__mpn_mul_1): Do not use BP_SYM.
16751 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16752 "bp-asm.h".
16753 (PARMS): Do not use macros from bp-asm.h.
16754 (STR): Likewise.
16755 (CHR): Likewise.
16756 (__rawmemchr): Do not use BP_SYM.
16757 (rawmemchr): Do not use BP_SYM in weak_alias.
16758 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16759 (PARMS): Do not use macros from bp-asm.h.
16760 (S): Likewise.
16761 (SIZE): Likewise.
16762 (__mpn_rshift): Do not use BP_SYM.
16763 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16764 (PARMS): Do not use macros from bp-asm.h.
16765 (SIGMSK): Likewise.
16766 (__sigsetjmp): Likewise. Do not use BP_SYM.
16767 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16768 (_start): Do not use BP_SYM.
16769 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16770 (PARMS): Do not use macros from bp-asm.h.
16771 (DEST): Likewise.
16772 (SRC): Likewise.
16773 (__stpcpy): Likewise. Do not use BP_SYM.
16774 (stpcpy): Do not use BP_SYM in weak_alias.
16775 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16776 "bp-asm.h".
16777 (PARMS): Do not use macros from bp-asm.h.
16778 (DEST): Likewise.
16779 (SRC): Likewise.
16780 (LEN): Likewise.
16781 (__stpncpy): Likewise. Do not use BP_SYM.
16782 (stpncpy): Do not use BP_SYM in weak_alias.
16783 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16784 (PARMS): Do not use macros from bp-asm.h.
16785 (STR): Likewise.
16786 (CHR): Likewise.
16787 (strchr): Likewise. Do not use BP_SYM.
16788 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16789 "bp-asm.h".
16790 (PARMS): Do not use macros from bp-asm.h.
16791 (STR): Likewise.
16792 (CHR): Likewise.
16793 (__strchrnul): Likewise. Do not use BP_SYM.
16794 (strchrnul): Do not use BP_SYM in weak_alias.
16795 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16796 "bp-asm.h".
16797 (PARMS): Do not use macros from bp-asm.h.
16798 (STOP): Likewise.
16799 (strcspn): Do not use BP_SYM.
16800 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16801 "bp-asm.h".
16802 (PARMS): Do not use macros from bp-asm.h.
16803 (STR): Likewise.
16804 (STOP): Likewise.
16805 (strpbrk): Likewise. Do not use BP_SYM.
16806 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16807 "bp-asm.h".
16808 (PARMS): Do not use macros from bp-asm.h.
16809 (STR): Likewise.
16810 (CHR): Likewise.
16811 (strrchr): Likewise. Do not use BP_SYM.
16812 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16813 (PARMS): Do not use macros from bp-asm.h.
16814 (SKIP): Likewise.
16815 (strspn): Do not use BP_SYM.
16816 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16817 (PARMS): Do not use macros from bp-asm.h.
16818 (STR): Likewise.
16819 (DELIM): Likewise.
16820 (SAVE): Likewise.
16821 (FUNCTION): Likewise. Do not use BP_SYM.
16822 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16823 aliases.
16824 (strtok_r): Likewise.
16825 (__GI___strtok_r): Likewise.
16826 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16827 (PARMS): Do not use macros from bp-asm.h.
16828 (S1): Likewise.
16829 (S2): Likewise.
16830 (SIZE): Likewise.
16831 (__mpn_sub_n): Do not use BP_SYM.
16832 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16833 "bp-asm.h".
16834 (PARMS): Do not use macros from bp-asm.h.
16835 (S1): Likewise.
16836 (SIZE): Likewise.
16837 (__mpn_submul_1): Do not use BP_SYM.
16838 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16839 <bp-sym.h>.
16840 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16841 and <bp-asm.h>.
16842 (PARMS): Do not use macros from bp-asm.h.
16843 (FLAGS): Likewise.
16844 (PTID): Likewise.
16845 (TLS): Likewise.
16846 (CTID): Likewise.
16847 (__clone): Do not use BP_SYM.
16848 (clone): Do not use BP_SYM in weak_alias.
16849 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16850 and <bp-asm.h>.
16851 (PARMS): Do not use macros from bp-asm.h.
16852 (LEN): Likewise.
16853 (__mmap64): Do not use BP_SYM.
16854 (mmap64): Do not use BP_SYM in weak_alias.
16855 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16856 <bp-sym.h> and <bp-asm.h>.
16857 (PARMS): Do not use macros from bp-asm.h.
16858 (__posix_fadvise64_l64): Do not use BP_SYM.
16859 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16860 (PARMS): Do not use macros from bp-asm.h.
16861 (NSOPS): Likewise.
16862 (semtimedop): Do not use BP_SYM.
16863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16864 and <bp-asm.h>.
16865
168662013-02-21 Allan McRae <allan@archlinux.org>
16867
16868 * manual/message.texi (Charset conversion in gettext):
16869 Move @end statement to beginning of line.
16870
168712013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16872
16873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16874 static.
16875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16876 Likewise.
16877
16878 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16879 (denorm): Likewise.
16880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16882
168832013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16884
16885 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16886 tail-call to the resolved function if pltexit isn't needed.
16887
168882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16889
16890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16891 or Y being zero as being unlikely.
16892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16893 Likewise.
16894
168952013-02-20 Carlos O'Donell <carlos@redhat.com>
16896
16897 * manual/nss.texi (System Databases and Name Service Switch):
16898 Remove frobnicate @pxref.
16899
169002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16901
16902 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16903 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16904
169052013-02-20 Petr Machata <pmachata@redhat.com>
16906
16907 * elf/elf.h (R_ARM_TARGET1): New macro.
16908 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16909 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16910 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16911 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16912 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16913 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16914 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16915 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16916 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16917 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16918 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16919 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16920 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16921 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16922 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16923 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16924 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16925 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16926 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16927 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16928 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16929 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16930 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16931 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16932 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16933 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16934 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16935 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16936 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16937 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16938 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16939 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16940 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16941 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16942 (R_ARM_THM_GOT_BREL12): Likewise.
16943 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16944 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16945 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16946 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16947 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16948 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16949 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16950 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16951 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16952
169532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16954
16955 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16956 __attribute_used__ to __attribute__ ((unused)).
16957
169582013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16959
16960 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16961 powerpc mpa.c.
16962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16963 comment formatting.
16964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16965
169662013-02-19 Joseph Myers <joseph@codesourcery.com>
16967
16968 [BZ #13550]
16969 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16970 Remove macro.
16971 (ENTER): Remove both macro definitions.
16972 (LEAVE): Likewise.
16973 (CHECK_BOUNDS_LOW): Likewise.
16974 (CHECK_BOUNDS_HIGH): Likewise.
16975 (CHECK_BOUNDS_BOTH): Likewise.
16976 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16977 (RETURN_BOUNDED_POINTER): Likewise.
16978 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16979 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16980 (POP_ERRNO_LOCATION_RETURN): Likewise.
16981 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16982 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16983 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16984 macros.
16985 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16986 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16987 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16988 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16989 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16990 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16991 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16992 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16993 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16994 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16995 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16996 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16997 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16998 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16999 removed macros.
17000 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17001 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17002 macros.
17003 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17004 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17005 * sysdeps/i386/i586/memset.S (memset): Likewise.
17006 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17007 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17008 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17009 macros.
17010 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17011 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17012 Change uses of L(2) to L(out).
17013 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17014 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17015 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17016 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17017 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17018 removed macros.
17019 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17020 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17021 macros.
17022 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17023 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17024 (RETURN): Do not use macro LEAVE.
17025 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17026 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17027 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17028 * sysdeps/i386/i686/memset.S (memset): Likewise.
17029 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17030 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17031 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17032 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17033 Likewise.
17034 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17035 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17036 L(1_2) and L(1_3) into L(1).
17037 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17038 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17039 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17040 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17041 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17042 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17043 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17044 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17045 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17046 macros.
17047 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17048 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17049 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17050 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17051 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17052 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17053 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17054 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17055 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17056 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17057 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17058 * sysdeps/i386/strspn.S (strspn): Likewise.
17059 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17060 conditional code.
17061 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17062 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17063 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17064 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17065 L(1_3) into L(1_1).
17066 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17067 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17068 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17069 macros.
17070 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17071
170722013-02-19 Jakub Jelinek <jakub@redhat.com>
17073
17074 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17075 macro.
17076
170772013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17078
17079 * math/atest-exp.c (exp_mpn): Remove ROUND.
17080 * math/atest-exp2.c (exp_mpn): Likewise.
17081 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17082
17083 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17084 * stdlib/tst-tls-atexit-lib.c: Likewise.
17085 * stdlib/tst-tls-atexit.c: Likewise.
17086
170872013-02-18 Mike Frysinger <vapier@gentoo.org>
17088
17089 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17090 and __attribute_alloc_size__.
17091
170922013-02-18 Mike Frysinger <vapier@gentoo.org>
17093
17094 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17095 __attribute_alloc_size__.
17096 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17097 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17098
170992013-02-18 Mike Frysinger <vapier@gentoo.org>
17100
17101 * include/programs/xmalloc.h: New file.
17102 * catgets/gencat.c: Include it.
17103 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17104 * elf/pldd.c: Likewise.
17105 * iconv/iconv_charmap.c: Likewise.
17106 * iconv/iconvconfig.c: Likewise.
17107 * iconv/strtab.c: Likewise.
17108 * locale/programs/locale.c: Likewise.
17109 * locale/programs/localedef.h: Likewise.
17110 * locale/programs/simple-hash.c: Likewise.
17111 * nscd/nscd.h: Likewise.
17112 * nss/makedb.c: Likewise.
17113 * sysdeps/generic/ldconfig.h: Likewise.
17114
171152013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17116
17117 * Versions.def: Add GLIBC_2.18.
17118 * include/link.h (struct link_map): New member l_tls_dtor_count.
17119 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17120 (__call_tls_dtors): Likewise.
17121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17122 __cxa_thread_atexit_impl.
17123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17124 Likewise.
17125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17126 Likewise.
17127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17128 Likewise.
17129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17130 Likewise.
17131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17133 Likewise.
17134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17135 Likewise.
17136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17138 Likewise.
17139 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17140 (tests): Add test case tst-tls-atexit.
17141 (modules-names): Add shared library for tst-tls-atexit.
17142 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17143 (GLIBC_PRIVATE): Add __call_tls_dtors.
17144 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17145 for libstdc++.
17146 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17147 * stdlib/tst-tls-atexit.c: New test case.
17148 * stdlib/tst-tls-atexit-lib.c: New test case.
17149
17150 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17151
17152 * elf/Versions (ld): Add _dl_find_dso_for_object.
17153 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17154 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17155 (dl_open_worker): Use _dl_find_dso_for_object.
17156 * elf/dl-sym.c (do_sym): Likewise.
17157 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17158
171592013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17160
17161 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17162 Syntactic changes only.
17163 (_dl_runtime_profile): Do a tail-call to the resolved function.
17164
171652013-02-17 Joseph Myers <joseph@codesourcery.com>
17166
17167 [BZ #13550]
17168 * sysdeps/x86_64/bp-asm.h: Remove file.
17169 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17170 <bp-sym.h> and <bp-asm.h>.
17171 (__clone): Do not use BP_SYM.
17172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17173 <bp-sym.h> and <bp-asm.h>.
17174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17175 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17176 "bp-asm.h".
17177 (_setjmp): Do not use BP_SYM.
17178 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17179 "bp-asm.h".
17180 (setjmp): Do not use BP_SYM.
17181 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17182 libc_hidden_def.
17183 (mempcpy): Do not use BP_SYM in weak_alias.
17184 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17185 "bp-asm.h".
17186 (strchr): Do not use BP_SYM.
17187 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17188 "bp-asm.h".
17189 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17190 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17191 (_start): Do not use BP_SYM.
17192 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17193 "bp-asm.h".
17194 (strcat): Do not use BP_SYM.
17195 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17196 "bp-asm.h".
17197 (STRCMP): Do not use BP_SYM.
17198 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17199 "bp-asm.h".
17200 (STRCPY): Do not use BP_SYM.
17201 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17202 "bp-asm.h".
17203 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17204 "bp-asm.h".
17205 (FUNCTION): Do not use BP_SYM.
17206 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17207 weak_alias.
17208 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17209
172102013-02-17 Andreas Jaeger <aj@suse.de>
17211
17212 * time/Versions: Sort entries.
17213 * string/Versions: Likewise.
17214 * resolv/Versions: Likewise.
17215 * posix/Versions: Likewise.
17216 * iconv/Versions: Likewise.
17217 * elf/Versions: Likewise.
17218 * wcsmbs/Versions: Likewise.
17219
172202013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17221
17222 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17223 loop termination condition.
17224
17225 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17226 variable to calculate EZ.
17227 (__sqr): Likewise.
17228
17229 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17230 the lower precision input.
17231
172322013-02-15 Joseph Myers <joseph@codesourcery.com>
17233
17234 [BZ #13550]
17235 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17236 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17237 (run-via-rtld-prefix): Do not handle %-bp tests.
17238 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17239 (all-object-suffixes): Remove .ob.
17240 (bppfx): Remove variable.
17241 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17242 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17243 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17244 [$(build-bounded) = yes] (libtype.ob): Likewise.
17245 * Makerules (elide-routines.ob): Remove variable.
17246 (do-tests-clean): Do not handle *-bp.out.
17247 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17248 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17249 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17250 (tests): Do not include $(tests-bp.out).
17251 (xtests): Do not include $(xtests-bp.out).
17252 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17253 [$(build-bounded) = yes] ($(addprefix
17254 $(objpfx),$(binaries-bounded))): Remove rule.
17255 ($(objpfx)%-bp.out): Remove rule.
17256 * config.make.in (build-bounded): Remove variable.
17257 * crypt/Makefile [$(build-bounded) = yes]
17258 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17259 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17260 append to variable.
17261 [$(build-bounded) = yes] (install-lib): Likewise.
17262 [$(build-bounded) = yes] (generated): Likewise.
17263 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17264 Remove rule.
17265 * intl/Makefile [$(build-bounded) = yes]
17266 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17267 * math/Makefile [$(build-bounded) = yes]
17268 ($(tests:%=$(objpfx)%-bp): Likewise.
17269 * misc/Makefile [$(build-bounded) = yes]
17270 ($(objpfx)tst-tsearch-bp): Likewise.
17271 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17272 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17273 Remove dependency.
17274 * string/Makefile (o-objects.ob): Remove variable.
17275 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17276 (CFLAGS-.ob): Remove variable.
17277 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17278 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17279 both definitions of variable.
17280 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17281 (ASFLAGS-.ob): Remove variable.
17282
172832013-02-14 Joseph Myers <joseph@codesourcery.com>
17284
17285 [BZ #13550]
17286 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17287 Remove __BOUNDED_POINTERS__ from condition.
17288 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17289 * string/bits/string2.h [!__NO_STRING_INLINES &&
17290 !__BOUNDED_POINTERS__]: Likewise.
17291 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17292 Likewise.
17293 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17294 Remove conditional code.
17295 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17296 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17297 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17298 condition.
17299
17300 [BZ #13550]
17301 * csu/libc-start.c: Do not include <bp-sym.h>.
17302 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17303 * elf/dl-open.c: Do not include <bp-sym.h>.
17304 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17305 * math/fegetenv.c: Do not include <bp-sym.h>.
17306 (fegetenv): Do not use BP_SYM in versioned symbols.
17307 * nptl/sysdeps/pthread/bits/libc-lockP.h
17308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17309 <bp-sym.h>.
17310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17311 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17313 (__pthread_mutex_destroy): Likewise.
17314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17315 (__pthread_mutex_lock): Likewise.
17316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17317 (__pthread_mutex_trylock): Likewise.
17318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17319 (__pthread_mutex_unlock): Likewise.
17320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17321 (__pthread_mutexattr_init): Likewise.
17322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17323 (__pthread_mutexattr_destroy): Likewise.
17324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17325 (__pthread_mutexattr_settype): Likewise.
17326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17327 (__pthread_rwlock_init): Likewise.
17328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17329 (__pthread_rwlock_destroy): Likewise.
17330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17331 (__pthread_rwlock_rdlock): Likewise.
17332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17333 (__pthread_rwlock_tryrdlock): Likewise.
17334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17335 (__pthread_rwlock_wrlock): Likewise.
17336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17337 (__pthread_rwlock_trywrlock): Likewise.
17338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17339 (__pthread_rwlock_unlock): Likewise.
17340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17341 (__pthread_key_create): Likewise.
17342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17343 (__pthread_setspecific): Likewise.
17344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17345 (__pthread_getspecific): Likewise.
17346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17347 Likewise.
17348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17349 (_pthread_cleanup_push_defer): Likewise.
17350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17351 (_pthread_cleanup_pop_restore): Likewise.
17352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17353 (pthread_setcancelstate): Likewise.
17354 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17355 <bp-sym.h>.
17356 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17357 (memchr): Do not use BP_SYM in weak_alias.
17358 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17359 (fegetenv): Do not use BP_SYM in versioned symbols.
17360 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17361 (fesetenv): Do not use BP_SYM in versioned symbols.
17362 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17363 (feupdateenv): Do not use BP_SYM in versioned symbols.
17364 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17365 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17366 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17367 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17368 (open64): Do not use BP_SYM in weak_alias.
17369 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17370 (fegetenv): Do not use BP_SYM in versioned symbols.
17371 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17372 (fesetenv): Do not use BP_SYM in versioned symbols.
17373 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17374 (feupdateenv): Do not use BP_SYM in versioned symbols.
17375 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17376 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17377 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17378 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17379 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17380 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17381 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17382 <bp-sym.h>.
17383 (__libc_start_main): Do not use BP_SYM.
17384
173852013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17386
17387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17388 redundant return line.
17389 (norm): Likewise.
17390 (denorm): Likewise.
17391 (dbl_mp): Likewise.
17392 (sub_magnitudes): Likewise.
17393 (__add): Likewise.
17394 (__sub): Likewise.
17395 (__mul): Likewise.
17396 (__inv): Likewise.
17397 (__dvd): Likewise.
17398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17399 (norm): Likewise.
17400 (denorm): Likewise.
17401 (dbl_mp): Likewise.
17402 (sub_magnitudes): Likewise.
17403 (__add): Likewise.
17404 (__sub): Likewise.
17405 (__mul): Likewise.
17406 (__inv): Likewise.
17407 (__dvd): Likewise.
17408
17409 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17410 instead of __mul.
17411 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17412 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17413 (cc32): Likewise.
17414
17415 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17416 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17418 of __mul for squares.
17419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17420 function
17421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17422 Likewise.
17423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17425
174262013-02-13 Joseph Myers <joseph@codesourcery.com>
17427
17428 [BZ #13550]
17429 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17430 code.
17431 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17432 prototype or function definition. Rename ubp_* variables and
17433 parameters. Remove argv definitions conditional on
17434 [__BOUNDED_POINTERS__].
17435 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17436 * elf/dl-runtime.c (_dl_fixup): Likewise.
17437 * include/set-hooks.h (RUN_HOOK): Likewise.
17438 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17439 definition.
17440 * string/strcpy.c (strcpy): Do not use __unbounded.
17441 * sysdeps/generic/frame.h (struct layout): Likewise.
17442 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17443 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17444 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17445 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17446 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17447 (__backtrace): Likewise.
17448 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17449 use __ptrvalue.
17450 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17451 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17452 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17453 Likewise.
17454 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17455 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17456 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17457 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17458 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17459 Do not use __unbounded.
17460 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17461 Rename __unboundedrlimits parameter to rlimits in prototype.
17462 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17463 Do not use __unbounded.
17464 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17465 not use __ptrvalue.
17466 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17467 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17468 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17469 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17470 __ptrvalue or __unbounded.
17471 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17472 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17473 use __unbounded.
17474 (__new_msgctl): Do not use __ptrvalue.
17475 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17476 __unbounded.
17477 (__libc_msgrcv): Do not use __ptrvalue.
17478 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17479 startup_info): Do not use __unbounded.
17480 (__libc_start_main): Likewise. Rename ubp_* variables and
17481 parameters. Remove argv definitions conditional on
17482 [__BOUNDED_POINTERS__].
17483 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17484 __ptrvalue.
17485 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17486 use __unbounded.
17487 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17488 or __ptrvalue.
17489 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17490 use __unbounded.
17491 (__new_shmctl): Do not use __ptrvalue.
17492 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17493 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17494 Likewise.
17495 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17496 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17497 (__libc_sigaction): Likewise.
17498 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17499 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17500 Likewise.
17501 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17502
175032013-02-13 Ondřej Bílka <neleai@seznam.cz>
17504
17505 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17506
17507 * string/mempcpy.c: Implement by calling memcpy.
17508
175092013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17510
17511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17512
17513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17514 evaluation.
17515
17516 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17517 values in the mantissa.
17518
17519 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17520 minimize writes to Z.
17521 (sub_magnitudes): Simplify code a bit.
17522
175232013-02-12 Roland McGrath <roland@hack.frob.com>
17524
17525 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17526 from the message. The linker prefixes all warnings with that already.
17527
175282013-02-12 Andreas Schwab <schwab@suse.de>
17529
17530 [BZ #15078]
17531 * posix/regexec.c (extend_buffers): Add parameter min_len.
17532 (check_matching): Pass minimum needed length.
17533 (clean_state_log_if_needed): Likewise.
17534 (get_subexp): Likewise.
17535 * posix/Makefile (tests): Add bug-regex34.
17536 (bug-regex34-ENV): Define.
17537 * posix/bug-regex34.c: New file.
17538
17539 [BZ #11561]
17540 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17541 elements compare against the byte sequence of it, not its name.
17542 * posix/Makefile (tests): Add bug-regex35.
17543 (bug-regex35-ENV): Define.
17544 * posix/bug-regex35.c: New file.
17545
175462013-02-11 Tom de Vries <tom@codesourcery.com>
17547
17548 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17549 comment.
17550 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17551 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17552 (CHECK_EOL): Add undef.
17553
175542013-02-11 Ondřej Bílka <neleai@seznam.cz>
17555
17556 * bits/stdlib-bsearch.h: New file.
17557 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17558 * stdlib/stdlib.h: Likewise.
17559
175602013-02-11 Roland McGrath <roland@hack.frob.com>
17561
17562 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17563 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17564 declaration.
17565 * manual/search.texi (Array Search Function): Add missing const in
17566 lfind prototype.
17567 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17568 declaration to use rlim_t.
17569 (Basic Scheduling Functions): Remove erroneous const from
17570 sched_getparam prototype. Remove erroneous * from
17571 sched_get_priority_max and sched_get_priority_min prototypes.
17572 (Resource Usage): Fix summary @comment on vtimes to refer to
17573 sys/vtimes.h rather than vtimes.h.
17574 Add missing *s in vtimes prototype.
17575 (Limits on Resources): Fix ulimit prototype to return long int.
17576 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17577 prototypes to use long int rather than double.
17578 (BSD Random): Fix initstate and setstate to use char *, not void *.
17579 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17580 prototype to make second argument 'struct aiocb64 *const[]'.
17581 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17582 (Status of AIO Operations): Remove erroneous const in aio_return and
17583 aio_return64 prototypes.
17584 (Synchronizing I/O): Fix sync prototype to return void.
17585 * manual/startup.texi (Suboptions): Remove an erroneous const in
17586 getsubopt prototype.
17587 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17588 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17589 use size_t rather than int.
17590 (Scanning All Users): Likewise for getpwent_r.
17591 (Setting Groups): Add missing const to setgroups prototype.
17592 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17593 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17594 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17595 'const void *' rather than 'const char *'.
17596 (Host Address Functions): Likewise for inet_ntop.
17597 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17598 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17599 ssize_t for return value.
17600 (Sending Data): Likewise for send, sendto, sendmsg.
17601 (Socket Option Functions): Add a missing const in setsockopt prototype.
17602 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17603 use wchar_t for the argument.
17604 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17605 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17606 take no arguments.
17607 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17608 double/float/long double for second argument.
17609 Fix return types of significand, significandf, significandl.
17610 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17611 argument in fchmod prototype.
17612 (File Owner): Use uid_t and gid_t in fchown prototype.
17613 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17614 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17615 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17616 use 'const struct dirent **' as argument types to CMP function pointer
17617 argument.
17618 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17619 (File Times): Fix summary magic @comment for struct utimbuf and utime
17620 to refer to utime.h, not time.h.
17621 * manual/string.texi (Argz Functions): Add missing const in
17622 argz_extract and argz_next prototypes.
17623 (Finding Tokens in a String): Likewise for basename.
17624 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17625 (Copying and Concatenation): Fix typo in wmemmove prototype.
17626 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17627 (Signal Stack): Remove erroneous const in sigstack prototype.
17628 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17629 prototype.
17630 (Simple Calendar Time): Likewise for stime.
17631 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17632 prototype.
17633 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17634 say sys/sysctl.h instead.
17635 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17636 and vsyslog prototypes.
17637
176382013-02-11 Tom de Vries <tom@codesourcery.com>
17639
17640 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17641 Remove.
17642
176432013-02-11 Roland McGrath <roland@hack.frob.com>
17644
17645 * misc/sys/mman.h: Fix typo in mremap comment.
17646
176472013-02-08 Roland McGrath <roland@hack.frob.com>
17648
17649 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17650 the '\0' terminator.
17651
176522013-02-08 Joseph Myers <joseph@codesourcery.com>
17653
17654 [BZ #13550]
17655 * debug/segfault.c: Don't include <bp-checks.h>.
17656 * sysdeps/generic/bp-checks.h: Remove file.
17657 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17658 (__GETDENTS): Don't use CHECK_N.
17659 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17660 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17661 (__getgroups): Don't use CHECK_N.
17662 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17663 (setgroups): Don't use CHECK_N.
17664 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17665 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17666 (__libc_msgrcv): Don't use CHECK_N.
17667 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17668 (__libc_msgsnd): Don't use CHECK_N.
17669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17670 <bp-checks.h>.
17671 (__libc_pread): Don't use CHECK_N.
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17673 include <bp-checks.h>.
17674 (__libc_pread64): Don't use CHECK_N.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17676 include <bp-checks.h>.
17677 (__libc_pwrite): Don't use CHECK_N.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17679 include <bp-checks.h>.
17680 (__libc_pwrite64): Don't use CHECK_N.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17682 <bp-checks.h>.
17683 (__libc_pread): Don't use CHECK_N.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17685 include <bp-checks.h>.
17686 (__libc_pread64): Don't use CHECK_N.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17688 include <bp-checks.h>.
17689 (__libc_pwrite): Don't use CHECK_N.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17691 include <bp-checks.h>.
17692 (__libc_pwrite64): Don't use CHECK_N.
17693 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17694 (do_pread): Don't use CHECK_N.
17695 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17696 (do_pread64): Don't use CHECK_N.
17697 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17698 (do_pwrite): Don't use CHECK_N.
17699 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17700 (do_pwrite64): Don't use CHECK_N.
17701 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17702 (__libc_readv): Don't use CHECK_N.
17703 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17704 (semop): Don't use CHECK_N.
17705 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17706 <bp-checks.h>.
17707 (semtimedop): Don't use CHECK_N.
17708 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17709 (__libc_pread): Don't use CHECK_N.
17710 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17711 <bp-checks.h>.
17712 (__libc_pread64): Don't use CHECK_N.
17713 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17714 <bp-checks.h>.
17715 (__libc_pwrite): Don't use CHECK_N.
17716 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17717 <bp-checks.h>.
17718 (__libc_pwrite64): Don't use CHECK_N.
17719 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17720 <bp-checks.h>.
17721 (__libc_msgrcv): Don't use CHECK_N.
17722 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17723 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17724 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17725 (__libc_writev): Don't use CHECK_N.
17726
177272013-02-08 Roland McGrath <roland@hack.frob.com>
17728
17729 * string/strcpy.c: Removed unused variable.
17730
17731 * Makeconfig (+sysdep-includes): Define with := rather than =.
17732 Use an existing include/ subdir of each sysdeps dir before it.
17733
177342013-02-08 Carlos O'Donell <carlos@redhat.com>
17735
17736 * nscd/connection.c (register_traced_file): Comment function.
17737 [HAVE_INOTIFY] (union __inev): Define.
17738 [HAVE_INOTIFY] (inotify_check_files): New function.
17739 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17740 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17741 clear_db_cache.
17742 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17743
177442013-02-08 Carlos O'Donell <carlos@redhat.com>
17745
17746 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17747 loaded if not already and that a failure is permanent.
17748
177492013-02-08 Carlos O'Donell <carlos@redhat.com>
17750
17751 [BZ #15006]
17752 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17753 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17754
177552013-02-08 Joseph Myers <joseph@codesourcery.com>
17756
17757 [BZ #13550]
17758 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17759 (CHECK_1_NULL_OK): Likewise.
17760 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17761 (__fxstat): Do not use CHECK_1.
17762 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17763 <bp-checks.h>.
17764 (___fxstat64): Do not use CHECK_1.
17765 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17766 <bp-checks.h>.
17767 (__fxstatat): Do not use CHECK_1.
17768 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17769 <bp-checks.h>.
17770 (__fxstatat64): Do not use CHECK_1.
17771 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17772 <bp-checks.h>.
17773 (__fxstat): Do not use CHECK_1.
17774 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17775 <bp-checks.h>.
17776 (__fxstatat): Do not use CHECK_1.
17777 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17778 <bp-checks.h>.
17779 (__getresgid): Do not use CHECK_1.
17780 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17781 <bp-checks.h>.
17782 (__getresuid): Do not use CHECK_1.
17783 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17784 <bp-checks.h>.
17785 (__lxstat): Do not use CHECK_1.
17786 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17787 <bp-checks.h>.
17788 (__old_msgctl): Do not use CHECK_1.
17789 (__new_msgctl): Likewise.
17790 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17791 <bp-checks.h>.
17792 (__new_setrlimit): Do not use CHECK_1.
17793 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17794 <bp-checks.h>.
17795 (__old_shmctl): Do not use CHECK_1.
17796 (__new_shmctl): Likewise.
17797 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17798 <bp-checks.h>.
17799 (__xstat): Do not use CHECK_1.
17800 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17801 (__lxstat): Do not use CHECK_1.
17802 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17803 <bp-checks.h>.
17804 (___lxstat64): Do not use CHECK_1.
17805 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17806 (__old_msgctl): Do not use CHECK_1.
17807 (__new_msgctl): Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17809 <bp-checks.h>.
17810 (__gettimeofday): Do not use CHECK_1.
17811 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17812 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17813 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17814 <bp-checks.h>.
17815 (__gettimeofday): Do not use CHECK_1.
17816 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17817 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17818 (__new_shmctl): Do not use CHECK_1.
17819 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17820 <bp-checks.h>.
17821 (do_sigtimedwait): Do not use CHECK_1.
17822 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17823 <bp-checks.h>.
17824 (do_sigwaitinfo): Do not use CHECK_1.
17825 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17826 <bp-checks.h>.
17827 (msgctl): Do not use CHECK_1.
17828 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17829 <bp-checks.h>.
17830 (shmctl): Do not use CHECK_1.
17831 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17832 (ustat): Do not use CHECK_1.
17833 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17834 <bp-checks.h>.
17835 (__fxstat): Do not use CHECK_1.
17836 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17837 <bp-checks.h>.
17838 (__fxstatat): Do not use CHECK_1.
17839 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17840 <bp-checks.h>.
17841 (__lxstat): Do not use CHECK_1.
17842 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17843 <bp-checks.h>.
17844 (__xstat): Do not use CHECK_1.
17845 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17846 (__xstat): Do not use CHECK_1.
17847 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17848 (___xstat64): Do not use CHECK_1.
17849
17850 [BZ #13550]
17851 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17852 definitions.
17853 (CHECK_BOUNDS_HIGH): Likewise.
17854 * string/strcpy.c: Do not include <bp-checks.h>.
17855 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17856
178572013-02-07 Roland McGrath <roland@hack.frob.com>
17858
17859 * nscd/nscd-client.h (__nscd_drop_map_ref):
17860 Add __attribute__ ((unused)).
17861 * nis/nss-nisplus.h (niserr2nss): Likewise.
17862
17863 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17864 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17865
17866 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17867 Remove inline keyword.
17868 * include/rounding-mode.h (round_away): Likewise.
17869 * libio/wfileops.c (adjust_wide_data): Likewise.
17870 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17871 (__m128i_strloadu_tolower): Likewise.
17872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17873 (__m128i_strloadu_tolower): Likewise.
17874 * time/mktime.c (ydhms_diff): Likewise.
17875 * locale/elem-hash.h (elem_hash): Likewise.
17876 * locale/setlocale.c (setdata): Likewise.
17877 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17878 (re_string_wchar_at): Likewise.
17879 (bitset_not, bitset_merge, bitset_mask): Likewise.
17880 [!(__GNUC__ > 3)] (inline): Remove macro.
17881 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17882 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17883 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17884 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17885 * string/memcmp.c (memcmp_bytes): Likewise.
17886 * locale/programs/locarchive.c (compute_hashval): Likewise.
17887 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17888 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17889 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17890 * nss/getent.c (print_rpc, print_protocols): Likewise.
17891 (print_passwd, print_group, print_aliases): Likewise.
17892 * nis/nss-nisplus.h (niserr2nss): Likewise.
17893 * nscd/connections.c (restart_p): Likewise.
17894 Change return type to bool.
17895
178962013-02-05 Roland McGrath <roland@hack.frob.com>
17897
17898 * Makeconfig (all-Depend-files): Add existing
17899 $(sorted-subdirs:=/Depend) files.
17900 (all-subdirs): Remove nss.
17901 * sysdeps/unix/inet/Subdirs: Add it here instead.
17902 * hesiod/Depend: New file.
17903
17904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17905 instead of calling alloca.
17906
17907 * io/lseek.c (__lseek): Rename to __libc_lseek.
17908 Define __lseek as an alias.
17909
17910 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17911
179122013-02-04 Carlos O'Donell <carlos@redhat.com>
17913
17914 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17915 else clause and remove check for non-standard endianness.
17916
179172013-02-04 David S. Miller <davem@davemloft.net>
17918
17919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17920
179212013-02-04 Joseph Myers <joseph@codesourcery.com>
17922
17923 [BZ #13550]
17924 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17925 (__ubp_memchr): Remove prototype.
17926 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17927 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17928 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17929 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17930 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17931 Remove alias.
17932 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17933 (__ubp_memchr): Likewise.
17934 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17935 (__ubp_memchr): Likewise.
17936 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17937 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17938 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17939 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17940 CHECK_STRING.
17941 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17942 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17943 (__getcwd): Do not use CHECK_STRING.
17944 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17945 <bp-checks.h>.
17946 (__real_chown): Do not use CHECK_STRING.
17947 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17948 <bp-checks.h>.
17949 (fchownat): Do not use CHECK_STRING.
17950 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17951 CHECK_STRING.
17952 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17953 <bp-checks.h>.
17954 (__lchown): Do not use CHECK_STRING.
17955 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17956 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17957 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17958 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17960 include <bp-checks.h>.
17961 (truncate64): Do not use CHECK_STRING.
17962 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17963 <bp-checks.h>.
17964 (__real_chown): Do not use CHECK_STRING.
17965 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17966 <bp-checks.h>.
17967 (__lchown): Do not use CHECK_STRING.
17968 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17969 <bp-checks.h>.
17970 (__chown): Do not use CHECK_STRING.
17971 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17972 <bp-checks.h>.
17973 (truncate64): Do not use CHECK_STRING.
17974 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17975 Likewise.
17976 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17977 (__xmknod): Do not use CHECK_STRING.
17978 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17979 <bp-checks.h>.
17980 (__xmknodat): Do not use CHECK_STRING.
17981 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17982 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17983
179842013-02-04 Andreas Schwab <schwab@suse.de>
17985
17986 [BZ #14142]
17987 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17988 * include/netdb.h: Likewise for h_errno.
17989 * elf/tst-stackguard1.c: Include <tls.h>.
17990
179912013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17992
17993 * elf/link.h (struct link_map): Extend the l_addr comment.
17994 * include/link.h (struct link_map): Likewise.
17995
179962013-02-01 Joseph Myers <joseph@codesourcery.com>
17997
17998 [BZ #13550]
17999 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18000 (BOUNDED_1): Remove macro.
18001 * debug/backtrace.c: Don't include <bp-checks.h>.
18002 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18003 (__backtrace): Likewise.
18004 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18005 <bp-checks.h>.
18006 (__backtrace): Don't use BOUNDED_1.
18007 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18008 <bp-checks.h>.
18009 (__backtrace): Don't use BOUNDED_1.
18010 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18011 (__backtrace): Don't use BOUNDED_1.
18012 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18013 (shmat): Don't use BOUNDED_N.
18014
180152013-01-31 Joseph Myers <joseph@codesourcery.com>
18016
18017 [BZ #13550]
18018 * sysdeps/generic/bp-start.h: Remove file.
18019 * csu/libc-start.c: Don't include <bp-start.h>.
18020 (LIBC_START_MAIN): Set up __environ directly instead of using
18021 INIT_ARGV_and_ENVIRON.
18022 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18023 <bp-start.h>.
18024
18025 [BZ #13550]
18026 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18027 definitions.
18028 (CHECK_FCNTL): Likewise.
18029 (CHECK_N_PAGES): Likewise.
18030
18031 [BZ #13550]
18032 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18033 definitions.
18034 (CHECK_SIGSET_NULL_OK): Likewise.
18035 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18036 <bp-checks.h>.
18037 (sigpending): Don't use CHECK_SIGSET.
18038 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18039 <bp-checks.h>.
18040 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18041 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18042 <bp-checks.h>.
18043 (do_sigsuspend): Don't use CHECK_SIGSET.
18044 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18045 use CHECK_SIGSET.
18046 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18047 (do_sigwait): Don't use CHECK_SIGSET.
18048 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18049 use CHECK_SIGSET.
18050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18051 include <bp-checks.h>.
18052 (sigpending): Don't use CHECK_SIGSET.
18053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18054 include <bp-checks.h>.
18055 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18056 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18057 <bp-checks.h>.
18058 (sigpending): Don't use CHECK_SIGSET.
18059 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18060 <bp-checks.h>.
18061 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18062
18063 [BZ #13550]
18064 * sysdeps/generic/bp-semctl.h: Remove file.
18065 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18066 <bp-checks.h> and <bp-semctl.h>.
18067 (__old_semctl): Don't use CHECK_SEMCTL.
18068 (__new_semctl): Likewise.
18069 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18070 and <bp-semctl.h>.
18071 (__old_semctl): Don't use CHECK_SEMCTL.
18072 (__new_semctl): Likewise.
18073 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18074 <bp-checks.h> and <bp-semctl.h>.
18075 (__old_semctl): Don't use CHECK_SEMCTL.
18076 (__new_semctl): Likewise.
18077 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18078 <bp-checks.h> and <bp-semctl.h>.
18079 (semctl): Don't use CHECK_SEMCTL.
18080
18081 [BZ #13550]
18082 * Makerules (elide-bp-thunks): Remove variable.
18083 (elide-routines.oS): Don't use $(elide-bp-thunks).
18084 (elide-routines.os): Likewise.
18085 (elide-routines.o): Likewise.
18086 (elide-routines.op): Likewise.
18087 (elide-routines.og): Likewise.
18088 (objects): Don't use $(bp-thunks).
18089 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18090 include.
18091 (common-generated): Do not add s-proto-bp.d.
18092 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18093 (int): Likewise.
18094 (typ): Likewise.
18095 Do not generate makefile rules for bounded-pointer thunks.
18096 * sysdeps/generic/bp-thunks.h: Remove file.
18097 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18098 * sysdeps/unix/s-proto-bp.S: Likewise.
18099
18100 [BZ #15062]
18101 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18102 parts of result separately when argument is not close to line from
18103 -i to i and one part of argument is small.
18104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18106 * math/libm-test.inc (cacos_test): Add more tests.
18107 (casin_test): Likewise.
18108 (casinh_test): Likewise.
18109 * sysdeps/i386/fpu/libm-test-ulps: Update.
18110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111
181122013-01-31 David S. Miller <davem@davemloft.net>
18113
18114 * po/de.po: Update from translation team.
18115
181162013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18117
18118 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18119
181202013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18121
18122 * configure.in (_AC_PROG_CC_C89): New definition.
18123 * configure: Regenerate.
18124
18125 * configure.in (AC_PROG_CPP): New definition.
18126 * configure: Regenerate.
18127
181282013-01-23 Joseph Myers <joseph@codesourcery.com>
18129
18130 * debug/tst-backtrace.h: New file.
18131 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18132 (ret): Remove variable.
18133 (x): Likewise.
18134 (FAIL): Remove macro.
18135 (NO_INLINE): Likewise.
18136 (fn1): Use match function instead of strstr.
18137 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18138 (ret): Remove variable.
18139 (x): Likewise.
18140 (FAIL): Remove macro.
18141 (NO_INLINE): Likewise.
18142 (fn): Use match function instead of strstr.
18143 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18144 (ret): Remove variable.
18145 (x): Likewise.
18146 (FAIL): Remove macro.
18147 (NO_INLINE): Likewise.
18148 (handle_signal): Use match function instead of strstr.
18149 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18150 (ret): Remove variable.
18151 (x): Likewise.
18152 (FAIL): Remove macro.
18153 (NO_INLINE): Likewise.
18154 (handle_signal): Use match function instead of strstr.
18155
181562013-01-23 Roland McGrath <roland@hack.frob.com>
18157
18158 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18159
181602013-01-23 David S. Miller <davem@davemloft.net>
18161
18162 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18163 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18164 argument of CAS if possible.
18165 * sysdeps/sparc/sparc64/bits/atomic.h
18166 (__arch_compare_and_exchange_val_32_acq): Likewise.
18167 (__arch_compare_and_exchange_val_64_acq): Likewise.
18168
181692013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18170
18171 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18172 * sysdeps/posix/ulimit.c: ... this.
18173 Include <limits.h>.
18174 * sysdeps/unix/bsd/ulimit.c: Remove file.
18175
181762013-01-23 Adam Conrad <adconrad@0c3.net>
18177
18178 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18179 (LDFLAGS-tst-array5): Likewise.
18180
181812013-01-23 Joseph Myers <joseph@codesourcery.com>
18182
18183 [BZ #15036]
18184 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18185 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18186 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18187 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18188
181892013-01-21 David S. Miller <davem@davemloft.net>
18190
18191 * sysdeps/sparc/backtrace.c: New file.
18192 * sysdeps/sparc/sparc32/backtrace.h: New file.
18193 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18194 * sysdeps/sparc/sparc64/backtrace.h: New file.
18195 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18196 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18197 -funwind-tables.
18198
181992013-01-21 Andreas Schwab <schwab@suse.de>
18200
18201 [BZ #15020]
18202 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18203 closed its stdout.
18204
182052013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18206
18207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18208 "mpa2.h".
18209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18210
182112013-01-18 Joseph Myers <joseph@codesourcery.com>
18212 Mark Mitchell <mark@codesourcery.com>
18213 Tom de Vries <tom@codesourcery.com>
18214 Paul Pluzhnikov <ppluzhnikov@google.com>
18215
18216 * debug/tst-backtrace2.c: New file.
18217 * debug/tst-backtrace3.c: Likewise.
18218 * debug/tst-backtrace4.c: Likewise.
18219 * debug/tst-backtrace5.c: Likewise.
18220 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18221 (CFLAGS-tst-backtrace3.c): Likewise.
18222 (CFLAGS-tst-backtrace4.c): Likewise.
18223 (CFLAGS-tst-backtrace5.c): Likewise.
18224 (LDFLAGS-tst-backtrace2): Likewise.
18225 (LDFLAGS-tst-backtrace3): Likewise.
18226 (LDFLAGS-tst-backtrace4): Likewise.
18227 (LDFLAGS-tst-backtrace5): Likewise.
18228 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18229 tst-backtrace4 and tst-backtrace5.
18230
182312013-01-18 Anton Blanchard <anton@samba.org>
18232 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18233
18234 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18235 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18236 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18237 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18239 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18240 "+r" and remove output regs list as redundant. Add explicit inline
18241 asm to specify register of return val to work around compiler codegen
18242 bug. Remove (int) cast on return value. Add return type parameter to
18243 use in macro so that this macro does not truncate return value for
18244 64-bit values.
18245 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18246 pass to INTERNAL_VSYSCALL_NCS.
18247 (INLINE_VSYSCALL): Add 'long int' as return type to
18248 INTERNAL_VSYSCALL_NCS macro invocation.
18249 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18250 INTERNAL_VSYSCALL_NCS macro invocation.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18252
182532013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18254
18255 [BZ #14496]
18256 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18257 Fix application of SIMD FP exception mask.
18258
18259 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18260 mp_no from a power of two.
18261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18262 __mpexp_twomm1. Use __pow_mp.
18263
18264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18265 multiplication.
18266
182672013-01-17 David S. Miller <davem@davemloft.net>
18268
18269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18270
182712013-01-17 Joseph Myers <joseph@codesourcery.com>
18272
18273 [BZ #15023]
18274 * include/complex.h: Condition contents on [!_COMPLEX_H].
18275 (__kernel_casinhf): New prototype.
18276 (__kernel_casinh): Likewise.
18277 (__kernel_casinhl): Likewise.
18278 * math/Makefile (libm_calls): Add k_casinh.
18279 * math/k_casinh.c: New file.
18280 * math/k_casinhf.c: Likewise.
18281 * math/k_casinhl.c: Likewise.
18282 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18283 finite nonzero arguments.
18284 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18285 finite nonzero arguments.
18286 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18287 finite nonzero arguments.
18288 * math/s_casinh.c: Do not include <float.h>.
18289 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18290 * math/s_casinhf.c: Do not include <float.h>.
18291 (__casinhf): Move code for finite nonzero arguments to
18292 k_casinhf.c.
18293 * math/s_casinhl.c: Do not include <float.h>.
18294 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18295 redefine.
18296 (__casinhl): Move code for finite nonzero arguments to
18297 k_casinhl.c.
18298 * math/libm-test.inc (cacos_test): Add more tests.
18299 * sysdeps/i386/fpu/libm-test-ulps: Update.
18300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18301
183022013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18303
18304 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18305 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18306 [!HAVE_MREMAP]: Remove [defined linux] case.
18307 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18308
183092013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18310
18311 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18312
183132013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18314
18315 * elf/elf.h (R_386_SIZE32): New relocation.
18316 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18317 R_386_SIZE32.
18318 (elf_machine_rela): Likewise.
18319 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18320 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18321
183222013-01-17 Joseph Myers <joseph@codesourcery.com>
18323
18324 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18325 (FP_FAST_FMA): Do not define.
18326 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18327 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18328 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18329 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18330 !_SOFT_FLOAT]: Likewise.
18331 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18332 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18333 value.
18334 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18335 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18338 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18339 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18340 file.
18341
183422013-01-16 Andreas Schwab <schwab@suse.de>
18343
18344 [BZ #14327]
18345 * include/stdlib.h (__mktemp): Add declaration.
18346 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18347 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18348
183492013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18350
18351 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18352 definitions.
18353 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18354 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18355 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18356 definitions here.
18357 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18358 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18359 definitions.
18360 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18361 and ONE.
18362 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18363 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18364 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18365 definitions.
18366 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18367 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18368 definitions.
18369 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18370
18371 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18372
183732013-01-15 David S. Miller <davem@davemloft.net>
18374
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18376 trunc{,f} to libm-sysdep_routes.
18377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18379 file.
18380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18382 file.
18383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18384 file.
18385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18391 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18392 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18393
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18395 nearbyint{,f} to libm-sysdep_routes.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18398 New file.
18399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18400 file.
18401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18402 New file.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18404 file.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18407 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18408 file.
18409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18410 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18411 file.
18412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18413 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18414 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18415
18416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18417 libc_feholdexcept and libc_fesetenv.
18418
184192013-01-15 Mike Frysinger <vapier@gentoo.org>
18420
18421 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18422
184232013-01-14 David S. Miller <davem@davemloft.net>
18424
18425 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18426 (SPARC_ASM_VIS2_IFUNC): Likewise.
18427 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18429 use of 'siam' instruction.
18430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18431 Likewise.
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18433 Likewise.
18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18435 Likewise.
18436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18441 file.
18442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18443 file.
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18445 file.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18447 file.
18448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18453 new VIS2 routines.
18454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18457 Likewise.
18458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18463 routines to libm-sysdep_routines.
18464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18465
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18467 fdim/fdimf to libm-sysdep_routines.
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18469 file.
18470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18472 file.
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18476 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18477 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18478 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18479 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18480
184812013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18482
18483 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18484 to optimize copies.
18485
18486 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18489
18490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18491 local variable MPTWO.
18492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18493 Likewise.
18494
184952013-01-13 Mike Frysinger <vapier@gentoo.org>
18496
18497 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18498 GLOB_NOESCAPE.
18499
185002013-01-13 Mike Frysinger <vapier@gentoo.org>
18501
18502 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18503
185042013-01-13 Mike Frysinger <vapier@gentoo.org>
18505
18506 * manual/pattern.texi (glob_t): Document gl_flags.
18507 (glob64_t): Likewise.
18508
185092013-01-11 David S. Miller <davem@davemloft.net>
18510
18511 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18512 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18513 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18514 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18515 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18516 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18517 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18518 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18519 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18520 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18521 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18522 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18523 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18524
18525 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18526 sparc V9 rather than using V8 code.
18527 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18528 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18529
18530 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18531 Move to...
18532 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18533 Here.
18534
185352013-01-11 Roland McGrath <roland@hack.frob.com>
18536
18537 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18538 not in the main loop.
18539 * configure: Regenerated.
18540
185412013-01-11 Joseph Myers <joseph@codesourcery.com>
18542
18543 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18544 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18545 to just #else.
18546 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18547 [!__GLIBC_HAVE_LONG_LONG] case.
18548 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18549 condition to just #else.
18550 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18551 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18552 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18553 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18554 unconditional.
18555 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18556 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18557 #elif condition to just #else.
18558 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18559 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18560 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18561 #elif condition to just #else.
18562
185632013-01-11 Steve Ellcey <sellcey@mips.com>
18564
18565 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18566 (EF_MIPS_ARCH_64): Fix value.
18567 (EF_MIPS_ARCH_32R2): New.
18568 (EF_MIPS_ARCH_64R2): New.
18569
185702013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18571
18572 * Makeconfig (+link-pie-before-libc): New.
18573 (+link-pie-after-libc): Likewise.
18574 (+link-pie-tests): Likewise.
18575 (+link-pie): Rewritten.
18576 (link-before-libc): Remove $(config-LDFLAGS).
18577 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18578 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18579 (config-LDFLAGS): Renamed to ...
18580 (rtld-LDFLAGS): This.
18581 (rtld-tests-LDFLAGS): New macro.
18582 (link-libc-rpath-link): Likewise.
18583 (link-libc-tests-rpath-link): Likewise.
18584 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18585 (link-libc): Prepand $(link-libc-rpath-link).
18586 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18587 (test-program-prefix): New macro.
18588 (test-via-rtld-prefix): Likewise.
18589 (test-program-cmd): Likewise.
18590 (host-test-program-cmd): Likewise.
18591 * Makefile ($(common-objpfx)testrun.sh): Replace
18592 $(run-program-prefix) with $(test-program-prefix).
18593 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18594 $(rtld-LDFLAGS).
18595 ($(common-objpfx)shlib.lds): Likewise.
18596 (build-module-helper): Likewise.
18597 ($(common-objpfx)format.lds): Likewise.
18598 * Rules (binaries-pie-tests): New.
18599 (binaries-pie-notests): Likewise.
18600 (binaries-pie): Rewritten.
18601 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18602 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18603 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18604 (make-test-out): Replace $(host-built-program-cmd) with
18605 $(host-test-program-cmd).
18606 * config.make.in (build-hardcoded-path-in-tests): New variable.
18607 * configure.in (--enable-hardcoded-path-in-tests): New configure
18608 option.
18609 (hardcoded_path_in_tests): New AC_SUBST.
18610 * configure: Regenerated.
18611 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18612 $(built-program-cmd) with $(test-program-cmd).
18613 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18614 (test_program_cmd): This.
18615 * elf/Makefile ($(objpfx)order.out): Run test with
18616 $(test-program-prefix).
18617 ($(objpfx)order2.out): Likewise.
18618 ($(objpfx)tst-initorder.out): Likewise.
18619 ($(objpfx)tst-initorder2.out): Likewise.
18620 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18621 $(test-program-cmd).
18622 ($(objpfx)tst-array1-static.out): Likewise.
18623 ($(objpfx)tst-array2.out): Likewise.
18624 ($(objpfx)tst-array3.out): Likewise.
18625 ($(objpfx)tst-array4.out): Likewise.
18626 ($(objpfx)tst-array5.out): Likewise.
18627 ($(objpfx)tst-array5-static.out): Likewise.
18628 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18629 $(test-program-cmd).
18630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18631 $(run-program-prefix) with $(test-program-prefix).
18632 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18633 (test_program_prefix): This.
18634 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18635 $(run-program-prefix) with $(test-program-prefix).
18636 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18637 (test_program_prefix): This.
18638 * iconvdata/tst-tables.sh: Likewise.
18639 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18640 $(run-program-prefix) with $(test-program-prefix).
18641 ($(objpfx)tst-translit.out): Likewise.
18642 ($(objpfx)tst-gettext2.out): Likewise.
18643 ($(objpfx)tst-gettext4.out): Likewise.
18644 ($(objpfx)tst-gettext6.out): Likewise.
18645 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18646 (test_program_prefix): This.
18647 * intl/tst-gettext2.sh: Likewise.
18648 * intl/tst-gettext4.sh Likewise.
18649 * intl/tst-gettext6.sh: Likewise.
18650 * intl/tst-translit.sh: Likewise.
18651 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18652 with $(test-program-cmd).
18653 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18654 $(run-program-prefix) with $(test-program-prefix).
18655 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18656 (test_program_prefix): This.
18657 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18658 $(run-program-prefix) with $(test-program-prefix).
18659 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18660 (test_program_prefix): This.
18661 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18662 * posix/Makefile ($(objpfx)globtest.out): Replace
18663 $(run-via-rtld-prefix) and $(test-wrapper) with
18664 $(test-program-prefix) and $(test-via-rtld-prefix).
18665 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18666 $(test-program-prefix).
18667 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18668 $(host-test-program-cmd).
18669 (tst-spawn-ARGS): Likewise.
18670 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18671 $(test-program-prefix).
18672 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18673 (test_via_rtld_prefix): This.
18674 (test_wrapper): Renamed to ...
18675 (test_program_prefix): This.
18676 (run_program_prefix): Replaced by test_program_prefix.
18677 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18678 (test_program_prefix): This.
18679 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18680 with $(host-test-program-cmd).
18681 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18682 $(run-program-prefix) with $(test-program-prefix).
18683 ($(objpfx)tst-printf.out): Likewise.
18684 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18685 $(test-program-cmd).
18686 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18687 (test_program_prefix): This.
18688 * stdio-common/tst-unbputc.sh: Likewise.
18689 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18690 $(run-program-prefix) with $(test-program-prefix).
18691 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18692 (test_program_prefix): This.
18693 * string/Makefile ($(objpfx)tst-svc.out): Replace
18694 $(built-program-cmd) with $(test-program-cmd).
18695
186962013-01-11 Andreas Jaeger <aj@suse.de>
18697
18698 [BZ #15003]
18699 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18700 value. Sync with Linux 3.7.
18701
187022013-01-10 David S. Miller <davem@davemloft.net>
18703
18704 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18705 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18706 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18707
187082013-01-10 Roland McGrath <roland@hack.frob.com>
18709
18710 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18711 never set.
18712 * configure: Regenerated.
18713
187142013-01-10 David S. Miller <davem@davemloft.net>
18715
18716 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18717 sparc V9 rather than using V8 code.
18718 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18719 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18720
187212013-01-10 Roland McGrath <roland@hack.frob.com>
18722
18723 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18724 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18725 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18726 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18727 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18728 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18729 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18730 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18731 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18732 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18733 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18734 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18735 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18736 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18737 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18738 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18739 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18740 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18741 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18742 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18743 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18744 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18745 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18746 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18747 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18748 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18749 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18750
187512013-01-10 David S. Miller <davem@davemloft.net>
18752
18753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18754
187552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18756
18757 * posix/Makefile (tests-static): New variable.
18758 (tests): Add $(tests-static).
18759 (tst-exec-static-ARGS): New variable.
18760 (tst-spawn-static-ARGS): Likewise.
18761 * posix/tst-exec-static.c: New file.
18762 * posix/tst-spawn-static.c: Likewise.
18763 * posix/tst-exec.c: Support run directly.
18764 * posix/tst-spawn.c: Likewise.
18765
187662013-01-10 Joseph Myers <joseph@codesourcery.com>
18767
18768 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18769 long.
18770 * math/bits/mathcalls.h (llrint): Likewise.
18771 (llround): Likewise.
18772 * stdlib/stdlib.h (struct drand48_data): Likewise.
18773 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18774 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18775 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18776 Likewise.
18777 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18778 Likewise.
18779 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18780 (elf_greg_t): Likewise.
18781 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18782 (__jmp_buf): Likewise.
18783 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18784 definitions.
18785 (llrint): Likewise, for all definitions.
18786 (llrintl): Likewise.
18787
18788 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18789 Remove [__GNUC__] condition.
18790 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18791 condition to just [__USE_ISOC99].
18792 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18793
187942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18795
18796 [BZ #14200]
18797 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18798 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18799 defined.
18800 (_POSIX_V6_ILP32_OFF32): Likewise.
18801 (_XBS5_ILP32_OFF32): Likewise.
18802 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18803 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18804
188052013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18806
18807 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18808
18809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18810 doubles __mpexp_twomm1. Adjust usage.
18811 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18812 Remove.
18813
188142013-01-10 Andreas Schwab <schwab@suse.de>
18815
18816 [BZ #14964]
18817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18818 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18819
188202013-01-09 David S. Miller <davem@davemloft.net>
18821
18822 [BZ #15003]
18823 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18824 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18825 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18826 TCP_FASTOPEN): Define.
18827 (tcp_repair_opt): New structure.
18828 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18829 enum values.
18830 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18831 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18832 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18833 (tcp_cookie_transactions): New structure.
18834
188352013-01-09 Anton Blanchard <anton@samba.org>
18836
18837 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18838 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18840 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18841
188422013-01-09 Joseph Myers <joseph@codesourcery.com>
18843
18844 * include/features.h (__USE_ANSI): Remove.
18845
188462013-01-09 Roland McGrath <roland@hack.frob.com>
18847
18848 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18849
18850 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18851
188522013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18853
18854 * sysdeps/s390/fpu/libm-test-ulps: Update.
18855
18856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18857
18858 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18859 (__acr): Likewise.
18860 (__cpy): Likewise.
18861 (norm): Likewise.
18862 (denorm): Likewise.
18863 (__mp_dbl): Likewise.
18864 (__dbl_mp): Likewise.
18865 (add_magnitudes): Likewise.
18866 (sub_magnitudes): Likewise.
18867 (__add): Likewise.
18868 (__sub): Likewise.
18869 (__mul): Likewise.
18870 (__inv): Likewise.
18871 (__dvd): Likewise.
18872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18873 (__acr): Likewise.
18874 (__cpy): Likewise.
18875 (norm): Likewise.
18876 (denorm): Likewise.
18877 (__mp_dbl): Likewise.
18878 (__dbl_mp): Likewise.
18879 (add_magnitudes): Likewise.
18880 (sub_magnitudes): Likewise.
18881 (__add): Likewise.
18882 (__sub): Likewise.
18883 (__mul): Likewise.
18884 (__inv): Likewise.
18885 (__dvd): Likewise.
18886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18887 (__acr): Likewise.
18888 (__cpy): Likewise.
18889 (norm): Likewise.
18890 (denorm): Likewise.
18891 (__mp_dbl): Likewise.
18892 (__dbl_mp): Likewise.
18893 (add_magnitudes): Likewise.
18894 (sub_magnitudes): Likewise.
18895 (__add): Likewise.
18896 (__sub): Likewise.
18897 (__mul): Likewise.
18898 (__inv): Likewise.
18899 (__dvd): Likewise.
18900
189012013-01-08 Joseph Myers <joseph@codesourcery.com>
18902
18903 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18904 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18905 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18906 2 && __USE_EXTERN_INLINES]: Likewise.
18907
189082013-01-08 Andreas Jaeger <aj@suse.de>
18909
18910 [BZ# 14985]
18911 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18912 Remove.
18913 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18914 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18915
189162013-01-07 Anton Blanchard <anton@samba.org>
18917
18918 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18919 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18920 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18921 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18922 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18923 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18924 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18925 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18927 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18929 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18931 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18932 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18934 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18936 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18941 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18942 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18943 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18944 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18945 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18946 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18947 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18948 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18951 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18952 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18953 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18954 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18956 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18960 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18961
189622013-01-07 Joseph Myers <joseph@codesourcery.com>
18963
18964 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18965 (__MALLOC_PMT): Likewise.
18966 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18967 [__GNUC__], only on [_LIBC].
18968 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18969 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18970 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18971 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18972 forward declaration.
18973 (realloc_hook_ini): Likewise.
18974 (memalign_hook_ini): Likewise.
18975 (__libc_memalign): Do not use __MALLOC_PMT in variable
18976 declaration.
18977 (__libc_valloc): Likewise.
18978 (__libc_pvalloc): Likewise.
18979 (__libc_calloc): Likewise.
18980 (__posix_memalign): Likewise.
18981
18982 [BZ #14996]
18983 * math/s_casinh.c: Include <float.h>.
18984 (__casinh): Do not do computation with squaring and square root
18985 for large arguments.
18986 * math/s_casinhf.c: Include <float.h>.
18987 (__casinhf): Do not do computation with squaring and square root
18988 for large arguments.
18989 * math/s_casinhl.c: Include <float.h>.
18990 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18991 (__casinhl): Do not do computation with squaring and square root
18992 for large arguments.
18993 * math/libm-test.inc (casin_test): Add more tests.
18994 (casinh_test): Likewise.
18995 * sysdeps/i386/fpu/libm-test-ulps: Update.
18996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18997
189982013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18999
19000 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19001 (__x86_64_raw_data_cache_size): Likewise.
19002 (__x86_64_data_cache_size_half): Likewise.
19003 (__x86_64_raw_data_cache_size_half): Likewise.
19004 (__x86_64_shared_cache_size): Likewise.
19005 (__x86_64_raw_shared_cache_size): Likewise.
19006 (__x86_64_shared_cache_size_half): Likewise.
19007 (__x86_64_raw_shared_cache_size_half): Likewise.
19008 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19009 to ...
19010 (__x86_data_cache_size): This.
19011 (__x86_64_raw_data_cache_size): Renamed to ...
19012 (__x86_raw_data_cache_size): This.
19013 (__x86_64_data_cache_size_half): Renamed to ...
19014 (__x86_data_cache_size_half): This.
19015 (__x86_64_raw_data_cache_size_half): Renamed to ...
19016 (__x86_raw_data_cache_size_half): This.
19017 (__x86_64_shared_cache_size): Renamed to ...
19018 (__x86_shared_cache_size): This.
19019 (__x86_64_raw_shared_cache_size): Renamed to ...
19020 (__x86_raw_shared_cache_size): This.
19021 (__x86_64_shared_cache_size_half): Renamed to ...
19022 (__x86_shared_cache_size_half): This.
19023 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19024 (__x86_raw_shared_cache_size_half): This.
19025 * sysdeps/x86_64/memcpy.S: Updated.
19026 * sysdeps/x86_64/memset.S: Likewise.
19027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19030
190312013-01-04 David S. Miller <davem@davemloft.net>
19032
19033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19034
190352013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19036
19037 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19038 1 to avoid redefinition warning.
19039 (__USE_GNU): Don't define.
19040 (init_signaling_nan): Protoize.
19041
19042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19043
190442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19045
19046 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19048 (__cpymn): Likewise.
19049 (norm): Remove commented code.
19050 (denorm): Likewise.
19051 (__mp_dbl): Likewise.
19052 (__inv): Likewise.
19053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19054 (__cpymn): Likewise.
19055 (norm): Remove commented code.
19056 (denorm): Likewise.
19057 (__mp_dbl): Likewise.
19058 (__inv): Likewise.
19059
19060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19061 mp_no value for 1.0 and 2.0.
19062 (norm): Use RADIXI instead of radixi.d.
19063 (denorm): Likewise.
19064 (__mul): Use 0.0 instead of zero.d.
19065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19066 mp_no value for 1.0 and 2.0.
19067 (norm): Use RADIXI instead of radixi.d.
19068 (denorm): Likewise.
19069 (__mul): Use 0.0 instead of zero.d.
19070
190712013-01-04 Joseph Myers <joseph@codesourcery.com>
19072
19073 [BZ #14994]
19074 * math/s_casinh.c (__casinh): Reduce finite argument to first
19075 quadrant then set signs of results at the end.
19076 * math/s_casinhf.c (__casinhf): Likewise.
19077 * math/s_casinhl.c (__casinhl): Likewise.
19078 * math/libm-test.inc (casin_test): Add more tests.
19079 (casinh_test): Likewise.
19080 * sysdeps/i386/fpu/libm-test-ulps: Update.
19081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19082
190832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19084
19085 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19086
19087 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19088
19089 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19090 declarations.
19091 (denorm): Likewise.
19092 (__mp_dbl): Likewise.
19093 (__inv): Likewise.
19094
19095 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19096 and adjust the header comment.
19097
19098 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19099 variable name from declaration.
19100
191012013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19102
19103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19104 Initialize COMMON_CPUID_INDEX_7 element.
19105 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19106 (CPUID_RTM): Likewise.
19107 (HAS_RTM): Likewise.
19108 (COMMON_CPUID_INDEX_7): New enum.
19109
191102013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19111
19112 [BZ #14981]
19113 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19114 size is zero, record memory as freed.
19115
191162013-01-03 Andreas Jaeger <aj@suse.de>
19117
19118 * po/ia.po: Add new Interlingua translation.
19119
191202012-01-03 Allan McRae <allan@archlinux.org>
19121
19122 * locale/programs/localedef.c: Fix description of '--posix' flag.
19123
191242013-01-02 Joseph Myers <joseph@codesourcery.com>
19125
19126 * NEWS: Update dates in second copyright notice.
19127 * README: Update copyright dates in example.
19128 * manual/libc.texinfo: Update copyright dates.
19129 * scripts/test-installation.pl: Update copyright date in --version
19130 output.
19131
19132 * hurd/ctty-input.c: Fix copyright notice formatting.
19133 * hurd/ctty-output.c: Likewise.
19134 * hurd/dtable.c: Likewise.
19135 * hurd/hurd-raise.c: Likewise.
19136 * hurd/hurdprio.c: Likewise.
19137 * hurd/msgportdemux.c: Likewise.
19138 * misc/sys/file.h: Likewise.
19139 * misc/sys/ioctl.h: Likewise.
19140 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19141 * sysdeps/mach/hurd/chdir.c: Likewise.
19142 * sysdeps/mach/hurd/fchdir.c: Likewise.
19143 * sysdeps/mach/hurd/rename.c: Likewise.
19144 * sysdeps/mach/hurd/rmdir.c: Likewise.
19145 * sysdeps/mach/hurd/seekdir.c: Likewise.
19146 * sysdeps/mach/hurd/setsid.c: Likewise.
19147 * sysdeps/posix/wait3.c: Likewise.
19148
19149 * All files with FSF copyright notices: Update copyright dates
19150 using scripts/update-copyrights.
19151 * intl/plural.c: Regenerated.
19152 * locale/programs/charmap-kw.h: Likewise.
19153 * locale/programs/locfile-kw.h: Likewise.
19154
191552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19156
19157 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19158 four values.
19159
19160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19161 calculation loop and add branch prediction.
19162
19163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19164 check access beyond bounds of m1np.
19165
19166 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19167 MPTWO.
19168 (__inv): Remove local variable MPTWO to use the global
19169 constant.
19170 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19172 variable MPTWO.
19173 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19174 MP3HALFS static const.
19175
191762013-01-01 David S. Miller <davem@davemloft.net>
19177
19178 * po/ca.po: Update from translation team.
19179
191802013-01-01 Joseph Myers <joseph@codesourcery.com>
19181
19182 * scripts/update-copyrights: New file.
19183 * Makeconfig: Reformat copyright notice.
19184 * ctype/ctype.h: Likewise.
19185 * debug/swprintf_chk.c: Likewise.
19186 * elf/dl-cache.c: Likewise.
19187 * elf/dl-debug.c: Likewise.
19188 * elf/dl-object.c: Likewise.
19189 * grp/initgroups.c: Likewise.
19190 * hurd/Makefile: Likewise.
19191 * hurd/hurd/signal.h: Likewise.
19192 * hurd/hurdfault.c: Likewise.
19193 * hurd/hurdioctl.c: Likewise.
19194 * hurd/hurdlookup.c: Likewise.
19195 * hurd/intr-msg.c: Likewise.
19196 * iconv/gconv_open.c: Likewise.
19197 * libio/swprintf.c: Likewise.
19198 * locale/lc-ctype.c: Likewise.
19199 * locale/nl_langinfo.c: Likewise.
19200 * mach/Machrules: Likewise.
19201 * mach/Makefile: Likewise.
19202 * malloc/obstack.h: Likewise.
19203 * manual/Makefile: Likewise.
19204 * manual/tsort.awk: Likewise.
19205 * misc/bits/stab.def: Likewise.
19206 * nis/nis_print_group_entry.c: Likewise.
19207 * nis/nis_table.c: Likewise.
19208 * nis/nss_compat/compat-pwd.c: Likewise.
19209 * nis/nss_compat/compat-spwd.c: Likewise.
19210 * po/Makefile: Likewise.
19211 * posix/fnmatch.c: Likewise.
19212 * posix/regex.h: Likewise.
19213 * resolv/Makefile: Likewise.
19214 * resolv/nss_dns/dns-network.c: Likewise.
19215 * resolv/res_hconf.c: Likewise.
19216 * scripts/gen-sorted.awk: Likewise.
19217 * soft-fp/soft-fp.h: Likewise.
19218 * stdio-common/printf.h: Likewise.
19219 * stdlib/monetary.h: Likewise.
19220 * stdlib/random.c: Likewise.
19221 * stdlib/random_r.c: Likewise.
19222 * sysdeps/generic/Makefile: Likewise.
19223 * sysdeps/gnu/Makefile: Likewise.
19224 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19240 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19244 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19245 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19246 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19247 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19248 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19252 * sysdeps/mach/hurd/errnos.awk: Likewise.
19253 * sysdeps/mach/hurd/fork.c: Likewise.
19254 * sysdeps/mach/hurd/getcwd.c: Likewise.
19255 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19256 * sysdeps/mach/hurd/mmap.c: Likewise.
19257 * sysdeps/mach/hurd/utimes.c: Likewise.
19258 * sysdeps/mach/hurd/xmknod.c: Likewise.
19259 * sysdeps/posix/profil.c: Likewise.
19260 * sysdeps/posix/readdir_r.c: Likewise.
19261 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19262 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19263 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19264 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19266 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19267 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19268 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19272 * sysdeps/pthread/lio_listio.c: Likewise.
19273 * sysdeps/sparc/dl-procinfo.h: Likewise.
19274 * sysdeps/unix/i386/sysdep.S: Likewise.
19275 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19276 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19277 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19278 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19280 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19281 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19282 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19283 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19284 * sysdeps/wordsize-32/divdi3.c: Likewise.
19285 * time/sys/time.h: Likewise.
19286 * wcsmbs/Makefile: Likewise.
19287
192882013-01-01 David S. Miller <davem@davemloft.net>
19289
19290 * po/fr.po: Update from translation team.
19291
19292 * catgets/gencat.c: Update copyright year.
19293 * csu/version.c: Likewise.
19294 * debug/catchsegv.sh: Likewise.
19295 * debug/pcprofiledump.c: Likewise.
19296 * debug/xtrace.sh: Likewise.
19297 * elf/ldconfig.c: Likewise.
19298 * elf/ldd.bash.in: Likewise.
19299 * elf/pldd.c: Likewise.
19300 * elf/sotruss.ksh: Likewise.
19301 * elf/sprof.c: Likewise.
19302 * iconv/iconv_prog.c: Likewise.
19303 * iconv/iconvconfig.c: Likewise.
19304 * locale/programs/locale.c: Likewise.
19305 * locale/programs/localedef.c: Likewise.
19306 * login/programs/pt_chown.c: Likewise.
19307 * malloc/memusage.sh: Likewise.
19308 * malloc/memusagestat.c: Likewise.
19309 * malloc/mtrace.pl: Likewise.
19310 * nscd/nscd.c: Likewise.
19311 * nss/getent.c: Likewise.
19312 * nss/makedb.c: Likewise.
19313 * posix/getconf.c: Likewise.
19314
193152012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19316
19317 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19318 numbers.
19319
193202012-12-30 Mike Frysinger <vapier@gentoo.org>
19321
19322 * math/bits/mathcalls.h (modf): Use __nonnull.
19323
193242012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19325
19326 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19327 (split): Use macro CN instead of the bare value.
19328 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19329 could be used.
19330 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19331 instead of the bare value.
19332 (power1): Likewise.
19333
193342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19335
19336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19337 __ATAN_TWOM.
19338 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19339
19340 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19341 their values.
19342 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19343 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19344 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19346
193472012-12-28 Andreas Jaeger <aj@suse.de>
19348
19349 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19350 values are from Linux 3.7.
19351
19352 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19353 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19354
193552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19356
19357 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19358 TRUE case.
19359
19360 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19361 (norm): Likewise.
19362 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19363 variables with preprocessor constants.
19364 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19365 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19366 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19367
193682012-12-27 Bruno Haible <bruno@clisp.org>
19369
19370 [BZ #14317]
19371 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19372 only if needed.
19373
193742012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19375
19376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19377 and use variable directly.
19378 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19379
19380 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19381 MPONE.
19382 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19383 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19384 variable MPONE.
19385 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19387 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19388 include directive. Remove local variable MPONE.
19389 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19390 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19391 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19392
193932012-12-25 David S. Miller <davem@davemloft.net>
19394
19395 * version.h (RELEASE): Set to "development".
19396 (VERSION): Set to "2.17.90".
19397 * NEWS: Add 2.18 section.
19398
193992012-12-21 David S. Miller <davem@davemloft.net>
19400
19401 * po/hr.po: Update from translation team.
19402
194032012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19404
19405 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19406
194072012-12-19 Steve Ellcey <sellcey@mips.com>
19408
19409 * NEWS: Mention new memcpy for MIPS.
19410
194112012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19412
19413 * manual/contrib.texi (Contributors): Spelling correction.
19414
194152012-12-15 David S. Miller <davem@davemloft.net>
19416
19417 * po/ru.po: Update from translation team.
19418
194192012-12-13 David S. Miller <davem@davemloft.net>
19420
19421 * NEWS: Mention IFUNC testsuite enhancements.
19422
19423 * po/pl.po: Update from translation team.
19424 * po/bg.po: Likewise.
19425
19426 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19427 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19428
194292012-12-11 David S. Miller <davem@davemloft.net>
19430
19431 * po/sv.po: Update from translation team.
19432
19433 * po/vi.po: Update from translation team.
19434
19435 * po/cs.po: Update from translation team.
19436
19437 * po/de.po: Update from translation team.
19438 * po/eo.po: Likewise.
19439 * po/nl.po: Likewise.
19440
194412012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19442
19443 [BZ #14246]
19444 * manual/argp.texi (Argp Helper Functions): Move node to follow
19445 Argp Parsing State.
19446
19447 [BZ #14872]
19448 * manual/conf.texi (Limits on File System Capacity): Mention if
19449 terminating null is included in the max size.
19450
194512012-12-10 Andreas Jaeger <aj@suse.de>
19452
19453 * po/cs.po: Update from translation team.
19454
194552012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19456
19457 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19458 void pointer and cast to uintptr_t.
19459 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19460 path.
19461 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19462 * sysdeps/s390/s390-64/memset.S: Likewise.
19463
194642012-12-08 Benno Schulenberg <bensberg@justemail.net>
19465
19466 [BZ #14833]
19467 * menual/message.texi (Message Translation): Fix typos.
19468 (Helper programs for gettext): Likewise.
19469
194702012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19471
19472 [BZ #14898]
19473 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19474 Change to -1.
19475
194762012-12-07 David S. Miller <davem@davemloft.net>
19477
19478 * po/libc.pot: Update.
19479
194802012-12-07 Richard Henderson <rth@redhat.com>
19481
19482 [BZ #10114]
19483 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19484 normal/normal case to before the switch.
19485 (_FP_DIV): Likewise.
19486
194872012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19488 Mike Frysinger <vapier@gentoo.org>
19489
19490 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19491 check for __NR_fadvise64_64.
19492
194932012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19494
19495 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19496 0, not just to plain "0" as a statement.
19497 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19498 with cw.
19499
195002012-12-06 Joseph Myers <joseph@codesourcery.com>
19501
19502 * NEWS: Use sourceware.org in Bugzilla URL.
19503
195042012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19505
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19507 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19508
19509 * stdio-common/tst-put-error.c (do_test): Add newline to the
19510 padded test to ensure flush.
19511
195122012-12-05 Jeff Law <law@redhat.com>
19513
19514 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19515
195162012-12-05 Joseph Myers <joseph@codesourcery.com>
19517
19518 * README: Don't refer to ports add-on as distributed separately.
19519 Mention AArch64 in list of systems supported in the ports add-on.
19520
19521 * LICENSES: Add more non-FSF copyright and license notices.
19522
19523 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19524 ((unused)).
19525
19526 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19527
19528 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19529 10000 as width of padded output.
19530
195312012-12-04 Joseph Myers <joseph@codesourcery.com>
19532
19533 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19534
19535 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19536 variable LX with __attribute__ ((unused)).
19537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19538 Likewise.
19539 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19541 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19542 with __attribute__ ((unused)).
19543
195442012-12-04 David S. Miller <davem@abraco.davemloft.net>
19545
19546 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19547
195482012-12-04 Joseph Myers <joseph@codesourcery.com>
19549
19550 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19551 (CFLAGS-nldbl-acos.c): New variable.
19552 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19553 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19554 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19555 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19556 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19557 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19558 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19559 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19560 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19561 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19562 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19563 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19564 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19565 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19566 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19567 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19568 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19569 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19570 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19571 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19572 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19573 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19574 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19575 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19576 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19577 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19578 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19579 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19580 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19581 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19582 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19583 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19584 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19585 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19586 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19587 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19588 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19589 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19590 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19591 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19592 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19593 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19594 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19595 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19596 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19597 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19598 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19599 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19600 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19601 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19602 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19603 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19604 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19605 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19606 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19607 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19608 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19609 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19610 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19611 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19612 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19613 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19614 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19615 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19616 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19617 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19618 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19619 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19620 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19621 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19622 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19623 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19624 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19625 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19626 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19627 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19628 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19629 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19630 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19631 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19632 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19633 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19634 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19635 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19636 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19637 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19638 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19639 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19640 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19641 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19642 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19643 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19644 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19645 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19646 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19647 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19648 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19649
19650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19651 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19652
19653 [BZ #14914]
19654 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19655 whole low double instead of just low 47 bits when splitting values
19656 into two parts.
19657
196582012-12-03 Allan McRae <allan@archlinux.org>
19659
19660 * manual/stdio.texi (Predefined Printf Handlers): Remove
19661 @hsep and @vsep usage.
19662
196632012-12-03 Mike Frysinger <vapier@gentoo.org>
19664
19665 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19666 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19667
196682012-12-03 Jeff Law <law@redhat.com>
19669
19670 * time/sys/time.h (settimeofday): Do not mark TV argument
19671 as __nonnull.
19672
196732012-12-01 Mike Frysinger <vapier@gentoo.org>
19674
19675 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19676 when currently writing and seek to current position when not.
19677 * libio/Makefile (tests): Remove bug-fclose1.
19678 * libio/bug-fclose1.c: Delete.
19679
196802012-12-01 Joseph Myers <joseph@codesourcery.com>
19681
19682 * manual/arith.texi (feenableexcept): Fix typo.
19683 (fedisableexcept): Likewise.
19684
196852012-11-30 Roland McGrath <roland@hack.frob.com>
19686
19687 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19688 second, differently-typed declaration, rather than a cast.
19689
196902012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19691
19692 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19693 * include/rpc/svc.h: ... here.
19694
196952012-11-30 Aurelien Jarno <aurel32@debian.org>
19696
19697 [BZ #13013]
19698 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19699 depending n and resplen2 to catch cases where answer
19700 equals answerp2.
19701
197022012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19703
19704 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19705 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19706
197072012-11-29 Mike Frysinger <vapier@gentoo.org>
19708
19709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19710
197112012-11-29 Roland McGrath <roland@hack.frob.com>
19712
19713 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19714
197152012-11-28 Jeff Law <law@redhat.com>
19716
19717 [BZ #13761]
19718 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19719 dataset_temporary. Track alloca usage into alloca_used.
19720 If dataset is large allocate and release it via malloc/free.
19721
197222012-06-04 Florian Weimer <fweimer@redhat.com>
19723
19724 [BZ #14197]
19725 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19726
197272012-11-28 David S. Miller <davem@davemloft.net>
19728
19729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19730
197312012-11-28 Joseph Myers <joseph@codesourcery.com>
19732
19733 [BZ #14803]
19734 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19735 of pi/2 rounded to nearest to 64 bits.
19736 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19737 nearest to 64 bits.
19738 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19739 bits.
19740
197412012-11-28 Jeff Law <law@redhat.com>
19742 Martin Osvald <mosvald@redhat.com>
19743
19744 [BZ #14889]
19745 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19746 * sunrpc/svc.c: Include time.h.
19747 (__svc_accept_failed): New function.
19748 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19749 any reason other than EINTR, call __svc_accept_failed.
19750 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19751 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19752
197532012-11-28 Andreas Schwab <schwab@suse.de>
19754
19755 * scripts/abilist.awk: Also handle indirect functions in .opd
19756 section.
19757
197582012-11-28 Joseph Myers <joseph@codesourcery.com>
19759
19760 [BZ #13881]
19761 * sysdeps/x86/fpu/powl_helper.c: New file.
19762 * sysdeps/x86/fpu/Makefile: Likewise.
19763 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19764 (p3): New object.
19765 (__ieee754_powl): Use __powl_helper for finite arguments except
19766 integer exponents below 8.
19767 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19768 (p3): New object.
19769 (__ieee754_powl): Use __powl_helper for finite arguments except
19770 integer exponents below 8.
19771 * math/libm-test.inc (pow_test): Add more tests and enable some
19772 previously disabled tests.
19773 * sysdeps/i386/fpu/libm-test-ulps: Update.
19774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19775
197762012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19777 Carlos O'Donell <carlos_odonell@mentor.com>
19778
19779 * nss/makedb.c (is_prime): Assert that input is odd and greater
19780 than 4. Note that fact in a comment too.
19781 (next_prime): Add 4 to input.
19782
197832012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19784
19785 [BZ #11741]
19786 * libio/Makefile (tests): Add test case tst-fwrite-error.
19787 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19788 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19789 * libio/tst-fwrite-error.c: New test case.
19790
197912012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19794 before casting to void *.
19795 * include/libc-internal.h (__pointer_type): New macro.
19796 (__integer_if_pointer_type_sub): Likewise.
19797 (__integer_if_pointer_type): Likewise.
19798 (cast_to_integer): Likewise.
19799 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19800 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19801 before casting to atomic64_t.
19802 (atomic_exchange_acq): Likewise.
19803 (__arch_exchange_and_add_body): Likewise.
19804 (__arch_add_body): Likewise.
19805 (atomic_add_negative): Likewise.
19806 (atomic_add_zero): Likewise.
19807
198082012-11-26 Joseph Myers <joseph@codesourcery.com>
19809
19810 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19811 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19812 (add_fdes): Likewise.
19813 (linear_search_fdes): Likewise.
19814 (binary_search_unencoded_fdes): Likewise.
19815
198162012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19817
19818 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19819
198202012-11-24 Adam Conrad <adconrad@0c3.net>
19821
19822 * configure.in: Autodetect C++ header directories.
19823 * configure: Regenerated.
19824
198252012-11-23 Mike Frysinger <vapier@gentoo.org>
19826
19827 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19828
198292012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19830
19831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19832
198332012-11-22 Joseph Myers <joseph@codesourcery.com>
19834
19835 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19836 LDBL_MANT_DIG == 106]: Disable some tests.
19837 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19838 Likewise.
19839 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19840 Likewise.
19841
19842 [BZ #14871]
19843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19844 input for small inputs. Return +/- pi/2 for large inputs.
19845 * math/libm-test.inc (atan_test): Add more tests.
19846
19847 * sysdeps/generic/unwind-dw2-fde-glibc.c
19848 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19849 __attribute__ ((unused)).
19850
19851 [BZ #14645]
19852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19853 x * y if x and y are nonzero and z is zero.
19854
19855 [BZ #14811]
19856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19857 nonzero exponents with absolute value below 0x1p-117 to +/-
19858 0x1p-117.
19859
19860 [BZ #14869]
19861 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19862 up arguments below 2**-450, not just those below 2**-500.
19863 * math/libm-test.inc (hypot_test): Add another test.
19864
19865 [BZ #14868]
19866 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19867 Return a+b for ratio over 2**120, not 2**60.
19868 * math/libm-test.inc (hypot_test): Add another test.
19869
19870 * math/libm-test.inc (clog_test): Use
19871 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19872 (clog10_test): Likewise.
19873
19874 [BZ #6778]
19875 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19876
198772012-11-22 Andreas Schwab <schwab@suse.de>
19878
19879 * sysdeps/i386/fpu/libm-test-ulps: Update.
19880
198812012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19882
19883 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19884 printf output with newline.
19885
198862012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19887
19888 [BZ #14865]
19889 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19890 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19891 -z nodlopen, -z initfirst and -z execstack support.
19892 * configure: Regenerated.
19893
19894 * elf/elf.h (DF_1_NODIRECT): New macro.
19895 (DF_1_IGNMULDEF): Likewise.
19896 (DF_1_NOKSYMS): Likewise.
19897 (DF_1_NOHDR): Likewise.
19898 (DF_1_EDITED): Likewise.
19899 (DF_1_NORELOC): Likewise.
19900 (DF_1_SYMINTPOSE): Likewise.
19901 (DF_1_GLOBAUDIT): Likewise.
19902 (DF_1_SINGLETON): Likewise.
19903 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19904 DT_1_SUPPORTED_MASK bits.
19905 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19906
199072012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19908
19909 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19910
199112012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19912
19913 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19914 macro.
19915
19916 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19917 (sendmmsg): Move declarations...
19918 * socket/sys/socket.h: ... here.
19919 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19920 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19921 include it from...
19922 * socket/recvmmsg.c: ... this new file.
19923 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19924 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19925 definition of __sendmmsg hidden.
19926 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19927 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19928 Move ENOSYS stub into and include it from...
19929 * socket/sendmmsg.c: ... this new file.
19930 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19931 (sysdep_routines): Move recvmmsg and sendmmsg...
19932 * socket/Makefile (routines): ... here.
19933 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19934 (GLIBC_PRIVATE): Add __sendmmsg.
19935 * include/sys/socket.h (__sendmmsg): Add declarations.
19936 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19937 sendmmsg.
19938
199392012-11-20 Joseph Myers <joseph@codesourcery.com>
19940
19941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19942 variable I1 with __attribute__ ((unused)).
19943 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19944
199452012-11-19 Joseph Myers <joseph@codesourcery.com>
19946
19947 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19948 DUMMY variables with __attribute__ ((unused)).
19949
19950 * bits/byteswap.h: Include <bits/types.h>.
19951 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19952
199532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19954
19955 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19956 string_t. Do not manually set errno.
19957 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19958 length with __strnlen. Make sure to both set errno and return it on
19959 failure.
19960
199612012-11-19 David S. Miller <davem@davemloft.net>
19962
19963 With help from Joseph Myers.
19964 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19965 very large arguments properly.
19966 * math/libm-test.inc (atan_test): New tests.
19967 (atan2_test): New tests.
19968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19970
199712012-11-19 Joseph Myers <joseph@codesourcery.com>
19972
19973 [BZ #14856]
19974 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19975 Define to 3.
19976
19977 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19978 [POSIX] (EADDRNOTAVAIL): Likewise.
19979 [POSIX] (EAFNOSUPPORT): Likewise.
19980 [POSIX] (EALREADY): Likewise.
19981 [POSIX] (ECONNABORTED): Likewise.
19982 [POSIX] (ECONNREFUSED): Likewise.
19983 [POSIX] (ECONNRESET): Likewise.
19984 [POSIX] (EDESTADDRREQ): Likewise.
19985 [POSIX] (EDQUOT): Likewise.
19986 [POSIX] (EHOSTUNREACH): Likewise.
19987 [POSIX] (EIDRM): Likewise.
19988 [POSIX] (EISCONN): Likewise.
19989 [POSIX] (ELOOP): Likewise.
19990 [POSIX] (EMULTIHOP): Likewise.
19991 [POSIX] (ENETDOWN): Likewise.
19992 [POSIX] (ENETUNREACH): Likewise.
19993 [POSIX] (ENOBUFS): Likewise.
19994 [POSIX] (ENODATA): Likewise.
19995 [POSIX] (ENOLINK): Likewise.
19996 [POSIX] (ENOMSG): Likewise.
19997 [POSIX] (ENOPROTOOPT): Likewise.
19998 [POSIX] (ENOSR): Likewise.
19999 [POSIX] (ENOSTR): Likewise.
20000 [POSIX] (ENOTCONN): Likewise.
20001 [POSIX] (ENOTSOCK): Likewise.
20002 [POSIX] (EOPNOTSUPP): Likewise.
20003 [POSIX] (EOVERFLOW): Likewise.
20004 [POSIX] (EPROTO): Likewise.
20005 [POSIX] (EPROTONOSUPPORT): Likewise.
20006 [POSIX] (EPROTOTYPE): Likewise.
20007 [POSIX] (ESTALE): Likewise.
20008 [POSIX] (ETIME): Likewise.
20009 [POSIX] (ETXTBSY): Likewise.
20010 [POSIX] (EWOULDBLOCK): Likewise.
20011 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20012 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20013 [POSIX] (SEEK_CUR): Likewise.
20014 [POSIX] (SEEK_END): Likewise.
20015 [POSIX || UNIX98] (mode_t): Do not require.
20016 [POSIX] (off_t): Likewise.
20017 [POSIX] (pid_t): Likewise.
20018 [POSIX] (sys/stat.h): Do not allow header.
20019 [POSIX] (unistd.h): Likewise.
20020 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20021 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20022 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20023 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20024 require.
20025 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20026 sigevent): Specify elements.
20027 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20028 entry.
20029 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20030 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20031
20032 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20033 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20034 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20035 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20036 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20037 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20038 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20039 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20040 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20041 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20042 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20043 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20044 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20045 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20046 Likewise.
20047 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20048 Likewise.
20049 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20050 Likewise.
20051 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20052 Likewise.
20053 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20056 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20058 Specify lower bound on value.
20059 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20065 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20066 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20067 value.
20068 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20069 as optional.
20070 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20086 entry.
20087 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20088 optional.
20089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20095 Likewise.
20096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20101 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20102 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20103 as optional.
20104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20107 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20108 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20109 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20110 specify as optional.
20111 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20112 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20113 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20114 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20115 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20116 [XPG3] (NL_LANGMAX): Likewise.
20117 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20118 [POSIX || XPG3] (NL_NMAX): Likewise.
20119 [POSIX || XPG3] (NL_SETMAX): Likewise.
20120 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20121 [XPG3] (NZERO): Likewise.
20122 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20123 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20124 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20125 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20126 (REG_ERANGE): Expect.
20127 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20128 optional-constant.
20129 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20130 Use (void) in prototype.
20131 [POSIX] (*_t): Allow.
20132 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20133 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20134 (WRDE_BADVAL): Expect.
20135
20136 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20137 expect.
20138 [XPG3 || XPG4] (O_RSYNC): Likewise.
20139 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20140 Likewise.
20141 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20142 [XPG3 || XPG4] (sigqueue): Likewise.
20143 [XPG3 || XPG4] (sigtimedwait): Likewise.
20144 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20145 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20146 [XPG3 || XPG4] (vsnprintf): Likewise.
20147 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20148 Likewise.
20149 [XPG3 || XPG4] (blksize_t): Likewise.
20150 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20151 Likewise.
20152 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20153 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20154 [XPG3 || XPG4] (struct itimerspec): Likewise.
20155 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20156 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20157 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20158 [XPG3 || XPG4] (clockid_t): Likewise.
20159 [XPG3 || XPG4] (timer_t): Likewise.
20160 [XPG3 || XPG4] (clock_getres): Likewise.
20161 [XPG3 || XPG4] (clock_gettime): Likewise.
20162 [XPG3 || XPG4] (clock_settime): Likewise.
20163 [XPG3 || XPG4] (nanosleep): Likewise.
20164 [XPG3 || XPG4] (timer_create): Likewise.
20165 [XPG3 || XPG4] (timer_delete): Likewise.
20166 [XPG3 || XPG4] (timer_gettime): Likewise.
20167 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20168 [XPG3 || XPG4] (timer_settime): Likewise.
20169 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20170 [XPG3 || XPG4] (getlogin_r): Likewise.
20171 [XPG3 || XPG4] (pread): Likewise.
20172 [XPG3 || XPG4] (pthread_atfork): Likewise.
20173 [XPG3 || XPG4] (pwrite): Likewise.
20174
20175 [BZ #14835]
20176 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20177 <bits/siginfo.h>.
20178
201792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20180
20181 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20182 finalizing MALLSTREAM.
20183
20184 * sysdeps/mach/hurd/syncfs.c: New file.
20185
201862012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20187
20188 [BZ #14719]
20189 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20190 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20192 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20193 (_nss_dns_gethostbyname4_r): Likewise.
20194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20195 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20196
201972012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20198
20199 [BZ #13763]
20200 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20201
202022012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20203
20204 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20205 * elf/cache.c (print_entry): Print ",AArch64" for
20206 FLAG_AARCH64_LIB64
20207
20208 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20209 * elf/cache.c (print_entry): Print ",hard-float" for
20210 FLAG_ARM_LIBHF.
20211
202122012-11-18 David S. Miller <davem@davemloft.net>
20213
20214 With help from Joseph Myers.
20215 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20216 cutoff to 2**-13.
20217 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20218 cutoff to 2**-25.
20219 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20220 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20221 small.
20222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20223 * math/libm-test.inc (y0_test): New tests.
20224 (y1_test): New tests.
20225 * sysdeps/i386/fpu/libm-test-ulps: Update.
20226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20228
202292012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20230
20231 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20232 64-bit targets.
20233 * configure: Regenerated.
20234
202352012-11-17 David S. Miller <davem@davemloft.net>
20236
20237 [BZ #14811]
20238 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20239 nonzero exponents with absolute value below 0x1p-128 to +/-
20240 0x1p-128.
20241
202422012-11-17 Joseph Myers <joseph@codesourcery.com>
20243
20244 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20245
20246 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20247
20248 * posix/getconf-speclist.c: New file.
20249 * posix/posix-envs.def: Likewise.
20250 * posix/confstr.c (START_ENV_GROUP): New macro.
20251 (END_ENV_GROUP): Likewise.
20252 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20253 (KNOWN_PRESENT_ENV_STRING): Likewise.
20254 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20255 (UNKNOWN_ENVIRONMENT): Likewise.
20256 (confstr): Include posix-envs.def instead of handling
20257 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20258 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20259 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20260 (END_ENV_GROUP): Likewise.
20261 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20262 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20263 (UNKNOWN_ENVIRONMENT): Likewise.
20264 (__sysconf): Include posix-envs.def instead of handling associated
20265 cases directly here.
20266 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20267 preprocessing getconf-speclist.c rather than running getconf or
20268 generating empty file.
20269
202702012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20271
20272 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20273
202742012-11-16 Andrej Lajovic <natrij@gmail.com>
20275
20276 [BZ #14672]
20277 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20278
202792012-11-16 David S. Miller <davem@davemloft.net>
20280
20281 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20282 smaller than LDBL_EPSILON/2.0L, just return xm1.
20283
202842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20285
20286 * elf/tst-array1.c (init): Set constructor priority to 1000.
20287 (fini): Set destructor priority to 1000.
20288 * elf/tst-array2dep.c: Likewise.
20289
202902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20291
20292 [BZ #11741]
20293 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20294 (_IO_new_file_xsputn): Also return EOF if none of the input
20295 data was written when overflow failed.
20296 * libio/iopadn.c (_IO_padn): Likewise.
20297 * libio/iowpadn.c (_IO_wpadn): Likewise.
20298 * stdio-common/tst-put-error.c: Add copyright notice.
20299 (do_test): Add case for printing padded string.
20300 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20301 _IO_padn returned error.
20302 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20303 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20304 return EOF.
20305
203062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20307
20308 * libio/libioP.h: Add comment note that the references to C++
20309 bits are now obsolete.
20310
203112012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20312
20313 * math/libm-test.inc (check_complex): Use asprintf.
20314
203152012-11-14 Joseph Myers <joseph@codesourcery.com>
20316
20317 * debug/pcprofiledump.c (print_version): Update copyright year.
20318 * malloc/memusagestat.c (print_version): Likewise.
20319
203202012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20321
20322 [BZ #14831]
20323 * elf/Makefile (tests): Add tst-audit8.
20324 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20325 ($(objpfx)tst-audit8.out): New target.
20326 (tst-audit8-ENV): New variable.
20327 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20328 audit if l_reloc_result is NULL.
20329 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20330 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20331 * elf/tst-audit8.c: New file.
20332
203332012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20334
20335 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20336 * misc/Makefile (CFLAGS-select.c): Define.
20337 * posix/Makefile (CFLAGS-pause.c): Define.
20338
203392012-11-13 David S. Miller <davem@davemloft.net>
20340
20341 * crypt/Makefile: Move test targets after toplevel Rules
20342 inclusion. Grab any necessary sysdep routines when linking.
20343 * crypt/md5.c (md5_process_block): Remove define, we will always
20344 name it __md5_process_block.
20345 (md5_finish_ctx): Update md5_process_block call.
20346 (md5_stream): Likewise.
20347 (md5_process_bytes): Likewise.
20348 (md5_process_block): Rename to __md5_process_block and move to ...
20349 * crypt/md5-block.c: ... here.
20350 * crypt/sha256.c (sha256_process_block): Move to ...
20351 * crypt/sha256-block.c: ... here.
20352 * crypt/sha512.c (sha512_process_block): Move to ...
20353 * crypt/sha512-block.c: ... here.
20354 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20355 path.
20356 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20357 * sysdeps/sparc/sparc64/multiarch/Makefile
20358 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20359 crypt subdir.
20360 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20361 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20362 multiarch changes.
20363 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20364 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20365 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20366 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20367 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20368 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20370 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20371 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20372 file.
20373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20375 file.
20376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20377
203782012-11-13 Joseph Myers <joseph@codesourcery.com>
20379
20380 * timezone/tzselect.ksh: Update from tzcode git revision
20381 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20382 * timezone/zdump.c: Likewise.
20383 * timezone/zic.c: Likewise.
20384 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20385 in TZVERSION setting, not $(PKGVERSION).
20386 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20387 REPORT_BUGS_TO settings.
20388
20389 [BZ #14838]
20390 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20391 macro.
20392
203932012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20394
20395 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20396 detection to immediately after _FP_ROUND().
20397 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20398 bits are 0.
20399
204002012-11-11 David S. Miller <davem@davemloft.net>
20401
20402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20403 inttypes.h
20404 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20405 __close rather than their public counterparts.
20406
204072012-11-10 Joseph Myers <joseph@codesourcery.com>
20408
20409 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20410 file.
20411 [UNIX98] (sem_timedwait): Do not expect.
20412 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20413 [XPG4 || UNIX98] (sockatmark): Do not expect.
20414 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20415 (clock_getcpuclockid): Do not expect.
20416 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20417 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20418 Do not expect.
20419 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20420 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20421 [UNIX98] (vwscanf): Likewise.
20422 [UNIX98] (vswscanf): Likewise.
20423
204242012-11-09 Joseph Myers <joseph@codesourcery.com>
20425
20426 * timezone/version.h: Remove file.
20427 * timezone/README: Do not refer to version.h.
20428 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20429 $(objpfx)version.h.
20430 ($(objpfx)zdump.o): Likewise.
20431 ($(objpfx)version.h): New target.
20432
20433 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20434 2012i.
20435 * timezone/README: Don't mention modification to tzselect.ksh.
20436 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20437 work on unmodified tzselect.ksh. Substitute version numbers in
20438 tzselect.ksh.
20439
20440 * Makefile (format-me): Remove.
20441 (INSTALL): Adjust indentation. Use commands directly instead of
20442 using $(format-me).
20443
20444 * aclocal.m4 (ACX_PKGVERSION): New macro.
20445 (ACX_BUGURL): Likewise.
20446 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20447 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20448 (REPORT_BUGS_TO): Likewise.
20449 * configure: Regenerated.
20450 * config.h.in (PKGVERSION): New macro.
20451 (REPORT_BUGS_TO): Likewise.
20452 * config.make.in (PKGVERSION): New variable.
20453 (PKGVERSION_TEXI): Likewise.
20454 (REPORT_BUGS_TO): Likewise.
20455 (REPORT_BUGS_TEXI): Likewise.
20456 * Makefile (format-me): Use -I$(common-objpfx)manual.
20457 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20458 ($(common-objpfx)manual/%): New target.
20459 (manual/%): Remove target.
20460 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20461 (print_version): Use PKGVERSION.
20462 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20463 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20464 and REPORT_BUGS_TO.
20465 ($(objpfx)xtrace): Likewise.
20466 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20467 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20468 (print_version): Use PKGVERSION.
20469 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20470 (do_version): Use PKGVERSION.
20471 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20472 REPORT_BUGS_TO.
20473 (common-ldd-rewrite): Likewise.
20474 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20475 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20476 (print_version): Use PKGVERSION.
20477 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20478 * elf/pldd.c (argp_program_bug_address): Remove variable.
20479 (more_help): New function.
20480 (argp): Use more_help.
20481 (print_version): Use PKGVERSION.
20482 * elf/sln.c (main): Use PKGVERSION.
20483 (usage): Use REPORT_BUGS_TO.
20484 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20485 (top level): Use PKGVERSION.
20486 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20487 (print_version): Use PKGVERSION.
20488 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20489 (print_version): Use PKGVERSION.
20490 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20491 (print_version): Use PKGVERSION.
20492 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20493 (print_version): Use PKGVERSION.
20494 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20495 (print_version): Use PKGVERSION.
20496 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20497 (print_version): Use PKGVERSION.
20498 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20499 and BUGURL.
20500 ($(objpfx)memusage): Likewise.
20501 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20502 (do_version): Use PKGVERSION.
20503 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20504 (print_version): Use PKGVERSION.
20505 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20506 ($PKGVERSION): New variable.
20507 ($REPORT_BUGS_TO): Likewise.
20508 (usage): Use $REPORT_BUGS_TO.
20509 (top level): Use $PKGVERSION.
20510 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20511 ($(objpfx)pkgvers.texi): New rule.
20512 ($(objpfx)stamp-pkgvers): Likewise.
20513 * manual/install.texi: Include pkgvers.texi.
20514 (--with-pkgversion): Document new configure option.
20515 (--with-bugurl): Likewise.
20516 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20517 than necessarily for this particular distribution. Use
20518 REPORT_BUGS_TO for where to report bugs.
20519 * INSTALL: Regenerated.
20520 * manual/libc.texinfo: Include pkgvers.texi.
20521 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20522 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20523 (print_version): Use PKGVERSION.
20524 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20525 (print_version): Use PKGVERSION.
20526 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20527 (print_version): Use PKGVERSION.
20528 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20529 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20530 macro.
20531 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20532 (print_version): Use PKGVERSION.
20533 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20534 (print_version): Use PKGVERSION.
20535 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20536 and PKGVERSION.
20537
20538 * timezone/checktab.awk: Update from tzcode 2012i.
20539 * timezone/ialloc.c: Likewise.
20540 * timezone/private.h: Likewise.
20541 * timezone/scheck.c: Likewise.
20542 * timezone/tzfile.h: Likewise.
20543 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20544 (TZVERSION): Hardcode tzcode version number.
20545 * timezone/zdump.c: Update from tzcode 2012i.
20546 * timezone/zic.c: Likewise.
20547 * timezone/version.h: New file.
20548 * timezone/README: Describe version.h. Update upstream location.
20549
20550 [BZ #14824]
20551 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20552 (mktemp): Enable declaration.
20553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20557 Likewise.
20558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20559 Likewise.
20560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20561 Likewise.
20562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20563 Likewise.
20564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20565 Likewise.
20566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20567 Likewise.
20568
20569 [BZ #14821]
20570 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20571 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20572 for copies of such integer values.
20573 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20574 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20575
205762012-11-09 Andreas Jaeger <aj@suse.de>
20577
20578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20579 definitions and declarations that are provided by
20580 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20581
205822012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20583
20584 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20585 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20586 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20587 definition.
20588
205892012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20590
20591 * elf/elf.h: Update comment before AArch64 relocations.
20592
205932012-11-07 David S. Miller <davem@davemloft.net>
20594
20595 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20596 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20597 (__start_context): Declare.
20598 (__makecontext_ret): Delete.
20599 (__makecontext): Hook up __start_context instead of
20600 __makecontext_ret.
20601 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20602 (sysdep_routines): Add __start_context when in stdlib.
20603
206042012-11-07 Joseph Myers <joseph@codesourcery.com>
20605
20606 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20607 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20608 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20609 hardcoded "nm".
20610 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20611 (READELF): New variable. Use it instead of hardcoded "readelf".
20612
206132012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20614
20615 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20616 * sysdeps/x86/Makefile: Here.
20617 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20618 * sysdeps/x86/tst-xmmymm.sh: This.
20619
206202012-11-07 Joseph Myers <joseph@codesourcery.com>
20621
20622 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20623 expectations.
20624 [UNIX98] (pthread_barrier_t): Do not expect.
20625 [UNIX98] (pthread_barrierattr_t): Likewise.
20626 [UNIX98] (pthread_spinlock_t): Likewise.
20627 [UNIX98] (pthread_barrier_destroy): Likewise.
20628 [UNIX98] (pthread_barrier_init): Likewise.
20629 [UNIX98] (pthread_barrier_wait): Likewise.
20630 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20631 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20632 [UNIX98] (pthread_barrierattr_init): Likewise.
20633 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20634 [UNIX98] (pthread_getcpuclockid): Likewise.
20635 [UNIX98] (pthread_mutex_timedlock): Likewise.
20636 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20637 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20638 [UNIX98] (pthread_sigmask): Likewise.
20639 [UNIX98] (pthread_spin_destroy): Likewise.
20640 [UNIX98] (pthread_spin_init): Likewise.
20641 [UNIX98] (pthread_spin_lock): Likewise.
20642 [UNIX98] (pthread_spin_trylock): Likewise.
20643 [UNIX98] (pthread_spin_unlock): Likewise.
20644 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20645 Do not expect.
20646 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20648 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20649 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20650 [XPG3 || XPG4] (pthread_key_t): Likewise.
20651 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20652 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20653 [XPG3 || XPG4] (pthread_once_t): Likewise.
20654 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20655 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20657 [XPG3 || XPG4] (pthread_t): Likewise.
20658
20659 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20660 not expect.
20661 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20662
20663 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20664 Change function return type to int.
20665
20666 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20667 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20668 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20669 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20670 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20671 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20672 [!POSIX] (posix_madvise): Likewise.
20673 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20674 && !UNIX98].
20675 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20676 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20677 (mode_t): Likewise.
20678 (posix_mem_offset): Likewise.
20679 (posix_typed_mem_get_info): Likewise.
20680 (posix_typed_mem_open): Likewise.
20681
20682 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20683 Change condition to [XOPEN2K8].
20684
20685 * conform/conformtest.pl: Preprocess allow-header data with -x c
20686 instead of from stdin.
20687 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20688 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20689 [C99-based standards] (cerfc): Likewise.
20690 [C99-based standards] (cexp2): Likewise.
20691 [C99-based standards] (cexpm1): Likewise.
20692 [C99-based standards] (clog10): Likewise.
20693 [C99-based standards] (clog1p): Likewise.
20694 [C99-based standards] (clog2): Likewise.
20695 [C99-based standards] (clgamma): Likewise.
20696 [C99-based standards] (ctgamma): Likewise.
20697 [C99-based standards] (cerff): Likewise.
20698 [C99-based standards] (cerfcf): Likewise.
20699 [C99-based standards] (cexp2f): Likewise.
20700 [C99-based standards] (cexpm1f): Likewise.
20701 [C99-based standards] (clog10f): Likewise.
20702 [C99-based standards] (clog1pf): Likewise.
20703 [C99-based standards] (clog2f): Likewise.
20704 [C99-based standards] (clgammaf): Likewise.
20705 [C99-based standards] (ctgammaf): Likewise.
20706 [C99-based standards] (cerfl): Likewise.
20707 [C99-based standards] (cerfcl): Likewise.
20708 [C99-based standards] (cexp2l): Likewise.
20709 [C99-based standards] (cexpm1l): Likewise.
20710 [C99-based standards] (clog10l): Likewise.
20711 [C99-based standards] (clog1pl): Likewise.
20712 [C99-based standards] (clog2l): Likewise.
20713 [C99-based standards] (clgammal): Likewise.
20714 [C99-based standards] (ctgammal): Likewise.
20715 * conform/data/inttypes.h-data [C99-based standards]: Include
20716 stdint.h-data. Remove all expectations for stdint.h contents.
20717 [C99-based standards] (PRI*): Do not allow.
20718 [C99-based standards] (SCN*): Likewise.
20719 [C99-based standards] (*_t): Likewise.
20720 [C99-based-standards] (PRId8): Expect macro.
20721 [C99-based-standards] (PRIi8): Likewise.
20722 [C99-based-standards] (PRIo8): Likewise.
20723 [C99-based-standards] (PRIu8): Likewise.
20724 [C99-based-standards] (PRIx8): Likewise.
20725 [C99-based-standards] (PRIX8): Likewise.
20726 [C99-based-standards] (SCNd8): Likewise.
20727 [C99-based-standards] (SCNi8): Likewise.
20728 [C99-based-standards] (SCNo8): Likewise.
20729 [C99-based-standards] (SCNu8): Likewise.
20730 [C99-based-standards] (SCNx8): Likewise.
20731 [C99-based-standards] (PRIdLEAST8): Likewise.
20732 [C99-based-standards] (PRIiLEAST8): Likewise.
20733 [C99-based-standards] (PRIoLEAST8): Likewise.
20734 [C99-based-standards] (PRIuLEAST8): Likewise.
20735 [C99-based-standards] (PRIxLEAST8): Likewise.
20736 [C99-based-standards] (PRIXLEAST8): Likewise.
20737 [C99-based-standards] (SCNdLEAST8): Likewise.
20738 [C99-based-standards] (SCNiLEAST8): Likewise.
20739 [C99-based-standards] (SCNoLEAST8): Likewise.
20740 [C99-based-standards] (SCNuLEAST8): Likewise.
20741 [C99-based-standards] (SCNxLEAST8): Likewise.
20742 [C99-based-standards] (PRIdFAST8): Likewise.
20743 [C99-based-standards] (PRIiFAST8): Likewise.
20744 [C99-based-standards] (PRIoFAST8): Likewise.
20745 [C99-based-standards] (PRIuFAST8): Likewise.
20746 [C99-based-standards] (PRIxFAST8): Likewise.
20747 [C99-based-standards] (PRIXFAST8): Likewise.
20748 [C99-based-standards] (SCNdFAST8): Likewise.
20749 [C99-based-standards] (SCNiFAST8): Likewise.
20750 [C99-based-standards] (SCNoFAST8): Likewise.
20751 [C99-based-standards] (SCNuFAST8): Likewise.
20752 [C99-based-standards] (SCNxFAST8): Likewise.
20753 [C99-based-standards] (PRId16): Likewise.
20754 [C99-based-standards] (PRIi16): Likewise.
20755 [C99-based-standards] (PRIo16): Likewise.
20756 [C99-based-standards] (PRIu16): Likewise.
20757 [C99-based-standards] (PRIx16): Likewise.
20758 [C99-based-standards] (PRIX16): Likewise.
20759 [C99-based-standards] (SCNd16): Likewise.
20760 [C99-based-standards] (SCNi16): Likewise.
20761 [C99-based-standards] (SCNo16): Likewise.
20762 [C99-based-standards] (SCNu16): Likewise.
20763 [C99-based-standards] (SCNx16): Likewise.
20764 [C99-based-standards] (PRIdLEAST16): Likewise.
20765 [C99-based-standards] (PRIiLEAST16): Likewise.
20766 [C99-based-standards] (PRIoLEAST16): Likewise.
20767 [C99-based-standards] (PRIuLEAST16): Likewise.
20768 [C99-based-standards] (PRIxLEAST16): Likewise.
20769 [C99-based-standards] (PRIXLEAST16): Likewise.
20770 [C99-based-standards] (SCNdLEAST16): Likewise.
20771 [C99-based-standards] (SCNiLEAST16): Likewise.
20772 [C99-based-standards] (SCNoLEAST16): Likewise.
20773 [C99-based-standards] (SCNuLEAST16): Likewise.
20774 [C99-based-standards] (SCNxLEAST16): Likewise.
20775 [C99-based-standards] (PRIdFAST16): Likewise.
20776 [C99-based-standards] (PRIiFAST16): Likewise.
20777 [C99-based-standards] (PRIoFAST16): Likewise.
20778 [C99-based-standards] (PRIuFAST16): Likewise.
20779 [C99-based-standards] (PRIxFAST16): Likewise.
20780 [C99-based-standards] (PRIXFAST16): Likewise.
20781 [C99-based-standards] (SCNdFAST16): Likewise.
20782 [C99-based-standards] (SCNiFAST16): Likewise.
20783 [C99-based-standards] (SCNoFAST16): Likewise.
20784 [C99-based-standards] (SCNuFAST16): Likewise.
20785 [C99-based-standards] (SCNxFAST16): Likewise.
20786 [C99-based-standards] (PRId32): Likewise.
20787 [C99-based-standards] (PRIi32): Likewise.
20788 [C99-based-standards] (PRIo32): Likewise.
20789 [C99-based-standards] (PRIu32): Likewise.
20790 [C99-based-standards] (PRIx32): Likewise.
20791 [C99-based-standards] (PRIX32): Likewise.
20792 [C99-based-standards] (SCNd32): Likewise.
20793 [C99-based-standards] (SCNi32): Likewise.
20794 [C99-based-standards] (SCNo32): Likewise.
20795 [C99-based-standards] (SCNu32): Likewise.
20796 [C99-based-standards] (SCNx32): Likewise.
20797 [C99-based-standards] (PRIdLEAST32): Likewise.
20798 [C99-based-standards] (PRIiLEAST32): Likewise.
20799 [C99-based-standards] (PRIoLEAST32): Likewise.
20800 [C99-based-standards] (PRIuLEAST32): Likewise.
20801 [C99-based-standards] (PRIxLEAST32): Likewise.
20802 [C99-based-standards] (PRIXLEAST32): Likewise.
20803 [C99-based-standards] (SCNdLEAST32): Likewise.
20804 [C99-based-standards] (SCNiLEAST32): Likewise.
20805 [C99-based-standards] (SCNoLEAST32): Likewise.
20806 [C99-based-standards] (SCNuLEAST32): Likewise.
20807 [C99-based-standards] (SCNxLEAST32): Likewise.
20808 [C99-based-standards] (PRIdFAST32): Likewise.
20809 [C99-based-standards] (PRIiFAST32): Likewise.
20810 [C99-based-standards] (PRIoFAST32): Likewise.
20811 [C99-based-standards] (PRIuFAST32): Likewise.
20812 [C99-based-standards] (PRIxFAST32): Likewise.
20813 [C99-based-standards] (PRIXFAST32): Likewise.
20814 [C99-based-standards] (SCNdFAST32): Likewise.
20815 [C99-based-standards] (SCNiFAST32): Likewise.
20816 [C99-based-standards] (SCNoFAST32): Likewise.
20817 [C99-based-standards] (SCNuFAST32): Likewise.
20818 [C99-based-standards] (SCNxFAST32): Likewise.
20819 [C99-based-standards] (PRId64): Likewise.
20820 [C99-based-standards] (PRIi64): Likewise.
20821 [C99-based-standards] (PRIo64): Likewise.
20822 [C99-based-standards] (PRIu64): Likewise.
20823 [C99-based-standards] (PRIx64): Likewise.
20824 [C99-based-standards] (PRIX64): Likewise.
20825 [C99-based-standards] (SCNd64): Likewise.
20826 [C99-based-standards] (SCNi64): Likewise.
20827 [C99-based-standards] (SCNo64): Likewise.
20828 [C99-based-standards] (SCNu64): Likewise.
20829 [C99-based-standards] (SCNx64): Likewise.
20830 [C99-based-standards] (PRIdLEAST64): Likewise.
20831 [C99-based-standards] (PRIiLEAST64): Likewise.
20832 [C99-based-standards] (PRIoLEAST64): Likewise.
20833 [C99-based-standards] (PRIuLEAST64): Likewise.
20834 [C99-based-standards] (PRIxLEAST64): Likewise.
20835 [C99-based-standards] (PRIXLEAST64): Likewise.
20836 [C99-based-standards] (SCNdLEAST64): Likewise.
20837 [C99-based-standards] (SCNiLEAST64): Likewise.
20838 [C99-based-standards] (SCNoLEAST64): Likewise.
20839 [C99-based-standards] (SCNuLEAST64): Likewise.
20840 [C99-based-standards] (SCNxLEAST64): Likewise.
20841 [C99-based-standards] (PRIdFAST64): Likewise.
20842 [C99-based-standards] (PRIiFAST64): Likewise.
20843 [C99-based-standards] (PRIoFAST64): Likewise.
20844 [C99-based-standards] (PRIuFAST64): Likewise.
20845 [C99-based-standards] (PRIxFAST64): Likewise.
20846 [C99-based-standards] (PRIXFAST64): Likewise.
20847 [C99-based-standards] (SCNdFAST64): Likewise.
20848 [C99-based-standards] (SCNiFAST64): Likewise.
20849 [C99-based-standards] (SCNoFAST64): Likewise.
20850 [C99-based-standards] (SCNuFAST64): Likewise.
20851 [C99-based-standards] (SCNxFAST64): Likewise.
20852 [C99-based-standards] (PRIdMAX): Likewise.
20853 [C99-based-standards] (PRIiMAX): Likewise.
20854 [C99-based-standards] (PRIoMAX): Likewise.
20855 [C99-based-standards] (PRIuMAX): Likewise.
20856 [C99-based-standards] (PRIxMAX): Likewise.
20857 [C99-based-standards] (PRIXMAX): Likewise.
20858 [C99-based-standards] (SCNdMAX): Likewise.
20859 [C99-based-standards] (SCNiMAX): Likewise.
20860 [C99-based-standards] (SCNoMAX): Likewise.
20861 [C99-based-standards] (SCNuMAX): Likewise.
20862 [C99-based-standards] (SCNxMAX): Likewise.
20863 [C99-based-standards] (PRIdPTR): Likewise.
20864 [C99-based-standards] (PRIiPTR): Likewise.
20865 [C99-based-standards] (PRIoPTR): Likewise.
20866 [C99-based-standards] (PRIuPTR): Likewise.
20867 [C99-based-standards] (PRIxPTR): Likewise.
20868 [C99-based-standards] (PRIXPTR): Likewise.
20869 [C99-based-standards] (SCNdPTR): Likewise.
20870 [C99-based-standards] (SCNiPTR): Likewise.
20871 [C99-based-standards] (SCNoPTR): Likewise.
20872 [C99-based-standards] (SCNuPTR): Likewise.
20873 [C99-based-standards] (SCNxPTR): Likewise.
20874 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20875 allow.
20876 * conform/data/stdint.h-data: Update comments to clarify
20877 requirements.
20878 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20879 type.
20880 [C99-based standards] (INT8_MAX): Likewise.
20881 [C99-based standards] (INT16_MIN): Likewise.
20882 [C99-based standards] (INT16_MAX): Likewise.
20883 [C99-based standards] (INT32_MIN): Likewise.
20884 [C99-based standards] (INT32_MAX): Likewise.
20885 [C99-based standards] (INT64_MIN): Likewise.
20886 [C99-based standards] (INT64_MAX): Likewise.
20887 [C99-based standards] (UINT8_MAX): Likewise.
20888 [C99-based standards] (UINT16_MAX): Likewise.
20889 [C99-based standards] (UINT32_MAX): Likewise.
20890 [C99-based standards] (UINT64_MAX): Likewise.
20891 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20892 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20893 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20894 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20895 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20896 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20897 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20898 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20899 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20900 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20901 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20902 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20903 [C99-based standards] (INT_FAST8_MIN): Likewise.
20904 [C99-based standards] (INT_FAST8_MAX): Likewise.
20905 [C99-based standards] (INT_FAST16_MIN): Likewise.
20906 [C99-based standards] (INT_FAST16_MAX): Likewise.
20907 [C99-based standards] (INT_FAST32_MIN): Likewise.
20908 [C99-based standards] (INT_FAST32_MAX): Likewise.
20909 [C99-based standards] (INT_FAST64_MIN): Likewise.
20910 [C99-based standards] (INT_FAST64_MAX): Likewise.
20911 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20912 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20913 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20914 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20915 [C99-based standards] (INTPTR_MIN): Likewise.
20916 [C99-based standards] (INTPTR_MAX): Likewise.
20917 [C99-based standards] (UINTPTR_MAX): Likewise.
20918 [C99-based standards] (INTMAX_MIN): Likewise.
20919 [C99-based standards] (INTMAX_MAX): Likewise.
20920 [C99-based standards] (UINTMAX_MAX): Likewise.
20921 [C99-based standards] (PTRDIFF_MIN): Likewise.
20922 [C99-based standards] (PTRDIFF_MAX): Likewise.
20923 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20924 [C99-based standards] (SIZE_MAX): Likewise.
20925 [C99-based standards] (WCHAR_MAX): Likewise.
20926 [C99-based standards] (WINT_MAX): Likewise.
20927 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20928 constraint on value.
20929 [C99-based standards] (WCHAR_MIN): Likewise.
20930 [C99-based standards] (WINT_MIN): Likewise.
20931 [C99-based standards] (*_t): Allow.
20932 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20933 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20934 Include math.h-data and complex.h-data. Remove all expectations
20935 of math.h and complex.h contents.
20936 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20937 at end of line.
20938 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20939 (struct tm): Expect tag.
20940 [C99-based-standards] (wcstof): Expect function.
20941 [C99-based-standards] (wcstold): Likewise.
20942 [C99-based-standards] (wcstoll): Likewise.
20943 [C99-based-standards] (wcstoull): Likewise.
20944 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20945 macro-int-constant. Specify type.
20946 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20947 constraint on value.
20948 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20949 Specify type.
20950 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20951 Specify value.
20952 [ISO C standards]: Do not allow headers.
20953 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20954 wcs[abcdefghijklmnopqrstuvwxyz]*.
20955 [ISO C standards] (*_t): Do not allow.
20956 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20957 Expect function.
20958 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20959 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20960 Specify type.
20961 [ISO C standards]: Do not allow headers.
20962 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20963 is[abcdefghijklmnopqrstuvwxyz]*.
20964 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20965 to[abcdefghijklmnopqrstuvwxyz]*.
20966 [ISO C standards] (*_t): Do not allow.
20967 * conform/data/stdalign.h-data: New file.
20968 * conform/data/stdbool.h-data: Likewise.
20969 * conform/data/stdnoreturn.h-data: Likewise.
20970
209712012-11-07 Roland McGrath <roland@hack.frob.com>
20972
20973 [BZ #14815]
20974 * manual/filesys.texi (Directory Entries): Typo fix.
20975 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20976
209772012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20978
20979 * elf/elf.h (EM_AARCH64): New macro.
20980 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20981 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20982 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20983 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20984 (R_AARCH64_TLSDESC): Likewise.
20985 (NT_ARM_TLS): Likewise.
20986 (NT_ARM_HW_BREAK): Likewise.
20987 (NT_ARM_HW_WATCH): Likewise.
20988
209892012-11-07 Joseph Myers <joseph@codesourcery.com>
20990
20991 [BZ #14811]
20992 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20993 (__ieee754_powl): Saturate nonzero exponents with absolute value
20994 below 0x1p-79 to +/- 0x1p-79.
20995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20996 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20997 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20998 nonzero exponents with absolute value below 0x1p-32 to +/-
20999 0x1p-32.
21000 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21001 (__ieee754_powl): Saturate nonzero exponents with absolute value
21002 below 0x1p-79 to +/- 0x1p-79.
21003 * math/libm-test.inc (pow_test): Add more tests.
21004
210052012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21006
21007 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21008 _dl_s390_cap_flags with kernel. Increase string length.
21009 (_dl_s390_platforms): Add z196 and zEC12.
21010
210112012-11-07 Joseph Myers <joseph@codesourcery.com>
21012
21013 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21014 Change XOPEN21K to XOPEN2K.
21015
210162012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21017
21018 * string/memmove.c: Use memcpy when possible.
21019
210202012-11-06 Andreas Jaeger <aj@suse.de>
21021
21022 * po/eo.po: Update from translation team.
21023
210242012-11-06 Joseph Myers <joseph@codesourcery.com>
21025
21026 [BZ #14793]
21027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21028 exponent and small x and y exponents, scale x or y up. Increase
21029 by 2 the exponent used in scaling up.
21030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21032 * math/libm-test.inc (fma_test): Add more tests.
21033 (fma_test_towardzero): Likewise.
21034 (fma_test_downward): Likewise.
21035 (fma_test_upward): Likewise.
21036
210372012-11-05 Joseph Myers <joseph@codesourcery.com>
21038
21039 [BZ #14805]
21040 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21041 fenv_t *.
21042
21043 [BZ #14801]
21044 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21045 namespace for names of struct fields.
21046 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21047 fenv_t fields.
21048 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21049 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21050
210512012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21052
21053 [BZ #3665]
21054 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21055
210562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21057
21058 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21059 PTR_DEMANGLE.
21060
21061 [BZ #5246]
21062 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21063 PTR_DEMANGLE.
21064
210652012-11-04 Joseph Myers <joseph@codesourcery.com>
21066
21067 [BZ #14797]
21068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21069 definitely overflow as x * y not x * y + z.
21070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21072 * math/libm-test.inc (fma_test): Add more tests.
21073 (fma_test_towardzero): Likewise.
21074 (fma_test_downward): Likewise.
21075 (fma_test_upward): Likewise.
21076
210772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21078
21079 [BZ #157]
21080
21081 * include/stub-tag.h: Remove file.
21082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21083 '#include' of it.
21084 * manual/maint.texi (Porting): Don't reference it.
21085 * Makerules ($(objpfx)stubs): Likewise.
21086 * dirent/closedir.c: Don't include <stub-tag.h>.
21087 * dirent/dirfd.c: Likewise.
21088 * dirent/fdopendir.c: Likewise.
21089 * dirent/getdents.c: Likewise.
21090 * dirent/getdents64.c: Likewise.
21091 * dirent/opendir.c: Likewise.
21092 * dirent/readdir.c: Likewise.
21093 * dirent/readdir64.c: Likewise.
21094 * dirent/readdir64_r.c: Likewise.
21095 * dirent/readdir_r.c: Likewise.
21096 * dirent/rewinddir.c: Likewise.
21097 * dirent/seekdir.c: Likewise.
21098 * dirent/telldir.c: Likewise.
21099 * gmon/profil.c: Likewise.
21100 * grp/setgroups.c: Likewise.
21101 * inet/if_index.c: Likewise.
21102 * io/access.c: Likewise.
21103 * io/chdir.c: Likewise.
21104 * io/chmod.c: Likewise.
21105 * io/chown.c: Likewise.
21106 * io/close.c: Likewise.
21107 * io/dup.c: Likewise.
21108 * io/dup2.c: Likewise.
21109 * io/dup3.c: Likewise.
21110 * io/euidaccess.c: Likewise.
21111 * io/faccessat.c: Likewise.
21112 * io/fchdir.c: Likewise.
21113 * io/fchmod.c: Likewise.
21114 * io/fchmodat.c: Likewise.
21115 * io/fchown.c: Likewise.
21116 * io/fchownat.c: Likewise.
21117 * io/fcntl.c: Likewise.
21118 * io/flock.c: Likewise.
21119 * io/fstatfs.c: Likewise.
21120 * io/fstatfs64.c: Likewise.
21121 * io/fstatvfs.c: Likewise.
21122 * io/fstatvfs64.c: Likewise.
21123 * io/futimens.c: Likewise.
21124 * io/fxstat.c: Likewise.
21125 * io/fxstat64.c: Likewise.
21126 * io/fxstatat.c: Likewise.
21127 * io/fxstatat64.c: Likewise.
21128 * io/getcwd.c: Likewise.
21129 * io/isatty.c: Likewise.
21130 * io/lchmod.c: Likewise.
21131 * io/lchown.c: Likewise.
21132 * io/link.c: Likewise.
21133 * io/linkat.c: Likewise.
21134 * io/lseek.c: Likewise.
21135 * io/lseek64.c: Likewise.
21136 * io/lxstat64.c: Likewise.
21137 * io/mkdir.c: Likewise.
21138 * io/mkdirat.c: Likewise.
21139 * io/mkfifo.c: Likewise.
21140 * io/mkfifoat.c: Likewise.
21141 * io/open.c: Likewise.
21142 * io/open64.c: Likewise.
21143 * io/openat.c: Likewise.
21144 * io/openat64.c: Likewise.
21145 * io/pipe.c: Likewise.
21146 * io/pipe2.c: Likewise.
21147 * io/poll.c: Likewise.
21148 * io/posix_fadvise.c: Likewise.
21149 * io/posix_fadvise64.c: Likewise.
21150 * io/posix_fallocate.c: Likewise.
21151 * io/posix_fallocate64.c: Likewise.
21152 * io/read.c: Likewise.
21153 * io/readlink.c: Likewise.
21154 * io/readlinkat.c: Likewise.
21155 * io/rmdir.c: Likewise.
21156 * io/sendfile.c: Likewise.
21157 * io/sendfile64.c: Likewise.
21158 * io/statfs.c: Likewise.
21159 * io/statfs64.c: Likewise.
21160 * io/statvfs.c: Likewise.
21161 * io/statvfs64.c: Likewise.
21162 * io/symlink.c: Likewise.
21163 * io/symlinkat.c: Likewise.
21164 * io/ttyname.c: Likewise.
21165 * io/ttyname_r.c: Likewise.
21166 * io/umask.c: Likewise.
21167 * io/unlink.c: Likewise.
21168 * io/unlinkat.c: Likewise.
21169 * io/utime.c: Likewise.
21170 * io/utimensat.c: Likewise.
21171 * io/write.c: Likewise.
21172 * io/xmknod.c: Likewise.
21173 * io/xmknodat.c: Likewise.
21174 * io/xstat.c: Likewise.
21175 * io/xstat64.c: Likewise.
21176 * login/getpt.c: Likewise.
21177 * login/grantpt.c: Likewise.
21178 * login/unlockpt.c: Likewise.
21179 * math/e_acoshl.c: Likewise.
21180 * math/e_acosl.c: Likewise.
21181 * math/e_asinl.c: Likewise.
21182 * math/e_atan2l.c: Likewise.
21183 * math/e_atanhl.c: Likewise.
21184 * math/e_coshl.c: Likewise.
21185 * math/e_expl.c: Likewise.
21186 * math/e_fmodl.c: Likewise.
21187 * math/e_gammal_r.c: Likewise.
21188 * math/e_hypotl.c: Likewise.
21189 * math/e_j0l.c: Likewise.
21190 * math/e_j1l.c: Likewise.
21191 * math/e_jnl.c: Likewise.
21192 * math/e_lgammal_r.c: Likewise.
21193 * math/e_log10l.c: Likewise.
21194 * math/e_log2l.c: Likewise.
21195 * math/e_logl.c: Likewise.
21196 * math/e_powl.c: Likewise.
21197 * math/e_rem_pio2l.c: Likewise.
21198 * math/e_sinhl.c: Likewise.
21199 * math/e_sqrtl.c: Likewise.
21200 * math/fclrexcpt.c: Likewise.
21201 * math/fedisblxcpt.c: Likewise.
21202 * math/feenablxcpt.c: Likewise.
21203 * math/fegetenv.c: Likewise.
21204 * math/fegetexcept.c: Likewise.
21205 * math/fegetround.c: Likewise.
21206 * math/feholdexcpt.c: Likewise.
21207 * math/fesetenv.c: Likewise.
21208 * math/fesetround.c: Likewise.
21209 * math/feupdateenv.c: Likewise.
21210 * math/fgetexcptflg.c: Likewise.
21211 * math/fraiseexcpt.c: Likewise.
21212 * math/fsetexcptflg.c: Likewise.
21213 * math/ftestexcept.c: Likewise.
21214 * math/k_cosl.c: Likewise.
21215 * math/k_rem_pio2l.c: Likewise.
21216 * math/k_sinl.c: Likewise.
21217 * math/k_tanl.c: Likewise.
21218 * math/s_asinhl.c: Likewise.
21219 * math/s_atanl.c: Likewise.
21220 * math/s_cbrtl.c: Likewise.
21221 * math/s_erfl.c: Likewise.
21222 * math/s_expm1l.c: Likewise.
21223 * math/s_log1pl.c: Likewise.
21224 * math/s_tanhl.c: Likewise.
21225 * misc/acct.c: Likewise.
21226 * misc/brk.c: Likewise.
21227 * misc/chflags.c: Likewise.
21228 * misc/chroot.c: Likewise.
21229 * misc/fchflags.c: Likewise.
21230 * misc/fgetxattr.c: Likewise.
21231 * misc/flistxattr.c: Likewise.
21232 * misc/fremovexattr.c: Likewise.
21233 * misc/fsetxattr.c: Likewise.
21234 * misc/fsync.c: Likewise.
21235 * misc/ftruncate.c: Likewise.
21236 * misc/futimes.c: Likewise.
21237 * misc/futimesat.c: Likewise.
21238 * misc/getdomain.c: Likewise.
21239 * misc/getdtsz.c: Likewise.
21240 * misc/gethostid.c: Likewise.
21241 * misc/gethostname.c: Likewise.
21242 * misc/getloadavg.c: Likewise.
21243 * misc/getpagesize.c: Likewise.
21244 * misc/getsysstats.c: Likewise.
21245 * misc/getxattr.c: Likewise.
21246 * misc/gtty.c: Likewise.
21247 * misc/ioctl.c: Likewise.
21248 * misc/lgetxattr.c: Likewise.
21249 * misc/listxattr.c: Likewise.
21250 * misc/llistxattr.c: Likewise.
21251 * misc/lremovexattr.c: Likewise.
21252 * misc/lsetxattr.c: Likewise.
21253 * misc/lutimes.c: Likewise.
21254 * misc/madvise.c: Likewise.
21255 * misc/mincore.c: Likewise.
21256 * misc/mlock.c: Likewise.
21257 * misc/mlockall.c: Likewise.
21258 * misc/mmap.c: Likewise.
21259 * misc/mprotect.c: Likewise.
21260 * misc/msync.c: Likewise.
21261 * misc/munlock.c: Likewise.
21262 * misc/munlockall.c: Likewise.
21263 * misc/munmap.c: Likewise.
21264 * misc/preadv.c: Likewise.
21265 * misc/preadv64.c: Likewise.
21266 * misc/ptrace.c: Likewise.
21267 * misc/pwritev.c: Likewise.
21268 * misc/pwritev64.c: Likewise.
21269 * misc/readv.c: Likewise.
21270 * misc/reboot.c: Likewise.
21271 * misc/remap_file_pages.c: Likewise.
21272 * misc/removexattr.c: Likewise.
21273 * misc/revoke.c: Likewise.
21274 * misc/select.c: Likewise.
21275 * misc/setdomain.c: Likewise.
21276 * misc/setegid.c: Likewise.
21277 * misc/seteuid.c: Likewise.
21278 * misc/sethostid.c: Likewise.
21279 * misc/sethostname.c: Likewise.
21280 * misc/setregid.c: Likewise.
21281 * misc/setreuid.c: Likewise.
21282 * misc/setxattr.c: Likewise.
21283 * misc/sstk.c: Likewise.
21284 * misc/stty.c: Likewise.
21285 * misc/swapoff.c: Likewise.
21286 * misc/swapon.c: Likewise.
21287 * misc/sync.c: Likewise.
21288 * misc/syncfs.c: Likewise.
21289 * misc/syscall.c: Likewise.
21290 * misc/truncate.c: Likewise.
21291 * misc/ualarm.c: Likewise.
21292 * misc/usleep.c: Likewise.
21293 * misc/ustat.c: Likewise.
21294 * misc/utimes.c: Likewise.
21295 * misc/vhangup.c: Likewise.
21296 * misc/writev.c: Likewise.
21297 * posix/_exit.c: Likewise.
21298 * posix/alarm.c: Likewise.
21299 * posix/execve.c: Likewise.
21300 * posix/fexecve.c: Likewise.
21301 * posix/fork.c: Likewise.
21302 * posix/fpathconf.c: Likewise.
21303 * posix/getaddrinfo.c: Likewise.
21304 * posix/getegid.c: Likewise.
21305 * posix/geteuid.c: Likewise.
21306 * posix/getgid.c: Likewise.
21307 * posix/getgroups.c: Likewise.
21308 * posix/getlogin.c: Likewise.
21309 * posix/getlogin_r.c: Likewise.
21310 * posix/getpgid.c: Likewise.
21311 * posix/getpid.c: Likewise.
21312 * posix/getppid.c: Likewise.
21313 * posix/getresgid.c: Likewise.
21314 * posix/getresuid.c: Likewise.
21315 * posix/getsid.c: Likewise.
21316 * posix/getuid.c: Likewise.
21317 * posix/glob64.c: Likewise.
21318 * posix/nanosleep.c: Likewise.
21319 * posix/pathconf.c: Likewise.
21320 * posix/pause.c: Likewise.
21321 * posix/posix_madvise.c: Likewise.
21322 * posix/pread.c: Likewise.
21323 * posix/pread64.c: Likewise.
21324 * posix/pwrite.c: Likewise.
21325 * posix/pwrite64.c: Likewise.
21326 * posix/sched_getaffinity.c: Likewise.
21327 * posix/sched_getp.c: Likewise.
21328 * posix/sched_gets.c: Likewise.
21329 * posix/sched_primax.c: Likewise.
21330 * posix/sched_primin.c: Likewise.
21331 * posix/sched_rr_gi.c: Likewise.
21332 * posix/sched_setaffinity.c: Likewise.
21333 * posix/sched_setp.c: Likewise.
21334 * posix/sched_sets.c: Likewise.
21335 * posix/sched_yield.c: Likewise.
21336 * posix/setgid.c: Likewise.
21337 * posix/setlogin.c: Likewise.
21338 * posix/setpgid.c: Likewise.
21339 * posix/setresgid.c: Likewise.
21340 * posix/setresuid.c: Likewise.
21341 * posix/setsid.c: Likewise.
21342 * posix/setuid.c: Likewise.
21343 * posix/sleep.c: Likewise.
21344 * posix/spawni.c: Likewise.
21345 * posix/sysconf.c: Likewise.
21346 * posix/times.c: Likewise.
21347 * posix/wait.c: Likewise.
21348 * posix/wait3.c: Likewise.
21349 * posix/wait4.c: Likewise.
21350 * posix/waitpid.c: Likewise.
21351 * resolv/gai_sigqueue.c: Likewise.
21352 * resource/getpriority.c: Likewise.
21353 * resource/getrlimit.c: Likewise.
21354 * resource/getrusage.c: Likewise.
21355 * resource/nice.c: Likewise.
21356 * resource/setpriority.c: Likewise.
21357 * resource/setrlimit.c: Likewise.
21358 * resource/ulimit.c: Likewise.
21359 * rt/aio_cancel.c: Likewise.
21360 * rt/aio_fsync.c: Likewise.
21361 * rt/aio_read.c: Likewise.
21362 * rt/aio_sigqueue.c: Likewise.
21363 * rt/aio_suspend.c: Likewise.
21364 * rt/aio_write.c: Likewise.
21365 * rt/clock_getres.c: Likewise.
21366 * rt/clock_gettime.c: Likewise.
21367 * rt/clock_nanosleep.c: Likewise.
21368 * rt/clock_settime.c: Likewise.
21369 * rt/lio_listio.c: Likewise.
21370 * rt/mq_close.c: Likewise.
21371 * rt/mq_getattr.c: Likewise.
21372 * rt/mq_notify.c: Likewise.
21373 * rt/mq_open.c: Likewise.
21374 * rt/mq_receive.c: Likewise.
21375 * rt/mq_send.c: Likewise.
21376 * rt/mq_setattr.c: Likewise.
21377 * rt/mq_timedreceive.c: Likewise.
21378 * rt/mq_timedsend.c: Likewise.
21379 * rt/mq_unlink.c: Likewise.
21380 * rt/shm_open.c: Likewise.
21381 * rt/shm_unlink.c: Likewise.
21382 * rt/timer_create.c: Likewise.
21383 * rt/timer_delete.c: Likewise.
21384 * rt/timer_getoverr.c: Likewise.
21385 * rt/timer_gettime.c: Likewise.
21386 * rt/timer_settime.c: Likewise.
21387 * setjmp/__longjmp.c: Likewise.
21388 * setjmp/setjmp.c: Likewise.
21389 * signal/kill.c: Likewise.
21390 * signal/killpg.c: Likewise.
21391 * signal/raise.c: Likewise.
21392 * signal/sigaction.c: Likewise.
21393 * signal/sigaltstack.c: Likewise.
21394 * signal/sigblock.c: Likewise.
21395 * signal/sigignore.c: Likewise.
21396 * signal/sigintr.c: Likewise.
21397 * signal/signal.c: Likewise.
21398 * signal/sigpause.c: Likewise.
21399 * signal/sigpending.c: Likewise.
21400 * signal/sigqueue.c: Likewise.
21401 * signal/sigreturn.c: Likewise.
21402 * signal/sigset.c: Likewise.
21403 * signal/sigsetmask.c: Likewise.
21404 * signal/sigstack.c: Likewise.
21405 * signal/sigsuspend.c: Likewise.
21406 * signal/sigtimedwait.c: Likewise.
21407 * signal/sigvec.c: Likewise.
21408 * signal/sigwait.c: Likewise.
21409 * signal/sigwaitinfo.c: Likewise.
21410 * signal/sysv_signal.c: Likewise.
21411 * socket/accept.c: Likewise.
21412 * socket/accept4.c: Likewise.
21413 * socket/bind.c: Likewise.
21414 * socket/connect.c: Likewise.
21415 * socket/getpeername.c: Likewise.
21416 * socket/getsockname.c: Likewise.
21417 * socket/getsockopt.c: Likewise.
21418 * socket/isfdtype.c: Likewise.
21419 * socket/listen.c: Likewise.
21420 * socket/recv.c: Likewise.
21421 * socket/recvfrom.c: Likewise.
21422 * socket/recvmsg.c: Likewise.
21423 * socket/send.c: Likewise.
21424 * socket/sendmsg.c: Likewise.
21425 * socket/sendto.c: Likewise.
21426 * socket/setsockopt.c: Likewise.
21427 * socket/shutdown.c: Likewise.
21428 * socket/sockatmark.c: Likewise.
21429 * socket/socket.c: Likewise.
21430 * socket/socketpair.c: Likewise.
21431 * stdio-common/ctermid.c: Likewise.
21432 * stdio-common/cuserid.c: Likewise.
21433 * stdio-common/remove.c: Likewise.
21434 * stdio-common/rename.c: Likewise.
21435 * stdio-common/renameat.c: Likewise.
21436 * stdio-common/tempname.c: Likewise.
21437 * stdlib/getcontext.c: Likewise.
21438 * stdlib/makecontext.c: Likewise.
21439 * stdlib/setcontext.c: Likewise.
21440 * stdlib/swapcontext.c: Likewise.
21441 * stdlib/system.c: Likewise.
21442 * streams/fattach.c: Likewise.
21443 * streams/fdetach.c: Likewise.
21444 * streams/getmsg.c: Likewise.
21445 * streams/getpmsg.c: Likewise.
21446 * streams/putmsg.c: Likewise.
21447 * streams/putpmsg.c: Likewise.
21448 * sysdeps/unix/bsd/getpt.c: Likewise.
21449 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21450 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21451 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21453 Likewise.
21454 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21455 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21456 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21457 * sysvipc/msgctl.c: Likewise.
21458 * sysvipc/msgget.c: Likewise.
21459 * sysvipc/msgrcv.c: Likewise.
21460 * sysvipc/msgsnd.c: Likewise.
21461 * sysvipc/semctl.c: Likewise.
21462 * sysvipc/semget.c: Likewise.
21463 * sysvipc/semop.c: Likewise.
21464 * sysvipc/semtimedop.c: Likewise.
21465 * sysvipc/shmat.c: Likewise.
21466 * sysvipc/shmctl.c: Likewise.
21467 * sysvipc/shmdt.c: Likewise.
21468 * sysvipc/shmget.c: Likewise.
21469 * termios/tcdrain.c: Likewise.
21470 * termios/tcflow.c: Likewise.
21471 * termios/tcflush.c: Likewise.
21472 * termios/tcgetattr.c: Likewise.
21473 * termios/tcgetpgrp.c: Likewise.
21474 * termios/tcsendbrk.c: Likewise.
21475 * termios/tcsetattr.c: Likewise.
21476 * termios/tcsetpgrp.c: Likewise.
21477 * time/adjtime.c: Likewise.
21478 * time/clock.c: Likewise.
21479 * time/getitimer.c: Likewise.
21480 * time/gettimeofday.c: Likewise.
21481 * time/setitimer.c: Likewise.
21482 * time/settimeofday.c: Likewise.
21483 * time/stime.c: Likewise.
21484 * time/time.c: Likewise.
21485
214862012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21487
21488 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21489 /usr/old/bin.
21490
21491 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21492 instead of spaces.
21493 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21494
214952012-11-03 Joseph Myers <joseph@codesourcery.com>
21496
21497 [BZ #14796]
21498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21499 FE_TONEAREST before applying Dekker multiplication and Knuth
21500 addition. Clear inexact exceptions and check for exact zero
21501 results afterwards.
21502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21505 * math/libm-test.inc (fma_test): Add more tests.
21506 (fma_test_towardzero): Likewise.
21507 (fma_test_downward): Likewise.
21508 (fma_test_upward): Likewise.
21509 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21510 function.
21511 (libc_fesetround): New macro.
21512 (libc_fesetroundf): Likewise.
21513 (libc_fesetroundl): Likewise.
21514 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21515 function.
21516 (libc_fesetround_387): Likewise.
21517 (libc_fesetroundf): New macro.
21518 (libc_fesetround): Likewise.
21519 (libc_fesetroundl): Likewise.
21520 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21521 function.
21522 (libc_fesetroundf): New macro.
21523 (libc_fesetround): Likewise.
21524 (libc_fesetroundl): Likewise.
21525 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21526 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21527 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21528 libm_hidden_ver.
21529 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21530 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21531 libm_hidden_def.
21532 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21533 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21534 libm_hidden_ver.
21535 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21536 libm_hidden_def.
21537
21538 [BZ #3439]
21539 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21540 integer constant usable in #if and use that to give value to enum
21541 constant.
21542 (FE_DIVBYZERO): Likewise.
21543 (FE_UNDERFLOW): Likewise.
21544 (FE_OVERFLOW): Likewise.
21545 (FE_INVALID): Likewise.
21546 (FE_INVALID_SNAN): Likewise.
21547 (FE_INVALID_ISI): Likewise.
21548 (FE_INVALID_IDI): Likewise.
21549 (FE_INVALID_ZDZ): Likewise.
21550 (FE_INVALID_IMZ): Likewise.
21551 (FE_INVALID_COMPARE): Likewise.
21552 (FE_INVALID_SOFTWARE): Likewise.
21553 (FE_INVALID_SQRT): Likewise.
21554 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21555 (FE_TONEAREST): Likewise.
21556 (FE_TOWARDZERO): Likewise.
21557 (FE_UPWARD): Likewise.
21558 (FE_DOWNWARD): Likewise.
21559 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21560 (FE_DIVBYZERO): Likewise.
21561 (FE_OVERFLOW): Likewise.
21562 (FE_UNDERFLOW): Likewise.
21563 (FE_INEXACT): Likewise.
21564 (FE_TONEAREST): Likewise.
21565 (FE_DOWNWARD): Likewise.
21566 (FE_UPWARD): Likewise.
21567 (FE_TOWARDZERO): Likewise.
21568 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21569 (FE_UNDERFLOW): Likewise.
21570 (FE_OVERFLOW): Likewise.
21571 (FE_DIVBYZERO): Likewise.
21572 (FE_INVALID): Likewise.
21573 (FE_TONEAREST): Likewise.
21574 (FE_TOWARDZERO): Likewise.
21575 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21576 (FE_OVERFLOW): Likewise.
21577 (FE_UNDERFLOW): Likewise.
21578 (FE_DIVBYZERO): Likewise.
21579 (FE_INEXACT): Likewise.
21580 (FE_TONEAREST): Likewise.
21581 (FE_TOWARDZERO): Likewise.
21582 (FE_UPWARD): Likewise.
21583 (FE_DOWNWARD): Likewise.
21584 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21585 (FE_DIVBYZERO): Likewise.
21586 (FE_OVERFLOW): Likewise.
21587 (FE_UNDERFLOW): Likewise.
21588 (FE_INEXACT): Likewise.
21589 (FE_TONEAREST): Likewise.
21590 (FE_DOWNWARD): Likewise.
21591 (FE_UPWARD): Likewise.
21592 (FE_TOWARDZERO): Likewise.
21593
215942012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21595
21596 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21597
215982012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21599
21600 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21601 commands. Quote $PWD.
21602 (blacklist_exports): Don't use remove_newlines. Replace "declare
21603 -x" by "export".
21604 (remove_newlines): Remove.
21605
216062012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21607
21608 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21609 * stdlib/stdlib.h (atof): Moved to ...
21610 * include/bits/stdlib-float.h: Here. New file.
21611 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21612 * stdlib/bits/stdlib-float.h: New file.
21613 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21614 -mno-sse -mno-mmx.
21615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21616 <xmmintrin.h>.
21617
216182012-11-02 Joseph Myers <joseph@codesourcery.com>
21619
21620 * conform/conformtest.pl (@headers): Add fenv.h.
21621 * conform/data/fenv.h-data: New file.
21622 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21623 include of <math/fenv.h>.
21624
21625 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21626 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21627 && !UNIX98]. Enables tests for XOPEN2K8.
21628 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21629 POSIX2008]: Likewise.
21630
21631 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21632 (struct rusage): Do not expect type or its members.
21633
21634 [BZ #3439]
21635 * math/math.h (FP_NAN): Define macro to integer constant usable in
21636 #if and use that to give value to enum constant.
21637 (FP_INFINITE): Likewise.
21638 (FP_ZERO): Likewise.
21639 (FP_SUBNORMAL): Likewise.
21640 (FP_NORMAL): Likewise.
21641
216422012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21643
21644 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21645 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21646 arguments.
21647
216482012-11-02 Roland McGrath <roland@hack.frob.com>
21649
21650 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21651 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21652 autoconf-time if not.
21653 * configure.in: Remove AC_PREREQ.
21654
216552012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21656
21657 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21658 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21659 of the internal implementation.
21660
216612012-11-02 Joseph Myers <joseph@codesourcery.com>
21662
21663 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21664 except include of <misc/sys/syslog.h>.
21665
216662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21667
21668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21669 function returns with a NULL context exit with zero.
21670
216712012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21672
21673 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21674
216752012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21676
21677 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21678 (run_program_cmd): This.
21679 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21680 (tst_langinfo): New variable. Use it.
21681
216822012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21683
21684 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21685 floating point opcodes.
21686
216872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21688
21689 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21690 variable.
21691
21692 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21693
21694 * sysdeps/mach/hurd/powerpc: Remove directory.
21695 * sysdeps/mach/powerpc: Likewise.
21696
216972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21698
21699 * scripts/check-local-headers.sh: Ignore c++ headers.
21700
217012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21702
21703 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21704 __libc_cleanup_region_start argument.
21705
217062012-11-01 Joseph Myers <joseph@codesourcery.com>
21707
21708 [BZ #14784]
21709 [BZ #14785]
21710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21711 x * y using scaling, not as x * y + z.
21712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21714 * math/libm-test.inc (fma_test): Add more tests.
21715 (fma_test_towardzero): Likewise.
21716 (fma_test_downward): Likewise.
21717 (fma_test_upward): Likewise.
21718
217192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21720
21721 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21722
217232012-10-31 Joseph Myers <joseph@codesourcery.com>
21724
21725 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21726 New variable.
21727
217282012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21729
21730 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21731
217322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21733
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21735 Fix sort order.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21737 Likewise.
21738
217392012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21740
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21742 Fix the order of the list for glibc 2.17.
21743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21744 Likewise.
21745
217462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21747
21748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21749
217502012-10-31 Joseph Myers <joseph@codesourcery.com>
21751
21752 [BZ #14610]
21753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21754 for low part of x being zero before using __atanl (y).
21755 * math/libm-test.inc (atan2_test): Add another test.
21756
21757 * manual/install.texi (Configuring and compiling): Document
21758 general use of test-wrapper and test-wrapper-env.
21759 * INSTALL: Regenerated.
21760
21761 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21762 (__fma): Do not extract and scale down low bits on after-rounding
21763 systems when result rounded to normal precision would have normal
21764 exponent.
21765 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21766 (__fmal): Do not extract and scale down low bits on after-rounding
21767 systems when result rounded to normal precision would have normal
21768 exponent.
21769 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21770 (__fmal): Do not extract and scale down low bits on after-rounding
21771 systems when result rounded to normal precision would have normal
21772 exponent.
21773 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21774 macro.
21775 (fma_test): Add more tests.
21776 (fma_test_towardzero): Likewise.
21777 (fma_test_downward): Likewise.
21778 (fma_test_upward): Likewise.
21779
217802012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21781
21782 * sysdeps/i386/tininess.h: Renamed to ...
21783 * sysdeps/x86/tininess.h: This.
21784 * sysdeps/x86_64/tininess.h: Removed.
21785
217862012-10-30 Joseph Myers <joseph@codesourcery.com>
21787
21788 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21789 input. Use $(build-program-cmd).
21790 ($(objpfx)tst-array1-static.out): Likewise.
21791 ($(objpfx)tst-array2.out): Likewise.
21792 ($(objpfx)tst-array3.out): Likewise.
21793 ($(objpfx)tst-array4.out): Likewise.
21794 ($(objpfx)tst-array5.out): Likewise.
21795 ($(objpfx)tst-array5-static.out): Likewise.
21796
217972012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21798
21799 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21800 if defined.
21801
21802 * nss/nsswitch.h (nss_interface_function): Provide new
21803 macro for use with NSS functions.
21804 * grp/initgroups.c: Use new macro.
21805 * nss/getXXbyYY.c: Likewise.
21806 * nss/getXXbyYY_r.c: Likewise.
21807 * nss/getXXent.c: Likewise.
21808 * nss/getXXent_r.c: Likewise.
21809 * sysdeps/posix/getaddrinfo.c: Likewise.
21810
218112012-10-30 Andreas Jaeger <aj@suse.de>
21812
21813 * po/ru.po: Update Russion translation from translation project.
21814
218152012-10-30 Joseph Myers <joseph@codesourcery.com>
21816
21817 [BZ #14152]
21818 [BZ #14783]
21819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21820 result and shift together with sticky bit instead of replicating
21821 round-to-nearest rounding.
21822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21824 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21825 missing underflow exceptions.
21826 (fma_test_towardzero): Add more tests.
21827 (fma_test_downward): Likewise.
21828 (fma_test_upward): Likewise.
21829
21830 [BZ #14047]
21831 * sysdeps/generic/tininess.h: New file.
21832 * sysdeps/i386/tininess.h: Likewise.
21833 * sysdeps/sh/tininess.h: Likewise.
21834 * sysdeps/x86_64/tininess.h: Likewise.
21835 * stdlib/tst-strtod-underflow.c: Likewise.
21836 * stdlib/tst-tininess.c: Likewise.
21837 * stdlib/strtod_l.c: Include <tininess.h>.
21838 (round_and_return): Do not set errno for exact underflow cases.
21839 Force an underflow exception when setting errno for underflow.
21840 Determine underflow based on rounding to normal precision if
21841 TININESS_AFTER_ROUNDING.
21842 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21843 ERANGE for exact underflow cases.
21844 * stdlib/Makefile (tests): Add tst-tininess and
21845 tst-strtod-underflow.
21846 ($(objpfx)tst-tininess): Use $(link-libm).
21847 ($(objpfx)tst-strtod-underflow): Likewise.
21848
218492012-10-30 Andreas Jaeger <aj@suse.de>
21850
21851 [BZ#14767]
21852 * elf/Makefile (tests): Remove conditional for have-initfini-array
21853 since this is now always required and the variable does not exist
21854 anymore.
21855 (tests-static): Likewise.
21856 (modules-names): Likewise.
21857
21858 * po/eo.po: Add Esperanto translation from translation project.
21859
21860 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21861 merged with constructor/destructor.
21862 (init_array): Likewise.
21863 * elf/tst-array2dep.c (fini_array): Likewise.
21864 (init_array): Likewise.
21865
218662012-10-29 Mike Frysinger <vapier@gentoo.org>
21867
21868 * manual/message.texi: Delete @cartouche tags.
21869
218702012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21871
21872 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21873 EOPNOTSUPP.
21874 * sysdeps/mach/hurd/fsync.c: Likewise.
21875
21876 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21877 [_POSIX_REALTIME_SIGNALS]: Change condition to
21878 [_POSIX_REALTIME_SIGNALS > 0].
21879
218802012-10-27 Andreas Jaeger <aj@suse.de>
21881
21882 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21883 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21885 [__WORDSIZE != 64]: Likewise.
21886
218872012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21888
21889 * iconvdata/tst-table.sh: Remove ${SHELL}.
21890 * iconvdata/tst-tables.sh: Likewise.
21891
218922012-10-25 David S. Miller <davem@davemloft.net>
21893
21894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21895 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21896 of strtoull.
21897
21898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21899 ifunc-impl-list.c
21900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21901 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21902 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21903 file.
21904
219052012-10-25 Roland McGrath <roland@hack.frob.com>
21906
21907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21908 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21909 __getdirentries.
21910
219112012-10-25 Joseph Myers <joseph@codesourcery.com>
21912 Jim Blandy <jimb@codesourcery.com>
21913
21914 * scripts/cross-test-ssh.sh: New file.
21915 * manual/install.texi (Configuring and compiling): Document use of
21916 cross-test-ssh.sh.
21917 * INSTALL: Regenerated.
21918
219192012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21920
21921 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21922 EOPNOTSUPP.
21923
219242012-10-25 Joseph Myers <joseph@codesourcery.com>
21925
21926 * Makeconfig (run-program-prefix): Fix comment.
21927
219282012-10-24 Joseph Myers <joseph@codesourcery.com>
21929 Jim Blandy <jimb@codesourcery.com>
21930
21931 * Makeconfig (test-wrapper): New variable,
21932 (test-wrapper-env): Likewise.
21933 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21934 (run-built-tests): Define to yes.
21935 (run-program-prefix): Use $(test-wrapper).
21936 (built-program-cmd): Likewise.
21937 * Rules (make-test-out): Use $(test-wrapper-env) and
21938 $(host-built-program-cmd).
21939 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21940 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21941 tst-pathopt.sh.
21942 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21943 $(test-wrapper-env) to tst-rtld-load-self.sh.
21944 ($(objpfx)order2.out): Use $(test-wrapper).
21945 ($(objpfx)tst-initorder.out): Likewise.
21946 ($(objpfx)tst-initorder2.out): Likewise.
21947 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21948 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21949 (test_wrapper_env): New variable. Use it to run ld.so.
21950 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21951 Use it to run ld.so.
21952 (test_wrapper_env): Likewise.
21953 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21954 $(test-wrapper) to run-iconv-test.sh.
21955 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21956 (ICONV): Use $test_wrapper.
21957 * posix/Makefile ($(objpfx)globtest.out): Pass
21958 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21959 globtest.sh, not $(run-program-prefix).
21960 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21961 (test_wrapper): Likewise.
21962 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21963 set together with run_via_rtld_prefix.
21964 (run_program_prefix): Define in terms of test_wrapper and
21965 run_via_rtld_prefix.
21966
219672012-10-24 Roland McGrath <roland@hack.frob.com>
21968
21969 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21970 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21971 Targets removed.
21972
21973 [BZ #14743]
21974 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21975 Declare __clock_getres, __clock_gettime, __clock_settime,
21976 __clock_nanosleep, and __clock_getcpuclockid.
21977 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21978 Remove librt_hidden_def (clock_gettime).
21979 * sysdeps/unix/clock_gettime.c: Likewise.
21980 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21982 * rt/clock_getres.c: Define __clock_getres as an alias.
21983 * sysdeps/posix/clock_getres.c: Likewise.
21984 * rt/clock_settime.c: Define __clock_settime as an alias.
21985 * sysdeps/unix/clock_settime.c: Likewise.
21986 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21987 * sysdeps/unix/clock_nanosleep.c: Likewise.
21988 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21989 * rt/clock-compat.c: New file.
21990 * rt/Makefile (librt-routines): Add clock-compat and move
21991 $(clock-routines) to ...
21992 (routines): ... here, new variable.
21993 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21994 Don't add get_clockfreq here.
21995 * rt/Versions (libc: GLIBC_2.17): New version set.
21996 Add clock_* symbols here.
21997 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21999 (GLIBC_2.17): Add clock_* symbols.
22000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22004 Likewise.
22005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22006 Likewise.
22007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22011 * NEWS: Mention the move.
22012
22013 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22014 Use __open, __read, __close rather than their public counterparts.
22015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22016 (__get_clockfreq_via_cpuinfo): Likewise.
22017 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22018 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22019
22020 * config.h.in (HAVE_IFUNC): New #undef.
22021 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22022 was successful.
22023 * configure: Regenerated.
22024
220252012-10-24 Mike Frysinger <vapier@gentoo.org>
22026
22027 * configure.in: Move READELF check to start of file.
22028 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22029 libc_cv_asm_gnu_indirect_function in the process.
22030 * configure: Regenerated.
22031
220322012-10-24 Mike Frysinger <vapier@gentoo.org>
22033
22034 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22035 send the output to /dev/null.
22036 (libc_cv_cc_with_libunwind): Likewise.
22037 (libc_cv_as_noexecstack): Likewise.
22038 * configure: Regenerate.
22039
220402012-10-24 Joseph Myers <joseph@codesourcery.com>
22041
22042 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22043
22044 * posix/globtest.sh (TMPDIR): Do not set.
22045 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22046 (testout): Likewise.
22047
220482012-10-24 Andreas Jaeger <aj@suse.de>
22049
22050 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22051 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22052 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22053 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22054 posix_fadvise64, posix_fallocate64.
22055
22056 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22057 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22058 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22059 Likewise.
22060 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22061 Likewise.
22062 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22063
22064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22065 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22066 <bits/fcntl-linux.h>.
22067 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22068
22069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22070 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22071 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22072 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22073 [__WORDSIZE != 64]: Likewise.
22074
220752012-10-23 Joseph Myers <joseph@codesourcery.com>
22076
22077 * Makeconfig (run-built-tests): New variable.
22078 * Rules [$(cross-compiling) = yes]: Change condition to
22079 [$(run-built-tests) = no].
22080 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22081 to [$(run-built-tests) = yes].
22082 * elf/Makefile [$(cross-compiling) = no]: Likewise
22083 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22084 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22085 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22086 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22087 * io/Makefile [$(cross-compiling) = no]: Likewise.
22088 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22089 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22090 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22091 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22092 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22093 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22094 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22095 * string/Makefile [$(cross-compiling) = no]: Likewise.
22096
22097 * posix/Makefile ($(objpfx)globtest.out): Pass
22098 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22099 $(rtld-installed-name).
22100 * posix/globtest.sh (elf_objpfx): Remove variable.
22101 (rtld_installed_name): Likewise.
22102 (library_path): Likewise.
22103 (run_program_prefix): New variable. Use for running globtest
22104 binary.
22105
221062012-10-23 Jim Blandy <jimb@codesourcery.com>
22107 Joseph Myers <joseph@codesourcery.com>
22108
22109 * Makeconfig (host-built-program-cmd): New variable.
22110 * elf/Makefile (tst-stackguard1-ARGS): Use
22111 $(host-built-program-cmd).
22112 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22113 (tst-spawn-ARGS): Likewise.
22114 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22115
221162012-10-23 Joseph Myers <joseph@codesourcery.com>
22117 Jim Blandy <jimb@codesourcery.com>
22118
22119 * Makeconfig (run-via-rtld-prefix): New variable.
22120 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22121 (built-program-cmd): Likewise.
22122
221232012-10-22 Andreas Jaeger <aj@suse.de>
22124
22125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22126 __O_RSYNC if it exists, otherwise to O_SYNC.
22127
221282012-10-22 Jim Blandy <jimb@codesourcery.com>
22129 Joseph Myers <joseph@codesourcery.com>
22130
22131 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22132 /dev/null.
22133 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22134 from /dev/null
22135 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22136 /dev/null.
22137
221382012-10-22 Andreas Jaeger <aj@suse.de>
22139
22140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22141 Define always.
22142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22143
22144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22145 bits/fcntl-linux.h.
22146
22147 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22148 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22149
22150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22151 to __O_LARGEFILE.
22152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22153 to __O_LARGEFILE.
22154
221552012-10-21 Jim Blandy <jimb@codesourcery.com>
22156 Joseph Myers <joseph@codesourcery.com>
22157
22158 * config.make.in (NM): New variable.
22159
221602012-10-21 Andreas Jaeger <aj@suse.de>
22161
22162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22163 definitions and declarations that are provided by
22164 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22165
221662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22167
22168 [BZ #14683]
22169 * elf/Makefile (tests-static): Add tst-leaks1-static.
22170 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22171 ($(objpfx)tst-leaks1-static): New rule.
22172 ($(objpfx)tst-leaks1-static-mem): Likewise.
22173 (tst-leaks1-static-ENV): New macro.
22174 * elf/dl-open.c (dl_open_worker): Check the main application
22175 only if SHARED is defined.
22176 * elf/tst-leaks1-static.c: New file.
22177
221782012-10-20 Andreas Jaeger <aj@suse.de>
22179
22180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22181 generic values for Linux.
22182 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22183 and declarations that are provided by <bits/fcntl-linux.h> and
22184 include <bits/fcntl-linux.h>.
22185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22187
221882012-10-20 Roland McGrath <roland@hack.frob.com>
22189
22190 * io/fcntl.h: Move include of <bits/types.h> to the top and
22191 include it unconditionally.
22192
221932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 * wcsmbs/Makefile (tests-ifunc): New variable.
22196 (tests): Add $(tests-ifunc).
22197 * wcsmbs/test-wcschr-ifunc.c: New file.
22198 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22199 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22200 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22201 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22202 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22203
22204 * string/Makefile (tests-ifunc): New variable.
22205 (tests): Add $(tests-ifunc).
22206 * string/test-memccpy.c (TEST_NAME): New macro.
22207 * string/test-memchr.c (TEST_NAME): Likewise.
22208 * string/test-memcmp.c (TEST_NAME): Likewise.
22209 * string/test-memcpy.c (TEST_NAME): Likewise.
22210 * string/test-memmem.c (TEST_NAME): Likewise.
22211 * string/test-memmove.c (TEST_NAME): Likewise.
22212 * string/test-memset.c (TEST_NAME): Likewise.
22213 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22214 * string/test-stpcpy.c (TEST_NAME): Likewise.
22215 * string/test-stpncpy.c (TEST_NAME): Likewise.
22216 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22217 * string/test-strcasestr.c (TEST_NAME): Likewise.
22218 * string/test-strcat.c (TEST_NAME): Likewise.
22219 * string/test-strchr.c (TEST_NAME): Likewise.
22220 * string/test-strcmp.c(TEST_NAME): Likewise.
22221 * string/test-strcpy.c (TEST_NAME): Likewise.
22222 * string/test-strcspn.c (TEST_NAME): Likewise.
22223 * string/test-strlen.c (TEST_NAME): Likewise.
22224 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22225 * string/test-strncmp.c (TEST_NAME): Likewise.
22226 * string/test-strncpy.c (TEST_NAME): Likewise.
22227 * string/test-strnlen.c (TEST_NAME): Likewise.
22228 * string/test-strpbrk.c (TEST_NAME): Likewise.
22229 * string/test-strrchr.c (TEST_NAME): Likewise.
22230 * string/test-strspn.c (TEST_NAME): Likewise.
22231 * string/test-strstr.c (TEST_NAME): Likewise.
22232 * string/test-bcopy-ifunc.c: New file.
22233 * string/test-bzero-ifunc.c: Likewise.
22234 * string/test-memccpy-ifunc.c: Likewise.
22235 * string/test-memchr-ifunc.c: Likewise.
22236 * string/test-memcmp-ifunc.c: Likewise.
22237 * string/test-memcpy-ifunc.c: Likewise.
22238 * string/test-memmem-ifunc.c: Likewise.
22239 * string/test-memmove-ifunc.c: Likewise.
22240 * string/test-mempcpy-ifunc.c: Likewise.
22241 * string/test-memset-ifunc.c: Likewise.
22242 * string/test-rawmemchr-ifunc.c: Likewise.
22243 * string/test-stpcpy-ifunc.c: Likewise.
22244 * string/test-stpncpy-ifunc.c: Likewise.
22245 * string/test-strcasecmp-ifunc.c: Likewise.
22246 * string/test-strcasestr-ifunc.c: Likewise.
22247 * string/test-strcat-ifunc.c: Likewise.
22248 * string/test-strchr-ifunc.c: Likewise.
22249 * string/test-strchrnul-ifunc.c: Likewise.
22250 * string/test-strcmp-ifunc.c: Likewise.
22251 * string/test-strcpy-ifunc.c: Likewise.
22252 * string/test-strcspn-ifunc.c: Likewise.
22253 * string/test-strlen-ifunc.c: Likewise.
22254 * string/test-strncasecmp-ifunc.c: Likewise.
22255 * string/test-strncat-ifunc.c: Likewise.
22256 * string/test-strncmp-ifunc.c: Likewise.
22257 * string/test-strncpy-ifunc.c: Likewise.
22258 * string/test-strnlen-ifunc.c: Likewise.
22259 * string/test-strpbrk-ifunc.c: Likewise.
22260 * string/test-strrchr-ifunc.c: Likewise.
22261 * string/test-strspn-ifunc.c: Likewise.
22262 * string/test-strstr-ifunc.c: Likewise.
22263
22264 * debug/Makefile (tests-ifunc): New variable.
22265 (tests): Add $(tests-ifunc).
22266 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22267 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22268 * debug/test-stpcpy_chk-ifunc.c: New file.
22269 * debug/test-strcpy_chk-ifunc.c: Likewise.
22270
222712012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22272
22273 [BZ #13601]
22274 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22275 header is not read in.
22276
222772012-10-19 Joseph Myers <joseph@codesourcery.com>
22278
22279 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22280 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22281 directly. Pass built executable to script as
22282 $(built-program-cmd).
22283 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22284 $testprogram without using LD_LIBRARY_PATH and $ldso.
22285
22286 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22287 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22288 $(rtld-installed-name).
22289 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22290 (rtld_installed_name): Likewise.
22291 (library_path): Likewise.
22292 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22293 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22294 $(run-program-prefix) to tst-tables.sh.
22295 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22296 it to run tst-table-from and tst-table-to.
22297 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22298 Pass it to tst-table.sh.
22299 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22300 $(run-program-prefix) to tst-gettext.sh.
22301 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22302 tst-translit.sh.
22303 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22304 tst-gettext2.sh.
22305 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22306 to run tst-gettext.
22307 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22308 to run tst-gettext2.
22309 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22310 to run tst-translit.
22311 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22312 $(run-program-prefix) to tst-mtrace.sh.
22313 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22314 to run tst-mtrace.
22315 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22316 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22317 $(rtld-installed-name).
22318 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22319 (rtld_installed_name): Likewise.
22320 (run_program_prefix): New variable. Use it to run wordexp-test.
22321
22322 * Makeconfig (ARCH): Remove all definitions.
22323 (machine): Likewise.
22324 [ARCH]: Remove conditional code.
22325 [!objdir]: Give error.
22326 [!objdir] (objpfx): Remove.
22327 [!objdir] (common-objpfx): Likewise.
22328 [!objdir] (common-objdir): Likewise.
22329 * configure.in (config_makefile): Remove. Hardcode Makefile in
22330 AC_CONFIG_FILES call.
22331 * configure: Regenerated.
22332
22333 [BZ #13888]
22334 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22335 or TMPDIR.
22336 (testout): Likewise.
22337
22338 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22339 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22340 $(rtld-installed-name).
22341 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22342 (rtld_installed_name): Likwise.
22343 (runit): Remove function.
22344 (run_getconf): New variable, Use it for running getconf binary.
22345
223462012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22347
22348 [BZ #14716]
22349 * string/test-memmem.c (check_result): New function.
22350 (do_one_test): Use it.
22351 (check1): New function.
22352 (test_main): Use it.
22353
223542012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22355
22356 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22357
223582012-10-18 Joseph Myers <joseph@codesourcery.com>
22359
22360 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22361 (_G_LSEEK64): Likewise.
22362 (_G_MMAP64): Likewise.
22363 (_G_FSTAT64): Likewise.
22364 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22365 (_G_LSEEK64): Likewise.
22366 (_G_MMAP64): Likewise.
22367 (_G_FSTAT64): Likewise.
22368 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22369 unconditional. Call __mmap64 directly.
22370 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22371 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22372 __lseek64 directly.
22373 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22374 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22375 __mmap64 directly.
22376 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22377 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22378 __lseek64 directly.
22379 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22380 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22381 __lseek64 directly.
22382 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22383 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22384 __lseek64 directly.
22385 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22386 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22387 __fxstat64 directly.
22388 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22389 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22390 unconditional.
22391 (freopen64) [!_G_OPEN64]: Remove conditional code.
22392 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22393 unconditional.
22394 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22395 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22396 unconditional.
22397 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22398 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22399 unconditional.
22400 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22401 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22402 unconditional.
22403 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22404 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22405 unconditional.
22406 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22407 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22408 unconditional.
22409 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22410 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22411 unconditional.
22412 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22413
224142012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22415
22416 [BZ #12140]
22417 * manual/memory.texi (Malloc Tunable Parameters): Add note
22418 about free list pointers overwriting some perturb bytes.
22419 Wording suggested by Roland McGrath.
22420
224212012-10-17 Joseph Myers <joseph@codesourcery.com>
22422
22423 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22424 (lgamma_test): Likewise.
22425 (tgamma_test): Likewise.
22426
224272012-10-16 Florian Weimer <fweimer@redhat.com>
22428
22429 [BZ #14700]
22430 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22431 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22432
224332012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22434
22435 * NEWS: Mention BZ #14716.
22436 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22437 when removing AVAILABLE1_USES_J macro.
22438
224392012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22440
22441 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22442 (__bswap_64): __uint64_t for unsigned 64-bit int.
22443
224442012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22445
22446 * include/string.h (memmem): Declare libc hidden alias.
22447 * string/memmem.c (memmem): Define libc hidden alias.
22448 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22449 __read, __close instead of open, read, close.
22450
224512012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22452
22453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22454 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22455 global and hidden.
22456 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22457 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22458 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22459 Likewise.
22460 (__rawmemchr_sse2): Likewise.
22461 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22462 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22463 (__strchr_sse2): Likewise.
22464 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22465 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22466 (__strcasecmp_sse2): Likewise.
22467 (__strncasecmp_sse2): Likewise.
22468 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22469 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22470 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22471 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22472 (__strrchr_sse2): Likewise.
22473 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22474 ifunc-impl-list.c.
22475 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22476 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22477 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22478 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22479 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22480 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22481 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22482 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22483 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22484 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22485 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22486 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22487 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22488 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22489 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22490 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22491 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22492 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22493 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22494 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22495 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22496 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22497 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22498 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22499 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22500 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22501 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22502 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22503 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22504 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22505
22506 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22507 global and hidden.
22508 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22509 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22510 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22511 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22512 Likewise.
22513 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22514 Likewise.
22515 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22516 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22517 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22518 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22519 ifunc-impl-list.c.
22520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22521 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22523 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22524 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22525 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22526 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22527 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22528 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22529 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22533 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22534 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22536 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22537 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22539 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22545 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22546 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22547 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22548 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22549 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22550 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22551 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22552 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22553 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22554 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22555 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22556 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22557 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22558 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22559 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22560 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22561
22562 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22563 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22564 * include/ifunc-impl-list.h: New file.
22565 * misc/ifunc-impl-list.c: Likewise.
22566 * misc/Makefile (routines): Add ifunc-impl-list.
22567 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22568 * string/test-string.h: Include <ifunc-impl-list.h>.
22569 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22570 impl_array): New variables.
22571 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22572 are defined.
22573 (test_init): Call __libc_ifunc_impl_list to initialize
22574 func_list if TEST_IFUNC and TEST_NAME are defined.
22575
22576 * string/Makefile (strop-tests): Add bcopy and bzero.
22577 * string/test-bcopy.c: New file.
22578 * string/test-bzero.c: Likewise.
22579 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22580 defined.
22581 * string/test-memset.c: Support bzero test if TEST_BZERO is
22582 defined.
22583 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22584 __libc_memmove.
22585 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22586 __libc_memset.
22587 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22588 of memset.
22589
225902012-10-10 Joseph Myers <joseph@codesourcery.com>
22591
22592 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22593 * configure: Regenerated.
22594
22595 * Makeconfig (+link-static-before-libc): Don't include
22596 $(link-static-libc).
22597
22598 * libio/libio.h (_IO_pos_t): Remove.
22599
226002012-10-10 Alexandre Oliva <aoliva@redhat.com>
22601
22602 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22603 McGrath.
22604
226052012-10-10 Alexandre Oliva <aoliva@redhat.com>
22606
22607 * crypt/crypt-entry.c: Include fips-private.h.
22608 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22609 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22610 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22611 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22612
226132012-10-10 Alexandre Oliva <aoliva@redhat.com>
22614
22615 * crypt/crypt-private.h: Include stdbool.h.
22616 (_ufc_setup_salt_r): Return bool.
22617 * crypt/crypt-entry.c: Include errno.h.
22618 (__crypt_r): Return NULL with EINVAL for bad salt.
22619 * crypt/crypt_util.c (bad_for_salt): New.
22620 (_ufc_setup_salt_r): Check that salt is long enough and within
22621 the specified alphabet.
22622 * crypt/badsalttest.c: New file.
22623 * crypt/Makefile (tests): Add it.
22624 ($(objpfx)badsalttest): New.
22625
226262012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22627
22628 * NEWS: Add entry for BZ #14602.
22629
226302012-10-09 Joseph Myers <joseph@codesourcery.com>
22631
22632 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22633 type-generic.
22634 * math/libm-test.inc: Update comment listing what functions and
22635 macros are tested.
22636 (isgreater_test): New function.
22637 (isgreaterequal_test): Likewise.
22638 (isless_test): Likewise.
22639 (islessequal_test): Likewise.
22640 (islessgreater_test): Likewise.
22641 (isunordered_test): Likewise.
22642 (main): Call the new functions.
22643
226442012-10-09 Roland McGrath <roland@hack.frob.com>
22645
22646 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22647 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22648 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22649 * sysdeps/i386/configure: Regenerated.
22650 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22651 * sysdeps/mach/configure: Regenerated.
22652 * sysdeps/mach/hurd/configure: Regenerated.
22653 * sysdeps/powerpc/configure: Regenerated.
22654 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22655 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22656 * sysdeps/s390/s390-32/configure: Regenerated.
22657 * sysdeps/s390/s390-64/configure: Regenerated.
22658 * sysdeps/sh/configure: Regenerated.
22659 * sysdeps/sparc/configure: Regenerated.
22660 * sysdeps/unix/sysv/linux/configure: Regenerated.
22661 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22662 * sysdeps/x86_64/configure: Regenerated.
22663
22664 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22665 defined. Don't check if MAP is NULL.
22666
226672012-10-09 Joseph Myers <joseph@codesourcery.com>
22668
22669 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22670 (_G_stat64): Likewise.
22671 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22672 (_G_stat64): Likewise.
22673 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22674 instead of struct _G_stat64.
22675 * libio/fileops.c (mmap_remap_check): Likewise.
22676 (decide_maybe_mmap): Likewise.
22677 (_IO_new_file_seekoff): Likewise.
22678 (_IO_file_stat): Likewise.
22679 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22680 _G_off64_t.
22681 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22682 instead of struct _G_stat64.
22683 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22684
226852012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22686
22687 [BZ #14602]
22688 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22689 Replace with ...
22690 (CHECK_EOL): New macro.
22691 (two_way_short_needle): Check beginning of haystack for EOL. Use
22692 CHECK_EOL.
22693 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22694 Replace with CHECK_EOL.
22695 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22696 Replace with CHECK_EOL.
22697
226982012-10-08 Joseph Myers <joseph@codesourcery.com>
22699
22700 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22701 type-generic.
22702 * math/libm-test.inc: Update comment listing what functions and
22703 macros are tested.
22704 (finite_test): New function.
22705 (isinf_test): Likewise.
22706 (isnan_test): Likewise.
22707 (fpclassify_test): Test subnormal input.
22708 (isfinite_test): Likewise.
22709 (isnormal_test): Likewise.
22710 (main): Call the new functions.
22711
227122012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22713
22714 [BZ #14660]
22715 * Makerules (%.dynsym): Force C locale when running
22716 $(OBJDUMP) --dynamic-syms.
22717
227182012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22719
22720 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22721 <stdint.h>.
22722
227232012-10-06 David S. Miller <davem@davemloft.net>
22724
22725 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22726 upper 32-bits of the length value in %o2 since we use branch-on-register
22727 tests which consider the entire 64-bit register.
22728
227292012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22730
22731 * string/test-strstr.c (check2): Add a test for page boundary.
22732
227332012-10-05 David S. Miller <davem@davemloft.net>
22734
22735 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22736 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22737 file.
22738 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22739 sysdep_routines.
22740 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22741 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22742 and bzero when HWCAP_SPARC_CRYPTO is present.
22743
227442012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22745
22746 [BZ #14602]
22747 * string/test-strstr.c (check2): New function.
22748 (test_main): Call check2.
22749
22750 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22751 and bug-strchr1.
22752 * string/bug-strcasestr1.c (do_test): Moved to ...
22753 * string/test-strcasestr.c (check1): Here. New function.
22754 (do_one_test): Break out result checking code into ...
22755 (check_result): This. New function.
22756 (do_one_test): Call check_result.
22757 (test_main): Call check1.
22758 * string/bug-strchr1.c (do_test): Moved to ...
22759 * string/test-strchr.c (check1): Here. New function.
22760 (do_one_test): Break out result checking code into ...
22761 (check_result): This. New function.
22762 (do_one_test): Call check_result.
22763 (test_main): Call check1.
22764 * string/bug-strstr1.c (main): Moved to ...
22765 * string/test-strstr.c (check1): Here. New function.
22766 (do_one_test): Break out result checking code into ...
22767 (check_result): This. New function.
22768 (do_one_test): Call check_result.
22769 (test_main): Call check1.
22770 * string/bug-strcasestr1.c: Removed.
22771 * string/bug-strchr1.c: Likewise.
22772 * string/bug-strstr1.c: Likewise.
22773
22774 * elf/Makefile (dl-routines): Add hwcaps.
22775 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22776 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22777 (_dl_important_hwcaps): Moved to ...
22778 * elf/dl-hwcaps.c: Here. New file.
22779 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22780
22781 [BZ #14557]
22782 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22783 if IS_IN_rtld isn't defined.
22784
22785 * elf/dl-support.c (_dl_sysinfo_map): New.
22786 Include "get-dynamic-info.h" and "setup-vdso.h".
22787 (_dl_non_dynamic_init): Call setup_vdso.
22788 * elf/dynamic-link.h: Don't include <assert.h>.
22789 (elf_get_dynamic_info): Moved to ...
22790 * elf/get-dynamic-info.h: Here. New file.
22791 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22792 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22793 * elf/setup-vdso.h: Here. New file.
22794 * elf/rtld.c: Include "setup-vdso.h".
22795 (dl_main): Call setup_vdso.
22796
227972012-10-05 Joseph Myers <joseph@codesourcery.com>
22798
22799 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22800 creal in comment listing functions tested. List finite, isinf,
22801 isnan, isless, islessequal, isgreater, isgreaterequal,
22802 islessgreater, isunordered, lgamma_r and pow10 as functions and
22803 macros not tested. Mention which functions not tested are aliases
22804 for other functions. Fix typo. Note that signs of NaNs are not
22805 tested.
22806
22807 * scripts/config.guess: Update from config.git.
22808 * scripts/config.sub: Likewise.
22809
228102012-10-04 Roland McGrath <roland@hack.frob.com>
22811
22812 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22813 * misc/madvise.c (madvise): Renamed to __madvise.
22814 Make madvise a weak alias.
22815 * include/sys/mman.h: Declare __madvise.
22816 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22817 * sysdeps/unix/syscalls.list
22818 (madvise): Make __madvise the strong name, and madvise a weak alias.
22819 * sysdeps/unix/sysv/linux/syscalls.list
22820 (madvise, mmap): Remove redundant entries.
22821 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22822 * malloc/malloc.c (mtrim): Likewise.
22823 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22824
228252012-10-03 Roland McGrath <roland@hack.frob.com>
22826
22827 * sysdeps/mach/hurd/dl-cache.c: File removed.
22828 * config.h.in (USE_LDCONFIG): New #undef.
22829 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22830 * configure: Regenerated.
22831 * elf/Makefile (dl-routines): Add dl-cache only under
22832 [$(use-ldconfig) = yes].
22833 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22834 cache on [USE_LDCONFIG].
22835 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22836 [USE_LDCONFIG].
22837 * elf/rtld.c (dl_main): Likewise.
22838
228392012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22840
22841 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22842 _SC_LEVEL4_CACHE_LINESIZE.
22843
228442012-10-03 Roland McGrath <roland@hack.frob.com>
22845
22846 * sysdeps/unix/bsd/confstr.h: File removed.
22847
228482012-10-02 Alexandre Oliva <aoliva@redhat.com>
22849
22850 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22851 sys/sdt-config.h.
22852
228532012-10-02 Roland McGrath <roland@hack.frob.com>
22854
22855 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22856 Make 'mapoff' field ElfW(Off) rather than off_t.
22857
228582012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22859
22860 * nscd/Makefile: Remove nscd-cflags and all its users.
22861 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22862 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22863
22864 [BZ #10631]
22865 * malloc.c (malloc_printerr): Clarify error message.
22866
228672012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22868
22869 [BZ #14648]
22870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22871 Set bit_FMA_Usable if FMA is supported.
22872 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22873 macro.
22874 (bit_FMA4_Usable): Updated.
22875 (index_FMA_Usable): New macro.
22876 (CPUID_FMA): Likewise
22877 (HAS_FMA): Defined with bit_FMA_Usable.
22878
228792012-10-01 Roland McGrath <roland@hack.frob.com>
22880
22881 * bits/types.h (__swblk_t): Type removed.
22882 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22883 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22885 (__SWBLK_T_TYPE): Likewise.
22886 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22887 (__SWBLK_T_TYPE): Likewise.
22888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22889 (__SWBLK_T_TYPE): Likewise.
22890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22891 (__SWBLK_T_TYPE): Likewise.
22892
228932012-10-01 Patsy Franklin <pfrankli@redhat.com>
22894 Honza Horak <hhorak@redhat.com>
22895
22896 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22897 (xdr_mapname): Use YPMAXMAP as maxsize.
22898 (xdr_peername): Use YPMAXPEER as maxsize.
22899 (xdr_keydat): Use YPAXRECORD as maxsize.
22900 (xdr_valdat): Use YPMAXRECORD as maxsize.
22901
229022012-10-01 Roland McGrath <roland@hack.frob.com>
22903
22904 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22905
22906 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22907 * csu/init-first.c: ... here.
22908 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22909 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22911 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22912 * sysdeps/i386/init-first.c: File removed.
22913 * sysdeps/sh/init-first.c: File removed.
22914
229152012-10-01 Joseph Myers <joseph@codesourcery.com>
22916
22917 [BZ #14645]
22918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22919 if x * y might underflow to zero and z is zero.
22920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22921 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22922 * math/libm-test.inc (min_subnorm_value): New variable.
22923 (fma_test): Add more tests.
22924 (fma_test_towardzero): Likewise.
22925 (fma_test_downward): Likewise
22926 (fma_test_upward): Likewise.
22927 (initialize): Set min_subnorm_value.
22928
229292012-09-29 Joseph Myers <joseph@codesourcery.com>
22930
22931 [BZ #14638]
22932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22933 0 + 0.
22934 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22935 mode for addition resulting in exact zero.
22936 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22938 exact 0 + 0.
22939 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22941 * math/libm-test.inc (fma_test): Add more tests.
22942 (fma_test_towardzero): New function.
22943 (fma_test_downward): Likewise.
22944 (fma_test_upward): Likewise.
22945 (main): Call the new functions.
22946
229472012-09-28 David S. Miller <davem@davemloft.net>
22948
22949 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22950
229512012-09-28 Roland McGrath <roland@hack.frob.com>
22952
22953 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22954 instead of SIGALRM.
22955
22956 * sysdeps/gnu/_G_config.h: Moved to ...
22957 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22958 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22959 * sysdeps/generic/_G_config.h: ... here.
22960
22961 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22962
22963 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22964
22965 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22966 Conditionalize target on [libnss_test1.so-version].
22967
22968 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22969
22970 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22971 (elfobjdir): Move out of conditionals.
22972
22973 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22974 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22975 (__nss_lookup_function): Conditionalize label remove_from_tree on
22976 [!DO_STATIC_NSS || SHARED], matching its only use.
22977
229782012-09-28 David S. Miller <davem@davemloft.net>
22979
22980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22981 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22982 file.
22983 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22984 sysdep_routines.
22985 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22987 when HWCAP_SPARC_CRYPTO is present.
22988
229892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22990
22991 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22992
229932012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22994
22995 [BZ #6530]
22996 * stdio-common/vfprintf.c (process_string_arg): Revert
22997 2000-07-22 change.
22998
229992011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23000
23001 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23002 for testcase.
23003 * stdio-common/tst-sprintf.c: Include <locale.h>
23004 (main): Test sprintf's handling of incomplete multibyte
23005 characters.
23006
230072012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23008
23009 * elf/dl-runtime.c (VERSYMIDX): Removed.
23010 * elf/dl-version.c (VERSYMIDX): Likewise.
23011 * elf/do-rel.h (VERSYMIDX): Likewise.
23012 (VALIDX): Likewise.
23013 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23014 * elf/rtld.c (VALIDX): Likewise.
23015 (ADDRIDX): Likewise.
23016 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23017 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23018 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23019 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23020 (VALIDX): Likewise.
23021 (ADDRIDX): Likewise.
23022
230232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23024
23025 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23026
230272012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23028
23029 [BZ #11438]
23030 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23031 to global scope.
23032 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23033 addresses are in the same scope as 192.0.2/24.
23034 * posix/gai.conf: Document new scope table defaults.
23035
230362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23037
23038 [BZ #5298]
23039 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23040 for ftell. Compute offsets from write pointers instead.
23041 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23042
230432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23044
23045 [BZ #14543]
23046 * libio/Makefile (tests): New test case tst-fseek.
23047 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23048 combination works in wide mode.
23049 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23050 state when the external buffer state changes.
23051
230522012-09-27 David S. Miller <davem@davemloft.net>
23053
23054 [BZ #14376]
23055 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23056 pass reloc->r_addend in as the 'high' argument to
23057 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23058
23059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23060
230612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23062
23063 * rt/tst-aio2.c: Include <pthread.h>.
23064 * rt/tst-aio3.c: Likewise.
23065
230662012-09-27 Steve Ellcey <sellcey@mips.com>
23067
23068 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23069
230702012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23071
23072 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23073 contents on [SHARED].
23074
230752012-09-26 Marek Polacek <polacek@redhat.com>
23076
23077 [BZ #14530]
23078 [BZ #13741]
23079 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23080 for C++ and GCC <4.3 as well as for non GCC compilers.
23081
230822012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23083
23084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23085
230862012-09-25 Roland McGrath <roland@hack.frob.com>
23087
23088 * Makefile.in (all, install): Declare with .PHONY.
23089 Reported by Michael Hope <michael.hope@linaro.org>.
23090
230912012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23092
23093 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23094 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23095 system header.
23096 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23097 Likewise.
23098 (sydep_routines): Add the new and the internal functions.
23099 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23100 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23102 (GLIBC_2.17): Add the new function.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23104 (GLIBC_2.17): Likewise.
23105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23106 (GLIBC_2.17): Likewise.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23108 (GLIBC_2.17): Likewise.
23109 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23110
231112012-09-25 Alan Modra <amodra@gmail.com>
23112
23113 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23114 Add release barrier before setting once_control to say
23115 initialisation is done. Add hints on lwarx. Use macro in
23116 place of isync.
23117 (clear_once_control): Add release barrier.
23118
231192012-09-25 Joseph Myers <joseph@codesourcery.com>
23120
23121 [BZ #13629]
23122 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23123 specially.
23124 * math/s_clog10.c (__clog10): Likewise.
23125 * math/s_clog10f.c (__clog10f): Likewise.
23126 * math/s_clog10l.c (__clog10l): Likewise.
23127 * math/s_clogf.c (__clogf): Likewise.
23128 * math/s_clogl.c (__clogl): Likewise.
23129 * math/Makefile (libm-calls): Add x2y2m1.
23130 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23131 (__x2y2m1): Likewise.
23132 (__x2y2m1l): Likewise.
23133 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23134 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23135 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23136 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23137 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23138 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23139 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23140 * sysdeps/i386/fpu/libm-test-ulps: Update.
23141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23142
23143 [BZ #14621]
23144 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23145 int as type of variable DEPTH.
23146 (glob): Use size_t instead of int as type of variables NEWCOUNT
23147 and OLD_PATHC.
23148
231492012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23150
23151 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23152 Add s_sincosf-sse2.
23153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23154 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23155 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23156 macros for using routine as __sincosf_ia32.
23157 Use macro for function declaration and weak_alias.
23158 * sysdeps/i386/fpu/libm-test-ulps: Update.
23159
23160 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23162
23163 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23164 subnormal argument.
23165 * math/s_cexpf.c (__cexpf): Likewise.
23166 * math/s_csinf.c (__csinf): Likewise.
23167 * math/s_csinhf.c (__csinhf): Likewise.
23168 * math/s_ctanf.c (__ctanf): Likewise.
23169 * math/s_ctanhf.c (__ctanhf): Likewise.
23170 * math/s_ccosh.c (__ccoshf): Likewise.
23171 * math/s_cexp.c (__cexpl): Likewise.
23172 * math/s_csin.c (__csin): Likewise.
23173 * math/s_csinh.c (__csinh): Likewise.
23174 * math/s_ctan.c (__ctan): Likewise.
23175 * math/s_ctanh.c (ctanh): Likewise.
23176 * math/s_ccoshl.c (__ccoshl): Likewise.
23177 * math/s_cexpl.c (__cexpl): Likewise.
23178 * math/s_csinl.c (__csinl): Likewise.
23179 * math/s_csinhl.c (__csinhl): Likewise.
23180 * math/s_ctanl.c (__ctanl): Likewise.
23181 * math/s_ctanhl.c (__ctanhl): Likewise.
23182
231832012-09-25 Joseph Myers <joseph@codesourcery.com>
23184
23185 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23186 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23187 (_IO_off_t): Define to __off_t, not _G_off_t.
23188 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23189 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23190 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23191 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23192 type of __dummy and __dummy2 fields.
23193 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23194 (_G_ssize_t): Likewise.
23195 (_G_off_t): Likewise.
23196 (_G_pid_t): Likewise.
23197 (_G_uid_t): Likewise.
23198 (_G_wchar_t): Likewise.
23199 (_G_wint_t): Likewise.
23200 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23201 (_G_ssize_t): Likewise.
23202 (_G_off_t): Likewise.
23203 (_G_pid_t): Likewise.
23204 (_G_uid_t): Likewise.
23205 (_G_wchar_t): Likewise.
23206 (_G_wint_t): Likewise.
23207 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23208 (_G_ssize_t): Likewise.
23209 (_G_off_t): Likewise.
23210 (_G_pid_t): Likewise.
23211 (_G_uid_t): Likewise.
23212 (_G_wchar_t): Likewise.
23213 (_G_wint_t): Likewise.
23214
232152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23216
23217 * malloc/arena.c: Include malloc-sysdep.h.
23218 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23219 is sufficient to shrink the heap or an unmap is needed.
23220 * sysdeps/generic/malloc-sysdep.h: New file. Define
23221 new function check_may_shrink_heap.
23222 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23223 new function check_may_shrink_heap.
23224
232252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23226
23227 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23228 comments.
23229
232302012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23231
23232 * catgets/test-gencat.sh: Add "set -e".
23233 * elf/tst-pathopt.sh: Likewise.
23234 * grp/tst_fgetgrent.sh: Likewise.
23235 * iconvdata/run-iconv-test.sh: Likewise.
23236 * intl/tst-gettext.sh: Likewise.
23237 * intl/tst-gettext2.sh: Likewise.
23238 * intl/tst-gettext4.sh: Likewise.
23239 * intl/tst-gettext6.sh: Likewise.
23240 * intl/tst-translit.sh: Likewise.
23241 * io/ftwtest-sh: Likewise.
23242 * libio/test-freopen.sh: Likewise.
23243 * malloc/tst-mtrace.sh: Likewise.
23244 * posix/globtest.sh: Likewise.
23245 * posix/tst-getconf.sh: Likewise.
23246 * posix/wordexp-tst.sh: Likewise.
23247 * stdio-common/tst-printf.sh: Likewise.
23248 * stdio-common/tst-unbputc.sh: Likewise.
23249 * stdlib/tst-fmtmsg.sh: Likewise.
23250 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23251 * catgets/Makefile: Do not specify -e option when running
23252 testsuite shell scripts.
23253 * elf/Makefile: Likewise.
23254 * grp/Makefile: Likewise.
23255 * iconvdata/Makefile: Likewise.
23256 * intl/Makefile: Likewise.
23257 * io/Makefile: Likewise.
23258 * libio/Makefile: Likewise.
23259 * malloc/Makefile: Likewise.
23260 * posix/Makefile: Likewise.
23261 * stdio-common/Makefile: Likewise.
23262 * stdlib/Makefile: Likewise.
23263 * sysdeps/x86_64/Makefile: Likewise.
23264
23265 * io/ftwtest-sh: Add copyright header.
23266 * posix/globtest.sh: Likewise.
23267 * posix/tst-getconf.sh: Likewise.
23268 * posix/wordexp-tst.sh: Likewise.
23269 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23270
232712012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23272
23273 [BZ #13679]
23274 * Makeconfig (+link): Defined as $(+link-static) if
23275 $(build-shared) isn't yes.
23276 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23277 isn't yes.
23278 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23279
23280 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23281
23282 [BZ #14562]
23283 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23284 new chunk size with MALLOC_ALIGN_MASK.
23285
232862012-09-24 Joseph Myers <joseph@codesourcery.com>
23287
23288 [BZ #5044]
23289 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23290 <rounding-mode.h>.
23291 (__printf_fphex): Determine rounding using get_rounding_mode and
23292 round_away.
23293 * stdio-common/tst-printf-round.c (struct hex_test): New
23294 structure.
23295 (hex_tests): New variable.
23296 (test_hex_in_one_mode): New function.
23297 (do_test): Also run tests for hex float output.
23298
232992012-09-21 Joseph Myers <joseph@codesourcery.com>
23300
23301 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23302 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23303 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23304 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23305 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23306 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23307 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23308 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23309
233102012-09-20 Joseph Myers <joseph@codesourcery.com>
23311
23312 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23313 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23314 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23315 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23316
233172012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23318
23319 [BZ #14579]
23320 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23321 mode only.
23322 * elf/tst-rtld-load-self.sh: New test.
23323 * elf/Makefile: Run it.
23324
233252012-09-18 Joseph Myers <joseph@codesourcery.com>
23326
23327 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23328 (tst-writev-ENV): Remove.
23329 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23330
233312012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23332
23333 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23334
233352012-09-17 Joseph Myers <joseph@codesourcery.com>
23336
23337 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23338 unconditional.
23339 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23340 Likewise.
23341 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23342 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23343 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23344 Likewise.
23345
233462012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23347
23348 [BZ #14587]
23349 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23350 * config.make.in (have-cpp-asm-debuginfo): Removed.
23351 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23352 * configure: Regenerated.
23353
233542012-09-14 Joseph Myers <joseph@codesourcery.com>
23355
23356 [BZ #5044]
23357 * stdio-common/printf_fp.c: Include <stdbool.h> and
23358 <rounding-mode.h>.
23359 (___printf_fp): Determine rounding using get_rounding_mode and
23360 round_away.
23361 * stdio-common/tst-printf-round.c: New file.
23362 * stdio-common/Makefile (tests): Add tst-printf-round.
23363 (link-libm): New variable.
23364 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23365
233662012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23367
23368 [BZ #14576]
23369 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23370 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23371 Likewise.
23372 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23373 Likewise.
23374
233752012-09-13 Joseph Myers <joseph@codesourcery.com>
23376
23377 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23378 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23379 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23381
233822012-09-12 Joseph Myers <joseph@codesourcery.com>
23383
23384 [BZ #14518]
23385 * include/rounding-mode.h: New file.
23386 * sysdeps/generic/get-rounding-mode.h: Likewise.
23387 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23388 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23389 (MAX_VALUE): New macro.
23390 (MIN_VALUE): Likewise.
23391 (overflow_value): New function.
23392 (underflow_value): Likewise.
23393 (round_and_return): Use overflow_value and underflow_value to
23394 determine return values in overflow and underflow cases. Use
23395 round_away to determine rounding depending on rounding mode.
23396 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23397 determine return values in overflow and underflow cases.
23398 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23399 (struct test_results): New structure.
23400 (struct test): Use struct test_results to store expected results
23401 for all rounding modes.
23402 (TEST): Include expected results for all rounding modes.
23403 (test_in_one_mode): New function.
23404 (do_test): Use test_in_one_mode to compute and check results.
23405 Check results for all rounding modes.
23406 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23407 $(link-libm).
23408
234092012-12-09 Allan McRae <allan@archlinux.org>
23410
23411 * sysdeps/i386/fpu/libm-test-ulps: Update
23412
234132012-09-11 Joseph Myers <joseph@codesourcery.com>
23414
23415 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23416 (_G_int32_t): Likewise.
23417 (_G_uint16_t): Likewise.
23418 (_G_uint32_t): Likewise.
23419 (_G_HAVE_BOOL): Likewise.
23420 (_G_HAVE_ATEXIT): Likewise.
23421 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23422 (_G_HAVE_IO_FILE_OPEN): Likewise.
23423 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23424 (_G_int32_t): Likewise.
23425 (_G_uint16_t): Likewise.
23426 (_G_uint32_t): Likewise.
23427 (_G_HAVE_BOOL): Likewise.
23428 (_G_HAVE_ATEXIT): Likewise.
23429 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23430 (_G_HAVE_IO_FILE_OPEN): Likewise.
23431 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23432 (_G_int32_t): Likewise.
23433 (_G_uint16_t): Likewise.
23434 (_G_uint32_t): Likewise.
23435 (_G_HAVE_BOOL): Likewise.
23436 (_G_HAVE_ATEXIT): Likewise.
23437 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23438 (_G_HAVE_IO_FILE_OPEN): Likewise.
23439
234402012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23441
23442 * csu/libc-tls.c: Update copyright years.
23443
234442012-09-10 Joseph Myers <joseph@codesourcery.com>
23445
23446 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23447 [!_G_USING_THUNKS]: Remove conditional code.
23448 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23449 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23450
23451 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23452 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23453 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23454 (_G_VTABLE_LABEL_PREFIX): Likewise.
23455 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23456 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23457 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23458 (_G_VTABLE_LABEL_PREFIX): Likewise.
23459 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23460 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23461 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23462 (_G_VTABLE_LABEL_PREFIX): Likewise.
23463 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23464
234652012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23466
23467 * libio/Makefile: Include ../Makeconfig before tests.
23468 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23469 only if $(build-shared) is yes.
23470
23471 * iconv/gconv_db.c: Update copyright years.
23472
234732012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23474
23475 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23476 unwind info if defined PIC. Fix special cases description.
23477 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23478
23479 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23480 DP_HI_MASK entry.
23481 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23482
234832012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23484
23485 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23486
23487 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23488 is NULL.
23489
23490 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23491 (LDLIBS-tst-chk4): This.
23492 (LDFLAGS-tst-chk5): Renamed to ...
23493 (LDLIBS-tst-chk5): This.
23494 (LDFLAGS-tst-chk6): Renamed to ...
23495 (LDLIBS-tst-chk6): This.
23496 (LDFLAGS-tst-lfschk4): Renamed to ...
23497 (LDLIBS-tst-lfschk4): This.
23498 (LDFLAGS-tst-lfschk5): Renamed to ...
23499 (LDLIBS-tst-lfschk5): This.
23500 (LDFLAGS-tst-lfschk6): Renamed to ...
23501 (LDLIBS-tst-lfschk6): This.
23502
23503 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23504 on $(common-objpfx)soversions.mk.
23505
235062012-09-07 Joseph Myers <joseph@codesourcery.com>
23507
23508 [BZ #10014]
23509 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23510 example host name.
23511
235122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23513
23514 * malloc/arena.c (arena_get_retry): New function that gets
23515 another arena for the caller to try its request on.
23516 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23517 current arena cannot fulfill the request.
23518 (__libc_memalign): Likewise.
23519 (__libc_memalign): Likewise.
23520 (__libc_pvalloc): Likewise.
23521 (__libc_calloc): Likewise.
23522
235232012-09-05 John Tobey <john.tobey@gmail.com>
23524
23525 [BZ #13542]
23526 * manual/arith.texi (Operations on Complex): Fix description
23527 of carg branch cut.
23528
235292012-09-06 Joseph Myers <joseph@codesourcery.com>
23530
23531 [BZ #10014]
23532 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23533 host name.
23534
23535 [BZ #10038]
23536 * manual/memory.texi (Memory): Make order of menu items match
23537 order of sections.
23538
235392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23540
23541 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23542 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23543 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23544
235452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23546
23547 * csu/libc-tls.c (static_dtv): Renamed to ...
23548 (_dl_static_dtv): This. Make it global.
23549 (_dl_initial_dtv): Removed.
23550 (__libc_setup_tls): Updated.
23551 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23552 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23553 DL_INITIAL_DTV.
23554
235552012-09-06 Petr Machata <pmachata@redhat.com>
23556
23557 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23558 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23559 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23560 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23561
235622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 [BZ #14545]
23565 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23566 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23567 freeing dtv[-1].
23568
235692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23570
23571 [BZ #14544]
23572 * Makeconfig (link-static-before-libc): Replace $(+prector)
23573 with $(+prectorT).
23574 (link-static-after-libc): Replace $(+postctor) with
23575 $(+postctorT).
23576 (link-bounded): Replace $(+prector)/$(+postctor) with
23577 $(+prectorT)/$(+postctorT).
23578 (+prectorT): New macro.
23579 (+postctorT): Likewise.
23580
235812012-09-06 Joseph Myers <joseph@codesourcery.com>
23582
23583 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23584 (round_str): Handle values above the maximum for IBM long double
23585 as inexact.
23586 * stdlib/tst-strtod-round.c (tests): Regenerated.
23587
235882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23589
23590 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23591 assembler flag.
23592 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23593 zarch_nohighgprs around the zarch optimized routines.
23594 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23595 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23597 for zarch.
23598
235992012-09-05 David S. Miller <davem@davemloft.net>
23600
23601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23602
23603 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23604 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23605 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23606 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23607 entries.
23608
236092012-09-05 Alexandre Oliva <aoliva@redhat.com>
23610
23611 * malloc/arena.c: Fold copyright years.
23612 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23613
236142012-09-05 Alexandre Oliva <aoliva@redhat.com>
23615
23616 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23617
236182012-09-05 Alexandre Oliva <aoliva@redhat.com>
23619
23620 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23621
236222012-09-05 Alexandre Oliva <aoliva@redhat.com>
23623
23624 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23625 change internal state upon failure.
23626
236272012-09-05 Alexandre Oliva <aoliva@redhat.com>
23628
23629 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23630 * malloc/memusage.c (mmap): Likewise.
23631 (mmap64, mremap): Likewise. Adjust name in comment.
23632
236332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23634
23635 * libio/fileops.c: Fix typos in comments.
23636 * libio/oldfileops.c: Likewise.
23637 * libio/wfileops.c: Likewise.
23638
236392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23640
23641 [BZ #1349]
23642 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23643 (tst-malloc-usable-ENV): Set environment for test case.
23644 * malloc/hooks.c (malloc_check_get_size): New function to get
23645 requested size.
23646 * malloc/malloc.c (musable): Use malloc_check_get_size.
23647 * malloc/tst-malloc-usable.c: New test case.
23648
236492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23650
23651 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23652
236532012-09-05 Allan McRae <allan@archlinux.org>
23654
23655 [BZ #13966]
23656 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23657 determine header location.
23658 * configure: Regenerated.
23659
236602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23661
23662 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23663 float format.
23664 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23665 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23666 format.
23667 (test): Regenerate.
23668
236692012-09-04 David S. Miller <davem@davemloft.net>
23670
23671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23674
236752012-09-04 Florian Weimer <fweimer@redhat.com>
23676
23677 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23678 failures.
23679
23680 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23681
236822012-09-04 Joseph Myers <joseph@codesourcery.com>
23683
23684 [BZ #9914]
23685 * libio/iogetdelim.c: Include <limits.h>.
23686 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23687 + len + 1 would overflow.
23688
236892012-09-03 Andreas Jaeger <aj@suse.de>
23690
23691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23692 * sysdeps/i386/fpu/libm-test-ulps: Update.
23693
236942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23695
23696 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23697 Add s_sinf-sse2, s_conf-sse2.
23698
23699 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23700 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23701 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23702 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23703
23704 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23705 for using routine as __sinf_ia32.
23706 Use macro for function declaration and weak_alias.
23707 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23708 for using routine as __cosf_ia32.
23709 Use macro for function declaration and weak_alias.
23710
23711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23712 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23713
23714 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23715 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23717
23718 * math/libm-test.inc (cos_test): Add more test cases.
23719 (sin_test): Likewise.
23720 (sincos_test): Likewise.
23721
237222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23723
23724 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23725 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23726 hidden.
23727 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23728
237292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23730
23731 [BZ #14538]
23732 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23733 first element of the GOT.
23734 (elf_machine_load_address): Return the difference between
23735 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23736
237372012-09-01 Allan McRae <allan@archlinux.org>
23738
23739 [BZ #13412]
23740 * configure.in (AWK): Require gawk version 3.0 or later.
23741 * configure: Regenerated.
23742
237432012-09-01 Joseph Myers <joseph@codesourcery.com>
23744
23745 * sysdeps/unix/sysv/linux/kernel-features.h
23746 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23747 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23748 [__NR_clock_getres]: Make code unconditional.
23749 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23750 (clock_getcpuclockid): Remove code left unreachable by removal of
23751 conditionals.
23752 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23753 code unconditional.
23754 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23755 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23756 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23757 Make code unconditional.
23758 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23759 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23760 * sysdeps/unix/sysv/linux/clock_settime.c
23761 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23762 conditional code.
23763 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23764 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23765
237662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23767
23768 [BZ #14476]
23769 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23770 scripts/test-installation.pl.
23771
23772 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23773 and $ld_so_version if it is set.
23774
237752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23776
23777 [BZ #14516]
23778 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23779 failure if reading from procfs failed.
23780 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23781
237822012-08-27 Joseph Myers <joseph@codesourcery.com>
23783
23784 * sysdeps/unix/sysv/linux/kernel-features.h
23785 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23786 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23787 Remove conditional code.
23788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23789 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23790 Remove conditional code.
23791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23792 * sysdeps/unix/sysv/linux/i386/fxstat.c
23793 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23795 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23796 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23798 * sysdeps/unix/sysv/linux/i386/lxstat.c
23799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23801 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23802 Remove conditional code.
23803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23804 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23805 Remove conditional code.
23806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23807 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23808 <kernel-features.h>.
23809 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23810 Remove.
23811 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23812 Remove conditional code.
23813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23814 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23815 Remove conditional.
23816
238172012-08-27 Mike Frysinger <vapier@gentoo.org>
23818
23819 [BZ #5400]
23820 * NEWS: Add fixed bug number.
23821
238222012-08-27 Joseph Myers <joseph@codesourcery.com>
23823
23824 [BZ #14519]
23825 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23826 underflowing exponent in case of negative sign.
23827 * stdlib/tst-strtod-round-data: Add more tests.
23828 * stdlib/tst-strtod-round.c (tests): Regenerated.
23829
23830 [BZ #3479]
23831 * stdlib/strtod_l.c (NDIG): Remove.
23832 (HEXNDIG): Likewise.
23833 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23834 smallest representable value.
23835 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23836 lie within an exact representation of 1/2 ulp of the result.
23837 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23838 unconditionally.
23839 (TENS_P9_IDX): Define unconditionally.
23840 (TENS_P9_SIZE): Likewise.
23841 (TENS_P10_IDX): Likewise.
23842 (TENS_P10_SIZE): Likewise.
23843 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23844 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23845 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23846 entries for 10^2^13 and 10^2^14.
23847 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23848 (TENS_P13_IDX): Define.
23849 (TENS_P13_SIZE): Likewise.
23850 (TENS_P14_IDX): Likewise.
23851 (TENS_P14_SIZE): Likewise.
23852 (_fpioconst_pow10): Change array size to
23853 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23854 unconditional.
23855 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23856 1024]: Add entries for 10^2^13 and 10^2^14.
23857 [LAST_POW10 > _LAST_POW10]: Remove #error.
23858 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23859 (_fpioconst_pow10): Change array size to
23860 FPIOCONST_POW10_ARRAY_SIZE.
23861 * stdlib/gen-fpioconst.c: New file.
23862 * stdlib/gen-tst-strtod-round.c: Likewise.
23863 * stdlib/tst-strtod-round-data: Likewise.
23864 * stdlib/tst-strtod-round.c: Likewise.
23865 * stdlib/Makefile (tests): Add tst-strtod-round.
23866
23867 [BZ #14459]
23868 * stdlib/strtod_l.c: Include <stdint.h>.
23869 (NDEBUG): Do not define.
23870 (round_and_return): Change EXPONENT parameter to type intmax_t.
23871 Rearrange calculations to avoid internal overflow possibilities.
23872 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23873 Rearrange calculations to avoid internal overflow possibilities.
23874 Assert that number fits inside MPNSIZE limbs.
23875 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23876 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23877 calculations and add assertions to avoid internal overflow
23878 possibilities. Add casts to avoid signed/unsigned operations.
23879 * stdlib/tst-strtod-overflow.c: New file.
23880 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23881
238822012-08-25 Marek Polacek <polacek@redhat.com>
23883
23884 * time/time.h: Fix some typos in comments.
23885
238862012-08-23 Roland McGrath <roland@hack.frob.com>
23887
23888 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23889 * posix/tst-rfc3484-2.c: Likewise.
23890 * posix/tst-rfc3484-3.c: Likewise.
23891
238922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23893
23894 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23895 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23896
238972012-08-23 Joseph Myers <joseph@codesourcery.com>
23898
23899 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23900 #include of fxstatat64.c.
23901
239022012-08-22 Roland McGrath <roland@hack.frob.com>
23903
23904 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23905 * shadow/getspent_r.c: Likewise.
23906 * shadow/getspnam.c: Likewise.
23907 * shadow/getspnam_r.c: Likewise.
23908 * gshadow/getsgent.c: Likewise.
23909 * gshadow/getsgent_r.c: Likewise.
23910 * gshadow/getsgnam.c: Likewise.
23911 * gshadow/getsgnam_r.c: Likewise.
23912 * inet/getnetbyad.c: Likewise.
23913 * inet/getnetbyad_r.c: Likewise.
23914 * inet/getnetbynm.c: Likewise.
23915 * inet/getnetbynm_r.c: Likewise.
23916 * inet/getnetent.c: Likewise.
23917 * inet/getnetent_r.c: Likewise.
23918 * inet/getproto.c: Likewise.
23919 * inet/getproto_r.c: Likewise.
23920 * inet/getprtent.c: Likewise.
23921 * inet/getprtent_r.c: Likewise.
23922 * inet/getprtname.c: Likewise.
23923 * inet/getprtname_r.c: Likewise.
23924 * inet/getrpcbyname.c: Likewise.
23925 * inet/getrpcbyname_r.c: Likewise.
23926 * inet/getrpcbynumber.c: Likewise.
23927 * inet/getrpcbynumber_r.c: Likewise.
23928 * inet/getrpcent.c: Likewise.
23929 * inet/getrpcent_r.c: Likewise.
23930 * inet/getaliasent.c: Likewise.
23931 * inet/getaliasent_r.c: Likewise.
23932 * inet/getaliasname.c: Likewise.
23933 * inet/getaliasname_r.c: Likewise.
23934 * nscd/getgrgid_r.c: Likewise.
23935 * nscd/getgrnam_r.c: Likewise.
23936 * nscd/gethstbyad_r.c: Likewise.
23937 * nscd/gethstbynm3_r.c: Likewise.
23938 * nscd/getpwnam_r.c: Likewise.
23939 * nscd/getpwuid_r.c: Likewise.
23940 * nscd/getsrvbynm_r.c: Likewise.
23941 * nscd/getsrvbypt_r.c: Likewise.
23942 * nscd/gai.c: Likewise.
23943
23944 * configure.in (build_nscd): New substituted variable, set
23945 by --disable-build-nscd and defaults to $use_nscd.
23946 * configure: Regenerated.
23947 * config.make.in (build-nscd): New substituted variable.
23948 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23949 Change conditional to require [$(build-nscd) = yes] as well.
23950 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23951
23952 [BZ# 13696]
23953 * configure.in (use_nscd): New substituted variable, set by
23954 --disable-nscd. If enabled, define USE_NSCD.
23955 * configure: Regenerated.
23956 * config.h.in: Add USE_NSCD.
23957 * config.make.in (use-nscd): New substituted variable.
23958 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23959 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23960 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23961 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23962 (CFLAGS-getgrnam_r.c): Likewise.
23963 (CFLAGS-initgroups.c): Likewise.
23964 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23965 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23966 Variables removed.
23967 * inet/getnetgrent_r.c
23968 (nscd_setnetgrent): New function, broken out of ...
23969 (setnetgrent): ... here. Call it.
23970 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23971 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23972 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23973 * nscd/Makefile (routines, aux): Move definitions after include of
23974 Makeconfig. Conditionalize on [$(use-nscd) != no].
23975 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23976 Conditionalize on [USE_NSCD].
23977 (is_nscd, nscd_init_cb): Likewise.
23978 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23979 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23980 * nss/nss_db/db-init.c: Likewise.
23981 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23982 [USE_NSCD].
23983 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23984 (make_request): Use it.
23985 (cache_valid_p): New function.
23986 (__check_pf): Use it.
23987 * NEWS: Add item for --disable-nscd.
23988
239892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23990
23991 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23992 to support sed >= 4.2.1-20-ga9bf076.
23993 * configure: Regenerated.
23994
239952012-08-22 Roland McGrath <roland@hack.frob.com>
23996
23997 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23998 Conditionalize whole body on [IREL].
23999
240002012-08-22 Jeff Law <law@redhat.com>
24001
24002 [BZ #14505]
24003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24004 if the family is PF_UNSPEC.
24005
240062012-08-22 Mike Frysinger <vapier@gentoo.org>
24007
24008 * Makerules (lib-version): Rename from V.
24009 (install-lib-nosubdir): Change V to lib-version.
24010
240112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24012
24013 [BZ #14252]
24014 * powerpc32/power6/wcschr.c: New file.
24015 * powerpc32/power6/wcscpy.c: New file.
24016 * powerpc32/power6/wcsrchr.c: New file.
24017 * powerpc64/power6/wcschr.c: New file.
24018 * powerpc64/power6/wcscpy.c: New file.
24019 * powerpc64/power6/wcsrchr.c: New file.
24020
240212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24022
24023 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24024 (two_way_short_needle): Use it.
24025 * string/strstr.c (AVAILABLE1_USES_J): Define.
24026 * string/strcasestr.c: Likewise.
24027
24028 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24029 array references.
24030 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24031
24032 [BZ #11607]
24033 * NEWS: Add an entry.
24034 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24035 define their defaults.
24036 (two_way_short_needle): Detect end-of-string on-the-fly.
24037 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24038 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24039 * string/bug-strcasestr1.c: New test.
24040 * string/Makefile: Run it.
24041
240422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24043
24044 [BZ #11607]
24045 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24046 the first character.
24047
240482012-08-21 Roland McGrath <roland@hack.frob.com>
24049
24050 * csu/elf-init.c (__libc_csu_irel): Function removed.
24051 * csu/libc-start.c (apply_irel): New function.
24052 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24053
240542012-08-21 Joseph Myers <joseph@codesourcery.com>
24055
24056 * sysdeps/unix/sysv/linux/kernel-features.h
24057 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24058 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24059 <kernel-features.h>.
24060 [__NR_fadvise64_64]: Make code unconditional.
24061 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24062 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24063 !__NR_fadvise64_64)]: Likewise.
24064 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24065 !__NR_fadvise64_64))]: Likewise.
24066 [__NR_fadvise64]: Make code unconditional.
24067 [!__NR_fadvise64]: Remove conditional code.
24068 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24069 <kernel-features.h>.
24070 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24071 unconditional.
24072 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24073 conditional code.
24074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24075 not include <kernel-features.h>.
24076 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24077 unconditional.
24078 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24079 conditional code.
24080 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24081 include <kernel-features.h>.
24082 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24083 unconditional.
24084 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24085 conditional code.
24086
240872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24088
24089 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24090 slight instruction rearrangements per scrollpipe analysis.
24091 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24092
240932012-08-20 Roland McGrath <roland@hack.frob.com>
24094
24095 * manual/syslog.texi (syslog; vsyslog, closelog):
24096 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24097 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24098
24099 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24100 DSOCAPS to match condition on defining it.
24101
241022012-08-20 Joseph Myers <joseph@codesourcery.com>
24103
24104 * sysdeps/unix/sysv/linux/kernel-features.h
24105 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24107 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24108 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24110 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24111 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24115
24116 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24117 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24118
24119 * sysdeps/unix/sysv/linux/kernel-features.h
24120 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24121 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24122 unconditional.
24123 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24124 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24125 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24126 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24127 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24128 Make code unconditional.
24129 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24130 (__mmap64) [!__NR_mmap2]: Likewise.
24131 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24132 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24133 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24135 [__NR_mmap2]: Make code unconditional.
24136 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24137 (__mmap64) [!__NR_mmap2]: Likewise.
24138
241392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24140
24141 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24142
241432012-08-18 Andreas Jaeger <aj@suse.de>
24144
24145 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24146
241472012-08-18 Mike Frysinger <vapier@gentoo.org>
24148
24149 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24150 * include/unistd.h (__have_sock_cloexec): Likewise.
24151 (__have_pipe2): Likewise.
24152 (__have_dup3): Likewise.
24153
241542012-08-18 Mike Frysinger <vapier@gentoo.org>
24155
24156 [BZ #9685]
24157 * include/unistd.h (__have_pipe2): Change define into an extern int.
24158 (__have_dup3): Likewise.
24159 * socket/have_sock_cloexec.c: Include fcntl.h.
24160 (__have_pipe2): New variable.
24161 (__have_dup3): Likewise.
24162
241632012-08-17 Mike Frysinger <vapier@gentoo.org>
24164
24165 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24166
241672012-08-17 Marek Polacek <polacek@redhat.com>
24168
24169 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24170 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24171
241722012-08-17 Roland McGrath <roland@hack.frob.com>
24173
24174 * configure.in: Add AC_SUBST for sysheaders.
24175 * configure: Regenerated.
24176 * config.make.in (sysheaders): New substituted variable.
24177
24178 * sysdeps/unix/mkfifo.c: Moved ...
24179 * sysdeps/posix/mkfifo.c: ... here.
24180 * sysdeps/unix/mkfifoat.c: Moved ...
24181 * sysdeps/posix/mkfifoat.c: ... here.
24182
24183 * sysdeps/unix/utime.c: Moved ...
24184 * sysdeps/posix/utime.c: ... here.
24185
24186 * sysdeps/unix/time.c: Moved ...
24187 * sysdeps/posix/time.c: ... here.
24188 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24189 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24190
24191 * sysdeps/unix/nice.c: Moved ...
24192 * sysdeps/posix/nice.c: ... here.
24193
24194 * sysdeps/unix/alarm.c: Moved ...
24195 * sysdeps/posix/alarm.c: ... here.
24196
24197 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24198
241992012-08-17 Jeff Law <law@redhat.com>
24200
24201 * intl/Makefile (codeset_mo): New variable.
24202 ($(codeset_mo)): New target.
24203 (tst-codeset.out): Depend on that. Remove explicit rule.
24204 (tst-gettext3.out, tst-gettext5.out): Likewise.
24205 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24206 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24207 * intl/tst-codeset.sh: Remove.
24208 * intl/tst-gettext3.sh: Likewise.
24209 * intl/tst-gettext5.sh: Likewise.
24210
242112012-08-17 Roland McGrath <roland@hack.frob.com>
24212
24213 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24214 * sysdeps/unix/syscalls.list: ... here.
24215
24216 * sysdeps/posix/getaddrinfo.c
24217 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24218 (gaiconf_init, gaiconf_reload): Use them.
24219 [!_STATBUF_ST_NSEC]
24220 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24221 Define using time_t rather than struct timespec.
24222
24223 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24224 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24225 Macros removed.
24226 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24227 [!NO_THREADS].
24228 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24229 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24230 Likewise.
24231
24232 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24233 __libc_cleanup_push argument.
24234
24235 * bits/param.h: New file.
24236 * misc/sys/param.h: New file.
24237 * include/sys/param.h: New file.
24238 * misc/Makefile (headers): Add bits/param.h.
24239 * sysdeps/generic/sys/param.h: File removed.
24240 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24241 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24242 * sysdeps/mach/hurd/bits/param.h: New file.
24243 * sysdeps/mach/hurd/sys/param.h: File removed.
24244
24245 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24246 last change.
24247
24248 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24249 [_IO_MTSAFE_IO].
24250 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24251 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24252 New macros.
24253
24254 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24255 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24256 rather than -D_IO_MTSAFE_IO conditionally.
24257 * stdio-common/Makefile (CPPFLAGS): Likewise.
24258 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24259 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24260 Use $(libio-mtsafe).
24261 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24262 of -D_IO_MTSAFE_IO.
24263 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24264 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24265 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24266 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24267 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24268 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24269 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24270 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24271 (CFLAGS-fread_u_chk.c): Likewise.
24272 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24273 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24274 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24275 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24276 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24277 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24278 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24279 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24280 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24281
24282 * libio/Makefile: Test [$(libc-reentrant) = yes]
24283 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24284
24285 * Makeconfig
24286 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24287 * sysdeps/pthread/configure: File removed.
24288 * sysdeps/pthread/Makeconfig: New file.
24289 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24290 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24291
242922012-08-16 Gary Benson <gbenson@redhat.com>
24293
24294 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24295 unmapping the first object in a namespace.
24296
242972012-08-16 Roland McGrath <roland@hack.frob.com>
24298
24299 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24300 (__internal_setnetgrent): ... this. Add internal_function to
24301 definition. Add libc_hidden_def.
24302 (setnetgrent): Update caller.
24303 (internal_endnetgrent): Renamed to ...
24304 (__internal_endnetgrent): ... this. Add internal_function to
24305 definition. Add libc_hidden_def.
24306 (endnetgrent): Update caller.
24307 (internal_getnetgrent_r): Renamed to ...
24308 (__internal_getnetgrent_r): ... this. Add internal_function to
24309 definition. Add libc_hidden_def.
24310 (__getnetgrent_r): Update caller.
24311 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24312
243132012-08-16 Joseph Myers <joseph@codesourcery.com>
24314
24315 * stdlib/longlong.h: Update from GCC.
24316
243172012-08-16 Roland McGrath <roland@hack.frob.com>
24318
24319 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24320 on _QL, which is set by umul_ppmm but never used.
24321 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24322 variables, which are set by GMP macros but never used.
24323 * stdio-common/_itowa.c (_itowa): Likewise.
24324 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24325 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24326
243272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24328
24329 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24330 struct La_sh_regs is not constant.
24331 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24332 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24333 and struct La_sparc64_regs are not constant.
24334
243352012-08-16 Joseph Myers <joseph@codesourcery.com>
24336
24337 * sysdeps/unix/sysv/linux/kernel-features.h
24338 (__ASSUME_POSIX_TIMERS): Remove.
24339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24340 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24341 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24342 Make code unconditional.
24343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24344 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24345 Make code unconditional.
24346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24347 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24348 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24350 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24351 Make code unconditional.
24352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24353 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24354 (__libc_missing_posix_timers): Remove.
24355
243562012-08-15 Roland McGrath <roland@hack.frob.com>
24357
24358 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24359 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24360
24361 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24362
24363 * elf/dl-sym.c: Include <stdlib.h>.
24364
24365 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24366 constants, which avoids warnings in 32-bit builds.
24367
24368 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24369 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24370
24371 * misc/lseek.c: File moved to ...
24372 * io/lseek.c: ... here.
24373
24374 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24375
24376 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24377 shifting LEN more than 31 bits at once.
24378
243792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24380
24381 [BZ #14195]
24382 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24383 segmentation fault for a case of two empty input strings.
24384 * string/test-strncasecmp.c (check1): Renamed to...
24385 (bz12205): ...this.
24386 (bz14195): Add new testcase for two empty input strings and N > 0.
24387 (test_main): Call new testcase, adapt for renamed function.
24388
243892012-08-15 Andreas Jaeger <aj@suse.de>
24390
24391 [BZ #14090]
24392 * crypt/md5test2.c: New test, based on test supplied by Serge
24393 Belyshev <belyshev@depni.sinp.msu.ru>.
24394 * crypt/Makefile (xtests): Add md5test-giant..
24395 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24396
243972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24398
24399 [BZ #14090]
24400 * crypt/md5.c (md5_process_block): Don't assume the buffer
24401 length is less than 2**32.
24402 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24403 length is less than 2**64.
24404
244052012-08-15 Roland McGrath <roland@hack.frob.com>
24406
24407 * string/str-two-way.h: Include <sys/param.h>.
24408 (MAX): Macro removed.
24409
24410 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24411 Move #define and #undef of memmove to just before and after
24412 including <string.h>.
24413
24414 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24415 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24416 and after including <string.h>. Move declarations of
24417 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24418 to before #include "string/memmove.c".
24419
24420 * include/dirent.h: Declare __getdirentries.
24421
24422 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24423 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24424
244252012-08-14 Mike Frysinger <vapier@gentoo.org>
24426
24427 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24428 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24429 * sysdeps/i386/configure: Regenerated.
24430 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24431 STABS_CURRENT_FILE, and STABS_FUN.
24432 (END): Remove call to STABS_FUN_END.
24433 (STABS_CURRENT_FILE1): Delete.
24434 (STABS_CURRENT_FILE): Likewise.
24435 (STABS_FUN): Likewise.
24436 (STABS_FUN_END): Likewise.
24437 (STABS_FUN2): Likewise.
24438 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24439 * sysdeps/x86_64/configure: Regenerated.
24440
244412012-08-14 Roland McGrath <roland@hack.frob.com>
24442
24443 * elf/dl-open.c: Include <atomic.h>.
24444 * elf/dl-lookup.c: Likewise.
24445
244462012-08-14 Joseph Myers <joseph@codesourcery.com>
24447
24448 * sysdeps/unix/sysv/linux/kernel-features.h
24449 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24450 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24451 unconditionally.
24452 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24453 unconditionally.
24454 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24455 condition on __ASSUME_CLONE_THREAD_FLAGS.
24456
244572012-08-14 Andreas Jaeger <aj@suse.de>
24458
24459 * sysdeps/i386/fpu/libm-test-ulps: Update.
24460
244612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24462
24463 * include/atomic.h (atomic_exchange_and_add): Split into ...
24464 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24465 New atomic macros.
24466
244672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24468
24469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24470
244712012-08-13 Jeff Law <law@redhat.com>
24472
24473 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24474 null byte in the output string.
24475
244762012-08-10 Joseph Myers <joseph@codesourcery.com>
24477
24478 * sysdeps/unix/sysv/linux/kernel-features.h
24479 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24480 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24481 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24482 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24483 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24484 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24485 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24486
244872012-08-09 Jeff Law <law@redhat.com>
24488
24489 [BZ #13939]
24490 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24491 When avoid_arena is set, don't retry in the that arena. Pick the
24492 next one, whatever it might be.
24493 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24494 (arena_lock): Pass in new parameter to arena_get2.
24495 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24496 arena_get2.
24497 (__libc_malloc): Unify retrying after main arena failure with
24498 __libc_memalign version.
24499 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24500
245012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24502
24503 [BZ #14166]
24504 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24505 to __redirect_strstr.
24506 (__strstr_sse42): Use typeof __redirect_strstr.
24507 (__strstr_ia32): Likewise.
24508 (__libc_strstr): New prototype.
24509 (strstr): Renamed to ...
24510 (__libc_strstr): This.
24511 (strstr): New strong alias of __libc_strstr.
24512 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24513 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24514 __redirect_time.
24515 Include <time.h>.
24516 (__libc_time): New prototype.
24517 (time_ifunc): Replace time with __libc_time.
24518 (time): New strong alias and hidden definition of __libc_time.
24519 (__GI_time): Remove strong alias.
24520 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24521 Include <stddef.h>.
24522 (memmove): Redefined to __redirect_memmove.
24523 (__memmove_sse2): Use typeof __redirect_memmove.
24524 (__memmove_ssse3): Likewise.
24525 (__memmove_ssse3_back): Likewise.
24526 (__libc_memmove): New prototype.
24527 (memmove): Renamed to ...
24528 (__libc_memmove): This.
24529 (memmove): New strong alias of __libc_memmove.
24530
245312012-08-08 Mark Salter <msalter@redhat.com>
24532
24533 * elf/elf.h
24534 (R_MN10300_TLS_GD): Define.
24535 (R_MN10300_TLS_LD): Likewise.
24536 (R_MN10300_TLS_LDO): Likewise.
24537 (R_MN10300_TLS_GOTIE): Likewise.
24538 (R_MN10300_TLS_IE): Likewise.
24539 (R_MN10300_TLS_LE): Likewise.
24540 (R_MN10300_TLS_DTPMOD): Likewise.
24541 (R_MN10300_TLS_DTPOFF): Likewise.
24542 (R_MN10300_TLS_TPOFF): Likewise.
24543 (R_MN10300_SYM_DIFF): Likewise.
24544 (R_MN10300_ALIGN): Likewise.
24545 (R_MN10300_NUM): Update.
24546
245472012-08-08 Joseph Myers <joseph@codesourcery.com>
24548
24549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24550 Remove.
24551
245522012-08-08 Roland McGrath <roland@hack.frob.com>
24553
24554 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24555
24556 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24557 sysdeps/unix -> sysdeps/posix move.
24558 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24559
245602012-08-07 Allan McRae <allan@archlinux.org>
24561
24562 [BZ #14303]
24563 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24564 (SUNOS_CPP): Likewise.
24565 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24566 not found.
24567 (open_input): Call CPP using execvp.
24568
245692012-08-07 Joseph Myers <joseph@codesourcery.com>
24570
24571 * sysdeps/unix/sysv/linux/kernel-features.h
24572 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24573 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24574 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24575 (__ASSUME_WAITID_SYSCALL): Likewise.
24576 * sysdeps/unix/sysv/linux/dl-execstack.c
24577 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24578 code unconditional.
24579 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24580 conditional code.
24581 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24582 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24583 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24584 code.
24585 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24586 unconditional.
24587 [__ASSUME_WAITID_SYSCALL]: Likewise.
24588 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24589
245902012-08-07 Roland McGrath <roland@hack.frob.com>
24591
24592 * sysdeps/unix/closedir.c: Renamed to ...
24593 * sysdeps/posix/closedir.c: ... here.
24594 * sysdeps/unix/dirfd.c: Renamed to ...
24595 * sysdeps/posix/dirfd.c: ... here.
24596 * sysdeps/unix/dirstream.h: Renamed to ...
24597 * sysdeps/posix/dirstream.h: ... here.
24598 * sysdeps/unix/fdopendir.c: Renamed to ...
24599 * sysdeps/posix/fdopendir.c: ... here.
24600 * sysdeps/unix/opendir.c: Renamed to ...
24601 * sysdeps/posix/opendir.c: ... here.
24602 * sysdeps/unix/readdir.c: Renamed to ...
24603 * sysdeps/posix/readdir.c: ... here.
24604 * sysdeps/unix/readdir_r.c: Renamed to ...
24605 * sysdeps/posix/readdir_r.c: ... here.
24606 * sysdeps/unix/rewinddir.c: Renamed to ...
24607 * sysdeps/posix/rewinddir.c: ... here.
24608 * sysdeps/unix/seekdir.c: Renamed to ...
24609 * sysdeps/posix/seekdir.c: ... here.
24610 * sysdeps/unix/telldir.c: Renamed to ...
24611 * sysdeps/posix/telldir.c: ... here.
24612 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24613 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24614 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24615 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24616
24617 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24618 * bits/fcntl.h: ... here.
24619
24620 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24621 not 0.
24622 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24623 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24624 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24625 (struct flock): Move l_start, l_len to the beginning.
24626 Use __pid_t for l_pid.
24627 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24628 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24629 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24630 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24631 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24632 [__USE_LARGEFILE64] (struct flock64): New type.
24633 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24634
24635 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24636 * bits/dirent.h: ... here.
24637
24638 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24639 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24640
246412012-08-07 Joseph Myers <joseph@codesourcery.com>
24642
24643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24644 Change from 2.6.0 to 2.6.16.
24645 * sysdeps/unix/sysv/linux/configure: Regenerated.
24646 * sysdeps/unix/sysv/linux/kernel-features.h
24647 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24648 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24649 version.
24650 (__ASSUME_UTIMES): Likewise.
24651 (__ASSUME_CLONE_STOPPED): Remove.
24652 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24653 architectures, not kernel version.
24654 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24655 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24656 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24657 (__ASSUME_WAITID_SYSCALL): Likewise.
24658 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24659 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24660 * README: State 2.6.16 as minimum Linux kernel version. Do not
24661 refer to older versions.
24662
246632012-08-06 Roland McGrath <roland@hack.frob.com>
24664
24665 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24666 Define alphasort64 as an alias.
24667 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24668 Define versionsort64 as an alias.
24669 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24670 Define scandir64 as an alias.
24671 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24672 Define scandirat64 as an alias.
24673 * dirent/alphasort64.c (alphasort64):
24674 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24675 * dirent/versionsort64.c: Likewise.
24676 * dirent/scandir64.c: Likewise.
24677 * dirent/scandirat64.c: Likewise.
24678 * sysdeps/wordsize-64/alphasort.c: File removed.
24679 * sysdeps/wordsize-64/alphasort64.c: File removed.
24680 * sysdeps/wordsize-64/scandir.c: File removed.
24681 * sysdeps/wordsize-64/scandir64.c: File removed.
24682 * sysdeps/wordsize-64/scandirat.c: File removed.
24683 * sysdeps/wordsize-64/scandirat64.c: File removed.
24684 * sysdeps/wordsize-64/versionsort.c: File removed.
24685 * sysdeps/wordsize-64/versionsort64.c: File removed.
24686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24687 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24689 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24691 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24693 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24694
24695 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24697 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24699 [defined __arch64__ || defined __sparcv9]
24700 (__INO_T_MATCHES_INO64_T): New macro.
24701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24702 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24703 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24704 * sysdeps/unix/sysv/linux/bits/dirent.h
24705 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24706 (_DIRENT_MATCHES_DIRENT64): New macro.
24707
24708 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24709 Define lockf64 as an alias.
24710 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24711 Define fseeko64 as an alias.
24712 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24713 Define ftello64 as an alias.
24714 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24715 Define _IO_fgetpos64 and fgetpos64 as aliases.
24716 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24717 Define _IO_fsetpos64 and fsetpos64 as aliases.
24718 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24719 Conditionalize body on this.
24720 * libio/fseeko64.c: Likewise.
24721 * libio/ftello64.c: Likewise.
24722 * libio/iofgetpos64.c: Likewise.
24723 * libio/iofsetpos64.c: Likewise.
24724 * sysdeps/wordsize-64/lockf.c: File removed.
24725 * sysdeps/wordsize-64/lockf64.c: File removed.
24726 * sysdeps/wordsize-64/fseeko.c: File removed.
24727 * sysdeps/wordsize-64/fseeko64.c: File removed.
24728 * sysdeps/wordsize-64/ftello.c: File removed.
24729 * sysdeps/wordsize-64/ftello64.c: File removed.
24730 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24731 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24732 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24733 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24735 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24737 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24739 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24743 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24744
24745 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24747 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24749 [defined __arch64__ || defined __sparcv9]
24750 (__OFF_T_MATCHES_OFF64_T): New macro.
24751 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24752 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24754 (__OFF_T_MATCHES_OFF64_T): New macro.
24755
247562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24757
24758 * stdlib/secure-getenv.c (__secure_getenv): Replace
24759 GLIBC_2_16 with GLIBC_2_17.
24760
247612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24762
24763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24765
247662012-08-03 David S. Miller <davem@davemloft.net>
24767
24768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24769
247702012-08-03 Joseph Myers <joseph@codesourcery.com>
24771
24772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24773 Remove.
24774 (__ASSUME_CORRECT_SI_PID): Likewise.
24775 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24776 (__ASSUME_TMPFS_NAME): Likewise.
24777 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24778 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24779 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24780 (HAVE_AUX_SECURE): Make definition unconditional.
24781 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24782 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24783
247842012-08-03 Roland McGrath <roland@hack.frob.com>
24785
24786 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24787 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24788 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24789 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24790 __eloop_threshold instead of SYMLOOP_MAX.
24791
24792 * sysdeps/generic/eloop-threshold.h: New file.
24793 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24794 of MAXSYMLINKS.
24795 * elf/chroot_canon.c (chroot_canon): Likewise.
24796
247972012-08-03 Joseph Myers <joseph@codesourcery.com>
24798
24799 [BZ #13717]
24800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24801 Change to 2.6.0 everywhere.
24802 * sysdeps/unix/sysv/linux/configure: Regenerated.
24803 * sysdeps/unix/sysv/linux/kernel-features.h
24804 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24805 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24806 kernel versions.
24807 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24808 (__ASSUME_FUTEX_REQUEUE): Remove.
24809 (__ASSUME_STATFS64): Define unconditionally.
24810 (__ASSUME_AT_SECURE): Likewise.
24811 (__ASSUME_CORRECT_SI_PID): Likewise.
24812 (__ASSUME_TGKILL): Define without depending on kernel version for
24813 i386.
24814 (__ASSUME_UTIMES): Likewise.
24815 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24816 kernel version.
24817 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24818 (__ASSUME_TMPFS_NAME): Likewise.
24819 * README: Update reference to Linux kernel versions.
24820
248212012-08-02 Marek Polacek <polacek@redhat.com>
24822
24823 [BZ# 14150]
24824 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24825 libc_cv_asm_type_prefix with %.
24826 * configure: Regenerated.
24827 * include/libc-symbols.h: Remove comment about
24828 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24829 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24830 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24831 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24832 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24833 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24835 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24836 * elf/tst-unique2mod1.c: Likewise.
24837 * elf/tst-unique1mod2.c: Likewise.
24838 * elf/tst-unique1mod1.c: Likewise.
24839 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24840 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24841 Replace ASM_TYPE_DIRECTIVE with .type.
24842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24843 * sysdeps/i386/sysdep.h: Likewise.
24844 * sysdeps/x86_64/sysdep.h: Likewise.
24845 * sysdeps/sh/sysdep.h: Likewise.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24847 Do not define ASM_TYPE_DIRECTIVE.
24848 * sysdeps/powerpc/sysdep.h: Likewise.
24849 * sysdeps/powerpc/powerpc32/sysdep.h:
24850 Replace ASM_TYPE_DIRECTIVE with .type.
24851 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24852 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24853 * sysdeps/i386/fpu/e_powf.S: Likewise.
24854 * sysdeps/i386/fpu/e_expl.S: Likewise.
24855 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24857 * sysdeps/i386/fpu/e_pow.S: Likewise.
24858 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24860 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24861 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24862 * sysdeps/i386/fpu/e_log2.S: Likewise.
24863 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24865 * sysdeps/i386/fpu/e_powl.S: Likewise.
24866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24868 * sysdeps/i386/fpu/e_logl.S: Likewise.
24869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24870 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24871 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24873 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24874 * sysdeps/i386/fpu/e_log.S: Likewise.
24875 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24876 * sysdeps/i386/fpu/e_logf.S: Likewise.
24877 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24878 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24879 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24880 * sysdeps/i386/fpu/e_log10.S: Likewise.
24881 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24883 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24884 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24885 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24887 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24888 * sysdeps/i386/i686/strtok.S: Likewise.
24889 * sysdeps/i386/i386-mcount.S: Likewise.
24890 * sysdeps/i386/strtok.S: Likewise.
24891 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24895 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24896 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24897 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24898 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24899 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24900 * sysdeps/x86_64/_mcount.S: Likewise.
24901 * sysdeps/x86_64/strtok.S: Likewise.
24902 * sysdeps/sh/_mcount.S: Likewise.
24903
249042012-08-01 Roland McGrath <roland@hack.frob.com>
24905
24906 * libio/iofopen.c: Include <fcntl.h>.
24907 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24908 (_IO_fopen64, fopen64): Define as aliases.
24909 * libio/iofopen64.c: Include <fcntl.h>.
24910 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24911 Conditionalize body on this.
24912 * sysdeps/wordsize-64/iofopen.c: File removed.
24913 * sysdeps/wordsize-64/iofopen64.c: File removed.
24914
249152012-08-01 Marek Polacek <polacek@redhat.com>
24916
24917 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24918 Use dlfcn directly instead of a variable.
24919 (binfmt-subdir): Do not define.
24920 (dlfcn): Likewise.
24921
249222012-08-01 Joseph Myers <joseph@codesourcery.com>
24923
24924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24925 Remove all definitions.
24926 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24927 <kernel-features.h>.
24928 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24929 (miss_F_GETOWN_EX): Remove all definitions.
24930 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24931 macro definition.
24932 [!__ASSUME_FCNTL64]: Remove conditional code.
24933 [__ASSUME_FCNTL64]: Make code unconditional.
24934 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24935 <kernel-features.h>.
24936 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24937 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24938 (lockf64) [__NR_fcntl64]: Make code unconditional.
24939 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24940
24941 * sysdeps/unix/sysv/linux/kernel-features.h
24942 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24943 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24944 Make code unconditional.
24945 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24946 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24948 [__NR_vfork]: Make code unconditional.
24949 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24950 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24952 [__NR_vfork]: Make code unconditional.
24953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24955
249562012-08-01 Roland McGrath <roland@hack.frob.com>
24957
24958 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24959 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24960
24961 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24962 Define mkstemp64 as an alias.
24963 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24964 Define mkstemps64 as an alias.
24965 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24966 Define mkostemp64 as an alias.
24967 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24968 Define mkostemps64 as an alias.
24969 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24970 Conditionalize body on this.
24971 * misc/mkostemp64.c: Likewise.
24972 * misc/mkostemps64.c: Likewise.
24973 * misc/mkstemps64.c: Likewise.
24974 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24975 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24976 * sysdeps/wordsize-64/mkostemp.c: File removed.
24977 * sysdeps/wordsize-64/mkstemp.c: File removed.
24978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24980 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24982
24983 [BZ #14138]
24984 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24985 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24986 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24987 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24988
24989 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24990 compat_symbol macros from <shlib-compat.h> rather than the underlying
24991 default_symbol_version and symbol_version macros, so that DEFAULT
24992 lines in shlib-versions are respected.
24993 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24994
249952012-08-01 Florian Weimer <fweimer@redhat.com>
24996
24997 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24998 Declare with warn_unused_result.
24999 (setgid, setregid, setegid, setresgid): Likewise.
25000 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25001 Likewise.
25002 * WUR-REPORT: Remove set*id functions.
25003
250042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25005
25006 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25007
250082012-07-31 Roland McGrath <roland@hack.frob.com>
25009
25010 [BZ #10191]
25011 * include/sys/socket.h (__libc_accept, __libc_accept4):
25012 Add attribute_hidden.
25013 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25014
25015 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25016 use of PTR_MANGLE.
25017 * inet/getnetgrent_r.c (setup): Likewise.
25018
25019 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25020
250212012-07-31 David S. Miller <davem@davemloft.net>
25022
25023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25024
250252012-07-31 Joseph Myers <joseph@codesourcery.com>
25026
25027 [BZ #13629]
25028 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25029 value between 1.0 and 2.0 and smaller part has absolute value less
25030 than 1.0.
25031 * math/s_clog10.c (__clog10): Likewise.
25032 * math/s_clog10f.c (__clog10f): Likewise.
25033 * math/s_clog10l.c (__clog10l): Likewise.
25034 * math/s_clogf.c (__clogf): Likewise.
25035 * math/s_clogl.c (__clogl): Likewise.
25036 * math/libm-test.inc (clog_test): Add more tests.
25037 (clog10_test): Likewise.
25038 * sysdeps/i386/fpu/libm-test-ulps: Update.
25039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25040
250412012-07-31 Florian Weimer <fweimer@redhat.com>
25042
25043 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25044 Exit with zero in case no suitable GID is found, and write a
25045 message to standard error.
25046
250472012-07-30 Roland McGrath <roland@hack.frob.com>
25048
25049 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25050 rather than to 1.
25051 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25052 (MAXPATHLEN): Removed.
25053 (NOGROUP, NODEV): New macros.
25054 (setbit, clrbit, isset, isclr): New macros.
25055 (howmany, roundup, powerof2): New macros.
25056 (DEV_BSIZE): New macro.
25057
25058 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25059 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25060
25061 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25062 definition on [!__NO_LONG_DOUBLE_MATH].
25063
25064 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25065 PTR_MANGLE and PTR_DEMANGLE.
25066
25067 * socket/accept4.c (accept4): Rename to __libc_accept4.
25068 Define accept4 as a weak alias.
25069
25070 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25071 on [_DIRENT_HAVE_D_TYPE].
25072 * io/ftw.c (ftw_dir): Likewise.
25073
25074 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25075
25076 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25077
25078 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25079 Use the BSD numbers rather than the arbitrary ones we had.
25080 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25081 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25082 (SIGXCPU, SIGXFSZ): New macros.
25083 (_NSIG): Now 32.
25084
25085 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25086 initializer on [_LIBC_REENTRANT].
25087
25088 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25089 definitions inside [_POSIX_MAPPED_FILES].
25090
25091 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25092
25093 * dirent/opendir.c: Include <fcntl.h>.
25094
25095 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25096 (__libc_getspecific): Likewise.
25097 (__libc_key_create): Likewise.
25098
25099 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25100 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25101 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25102 (tmpfile64): Define as alias.
25103 * sysdeps/wordsize-64/tmpfile.c: File removed.
25104 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25107
25108 * stdio-common/vfscanf.c: Include <stdbool.h>.
25109 * nss/makedb.c: Likewise.
25110 * stdio-common/_i18n_number.h: Likewise.
25111 * argp/argp-help.c: Likewise.
25112 * posix/wordexp.c: Likewise.
25113 * sysdeps/posix/spawni.c: Likewise.
25114 * nss/nss_files/files-initgroups.c: Likewise.
25115 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25116 * nss/nss_files/files-initgroups.c: Likewise.
25117 * nss/nss_db/db-netgrp.c: Likewise.
25118 * nss/nss_db/db-initgroups.c: Likewise.
25119 * io/fchmodat.c: Include <sys/stat.h>.
25120
25121 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25122 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25123
25124 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25125 [HAVE_MMAP].
25126
25127 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25128 Add multiple inclusion protection.
25129
251302012-07-27 David S. Miller <davem@davemloft.net>
25131
25132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25133
251342012-07-27 Gary Benson <gbenson@redhat.com>
25135
25136 [BZ #14298]
25137 * elf/rtld.c: Include <stap-probe.h>.
25138 (dl_main): Added static probes "init_start" and "init_complete".
25139 * elf/dl-load.c: Include <stap-probe.h>.
25140 (lose): Take new parameter "nsid".
25141 Added static probe "map_failed".
25142 (_dl_map_object_from_fd): Pass namespace id to lose.
25143 Added static probe "map_start".
25144 (open_verify): Pass namespace id to lose.
25145 * elf/dl-open.c: Include <stap-probe.h>.
25146 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25147 and "reloc_complete".
25148 * elf/dl-close.c: Include <stap-probe.h>.
25149 (_dl_close_worker): Added static probes "unmap_start" and
25150 "unmap_complete".
25151 * elf/rtld-debugger-interface.txt: New file documenting the above.
25152
251532012-07-26 Roland McGrath <roland@hack.frob.com>
25154
25155 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25156 rather than a string variable.
25157 * sunrpc/rpc_main.c (h_output): Likewise.
25158 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25159
251602012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25161
25162 * inet/check_native.c: New file.
25163
251642012-07-26 Joseph Myers <joseph@codesourcery.com>
25165
25166 [BZ #13629]
25167 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25168 if larger part has absolute value 1.0.
25169 * math/s_clog10.c (__clog10): Likewise.
25170 * math/s_clog10f.c (__clog10f): Likewise.
25171 * math/s_clog10l.c (__clog10l): Likewise.
25172 * math/s_clogf.c (__clogf): Likewise.
25173 * math/s_clogl.c (__clogl): Likewise.
25174 * math/libm-test.inc (clog_test): Add more tests.
25175 (clog10_test): Likewise.
25176 * sysdeps/i386/fpu/libm-test-ulps: Update.
25177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25178
25179 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25180 (pltexit): Likewise.
25181 (La_regs): Likewise.
25182 (La_retval): Likewise.
25183 (int_retval): Likewise.
25184 Update #error for removed macros to refer only to definitions in
25185 tst-audit.h.
25186 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25187 macro.
25188 (pltexit): Likewise.
25189 (La_regs): Likewise.
25190 (La_retval): Likewise.
25191 (int_retval): Likewise.
25192 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25193 macro.
25194 (pltexit): Likewise.
25195 (La_regs): Likewise.
25196 (La_retval): Likewise.
25197 (int_retval): Likewise.
25198 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25199 macro.
25200 (pltexit): Likewise.
25201 (La_regs): Likewise.
25202 (La_retval): Likewise.
25203 (int_retval): Likewise.
25204 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25205 macro.
25206 (pltexit): Likewise.
25207 (La_regs): Likewise.
25208 (La_retval): Likewise.
25209 (int_retval): Likewise.
25210 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25211 macro.
25212 (pltexit): Likewise.
25213 (La_regs): Likewise.
25214 (La_retval): Likewise.
25215 (int_retval): Likewise.
25216 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25217 macro.
25218 (pltexit): Likewise.
25219 (La_regs): Likewise.
25220 (La_retval): Likewise.
25221 (int_retval): Likewise.
25222 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25223 macro definitions in tst-audit.h.
25224 * sysdeps/i386/tst-audit.h: New file.
25225 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25226 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25227 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25228 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25229 * sysdeps/sh/tst-audit.h: Likewise.
25230 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25231 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25232 * sysdeps/x86_64/tst-audit.h: Likewise.
25233
252342012-07-26 Andreas Jaeger <aj@suse.de>
25235
25236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25237 ptrace.
25238
25239 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25240 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25241 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25242 PTRACE_O_MASK.
25243 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25244 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25245 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25246
25247 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25248 value.
25249
25250 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25251 _sigsys.
25252 (si_call_addr, si_syscall, si_arch): Define new macro.
25253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25254 _sigsys.
25255 (si_call_addr, si_syscall, si_arch): Define new marcro.
25256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25257 _sigsys.
25258 (si_call_addr, si_syscall, si_arch): Define new macro.
25259 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25260 _sigsys.
25261 (si_call_addr, si_syscall, si_arch): Define new macro.
25262
252632012-07-25 Joseph Myers <joseph@codesourcery.com>
25264
25265 [BZ #13717]
25266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25267 Change to 2.4.21 where previously 2.4.1.
25268 * sysdeps/unix/sysv/linux/configure: Regenerated.
25269 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25270 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25271 Linux kernel version.
25272 (__ASSUME_STD_AUXV): Remove.
25273 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25274 kernel version.
25275 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25276 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25277 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25278 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25279 (__ASSUME_NETLINK_SUPPORT): Likewise.
25280 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25281 (__no_netlink_support): Remove conditional definition.
25282 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25283 Remove.
25284 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25285 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25286 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25287 (if_nameindex_ioctl): Remove.
25288 (if_nameindex_netlink): Do not handle __no_netlink_support.
25289 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25290 code.
25291 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25292 Remove conditional code.
25293 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25294 code.
25295 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25296 unconditional.
25297 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25298 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25299 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25300 Remove.
25301 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25302 [!__ASSUME_STD_AUXV]: Remove conditional code.
25303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25304 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25305 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25307 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25308 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25309 code.
25310 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25312 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25313 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25314 conditional code.
25315 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25317 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25318 code.
25319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25320 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25321 conditional code.
25322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25323 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25324 code unconditional.
25325 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25326 conditional code.
25327 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25328 unconditional.
25329 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25330 conditional code.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25332 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25333 unconditional.
25334 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25335 conditional code.
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25337 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25338 code unconditional.
25339 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25340 conditional code.
25341 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25342 unconditional.
25343 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25344 conditional code.
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25346 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25347 code unconditional.
25348 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25349 conditional code.
25350 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25351 unconditional.
25352 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25353 conditional code.
25354
253552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25356
25357 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25358 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25359 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25360 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25361 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25362 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25363 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25364 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25365 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25366 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25367 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25368 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25369 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25370 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25371 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25372 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25373 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25374 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25375 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25377 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25378 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25379 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25380
253812012-07-25 Florian Weimer <fweimer@redhat.com>
25382
25383 * Versions.def: Add GLIBC_2.17.
25384 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25385 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25386 Introduce __libc_secure_getenv.
25387 * stdlib/Versions (2.17): Add secure_getenv
25388 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25389 * stdlib/secure-getenv.c: Rename __secure_getenv to
25390 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25391 symbol __secure_getenv for GLIBC_2.0.
25392 * stdlib/tst-secure-getenv.c: New.
25393 * stdlib/Makefile (tests): Add testcase.
25394 * manual/startup.texi (Environment Access): Document
25395 secure_getenv.
25396 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25397 __libc_secure_getenv.
25398 * inet/ruserpass.c (ruserpass): Likewise.
25399 * malloc/mtrace.c (mtrace): Likewise.
25400 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25401 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25402 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25403 * sysdeps/posix/tempname.c: Likewise. Evaluate
25404 HAVE_SECURE_GETENV.
25405 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25406 __secure_getenv to __libc_secure_getenv.
25407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25409 Likewise.
25410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25411 Likewise.
25412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25414 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25419
254202012-07-25 Joseph Myers <joseph@codesourcery.com>
25421
25422 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25423 (struct La_i86_retval): Likewise.
25424 (struct La_x86_64_regs): Likewise.
25425 (struct La_x86_64_retval): Likewise.
25426 (struct La_x32_regs): Likewise.
25427 (struct La_x32_retval): Likewise.
25428 (struct La_ppc32_regs): Likewise.
25429 (struct La_ppc32_retval): Likewise.
25430 (struct La_ppc64_regs): Likewise.
25431 (struct La_ppc64_retval): Likewise.
25432 (struct La_sh_regs): Likewise.
25433 (struct La_sh_retval): Likewise.
25434 (struct La_s390_32_regs): Likewise.
25435 (struct La_s390_32_retval): Likewise.
25436 (struct La_s390_64_regs): Likewise.
25437 (struct La_s390_64_retval): Likewise.
25438 (struct La_sparc32_regs): Likewise.
25439 (struct La_sparc32_retval): Likewise.
25440 (struct La_sparc64_regs): Likewise.
25441 (struct La_sparc64_retval): Likewise.
25442 (struct audit_ifaces): Remove architecture-specific pltenter and
25443 pltexit members.
25444 * sysdeps/i386/ldsodefs.h: New file.
25445 * sysdeps/powerpc/ldsodefs.h: Likewise.
25446 * sysdeps/s390/ldsodefs.h: Likewise.
25447 * sysdeps/sh/ldsodefs.h: Likewise.
25448 * sysdeps/sparc/ldsodefs.h: Likewise.
25449 * sysdeps/x86_64/ldsodefs.h: Likewise.
25450
254512012-07-25 Marek Polacek <polacek@redhat.com>
25452
25453 [BZ #6808]
25454 * math/libm-test.inc (yn_test): Add another test.
25455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25456 to ERANGE when the result is +-Inf.
25457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25458 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25459 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25460 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25461
254622012-07-24 Joseph Myers <joseph@codesourcery.com>
25463
25464 * conform/data/time.h-data (NULL): Use macro-constant. Require
25465 equal to 0.
25466 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25467 clock_t.
25468 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25469
254702012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25471
25472 * configure.in <sysdeps resolving>: Correct printing
25473 Implies_before.
25474 * configure: Regenerate.
25475
254762012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25477
25478 * math/w_ilogb.c: Include <limits.h>.
25479 * math/w_ilogbl.c: Likewise.
25480
254812012-07-20 Joseph Myers <joseph@codesourcery.com>
25482
25483 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25484 va_copy. Document allowing for unavailable va_copy only as
25485 pre-C99 compatibility.
25486 * manual/string.texi (Copying and Concatenation): Use va_copy
25487 instead of __va_copy in concat example.
25488
254892012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25490
25491 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25492 (__sendto): Use create_address_port. Initialize APORT and deallocate
25493 it if not null.
25494
25495 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25496 with O_NOLINK passed to __file_name_lookup.
25497
25498 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25499 with O_NOLINK passed to __file_name_lookup.
25500
25501 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25502 negative N or less than NGIDS.
25503
25504 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25505 type to string_t. Set ERANGE as errno and return it if NAME is not big
25506 enough. Use memcpy instead of strncpy.
25507
255082012-07-20 Joseph Myers <joseph@codesourcery.com>
25509
25510 * elf/Makefile (check-data): Remove.
25511 (localplt.data): New vpath directive.
25512 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25513 instead of $(check-data).
25514 * scripts/data/localplt-generic.data: Move to ...
25515 * sysdeps/generic/localplt.data: ... here.
25516 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25517 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25518 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25520 ... here.
25521 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25523 ... here.
25524 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25526 ... here.
25527 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25529 ... here.
25530 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25532 ... here.
25533 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25535 ... here.
25536
255372012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25538
25539 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25540 PPC32 and PPC64 files.
25541 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25542 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25543
255442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25545
25546 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25547 __makecontext_ret to ...
25548 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25549 ... here and call exit if uc_link is NULL. New file.
25550 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25551 __makecontext_ret.S.
25552 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25553 __makecontext_ret to ...
25554 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25555 ... here and call exit if uc_link is NULL. New file.
25556 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25557 __makecontext_ret.S.
25558
255592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25560
25561 * elf/elf.h (R_390_IRELATIVE): New definition.
25562 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25563 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25564 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25566 (elf_machine_lazy_rel): Likewise.
25567 * sysdeps/s390/dl-irel.h: New file.
25568 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25569 * sysdeps/s390/s390-64/memset.S: New asm code.
25570 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25571 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25572 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25573 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25574 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25575 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25577 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25578 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25579 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25580 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25581 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25582 * sysdeps/s390/s390-32/memset.S: New asm code.
25583 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25584
255852012-07-17 Marek Polacek <polacek@redhat.com>
25586
25587 [BZ #14349]
25588 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25589 * sysdeps/s390/s390-64/configure.in: Likewise.
25590 * sysdeps/sparc/configure.in: Likewise.
25591 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25592 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25593 * sysdeps/i386/configure.in: Likewise.
25594 * sysdeps/x86_64/configure.in: Likewise.
25595 * sysdeps/sh/configure.in: Likewise.
25596 * sysdeps/s390/s390-32/configure: Regenerated.
25597 * sysdeps/s390/s390-64/configure: Likewise.
25598 * sysdeps/x86_64/configure: Likewise.
25599 * sysdeps/sh/configure: Likewise.
25600 * sysdeps/powerpc/powerpc64/configure: Likewise.
25601 * sysdeps/powerpc/powerpc32/configure: Likewise.
25602 * sysdeps/sparc/configure: Likwise.
25603 * sysdeps/i386/configure: Likewise.
25604
25605 * elf/dl-open.c: Comment fixes.
25606
256072012-07-17 Joseph Myers <joseph@codesourcery.com>
25608
25609 * Makefile [CXX] (check-data): Remove.
25610 [CXX] (c++-types.data): New vpath directive.
25611 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25612 vpath. Do not allow for C++ type data being missing.
25613 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25614 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25615 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25616 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25617 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25618 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25619 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25621 ... here.
25622 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25624 ... here.
25625 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25627 ... here.
25628 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25630 ... here.
25631 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25633 ... here.
25634 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25636 ... here.
25637 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25639 ... here.
25640 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25642
25643 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25644 definitions to architecture-specific files.
25645 (TLS_IE): Likewise.
25646 (TLS_LD): Likewise.
25647 (TLS_GD): Likewise.
25648 * sysdeps/i386/tls-macros.h: New file.
25649 * sysdeps/powerpc/tls-macros.h: Likewise.
25650 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25651 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25652 * sysdeps/sh/tls-macros.h: Likewise.
25653 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25654 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25655 * sysdeps/x86_64/tls-macros.h: Likewise.
25656
256572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25658
25659 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25660 zero value for regular exit case.
25661
25662 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25663 (__start_context): Preserve zero value for regular exit case.
25664
256652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25666 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25667
25668 * manual/setjmp.texi (setcontext): Clarify normal process
25669 termination when uc_link is the null pointer.
25670 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25671 exit call.
25672
256732012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25674
25675 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25676 preprocessor. Test for each exception mask separately.
25677
256782012-07-16 Andreas Jaeger <aj@suse.de>
25679
25680 * po/ru.po: Update from translation team.
25681
256822012-07-15 Joseph Myers <joseph@codesourcery.com>
25683
25684 * conform/data/string.h-data (NULL): Use macro-constant. Require
25685 equal to 0.
25686 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25687 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25688 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25689 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25691
256922012-07-13 Andreas Jaeger <aj@suse.de>
25693
25694 * po/fr.po: Update from translation team.
25695
256962012-07-12 Marek Polacek <polacek@redhat.com>
25697
25698 [BZ #14173]
25699 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25700 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25701 loop condition.
25702
257032012-07-12 Joseph Myers <joseph@codesourcery.com>
25704
25705 [BZ #13717]
25706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25707 Change to 2.4.1 where previously 2.4.0.
25708 * sysdeps/unix/sysv/linux/configure: Regenerated.
25709 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25710 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25711 version.
25712 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25713 (__ASSUME_AT_CLKTCK): Remove.
25714 (__ASSUME_AT_PAGESIZE): Likewise.
25715 (__ASSUME_AT_XID): Likewise.
25716 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25717 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25718 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25719 unconditionally.
25720 (HAVE_AUX_PAGESIZE): Likewise.
25721 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25722 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25723 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25724
257252012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25726
25727 [BZ #14307]
25728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25729 the temporary buffer used to invoke __gethostbyname2_r,
25730 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25731 host_data / struct gaih_addrtuple.
25732 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25733 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25734 header file nss/nsswitch.h.
25735 * nss/nsswitch.h (global scope): Add definition of implementation
25736 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25737 resolv/nss_dns/dns-host.c).
25738
257392012-07-11 Andreas Jaeger <aj@suse.de>
25740
25741 * po/fr.po: Update from translation team.
25742
25743 * po/sv.po: Update from translation team
25744 * po/fr.po: Another update from translation team.
25745
257462012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25747
25748 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25749 for subnormals or multiply small sinh result by itself.
25750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25752
257532012-07-11 David S. Miller <davem@davemloft.net>
25754
25755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25756
257572012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25758
25759 [BZ #14347]
25760 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25761 (INTERNAL_MARK): Shift it here.
25762
257632012-07-10 Marek Polacek <polacek@redhat.com>
25764
25765 [BZ #14151]
25766 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25767 libc_cv_asm_global_directive with .globl.
25768 * configure: Regenerated.
25769 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25770 with .globl.
25771 * sysdeps/i386/configure: Regenerated.
25772 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25773 with .globl.
25774 * sysdeps/x86_64/configure: Regenerated.
25775 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25776 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25777 * elf/tst-unique2mod2.c: Likewise.
25778 * elf/tst-unique2mod1.c: Likewise.
25779 * elf/tst-unique1mod2.c: Likewise.
25780 * elf/tst-unique1mod1.c: Likewise.
25781 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25782 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25784 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25785 * sysdeps/mach/sysdep.h: Likewise.
25786 * sysdeps/i386/sysdep.h: Likewise.
25787 * sysdeps/i386/i386-mcount.S: Likewise.
25788 * sysdeps/x86_64/_mcount.S: Likewise.
25789 * sysdeps/x86_64/sysdep.h: Likewise.
25790 * sysdeps/sh/_mcount.S: Likewise.
25791 * sysdeps/sh/sysdep.h: Likewise.
25792 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25793 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25794 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25795 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25796 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25797 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25798 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25799 * locale/localeinfo.h: Likewise.
25800 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25801 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25802
258032012-07-09 Roland McGrath <roland@hack.frob.com>
25804
25805 [BZ #14336]
25806 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25807 system".
25808 * manual/message.texi (The Uniforum approach): Likewise.
25809 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25810 (glibc iconv Implementation): Likewise.
25811
258122012-07-09 Joseph Myers <joseph@codesourcery.com>
25813
25814 [BZ #14337]
25815 * math/s_clog.c (__clog): Avoid scaling a value down where that
25816 could result in underflow.
25817 * math/s_clog10.c (__clog10): Likewise.
25818 * math/s_clog10f.c (__clog10f): Likewise.
25819 * math/s_clog10l.c (__clog10l): Likewise.
25820 * math/s_clogf.c (__clogf): Likewise.
25821 * math/s_clogl.c (__clogl): Likewise.
25822 * math/libm-test.inc (clog_test): Add more tests.
25823 (clog10_test): Likewise.
25824 * sysdeps/i386/fpu/libm-test-ulps: Update.
25825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25826
258272012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25828
25829 [BZ #14283]
25830 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25831 by 7 not 8 to examine high bit of fractional part.
25832
25833 [BZ #14042]
25834 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25835 for call to __mcount_internal.
25836 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25837 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25838 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25839
258402012-07-06 Joseph Myers <joseph@codesourcery.com>
25841
25842 [BZ #14154]
25843 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25844 approximation for values within 0x1p-13f of an odd multiple of
25845 pi/4.
25846 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25847 exception. Add more tests.
25848 * sysdeps/i386/fpu/libm-test-ulps: Update.
25849
25850 [BZ #6778]
25851 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25852 inputs and return -1 for them. Do not check for +Inf in case not
25853 reachable for +Inf.
25854 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25855 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25856 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25857 and return -1 for them. Do not check for +Inf in case not
25858 reachable for +Inf.
25859 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25860 define.
25861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25862 and return -1 for them. Do not check for +Inf in case not
25863 reachable for +Inf.
25864 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25865 spurious underflow.
25866 * sysdeps/i386/fpu/libm-test-ulps: Update.
25867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25868
258692012-07-06 Mike Frysinger <vapier@gentoo.org>
25870
25871 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25872
258732012-07-05 Joseph Myers <joseph@codesourcery.com>
25874
25875 [BZ #14157]
25876 [BZ #14331]
25877 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25878 could result in spurious underflow. Scale down values above
25879 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25880 * math/s_csqrtf.c (__csqrtf): Likewise.
25881 * math/s_csqrtl.c (__csqrtl): Likewise.
25882 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25883 spurious underflow.
25884 * sysdeps/i386/fpu/libm-test-ulps: Update.
25885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25886
258872012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25888
25889 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25890 xopen-msg.sed.
25891 * catgets/xopen-msg.awk: New file.
25892 * catgets/xopen-msg.sed: Removed.
25893
25894 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25895 po2text.sed.
25896 * intl/po2test.awk: New file.
25897 * intl/po2test.sed: Removed.
25898
258992012-07-04 Joseph Myers <joseph@codesourcery.com>
25900
25901 [BZ #14328]
25902 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25903 or multiply small sinh result by itself.
25904 * math/s_ctanf.c (__ctanf): Likewise.
25905 * math/s_ctanh.c (__ctanh): Likewise.
25906 * math/s_ctanhf.c (__ctanhf): Likewise.
25907 * math/s_ctanhl.c (__ctanhl): Likewise.
25908 * math/s_ctanl.c (__ctanl): Likewise.
25909 * math/libm-test.inc (ctan_test_tonearest): New function.
25910 (ctan_test_towardzero): Likewise.
25911 (ctan_test_downward): Likewise.
25912 (ctan_test_upward): Likewise.
25913 (ctanh_test_tonearest): Likewise.
25914 (ctanh_test_towardzero): Likewise.
25915 (ctanh_test_downward): Likewise.
25916 (ctanh_test_upward): Likewise.
25917 (main): Call these new functions.
25918 * sysdeps/i386/fpu/libm-test-ulps: Update.
25919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25920
259212012-07-03 Mike Frysinger <vapier@gentoo.org>
25922
25923 * .gitignore: Delete /ports entry.
25924
259252012-07-03 Andreas Jaeger <aj@suse.de>
25926
25927 * po/bg.po: Update from translation team.
25928 * po/cs.po: Likewise.
25929 * po/de.po: Likewise.
25930 * po/hr.po: Likewise.
25931 * po/nl.pl: Likewise.
25932 * po/pl.po: Likewise.
25933 * po/vi.po: Likewise.
25934
259352012-07-03 Joseph Myers <joseph@codesourcery.com>
25936
25937 * Makeconfig [!+link] (+link-before-libc): New variable.
25938 [!+link] (+link-after-libc): Likewise.
25939 [!+link] (+link-tests): Likewise.
25940 [!+link] (+link): Define in terms of $(+link-before-libc) and
25941 $(+link-after-libc).
25942 [!+link-static] (+link-static-before-libc): New variable.
25943 [!+link-static] (+link-static-after-libc): Likewise.
25944 [!+link-static] (+link-static-tests): Likewise.
25945 [!+link-static] (+link-static): Define in terms of
25946 $(+link-static-before-libc) and $(+link-static-after-libc).
25947 [build-shared] (link-libc-before-gnulib): New variable.
25948 [build-shared] (link-libc-tests): Likewise.
25949 [build-shared] (link-libc): Define in terms of
25950 $(link-libc-before-gnulib).
25951 [!build-shared] (link-libc-tests): New variable.
25952 (link-libc-static-tests): New variable.
25953 [!gnulib] (gnulib-arch): New variable.
25954 [!gnulib] (gnulib-tests): Likewise.
25955 [!gnulib] (static-gnulib-arch): Likewise.
25956 [!gnulib] (static-gnulib-tests): Likewise.
25957 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25958 Define with "=" instead of ":=".
25959 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25960 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25961 * Rules (binaries-all-notests): New variable.
25962 (binaries-all-tests): Likewise.
25963 (binaries-static-notests): Likewise.
25964 (binaries-static-tests): Likewise.
25965 (binaries-all): Define using $(binaries-all-notests) and
25966 $(binaries-all-tests).
25967 (binaries-static): Define using $(binaries-static-notests) and
25968 $(binaries-static-tests).
25969 (binaries-shared-tests): New variable.
25970 (binaries-shared-notests): Likewise.
25971 (binaries-shared): Remove variable.
25972 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25973 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25974 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25975 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25976 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25977 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25978 * elf/Makefile (sln-modules): New variable.
25979 (extra-objs): Add $(sln-modules:=.o).
25980 (ldconfig-modules): Add static-stubs.
25981 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25982 * elf/static-stubs.c: New file.
25983
25984 [BZ #14283]
25985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25986 by 7 not 8 to examine high bit of fractional part. Use volatile
25987 variables when splitting into final array of floats if
25988 __FLT_EVAL_METHOD__ != 0.
25989 * math/libm-test.inc (cos_test): Add another test.
25990 (sin_test): Likewise.
25991 * sysdeps/i386/fpu/libm-test-ulps: Update.
25992
25993 [BZ #14273]
25994 * math/libm-test.inc (cosh_test): Add more tests.
25995
25996 * version.h (RELEASE): Set to "development".
25997 (VERSION): Set to "2.16.90".
25998
259992012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26000
26001 * NEWS: Update copyright. Remove last-updated date.
26002 Mention math library bug fixes and timezone data changes.
26003 * README: Mention GNU/Hurd, x32, and HPPA support status.
26004
260052012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26006
26007 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26008
260092012-06-27 Andreas Jaeger <aj@suse.de>
26010
26011 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26012
260132012-06-25 Andreas Jaeger <aj@suse.de>
26014
26015 * sysdeps/s390/fpu/libm-test-ulps: Update.
26016
260172012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26018 Thomas Schwinge <thomas@codesourcery.com>
26019
26020 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26021 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26023 fanotify_mark.
26024
260252012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26026
26027 * sysdeps/mach/start.c: Remove file.
26028 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26029 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26030 * sysdeps/sh/init-first.c: Likewise.
26031
26032 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26033 registers for frame unwinding purposes, add CFI directives.
26034 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26035 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26036 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26037 Likewise.
26038
26039 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26040 __fortify_fail returning.
26041 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26042
26043 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26044 sysdeps/sh/____longjmp_chk.S.
26045 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26046 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26047 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26048 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26049
26050 * sysdeps/sh/abort-instr.h: New file.
26051 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26052 process in case exit returns.
26053
26054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26055 initialize the GOT register before use.
26056
26057 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26058 calculation of ARGC > 4.
26059
26060 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26061 meaningful names to some local labels.
26062
260632012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26064 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26065
26066 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26067 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26068 (__arch_compare_and_exchange_val_16_acq): Likewise.
26069 (__arch_compare_and_exchange_val_32_acq): Likewise.
26070 (atomic_exchange_and_add): Fix gUSA sequence.
26071 (atomic_add): Likewise.
26072 (atomic_add_negative): Likewise.
26073 (atomic_add_zero): Likewise.
26074 (atomic_bit_test_set): Likewise.
26075
260762012-06-22 Andreas Schwab <schwab@redhat.com>
26077
26078 [BZ #13579]
26079 * include/link.h (struct link_map): Add l_free_initfini.
26080 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26081 l_initfini.
26082 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26083 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26084 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26085 set.
26086
260872012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26088
26089 * configure.in: Use AC_LANG_SOURCE.
26090 * configure: Regenerate.
26091
260922012-06-22 Roland McGrath <roland@hack.frob.com>
26093
26094 * configure.in (libc_cv_localstatedir): New substituted variable.
26095 * configure: Regenerated.
26096 * config.make.in (localstatedir): New variable, substituted from
26097 libc_cv_localstatedir.
26098 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26099 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26100 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26101 * sysdeps/gnu/configure: Regenerated.
26102
261032012-06-21 Jeff Law <law@redhat.com>
26104
26105 [BZ #14277]
26106 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26107 free. Simplify list management for _LIBC case.
26108
261092012-06-21 Joseph Myers <joseph@codesourcery.com>
26110
26111 [BZ #14273]
26112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26113 Clear sign bit of 64-bit integer value before comparing against
26114 overflow value.
26115
26116 * sysdeps/mach/configure: Regenerated.
26117
261182012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26119
26120 [BZ #14278]
26121 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26122
261232012-06-21 Jeff Law <law@redhat.com>
26124
26125 [BZ #13882]
26126 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26127 uint16_t for elements in the "seen" array to avoid char overflows.
26128 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26129 * elf/dl-open.c (dl_open_worker): Likewise.
26130
261312012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26132
26133 * scripts/list-sources.sh: Scan PORTS for translations.
26134 * po/libc.pot: Regenerated.
26135
261362012-06-21 Andreas Jaeger <aj@suse.de>
26137
26138 [BZ #12194]
26139 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26140 warning.
26141 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26142 * bits/byteswap-16.h (__bswap_16): Likewise.
26143 * bits/byteswap.h (__bswap_constant_16): Likewise.
26144
261452012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26146
26147 [BZ #14117]
26148 * sysdeps/i386/fpu_control.h: Removed.
26149 * sysdeps/x86_64/fpu_control.h: Moved to ...
26150 * sysdeps/x86/fpu_control.h: Here.
26151
26152 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26153 (_FPU_SETCW): Likewise.
26154
261552012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26156
26157 [BZ #14117]
26158 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26159 * sysdeps/x86/fpu/bits/mathinline.h: This.
26160 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26161
26162 [BZ #14050]
26163 [BZ #14117]
26164 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26165 functions if __x86_64__ is defined.
26166
261672012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26168
26169 * string/endian.h: Add !__ASSEMBLER__ condition for including
26170 conversion interfaces.
26171
261722012-06-15 Joseph Myers <joseph@codesourcery.com>
26173
26174 [BZ #14241]
26175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26176 of ABS(x) in calculating zero to negative powers other than odd
26177 integers.
26178 * math/libm-test.inc (pow_test): Add more tests.
26179
261802012-06-15 Andreas Jaeger <aj@suse.de>
26181
26182 * manual/contrib.texi (Contributors): Update entry of Liubov
26183 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26184 Machado Filho.
26185
261862012-06-15 Cyril Hrubis <metan@ucw.cz>
26187
26188 * string/string.h: Add __wur to GNU version of strerror_r.
26189
261902012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26191
26192 [BZ #14229]
26193 * string/Makefile (tests): Add tst-strtok_r.
26194 * string/tst-strtok_r.c: New file.
26195 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26196 RAX_LP/RDX_LP on SAVE_PTR.
26197
261982012-06-14 Roland McGrath <roland@hack.frob.com>
26199
26200 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26201
262022012-06-14 Joseph Myers <joseph@codesourcery.com>
26203
26204 * libm_test.inc (csqrt_test): Allow more spurious underflow
26205 exceptions.
26206 (j0_test): Likewise.
26207 (j1_test): Likewise.
26208 (y0_test): Likewise.
26209 (y1_test): Likewise.
26210
262112012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26212
26213 * po/Makefile (libc.pot): Use UTF-8 charset.
26214
262152012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26216
26217 [BZ #14210]
26218 Suppress sign-conversion warning from FD_SET.
26219 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26220 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26221 not unsigned long int.
26222 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26223
262242012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26225
26226 [BZ #14050]
26227 [BZ #14117]
26228 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26229 __extern_always_inline instead of __extern_inline.
26230 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26231 (__signbit): Likewise.
26232 (__signbitl): Support C++ namespace.
26233 (lrintf): New inline function.
26234 (lrint): Likewise.
26235 (llrintf): Likewise.
26236 (llrint): Likewise.
26237 (fmaxf): Likewise.
26238 (fmax): Likewise.
26239 (fminf): Likewise.
26240 (fmin): Likewise.
26241 (rint): Likewise.
26242 (rintf): Likewise.
26243 (ceil): Likewise.
26244 (ceilf): Likewise.
26245 (floor): Likewise.
26246 (floorf): Likewise.
26247 (nearbyint): Likewise.
26248 (nearbyintf): Likewise.
26249
262502012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26251
26252 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26253 non-default versions.
26254
262552012-06-11 Roland McGrath <roland@hack.frob.com>
26256
26257 [BZ #14218]
26258 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26259
262602012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26261
26262 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26263 (FE_UPWARD, FE_DOWNWARD): Don't define.
26264 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26265 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26266
26267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26268 reading it.
26269 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26270 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26271
262722012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26273
26274 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26276 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26277 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26278
262792012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26280
26281 [BZ #14117]
26282 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26283 * sysdeps/i386/fpu/Implies: New file.
26284 * sysdeps/x86_64/fpu/Implies: Likewise.
26285 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26286 * sysdeps/x86/fpu/bits/fenv.h: This.
26287
26288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26289 __SSE_MATH__.
26290
262912012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26292
26293 [BZ #14134]
26294 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26295 character 0xffff that matches the last element of the
26296 conversion table.
26297
262982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26299
26300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26301 fmodl commit.
26302
263032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26304
26305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26306 values higher than 25.6283.
26307
263082012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26309
26310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26311 subnormal exponent extraction and add some __builtin_expect.
26312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26313 Fix for subnormal mantissa calculation.
26314
263152012-06-04 Mike Frysinger <vapier@gentoo.org>
26316
26317 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26318 cpu2 is -1 and errno is not ENOSYS.
26319
263202012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26321
26322 [BZ #14117]
26323 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26324 * sysdeps/x86/bits/string.h: This.
26325 * sysdeps/x86_64/bits/string.h: Removed.
26326
26327 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26328 if not compiling for x86-64, but compiling for >= i486.
26329
26330 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26331 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26332
26333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26334 New macro from Linux kernel 3.4.0.
26335 (FP_XSTATE_MAGIC2): Likewise.
26336 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26337 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26338 (struct _fpx_sw_bytes): New struct.
26339 (struct _xsave_hdr): Likewise.
26340 (struct _ymmh_state): Likewise.
26341 (struct _xstate): Likewise.
26342
26343 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26344 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26346 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26347 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26348 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26349
26350 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26352 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26353 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26354 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26355 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26356
263572012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26358
26359 [BZ #13743]
26360 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26361 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26362 (sysdep_headers): Include sys/platform/ppc.h.
26363 * sysdeps/powerpc/test-gettimebase.c: Test for
26364 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26365 * manual/Makefile (appendices): Include platform.texi.
26366 * manual/contrib.texi (Contributors): Update @node pointers.
26367 * manual/maint.texi (Maintenance): Likewise.
26368 (Platform): New node.
26369 * manual/platform.texi: New file. Document the new features.
26370
263712012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26372 Jakub Jelinek <jakub@redhat.com>
26373
26374 [BZ #14188]
26375 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26376 where __builtin_expect is unavailable.
26377
263782012-06-03 David S. Miller <davem@davemloft.net>
26379
26380 * stdlib/longlong.h: Updated from GCC.
26381
263822012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26383
26384 [BZ #14042]
26385 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26386 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26387 __mcount_internal.
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26389 (GLIBC_2.16): Likewise.
26390
263912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26392
26393 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26394
263952012-06-01 Joseph Myers <joseph@codesourcery.com>
26396
26397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26398 (default-abi): New variable.
26399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26400 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26401 variable.
26402 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26403 Likewise.
26404 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26405 Likewise.
26406 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26407 Likewise.
26408
26409 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26410 definition. Document in comment.
26411
264122012-06-01 David S. Miller <davem@davemloft.net>
26413
26414 * stdlib/longlong.h: Updated from GCC.
26415
264162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26417
26418 [BZ #14117]
26419 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26420 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26421 sys/debugreg.h sys/io.h here.
26422 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26423 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26424 sys/io.h.
26425 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26426 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26427 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26428 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26429 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26430 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26431
26432 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26433 Define only if __x86_64__ is defined.
26434
264352012-06-01 Joseph Myers <joseph@codesourcery.com>
26436
26437 [BZ #14048]
26438 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26439 Use int64_t for variable i.
26440 * math/libm-test.inc (fmod_test): Add more tests.
26441
26442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26443 z computation is not scheduled after fetestexcept.
26444 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26445 Use math_force_eval instead of asm to ensure calculation scheduled
26446 before exception test.
26447 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26448 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26449
264502012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26451
26452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26453 computation is not scheduled after fetestexcept.
26454
264552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26456
26457 [BZ #14117]
26458 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26459 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26460
264612012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26462
26463 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26464 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26465
264662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26467
26468 [BZ #14117]
26469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26470 <bits/wordsize.h>.
26471 (__WCHAR_MIN): Support __WORDSIZE == 64.
26472 (__WCHAR_MAX): Likewise.
26473
26474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26475 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26476
26477 [BZ #14183]
26478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26479 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26480
26481 [BZ #14117]
26482 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26483 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26484
26485 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26486 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26487
26488 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26489 Defined to 1 if __x86_64__ isn't defined.
26490 (_STAT_VER_LINUX_OLD): New.
26491 (st_atime): Remove duplicate.
26492 (st_mtime): Likewise.
26493 (st_ctime): Likewise.
26494
264952012-05-31 David S. Miller <davem@davemloft.net>
26496
26497 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26498 entries.
26499
265002012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26501
26502 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26503 gen-libm-test.pl.
26504
26505 [BZ #14132]
26506 * elf/dl-reloc.c: Include <_itoa.h>.
26507 (_dl_reloc_bad_type): Remove use of INTUSE.
26508 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26509 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26510 * stdio-common/psiginfo.c (psiginfo): Likewise.
26511 * stdio-common/psignal.c (psignal): Likewise.
26512 * string/strsignal.c (strsignal): Likewise.
26513 * include/signal.h (_sys_siglist): Declare hidden proto.
26514 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26515 INTVARDEF with libc_hidden_data_def.
26516 * stdio-common/itoa-udigits.c: Likewise.
26517 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26518 (_itoa_lower_digits_internal): Remove declaration.
26519 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26520 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26521 (_sys_sigabbrev_internal): Remove aliases.
26522 (_sys_siglist): Define hidden alias.
26523
265242012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26525
26526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26527 bits/sysctl.h.
26528
265292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26530
26531 [BZ #14117]
26532 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26533 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26534
26535 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26536 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26537 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26538 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26540 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26541
26542 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26543 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26544 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26545
26546 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26547 with __addr.
26548 (insw): Likewise.
26549 (insl): Likewise.
26550 (outsb): Likewise.
26551 (outsw): Likewise.
26552 (outsl): Likewise.
26553
26554 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26556 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26557
26558 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26559 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26561 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26562 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26563 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26564
26565 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26566 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26567
26568 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26569 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26570
26571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26573 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26574
26575 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26576 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26577 to ...
26578 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26579
26580 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26581 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26582 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26583
26584 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26585 for x86-64.
26586 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26587
265882012-05-31 Joseph Myers <joseph@codesourcery.com>
26589
26590 * math/math.h (M_El): Use two more decimal places.
26591 (M_LOG2El): Likewise.
26592 (M_LOG10El): Likewise.
26593 (M_LN2l): Likewise.
26594 (M_LN10l): Likewise.
26595 (M_PIl): Likewise.
26596 (M_PI_2l): Likewise.
26597 (M_PI_4l): Likewise.
26598 (M_1_PIl): Likewise.
26599 (M_2_PIl): Likewise.
26600 (M_2_SQRTPIl): Likewise.
26601 (M_SQRT2l): Likewise.
26602 (M_SQRT1_2l): Likewise.
26603
266042012-05-31 David S. Miller <davem@davemloft.net>
26605
26606 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26607 values between float registers.
26608 * sysdeps/sparc/sparc64/memset.S: Likewise.
26609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26610
266112012-05-31 Mike Frysinger <vapier@gentoo.org>
26612
26613 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26614 -D_FORTIFY_SOURCE=1.
26615 (CPPFLAGS-tst-longjmp_chk.c): Define.
26616 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26617 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26618 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26619 CFLAGS-tst-wchar-h.c.
26620
266212012-05-31 Marek Polacek <polacek@redhat.com>
26622
26623 [BZ #14132]
26624 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26625 __endmntent_internal): Remove declaration.
26626 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26627 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26628 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26629
266302012-05-30 David S. Miller <davem@davemloft.net>
26631
26632 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26633 (___Q_simulate_exceptions): Use real FP ops rather than writing
26634 into the %fsr.
26635 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26636 Likewise.
26637
266382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 [BZ #14117]
26641 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26642 * sysdeps/x86/bits/xtitypes.h: This.
26643
26644 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26645 * sysdeps/x86/bits/wordsize.h: This.
26646
26647 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26648 * sysdeps/x86/bits/huge_vall.h: This.
26649
26650 * sysdeps/i386/bits/select.h: Removed.
26651 * sysdeps/x86_64/bits/select.h: Renamed to ...
26652 * sysdeps/x86/bits/select.h: This.
26653
26654 * sysdeps/i386/bits/setjmp.h: Removed.
26655 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26656 * sysdeps/x86/bits/setjmp.h: This.
26657
26658 * sysdeps/i386/bits/mathdef.h: Removed.
26659 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26660 * sysdeps/x86/bits/mathdef.h: This.
26661
266622012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26663
26664 [BZ #14132]
26665 * include/sys/socket.h (__connect_internal)
26666 (__libc_sa_len_internal): Remove declaration.
26667 (__connect, __libc_sa_len): Declare hidden_proto.
26668 (SA_LEN): Remove use of INTUSE.
26669 * socket/connect.c: Add libc_hidden_def.
26670 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26671 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26672 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26673 alias.
26674 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26675 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26676 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26677 of adding _internal alias.
26678
266792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 [BZ #14117]
26682 * sysdeps/i386/bits/link.h: Removed.
26683 * sysdeps/i386/bits/linkmap.h: Likewise.
26684 * sysdeps/x86_64/bits/link.h: Renamed to ...
26685 * sysdeps/x86/bits/link.h: This.
26686 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26687 * sysdeps/x86/bits/linkmap.h: This.
26688
26689 * sysdeps/i386/bits/endian.h: Removed.
26690 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26691 * sysdeps/x86/bits/endian.h: This.
26692
26693 * sysdeps/i386/bits/byteswap.h: Removed.
26694 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26695 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26696 * sysdeps/x86/bits/byteswap.h: This.
26697 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26698 * sysdeps/x86/bits/byteswap-16.h: This.
26699 * sysdeps/i386/Implies: Add x86.
26700 * sysdeps/x86_64/Implies: Likewise.
26701
267022012-05-30 David S. Miller <davem@davemloft.net>
26703
26704 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26705 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26706 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26707 (FP_TRAPPING_EXCEPTIONS): Define.
26708 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26709 (FP_TRAPPING_EXCEPTIONS): Define.
26710 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26711 subnormals only when inexact has been signalled or underflow
26712 exceptions are enabled.
26713 (_FP_PACK_CANONICAL): Likewise.
26714
267152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26716
26717 [BZ #14183]
26718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26719 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26720
267212012-05-30 Richard Henderson <rth@twiddle.net>
26722
26723 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26724 with #ifndef NOT_IN_libc.
26725
26726 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26727 marked to avoid plt entry.
26728
267292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26730
26731 [BZ #14112]
26732 * Makeconfig (default-abi): New macro.
26733 (abi-includes): Likewise.
26734 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26735 $(abi-$(default-abi)-lib-soname) for soname if defined.
26736 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26737 abi-variants.
26738 * Makefile (installed-stubs): Likewise.
26739 * include/stubs-biarch.h: Removed.
26740 * scripts/lib-names.awk: Only handle one library at a time.
26741 * scripts/soversions.awk: Remove WORDSIZE support.
26742 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26743 entries.
26744 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26745 Removed.
26746 (syscall-list-default-condition): Likewise.
26747 (syscall-list-default-condition): Likewise.
26748 (syscall-list-includes): Likewise.
26749 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26750 syscall-list-* with abi-*. Handle undefined abi-variants.
26751 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26752 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26753 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26754 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26755 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26756 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26757 Removed.
26758 (syscall-list-32-options): Likewise.
26759 (syscall-list-32-condition): Likewise.
26760 (syscall-list-64-options): Likewise.
26761 (syscall-list-64-condition): Likewise.
26762 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26763 macro.
26764 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26765 Renamed to ...
26766 (abi-*): This.
26767 (abi-64-ld-soname): New macro.
26768 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26769 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26770 Renamed to ...
26771 (abi-*): This.
26772 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26773 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26774
267752012-05-30 Joseph Myers <joseph@codesourcery.com>
26776
26777 * sysdeps/unix/sysv/linux/kernel-features.h
26778 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26779 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26780 include <kernel-features.h>.
26781 [!__NR_ftruncate64]: Remove conditional code.
26782 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26783 [__NR_ftruncate64]: Make code unconditional.
26784 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26785 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26786 include <kernel-features.h>.
26787 [!__NR_ftruncate64]: Remove conditional code.
26788 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26789 [__NR_ftruncate64]: Make code unconditional.
26790 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26792 include <kernel-features.h>.
26793 [!__NR_ftruncate64]: Remove conditional code.
26794 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26795 [__NR_ftruncate64]: Make code unconditional.
26796 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26798 include <kernel-features.h>.
26799 [!__NR_ftruncate64]: Remove conditional code.
26800 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26801 [__NR_ftruncate64]: Make code unconditional.
26802 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26803
26804 * configure.in (libc_cv_fpie): Weaken to a compile test using
26805 LIBC_TRY_CC_OPTION.
26806 * configure: Regenerated.
26807
268082012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26809
26810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26814 Refreshed.
26815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26821 Refreshed.
26822
268232012-05-27 David S. Miller <davem@davemloft.net>
26824
26825 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26826 (___Q_zero): New.
26827 (__Q_simulate_exceptions): Return void. Change to simulate
26828 exceptions by writing into the %fsr.
26829 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26830 (__Qp_handle_exceptions): Likewise.
26831 (numbers): Delete.
26832 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26833 __Qp_handle_exceptions.
26834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26835 __Qp_handle_exceptions.
26836 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26837 as unused and give dummy FP_RND_NEAREST initializer.
26838 (FP_INHIBIT_RESULTS): Define.
26839 (___Q_simulate_exceptions): Update declaration.
26840 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26841 formatting.
26842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26843 as unused and give dummy FP_RND_NEAREST initializer.
26844 (__Qp_handle_exceptions): Update declaration.
26845 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26846 formatting.
26847
268482012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26849
26850 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26851 the temporary FPU control word.
26852 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26853 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26855 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26856 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26857 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26858 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26859 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26860 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26861 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26862 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26863
268642012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26865
26866 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26867 fields.
26868
268692012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26870
26871 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26872 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26873 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26874 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26875 Likewise.
26876 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26877 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26878 Likewise.
26879
268802012-05-27 Ulrich Drepper <drepper@gmail.com>
26881
26882 * po/h.po: Update from translation team.
26883
268842012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26885
26886 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26887
26888 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26889 handling of denormals.
26890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26891 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26892 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26893 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26897 Likewise.
26898
268992012-05-26 Marek Polacek <polacek@redhat.com>
26900
26901 [BZ #14152]
26902 * math/libm-test.inc (fma_test): Don't always expect underflow
26903 exception.
26904
269052012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26906
26907 [BZ #12416]
26908 * elf/tst-execstack.c: Include stackinfo.h.
26909 (do_test): Adjust test case to ensure that pthread_getattr_np
26910 behaviour remains the same after marking stack executable.
26911
269122012-05-25 Joseph Myers <joseph@codesourcery.com>
26913
26914 * sysdeps/unix/sysv/linux/kernel-features.h
26915 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26916 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26917 kernel-features.h.
26918 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26919 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26920 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26921 kernel-features.h.
26922 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26923 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26924
269252012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26926
26927 * configure.in: Define the default includes to being none.
26928 * configure: Regenerated.
26929
269302012-05-25 Roland McGrath <roland@hack.frob.com>
26931
26932 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26933 * sysdeps/x86_64/setjmp.S: Likewise.
26934 * sysdeps/i386/bsd-setjmp.S: Likewise.
26935 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26936 * sysdeps/i386/setjmp.S: Likewise.
26937 * sysdeps/i386/__longjmp.S: Likewise.
26938 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26939 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26940
26941 * include/stap-probe.h: New file.
26942 * configure.in: Handle --enable-systemtap.
26943 * configure: Regenerated.
26944 * config.h.in (USE_STAP_PROBE): New #undef.
26945 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26946 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26947 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26948
269492012-05-25 Joseph Myers <joseph@codesourcery.com>
26950
26951 [BZ #13717]
26952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26953 to 2.4.0 where earlier.
26954 * sysdeps/unix/sysv/linux/configure: Regenerated.
26955 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26956 <kernel-features.h>.
26957 [__ASSUME_32BITUIDS]: Make code unconditional.
26958 [!__ASSUME_32BITUIDS]: Remove conditional code.
26959 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26960 <kernel-features.h>.
26961 [__ASSUME_32BITUIDS]: Make code unconditional.
26962 [!__ASSUME_32BITUIDS]: Remove conditional code.
26963 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26964 [__ASSUME_32BITUIDS]: Make code unconditional.
26965 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26966 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26967 <kernel-features.h>.
26968 [__ASSUME_32BITUIDS]: Make code unconditional.
26969 [!__ASSUME_32BITUIDS]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26971 <kernel-features.h>.
26972 [__ASSUME_32BITUIDS]: Make code unconditional.
26973 [!__ASSUME_32BITUIDS]: Remove conditional code.
26974 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26975 <kernel-features.h>.
26976 [__ASSUME_32BITUIDS]: Make code unconditional.
26977 [!__ASSUME_32BITUIDS]: Remove conditional code.
26978 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26979 <kernel-features.h>.
26980 [__ASSUME_32BITUIDS]: Make code unconditional.
26981 [!__ASSUME_32BITUIDS]: Remove conditional code.
26982 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26983 <kernel-features.h>.
26984 [__ASSUME_32BITUIDS]: Make code unconditional.
26985 [!__ASSUME_32BITUIDS]: Remove conditional code.
26986 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26987 <kernel-features.h>.
26988 [__ASSUME_32BITUIDS]: Make code unconditional.
26989 [!__ASSUME_32BITUIDS]: Remove conditional code.
26990 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26991 <kernel-features.h>.
26992 [__ASSUME_32BITUIDS]: Make code unconditional.
26993 [!__ASSUME_32BITUIDS]: Remove conditional code.
26994 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26995 <kernel-features.h>.
26996 [__ASSUME_32BITUIDS]: Make code unconditional.
26997 [!__ASSUME_32BITUIDS]: Remove conditional code.
26998 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26999 <kernel-features.h>.
27000 [__ASSUME_32BITUIDS]: Make code unconditional.
27001 [!__ASSUME_32BITUIDS]: Remove conditional code.
27002 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27003 <kernel-features.h>.
27004 [__ASSUME_32BITUIDS]: Make code unconditional.
27005 [!__ASSUME_32BITUIDS]: Remove conditional code.
27006 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27007 <kernel-features.h>.
27008 [__NR_setresgid] (__setresgid): Do not declare.
27009 [__ASSUME_32BITUIDS]: Make code unconditional.
27010 [!__ASSUME_32BITUIDS]: Remove conditional code.
27011 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27012 <kernel-features.h>.
27013 [__NR_setresuid] (__setresuid): Do not declare.
27014 [__ASSUME_32BITUIDS]: Make code unconditional.
27015 [!__ASSUME_32BITUIDS]: Remove conditional code.
27016 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27017 <kernel-features.h>.
27018 [__ASSUME_32BITUIDS]: Make code unconditional.
27019 [!__ASSUME_32BITUIDS]: Remove conditional code.
27020 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27021 <kernel-features.h>.
27022 [__ASSUME_32BITUIDS]: Make code unconditional.
27023 [!__ASSUME_32BITUIDS]: Remove conditional code.
27024 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27025 <kernel-features.h>.
27026 [__ASSUME_32BITUIDS]: Make code unconditional.
27027 [!__ASSUME_32BITUIDS]: Remove conditional code.
27028 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27029 <kernel-features.h>.
27030 [__ASSUME_32BITUIDS]: Make code unconditional.
27031 [!__ASSUME_32BITUIDS]: Remove conditional code.
27032 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27033 <kernel-features.h>.
27034 [__ASSUME_32BITUIDS]: Make code unconditional.
27035 [!__ASSUME_32BITUIDS]: Remove conditional code.
27036 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27037 <kernel-features.h>.
27038 [__ASSUME_32BITUIDS]: Make code unconditional.
27039 [!__ASSUME_32BITUIDS]: Remove conditional code.
27040 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27041 <kernel-features.h>.
27042 [__ASSUME_32BITUIDS]: Make code unconditional.
27043 [!__ASSUME_32BITUIDS]: Remove conditional code.
27044 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27045 <kernel-features.h>.
27046 [__ASSUME_32BITUIDS]: Make code unconditional.
27047 [!__ASSUME_32BITUIDS]: Remove conditional code.
27048 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27049 <kernel-features.h>.
27050 [__ASSUME_32BITUIDS]: Make code unconditional.
27051 [!__ASSUME_32BITUIDS]: Remove conditional code.
27052 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27053 <kernel-features.h>.
27054 [__ASSUME_32BITUIDS]: Make code unconditional.
27055 [!__ASSUME_32BITUIDS]: Remove conditional code.
27056 * sysdeps/unix/sysv/linux/kernel-features.h
27057 (__ASSUME_SETRESUID_SYSCALL): Remove.
27058 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27059 (__ASSUME_32BITUIDS): Likewise.
27060 (__ASSUME_LDT_WORKS): Likewise.
27061 (__ASSUME_O_DIRECTORY): Likewise.
27062 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27063 architecture but not kernel version.
27064 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27065 (__ASSUME_MMAP2_SYSCALL): Likewise.
27066 (__ASSUME_STAT64_SYSCALL): Likewise.
27067 (__ASSUME_IPC64): Likewise.
27068 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27069 <kernel-features.h>.
27070 [__ASSUME_32BITUIDS]: Make code unconditional.
27071 [!__ASSUME_32BITUIDS]: Remove conditional code.
27072 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27073 <kernel-features.h>.
27074 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27075 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27076 132096]: Remove conditional code.
27077 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27078 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27079 <kernel-features.h>.
27080 [__ASSUME_32BITUIDS]: Make code unconditional.
27081 [!__ASSUME_32BITUIDS]: Remove conditional code.
27082 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27083 <kernel-features.h>.
27084 [__ASSUME_32BITUIDS]: Make code unconditional.
27085 [!__ASSUME_32BITUIDS]: Remove conditional code.
27086 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27087 <kernel-features.h>.
27088 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27089 unconditional.
27090 (__setresgid): Do not declare.
27091 [__ASSUME_32BITUIDS]: Make code unconditional.
27092 [!__ASSUME_32BITUIDS]: Remove conditional code.
27093 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27094 <kernel-features.h>.
27095 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27096 unconditional.
27097 (__setresuid): Do not declare.
27098 [__ASSUME_32BITUIDS]: Make code unconditional.
27099 [!__ASSUME_32BITUIDS]: Remove conditional code.
27100 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27101 <kernel-features.h>.
27102 [__ASSUME_32BITUIDS]: Make code unconditional.
27103 [!__ASSUME_32BITUIDS]: Remove conditional code.
27104 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27105 <kernel-features.h>.
27106 [__ASSUME_32BITUIDS]: Make code unconditional.
27107 [!__ASSUME_32BITUIDS]: Remove conditional code.
27108
271092012-05-25 Richard Henderson <rth@twiddle.net>
27110
27111 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27112 dl_hwcap to ifunc resolver.
27113 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27114 elf_ifunc_invoke.
27115 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27116 dl_hwcap to ifunc resolver.
27117 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27118
271192012-05-24 Joseph Myers <joseph@codesourcery.com>
27120
27121 [BZ #14153]
27122 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27123 for |x| <= 2**-26, not 2**-57.
27124 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27125 exception.
27126
271272012-05-24 Jeff Law <law@redhat.com>
27128
27129 * stdio-common/Makefile (tests): Add bug25.
27130 * stdio-common/bug25.c: New test.
27131
271322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27133
27134 [BZ #13576]
27135 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27136 multiple of MALLOC_ALIGNMENT in size.
27137 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27138
271392012-05-24 Joseph Myers <joseph@codesourcery.com>
27140
27141 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27142 Require >= 256.
27143 (FILENAME_MAX): Use macro-int-constant.
27144 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27145 (_IOFBF): Use macro-int-constant.
27146 (_IOLBF): Likewise.
27147 (_IONBF): Likewise.
27148 (SEEK_CUR): Likewise.
27149 (SEEK_END): Likewise.
27150 (SEEK_SET): Likewise.
27151 (TMP_MAX): Likewise.
27152 (EOF): Use macro-int-constant. Require < 0.
27153 (NULL): Use macro-constant. Require == 0.
27154 (stdin): Require type to be FILE *.
27155 (stdout): Likewise.
27156 (stderr): Likewise.
27157 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27158 macro-int-constant.
27159 (EXIT_SUCCESS): Likewise.
27160 (NULL): Use macro-constant. Require == 0.
27161 (RAND_MAX): Use macro-int-constant.
27162 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27163 [C99-based standards] (strtof): Require function.
27164 [C99-based standards] (strtold): Likewise.
27165 [C99-based standards] (strtoll): Likewise.
27166 [C99-based standards] (strtoull): Likewise.
27167 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27168 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27169 [ISO || ISO99 || ISO11] (math.h): Likewise.
27170 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27171 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27173
271742012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27175
27176 [BZ #14132]
27177 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27178 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27179 * intl/dgettext.c (DCGETTEXT): Likewise.
27180 * intl/gettext.c (DCGETTEXT): Likewise.
27181 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27182 * posix/regex_internal.h (gettext): Likewise.
27183 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27184 Remove declaration.
27185 * include/argz.h (__argz_count_internal)
27186 (__argz_stringify_internal): Remove declaration.
27187 (__argz_count, __argz_stringify): Declare hidden proto.
27188 * intl/dcgettext.c: Remove use of INTDEF.
27189 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27190 * string/argz-stringify.c: Likewise.
27191 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27192 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27193 Declare hidden proto.
27194 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27195 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27196 Declare hidden proto.
27197 * include/stdio.h (__asprintf_internal): Don't declare.
27198 (__asprintf): Don't define as macro. Declare hidden proto.
27199 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27200 (__fsetlocking): Declare hidden proto.
27201 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27202 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27203 hidden proto.
27204 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27205 (_IO_setlinebuf): Remove use of INTUSE.
27206 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27207 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27208 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27209 Remove declaration.
27210 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27211 (_IO_do_flush): Remove use of INTUSE.
27212 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27213 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27214 (_IO_adjust_column, _IO_least_wmarker)
27215 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27216 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27217 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27218 (_IO_default_doallocate, _IO_wdefault_doallocate)
27219 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27220 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27221 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27222 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27223 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27224 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27225 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27226 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27227 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27228 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27229 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27230 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27231 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27232 proto.
27233 (_IO_flush_all_internal, _IO_adjust_column_internal)
27234 (_IO_default_uflow_internal, _IO_default_finish_internal)
27235 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27236 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27237 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27238 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27239 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27240 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27241 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27242 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27243 (_IO_file_close_internal, _IO_file_close_it_internal)
27244 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27245 (_IO_file_init_internal, _IO_file_attach_internal)
27246 (_IO_file_fopen_internal, _IO_file_read_internal)
27247 (_IO_file_sync_internal, _IO_file_seek_internal)
27248 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27249 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27250 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27251 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27252 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27253 (_IO_list_all_internal, _IO_link_in_internal)
27254 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27255 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27256 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27257 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27258 (_IO_do_write_internal, _IO_padn_internal)
27259 (_IO_getline_info_internal, _IO_getline_internal)
27260 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27261 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27262 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27263 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27264 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27265 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27266 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27267 with libc_hidden_ver, remove use of INTUSE.
27268 * libio/genops.c: Likewise.
27269 * libio/freopen.c: Likewise.
27270 * libio/freopen64.c: Likewise.
27271 * libio/iofclose.c: Likewise.
27272 * libio/iofdopen.c: Likewise.
27273 * libio/iofflush.c: Likewise.
27274 * libio/iofflush_u.c: Likewise.
27275 * libio/iofgets.c: Likewise.
27276 * libio/iofgets_u.c: Likewise.
27277 * libio/iofopen.c: Likewise.
27278 * libio/iofopncook.c: Likewise.
27279 * libio/iofread.c: Likewise.
27280 * libio/iofread_u.c: Likewise.
27281 * libio/ioftell.c: Likewise.
27282 * libio/iofwrite.c: Likewise.
27283 * libio/iogetline.c: Likewise.
27284 * libio/iogets.c: Likewise.
27285 * libio/iogetwline.c: Likewise.
27286 * libio/iopadn.c: Likewise.
27287 * libio/iopopen.c: Likewise.
27288 * libio/ioseekoff.c: Likewise.
27289 * libio/ioseekpos.c: Likewise.
27290 * libio/iosetbuffer.c: Likewise.
27291 * libio/iosetvbuf.c: Likewise.
27292 * libio/ioungetc.c: Likewise.
27293 * libio/ioungetwc.c: Likewise.
27294 * libio/iovdprintf.c: Likewise.
27295 * libio/iovsprintf.c: Likewise.
27296 * libio/iovsscanf.c: Likewise.
27297 * libio/memstream.c: Likewise.
27298 * libio/obprintf.c: Likewise.
27299 * libio/oldfileops.c: Likewise.
27300 * libio/oldiofclose.c: Likewise.
27301 * libio/oldiofdopen.c: Likewise.
27302 * libio/oldiofopen.c: Likewise.
27303 * libio/oldiopopen.c: Likewise.
27304 * libio/oldstdfiles.c: Likewise.
27305 * libio/putc.c: Likewise.
27306 * libio/setbuf.c: Likewise.
27307 * libio/setlinebuf.c: Likewise.
27308 * libio/stdfiles.c: Likewise.
27309 * libio/strops.c: Likewise.
27310 * libio/vasprintf.c: Likewise.
27311 * libio/vscanf.c: Likewise.
27312 * libio/vsnprintf.c: Likewise.
27313 * libio/vswprintf.c: Likewise.
27314 * libio/wfiledoalloc.c: Likewise.
27315 * libio/wfileops.c: Likewise.
27316 * libio/wgenops.c: Likewise.
27317 * libio/wmemstream.c: Likewise.
27318 * libio/wstrops.c: Likewise.
27319 * libio/__fpurge.c: Likewise.
27320 * libio/__fsetlocking.c: Likewise.
27321 * assert/assert.c: Likewise.
27322 * debug/fgets_chk.c: Likewise.
27323 * debug/fgets_u_chk.c: Likewise.
27324 * debug/fread_chk.c: Likewise.
27325 * debug/fread_u_chk.c: Likewise.
27326 * debug/gets_chk.c: Likewise.
27327 * debug/obprintf_chk.c: Likewise.
27328 * debug/vasprintf_chk.c: Likewise.
27329 * debug/vdprintf_chk.c: Likewise.
27330 * debug/vsnprintf_chk.c: Likewise.
27331 * debug/vsprintf_chk.c: Likewise.
27332 * malloc/mtrace.c: Likewise.
27333 * misc/error.c: Likewise.
27334 * misc/syslog.c: Likewise.
27335 * stdio-common/asprintf.c: Likewise.
27336 * stdio-common/fxprintf.c: Likewise.
27337 * stdio-common/getw.c: Likewise.
27338 * stdio-common/isoc99_fscanf.c: Likewise.
27339 * stdio-common/isoc99_scanf.c: Likewise.
27340 * stdio-common/isoc99_vfscanf.c: Likewise.
27341 * stdio-common/isoc99_vscanf.c: Likewise.
27342 * stdio-common/isoc99_vsscanf.c: Likewise.
27343 * stdio-common/printf-prs.c: Likewise.
27344 * stdio-common/printf_fp.c: Likewise.
27345 * stdio-common/printf_fphex.c: Likewise.
27346 * stdio-common/printf_size.c: Likewise.
27347 * stdio-common/putw.c: Likewise.
27348 * stdio-common/scanf.c: Likewise.
27349 * stdio-common/sprintf.c: Likewise.
27350 * stdio-common/tmpfile.c: Likewise.
27351 * stdio-common/vfprintf.c: Likewise.
27352 * stdio-common/vfscanf.c: Likewise.
27353 * stdlib/strfmon_l.c: Likewise.
27354 * sunrpc/openchild.c: Likewise.
27355 * sunrpc/xdr_stdio.c: Likewise.
27356 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27357 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27358
273592012-05-24 Roland McGrath <roland@hack.frob.com>
27360
27361 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27362
27363 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27364 in the third column, to generate for the shared library an IFUNC
27365 that uses _dl_vdso_vsym.
27366 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27367 * Makeconfig (object-suffixes-noshared): New variable.
27368
27369 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27370 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27371 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27372 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27373
27374 [BZ #14132]
27375 * include/sys/time.h (__gettimeofday): Remove macro.
27376 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27377 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27378 Remove INTDEF.
27379 (__gettimeofday): Add libc_hidden_def.
27380 (gettimeofday): Add libc_hidden_weak.
27381 * sysdeps/mach/gettimeofday.c: Likewise.
27382 * sysdeps/posix/gettimeofday.c: Likewise.
27383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27384 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27386 (__gettimeofday_internal): Remove strong_alias.
27387 (__gettimeofday): Add libc_hidden_def.
27388 (gettimeofday): Add libc_hidden_weak.
27389 * sysdeps/unix/syscalls.list (gettimeofday):
27390 Remove __gettimeofday_internal alias.
27391
273922012-05-24 Daniel Jacobowitz <drow@false.org>
27393 H.J. Lu <hongjiu.lu@intel.com>
27394
27395 [BZ #12495]
27396 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27397 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27398 (largebin_index_32_big): New.
27399 (largebin_index): Use it for 16-byte alignment.
27400 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27401 correction with front_misalign.
27402
274032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27404
27405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27407 Likewise.
27408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27409 Likewise.
27410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27411 Likewise.
27412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27413 Likewise.
27414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27415 Likewise.
27416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27417 Likewise.
27418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27419 Likewise.
27420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27421 Likewise.
27422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27423 Likewise.
27424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27425 Likewise.
27426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27427 Likewise.
27428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27429 Likewise.
27430
27431 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27432 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27433
274342012-05-24 Joseph Myers <joseph@codesourcery.com>
27435
27436 [BZ #10846]
27437 [BZ #14036]
27438 * math/libm-test.inc (exp_test): Add test from bug 14036.
27439 (pow_test): Add test from bug 10846.
27440
27441 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27442 and other flags.
27443 (special_function): Do not include flags in test name.
27444 (parse_args): Likewise.
27445 * sysdeps/i386/fpu/libm-test-ulps: Update.
27446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27447 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27448 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27450
27451 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27452 exceptions.
27453 * math/libm-test.inc ("Philosophy"): Update comment about
27454 exception testing.
27455 (UNDERFLOW_EXCEPTION): New macro.
27456 (UNDERFLOW_EXCEPTION_OK): Likewise.
27457 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27458 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27459 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27460 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27461 (INVALID_EXCEPTION_OK): Update value.
27462 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27463 (OVERFLOW_EXCEPTION_OK): Likewise.
27464 (IGNORE_ZERO_INF_SIGN): Likewise.
27465 (test_exceptions): Handle underflow exceptions.
27466 (acos_test): Update for underflow exception expectations.
27467 (cexp_test): Likewise.
27468 (clog_test): Likewise.
27469 (clog10_test): Likewise.
27470 (csqrt_test): Likewise.
27471 (ctan_test): Likewise.
27472 (ctanh_test): Likewise.
27473 (exp_test): Likewise.
27474 (exp10_test): Likewise.
27475 (exp2_test): Likewise.
27476 (expm1_test): Likewise.
27477 (fma_test): Likewise.
27478 (j0_test): Likewise.
27479 (jn_test): Likewise.
27480 (nexttoward_test): Likewise.
27481 (pow_test): Likewise.
27482 (scalbn_test): Likewise.
27483 (scalbln_test): Likewise.
27484 (tan_test): Likewise.
27485 (y1_test): Likewise.
27486 * sysdeps/i386/fpu/libm-test-ulps: Update.
27487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27488
274892012-05-23 David S. Miller <davem@davemloft.net>
27490
27491 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27492 (__libc_sigaction): Remove unused local variables.
27493
274942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27495
27496 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27497
274982012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27499
27500 mktime: avoid signed integer overflow
27501 * time/mktime.c (__mktime_internal): Do not mishandle the case
27502 where diff == INT_MIN.
27503
27504 mktime: simplify computation of average
27505 * time/mktime.c (ranged_convert): Use new time_t_avg function
27506 instead of rolling our own (probably-slower) code.
27507
27508 mktime: do not assume signed right shift propagates sign bit
27509 * time/mktime.c (isdst_differ): New static function.
27510 (__mktime_internal): No need to normalize tm_isdst now.
27511 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27512 tm_isdst values.
27513
27514 mktime: merge another wrapv change from gnulib
27515 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27516 from some compilers.
27517
27518 mktime: remove incorrect attempt at unusual arithmetics
27519 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27520 The code didn't really work on such machines anyway.
27521 (TYPE_MINIMUM): Assume two's complement.
27522 (twos_complement_arithmetic): Verify that long_int and time_t
27523 are two's complement (or unsigned, in the latter case).
27524
27525 mktime: check signed shifts on long_int and time_t, too
27526 * time/mktime.c (SHR): Check that shifts work as desired
27527 on the types long_int and time_t too, as SHR is used on
27528 such types.
27529
27530 mktime: do not assume 'long' is wide enough
27531 * time/mktime.c (verify): Move decl up.
27532 (long_int): New type.
27533 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27534 to remove assumption in the code that 'long' is wide enough to
27535 store year values. This assumption is not true on x32 and on
27536 some non-glibc platforms.
27537
27538 mktime: merge wrapv change from gnulib
27539 * time/mktime.c (WRAPV): New macro.
27540 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27541 (guess_time_tm, __mktime_internal): Do not assume that signed
27542 integer overflow wraps around; modern compilers generate code
27543 where this assumption is no longer valid.
27544
275452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27546
27547 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27548 Replace "jmp L(pseudo_end)" with "ret".
27549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27550 Likewise.
27551
275522012-05-23 Andreas Jaeger <aj@suse.de>
27553
27554 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27555 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27556
275572012-05-23 Andreas Jaeger <aj@suse.de>
27558 Maximilian Attems <max@stro.at>
27559
27560 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27561 New macros.
27562
275632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27564
27565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27566 code so that pseudo_end is just ret and the stack pointer is
27567 correct also for static library in error case.
27568
275692012-05-23 Joseph Myers <joseph@codesourcery.com>
27570
27571 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27572 move to syscalls.list.
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27577
27578 * manual/install.texi (Running make install): Do not mention Linux
27579 kernel version for which pt_chown is not needed.
27580 (Linux): Do not mention problems with nscd with 2.0 kernels.
27581 * INSTALL: Regenerated.
27582
275832012-05-23 Andreas Jaeger <aj@suse.de>
27584
27585 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27586 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27587 macro.
27588 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27590 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27592 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27594 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27596 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27598 * sysdeps/unix/sysv/linux/bits/in.h
27599 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27600
276012012-05-22 Roland McGrath <roland@hack.frob.com>
27602
27603 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27604 (PREPARE_VERSION): Just use assert instead, it will be elided
27605 under [NDEBUG] anyway.
27606
276072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27608
27609 * sysdeps/unix/sysv/linux/Makefile: Include
27610 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27611 (sysdep_routines): Remove sysctl.
27612 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27613 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27614 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27615 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27616 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27617
276182012-05-22 Andreas Jaeger <aj@suse.de>
27619
27620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27621 that pseudo_end is just ret and the stack pointer is correct also
27622 for static library in error case.
27623
276242012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27625
27626 [BZ #14122]
27627 * nss/nsswitch.c (defconfig_entries): New variable.
27628 (__nss_database_lookup): Don't leak defconfig entries.
27629 (nss_parse_service_list): Don't leak on error paths.
27630 (free_database_entries): New function.
27631 (free_defconfig): New function.
27632 (free_mem): Move common code to free_database_entries.
27633
276342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27635
27636 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27637 Add arch_prctl.
27638 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27639
27640 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27641 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27643 New macro.
27644 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27645 (INTERNAL_SYSCALL_TYPES): Likewise.
27646 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27647 (LOAD_REGS_TYPES_[1-6]): Likewise.
27648 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27649 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27650
276512012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27652
27653 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27654 copysignl for GLIBC_2_0.
27655 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27656 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27658 logbl for GLIBC_2_0.
27659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27660 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27661
276622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27663
27664 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27665 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27666
27667 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27668 Use "neg %eax".
27669
27670 * time/mktime.c: Update copyright years.
27671
276722012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27673
27674 mktime: merge comment-quoting-style change from gnulib
27675 * time/mktime.c: Quote 'like this' in comments.
27676 The GNU coding standards suggest that we no longer quote `like this',
27677 as "`" and "'" are typically rendered asymmetrically nowadays.
27678 The typical gnulib style is to quote 'like this' when quoting
27679 code, and "like this" when quoting English.
27680
27681 * time/mktime.c (compile-command): Add "-I.".
27682
27683 mktime: merge mktime-internal.h change from gnulib
27684 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27685
27686 mktime: merge time_r change from gnulib
27687 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27688
27689 mktime: merge DEBUG change from gnulib
27690 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27691 case system <time.h> has a #define.
27692
27693 mktime: merge <sys/types.h> change from gnulib
27694 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27695 since <time.t> is now guaranteed to define time_t.
27696
27697 mktime: merge HAVE_CONFIG_H change from gnulib
27698 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27699
277002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27703 Use "neg %eax".
27704
27705 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27706 __rlim_t cast.
27707 (struct rusage): Use anonymous union to pad each field to
27708 __syscall_slong_t.
27709
277102012-05-21 David S. Miller <davem@davemloft.net>
27711
27712 * Makefules (o-iterator): Remove .s cases.
27713 (compile-command.s): Delete.
27714 (COMPILE.s): Delete.
27715 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27716
277172012-05-21 Joseph Myers <joseph@codesourcery.com>
27718
27719 * configure.in (libc_cv_predef_stack_protector): Only consider
27720 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27721 * configure: Regenerated.
27722
277232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27724
27725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27726 New macro. Use R*LP on int and pointer.
27727 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27728 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27729 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27730 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27731
27732 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27733 [__WORDSIZE_TIME64_COMPAT32] instead of
27734 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27735 (struct utmp): Likewise.
27736 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27737 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27738 Renamed to ...
27739 (__WORDSIZE_TIME64_COMPAT32): This.
27740 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27741 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27742 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27743 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27744 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27745 (__WORDSIZE_TIME64_COMPAT32): New macro.
27746
277472012-05-21 Andreas Jaeger <aj@suse.de>
27748
27749 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27750 only if [SHARED]. Add prototype for __wcschr_ia32.
27751
277522012-05-21 Roland McGrath <roland@hack.frob.com>
27753
27754 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27755 of %rbp unmolested in the jmp_buf while mangling the low bits.
27756 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27757 unmolested high bits of %rbp while demangling the low bits.
27758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27759
277602012-05-21 Andreas Jaeger <aj@suse.de>
27761
27762 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27763 * sunrpc/svc_simple.c: Use it for registerrpc.
27764 * sunrpc/xcrypt.c: Use it for passwd2des.
27765
27766 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27767
277682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27771 Don't define if [__SYSCALL_WORDSIZE != 32].
27772 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27773 New macro.
27774
277752012-05-21 Bruno Haible <bruno@clisp.org>
27776 Andreas Jaeger <aj@suse.de>
27777
27778 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27779 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27780 inptr and inend for must_buffer_ch.
27781 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27782 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27783 * stdio-common/Makefile (tests): Remove bug15.
27784 (bug15-ENV): Remove macro.
27785 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27786 anymore.
27787
277882012-05-19 Andreas Jaeger <aj@suse.de>
27789 Roland McGrath <roland@hack.frob.com>
27790
27791 * manual/contrib.texi: Completely rewritten. It contains now an
27792 alphabetical list of contributors and their contributions.
27793
277942012-05-21 Richard Henderson <rth@twiddle.net>
27795
27796 * misc/getauxval.c (__getauxval): Use unsigned long int.
27797 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27798 (getauxval): Use unsigned long int.
27799
278002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27801
27802 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27803
278042012-05-21 Roland McGrath <roland@hack.frob.com>
27805
27806 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27807 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27808 __alignof__ (long double).
27809
278102012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27811
27812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27813
278142012-05-20 Richard Henderson <rth@twiddle.net>
27815
27816 * misc/getauxval.c: New file.
27817 * misc/sys/auxv.h: New file.
27818 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27819 (routines): Add getauxval.
27820 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27821 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27822 * elf/dl-sysdep.c (_dl_auxv): Remove.
27823 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27824 * elf/dl-support.c (_dl_auxv): New variable.
27825 (_dl_aux_init): Initialize it.
27826 * manual/startup.texi (Auxiliary Vector): New node.
27827 * sysdeps/generic/bits/hwcap.h: New file.
27828 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27829 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27830 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27831 * sysdeps/sparc/sysdep.h: ... here. Include it.
27832 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27835 Update.
27836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27844
278452012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27846
27847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27848
278492012-05-19 David S. Miller <davem@davemloft.net>
27850
27851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27852
278532012-05-19 Joseph Myers <joseph@codesourcery.com>
27854
27855 [BZ #14123]
27856 * math/s_ccosh.c: Include <float.h>
27857 (__ccosh): Avoid internal overflow calculating sinh and cosh
27858 values before multiplying by sin and cos values.
27859 * math/s_ccoshf.c: Likewise.
27860 * math/s_ccoshl.c: Likewise.
27861 * math/s_csin.c: Likewise.
27862 * math/s_csinf.c: Likewise.
27863 * math/s_csinl.c: Likewise.
27864 * math/s_csinh.c: Likewise.
27865 * math/s_csinhf.c: Likewise.
27866 * math/s_csinhl.c: Likewise.
27867 * math/libm-test.inc (ccos_test): Add more tests.
27868 (ccosh_test): Likewise.
27869 (csin_test): Likewise.
27870 (csinh_test): Likewise.
27871 * sysdeps/i386/fpu/libm-test-ulps: Update.
27872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27873
278742012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27875
27876 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27877 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27878
27879 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27880
278812012-05-19 Joseph Myers <joseph@codesourcery.com>
27882
27883 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27884 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27885 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27886 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27887 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27888 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27889 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27890 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27891 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27892 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27893 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27894 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27895 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27896 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27897 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27898 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27899 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27900 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27901 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27902 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27903 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27904 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27905 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27906 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27907 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27908 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27909 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27910 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27911 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27912 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27913 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27914
279152012-05-18 Andreas Jaeger <aj@suse.de>
27916
27917 * csu/.gitignore: Delete.
27918
279192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27920
27921 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27922 (timex): Use __syscall_slong_t.
27923
279242012-05-18 Andreas Jaeger <aj@suse.de>
27925 Carlos O'Donell <carlos_odonell@mentor.com>
27926
27927 * manual/install.texi (Configuring and compiling): Update
27928 description about files modified in the source directory.
27929 * INSTALL: Regenerated.
27930
279312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27932
27933 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27934 value. Use "or" to set return value to -1.
27935 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27936 negate return value.
27937
279382012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27939
27940 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27941 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27942 failure if the compiler has Graphite support disabled.
27943 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27944 Likewise.
27945 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27946 CFLAGS-memmove.c): Likewise.
27947 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27948 Likewise.
27949
279502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27951
27952 * sysdeps/x86_64/x32/_itoa.h: New file.
27953
27954 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27955 getdents system call only if kernel and user dirents have the
27956 same d_ino and d_off.
27957
27958 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27959 LLONG_MAX != LONG_MAX.
27960 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27961 (_fitoa_word): Likewise.
27962
27963 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27964 years.
27965 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27966 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27967 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27968
27969 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27970 include <bits/wordsize.h>. Check __x86_64__ instead of
27971 __WORDSIZE.
27972 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27973 if __x86_64__ is defined. Use anonymous union on fpstate.
27974
27975 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27976 anonymous union.
27977
279782012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27979
27980 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27981 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27983 Refer to _rtld_local_ro instead of _rtld_global_ro.
27984 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27985 Likewise.
27986 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27987 Likewise.
27988 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27989 Likewise.
27990 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27991 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27992 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27993
27994 * sysdeps/powerpc/powerpc32/dl-machine.c
27995 (__elf_machine_runtime_setup) [PROF]: Don't reference
27996 _dl_prof_resolve.
27997
279982012-05-18 Andreas Jaeger <aj@suse.de>
27999
28000 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28001 function only available for GCCs before 3.4 since GCC 3.4
28002 introduced a builtin.
28003 (lrint): Likewise.
28004 (llrintf): Likewise.
28005 (llrint): Likewise.
28006 (fmaxf): Likewise.
28007 (fmax): Likewise.
28008 (fminf): Likewise.
28009 (fmin): Likewise.
28010 (rint): Likewise.
28011 (rintf): Likewise.
28012 (nearbyint): Likewise.
28013 (nearbyintf): Likewise.
28014 (ceil): Likewise.
28015 (ceilf): Likewise.
28016 (floor): Likewise.
28017 (floorf): Likewise.
28018
280192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28020
28021 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28022 on both fields and cast pointer to __syscall_ulong_t.
28023
28024 * bits/types.h (__fsword_t): New type.
28025 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28026 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28028 (__FSWORD_T_TYPE): Likewise.
28029 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28030 (__FSWORD_T_TYPE): Likewise.
28031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28032 (__FSWORD_T_TYPE): Likewise.
28033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28034 (__FSWORD_T_TYPE): Likewise.
28035 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28036 __SWORD_TYPE with __fsword_t.
28037 (statfs64): Likewise.
28038
280392012-05-17 David S. Miller <davem@davemloft.net>
28040
28041 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28042
280432012-05-17 Andreas Jaeger <aj@suse.de>
28044
28045 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28046 warning.
28047
280482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28049
28050 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28051
280522012-05-17 Andreas Jaeger <aj@suse.de>
28053
28054 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28055 when it is used.
28056
280572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28058
28059 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28060
280612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28062
28063 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28064 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28065
280662012-05-17 Andreas Jaeger <aj@suse.de>
28067 Carlos O'Donell <carlos_odonell@mentor.com>
28068
28069 [BZ #14059]
28070 * sysdeps/x86_64/multiarch/init-arch.h
28071 (bit_YMM_Usable): Rename to...
28072 (bit_AVX_Usable): ... this.
28073 (bit_FMA4_Usable): New macro.
28074 (bit_XMM_state): New macro.
28075 (bit_YMM_state): New macro.
28076 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28077 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28078 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28079 (CPUID_OSXSAVE): New macro.
28080 (CPUID_AVX): New macro.
28081 (CPUID_FMA4): New macro.
28082 (index_YMM_Usable): Rename to...
28083 (index_AVX_Usable): ... this.
28084 (HAS_AVX): Use HAS_ARCH_FEATURE.
28085 (HAS_FMA4): Likewise.
28086 (HAS_YMM_USABLE): Remove.
28087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28088 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28089 are present.
28090 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28091 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28092 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28093 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28094 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28095
280962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28097
28098 * math/libm-test.c: Support platforms without multiple rounding modes.
28099 * math/bug-nextafter.c: Support platforms without FP exceptions.
28100 * math/bug-nexttoward.c: Likewise.
28101 * math/test-fenv.c: Likewise.
28102 * math/test-misc.c: Likewise.
28103 * stdlib/bug-getcontext.c: Likewise.
28104
281052012-05-17 Andreas Jaeger <aj@suse.de>
28106
28107 * manual/examples/search.c (critter_cmp): Change signature to
28108 avoid warnings.
28109 * manual/string.texi (Collation Functions): Likewise.
28110
281112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28112
28113 * bits/types.h: Fold copyright years.
28114 * bits/typesizes.h: Likewise.
28115 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28119 * time/time.h: Likewise.
28120
281212012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28122
28123 [BZ #208]
28124 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28125 in instead of returning them. Return void.
28126 (__libc_mallinfo): Accumulate over all arenas.
28127 (__malloc_stats): Adjust for change in int_mallinfo interface.
28128
281292012-05-16 Roland McGrath <roland@hack.frob.com>
28130
28131 [BZ #10375]
28132 * configure.in (NM): Add AC_CHECK_TOOL for it.
28133 (libc_extra_cflags): New substituted variable.
28134 Check for -fstack-protector being used implicitly.
28135 * configure: Regenerated.
28136 * config.make.in (config-extra-cflags): New variable,
28137 gets @libc_extra_cflags@.
28138 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28139
28140 [BZ #10375]
28141 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28142 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28143 * configure: Regenerated.
28144 * config.make.in (CPPUNDEFS): New substituted variable.
28145 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28146 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28147 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28148
281492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28150
28151 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28152 (mq_attr): Use __syscall_slong_t.
28153
281542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28155
28156 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28157 Check __x86_64__ instead of __WORDSIZE.
28158 (_STAT_VER_LINUX): Likewise.
28159 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28160 __syscall_ulong_t and __syscall_slong_t.
28161 (stat64): Likewise.
28162
281632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28164
28165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28166
281672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28168
28169 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28170
281712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28174 __syscall_ulong_t.
28175
28176 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28177 include <bits/wordsize.h>. Check __x86_64__ instead of
28178 __WORDSIZE.
28179 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28180 defined.
28181 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28182
28183 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28184 include <bits/wordsize.h>. Check __x86_64__ instead of
28185 __WORDSIZE.
28186 (user_regs_struct): Use "__extension__ unsigned long long"
28187 instead of "unsigned long" if __x86_64__ is defined.
28188 (user): Likewise. Pad after pointer field if __ILP32__ is
28189 defined.
28190
281912012-05-16 Joseph Myers <joseph@codesourcery.com>
28192
28193 * configure.in (makeinfo): Require version 4.5 or later. Allow
28194 versions 5 to 9.
28195 * configure: Regenerated.
28196 * manual/install.texi (texinfo): Increase version requirement to
28197 4.5 or later.
28198 * INSTALL: Regenerated.
28199
28200 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28201
282022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28203
28204 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28205
28206 * sysdeps/x86_64/x32/ffs.c: New file.
28207
28208 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28209 __syscall_ulong_t.
28210 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28211 defined. Use __syscall_ulong_t.
28212 (shminfo): Use __syscall_ulong_t.
28213 (shm_info): Likewise.
28214
28215 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28216 __syscall_ulong_t.
28217
28218 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28219 <bits/wordsize.h>.
28220 (msgqnum_t): Use __syscall_ulong_t.
28221 (msglen_t): Likewise.
28222 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28223 __syscall_ulong_t.
28224
28225 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28226 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28227
28228 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28229
28230 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28231 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28232
28233 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28234 __syscall_slong_t.
28235
28236 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28237 include <bits/wordsize.h>. Check __x86_64__ instead of
28238 __WORDSIZE.
28239
28240 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28241 "unsigned long long int" if __x86_64__ is defined.
28242 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28243
28244 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28245 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28246 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28247
28248 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28249 <stdint.h>.
28250 (GET_PC): Cast to uintptr_t first.
28251 (GET_FRAME): Likewise.
28252 (GET_STACK): Likewise.
28253
28254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28255 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28257 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28259 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28261 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28262 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28264 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28268 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28272 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28274 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28276 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28278 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28282 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28283
282842012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28285
28286 * Makerules (+depfiles): Also collect depfiles from .oS in
28287 $(extra-objs).
28288 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28289 .oS, $(libnldbl-routines)).
28290
28291 * Makerules (native-compile-mkdep-flags): Define.
28292 * sunrpc/Makefile (extra-objs): Add $(addprefix
28293 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28294 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28295 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28296 calling $(make-target-directory).
28297
282982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28299
28300 * bits/types.h (__snseconds_t): Removed.
28301 * time/time.h (struct timespec): Replace __snseconds_t with
28302 __syscall_slong_t.
28303 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28304 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28305 Likewise.
28306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28307 (__SNSECONDS_T_TYPE): Likewise.
28308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28309 (__SNSECONDS_T_TYPE): Likewise.
28310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28311 (__SNSECONDS_T_TYPE): Likewise.
28312
283132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28314
28315 * sysdeps/mach/hurd/bits/typesizes.h
28316 (__SYSCALL_SLONG_TYPE): New macro.
28317 (__SYSCALL_ULONG_TYPE): Likewise.
28318
283192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28320
28321 * bits/types.h (__syscall_slong_t): New type.
28322 (__syscall_ulong_t): Likewise.
28323
28324 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28325 (__SYSCALL_ULONG_TYPE): Likewise.
28326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28327 (__SYSCALL_SLONG_TYPE): Likewise.
28328 (__SYSCALL_ULONG_TYPE): Likewise.
28329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28330 (__SYSCALL_SLONG_TYPE): Likewise.
28331 (__SYSCALL_ULONG_TYPE): Likewise.
28332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28333 (__SYSCALL_SLONG_TYPE): Likewise.
28334 (__SYSCALL_ULONG_TYPE): Likewise.
28335
283362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28337
28338 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28339 Add sigaltstack-offsets.sym.
28340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28341 <sigaltstack-offsets.h>.
28342 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28343 longjmp_msg pointer.
28344 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28345 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28346 signal stack.
28347 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28348
283492012-05-15 Joseph Myers <joseph@codesourcery.com>
28350
28351 * elf/stackguard-macros.h: Remove file.
28352 * sysdeps/generic/stackguard-macros.h: New file.
28353 * sysdeps/i386/stackguard-macros.h: Likewise.
28354 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28355 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28356 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28357 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28358 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28359 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28360 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28361 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28362 <elf/stackguard-macros.h>.
28363
28364 [BZ #14109]
28365 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28366 __aligned__ in attribute.
28367 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28368 (gregset_t): Likewise.
28369
283702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28371
28372 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28373 * sysdeps/x86_64/64/Implies-after: Here. New file.
28374 * sysdeps/x86_64/x32/Implies-after: New file.
28375
283762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28377
28378 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28379 and access return value for _dl_profile_fixup. Use R10_LP to
28380 load frame size.
28381
283822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28383
28384 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28385
283862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28387
28388 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28389 * sysdeps/x86_64/x32/sysdep.h: New file.
28390
283912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28392
28393 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28394 * sysdeps/x86_64/setjmp.S: Likewise.
28395
283962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28397
28398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28400 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28401 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28402 remove unused global constant.
28403
284042012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28405
28406 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28407 include of <not-cancel.h>.
28408
284092012-05-15 Roland McGrath <roland@hack.frob.com>
28410
28411 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28412
284132012-05-15 Jeff Law <law@redhat.com>
28414 Andreas Jaeger <aj@suse.de>
28415
28416 [BZ #13594]
28417 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28418 out from...
28419 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28420 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28421 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28422 code changing __hst_map_handle.map.
28423
284242012-05-15 Roland McGrath <roland@hack.frob.com>
28425
28426 * configure.in (sysnames): Look for Implies-before and Implies-after
28427 files.
28428 * configure: Regenerated.
28429
284302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28431
28432 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28433 8-byte data alignment with LP_SIZE alignment.
28434
284352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28436
28437 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28438 into R10_LP.
28439
284402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28441
28442 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28443
284442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28445
28446 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28447 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28448 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28449 Likewise.
28450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28451
284522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28453
28454 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28455 (stackinfo_sub_sp): Likewise.
28456
284572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28458
28459 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28460 RAX_LP.
28461
284622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28463
28464 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28465 into R*_LP.
28466
284672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28468
28469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28470 sizes into R*_LP.
28471
284722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28473
28474 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28475
284762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28477
28478 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28479 into R11_LP and load __x86_64_shared_cache_size_half into
28480 R8_LP.
28481
284822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28483
28484 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28485 R8_LP.
28486
284872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28488
28489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28490 logb for POWER7.
28491 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28492 logbf for POWER7.
28493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28494 logbl for POWER7.
28495 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28496 powerpc32/power7/fpu/s_logb.c via #include.
28497 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28498 powerpc32/power7/fpu/s_logbf.c via #include.
28499 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28500 powerpc32/power7/fpu/s_logbl.c via #include.
28501
285022012-05-15 Joseph Myers <joseph@codesourcery.com>
28503
28504 * README.libm: Remove file.
28505
285062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28507
28508 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28509 count for x32. Use R*_LP and omit operand-size suffix.
28510
285112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28512
28513 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28514 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28515 * sysdeps/x86_64/x32/shlib-versions: New file.
28516
285172012-05-14 Roland McGrath <roland@hack.frob.com>
28518
28519 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28520 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28521 Use _dl_fatal_printf instead.
28522
285232012-05-14 Joseph Myers <joseph@codesourcery.com>
28524
28525 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28526 set if not set by the user. Do not allow for being unset.
28527 * sysdeps/unix/sysv/linux/configure: Regenerated.
28528
285292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28530
28531 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28532 the `q' suffix from lea and replace .quad with ASM_ADDR.
28533
285342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28535
28536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28537 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28538 instead of $17.
28539 (PTR_DEMANGLE): Likewise.
28540
285412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28542
28543 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28544 (LP_OP): Likewise.
28545 (ASM_ADDR): Likewise.
28546 (RAX_LP): Likewise.
28547 (RBP_LP): Likewise.
28548 (RBX_LP): Likewise.
28549 (RCX_LP): Likewise.
28550 (RDI_LP): Likewise.
28551 (RSI_LP): Likewise.
28552 (RSP_LP): Likewise.
28553 (R8_LP): Likewise.
28554 (R9_LP): Likewise.
28555 (R10_LP): Likewise.
28556 (R10_LP): Likewise.
28557 (R11_LP): Likewise.
28558 (R12_LP): Likewise.
28559 (R13_LP): Likewise.
28560 (R14_LP): Likewise.
28561 (R15_LP): Likewise.
28562
285632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28564
28565 * sysdeps/x86_64/x32/dl-machine.h: New file.
28566
285672012-05-14 Andreas Jaeger <aj@suse.de>
28568
28569 * manual/Makefile (subdir): Remove export of subdir.
28570 (all): Remove target.
28571 (.PHONY): Remove all from list.
28572 (mkinstalldirs): Remove.
28573 (.PHONY): Remove installdirs from list.
28574 ($(inst_infodir)/libc.info): Use make-target-directory.
28575 (installdirs): Remove.
28576 (subdir_%): Remove.
28577 (glibc-targets): Remove.
28578 (lib): Remove.
28579 (stubs): Remove.
28580 ($(objpfx)stubs ../po/manual.pot): Remove.
28581 ($(objpfx)stamp%): Remove.
28582 (make-target-directory): Remove.
28583 (subdir_install): Remove.
28584 (routines): Remove.
28585 (aux): Remove.
28586 (sources): Remove.
28587 (objects): Remove.
28588 (headers): Remove.
28589
28590 [BZ #13750]
28591 * manual/.gitignore: Remove, it's not needed anymore.
28592 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28593 all files in it.
28594 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28595 directory.
28596 (texis): Renamed to $(objpfx)texis.
28597 (texis-path): New, contains path to generated files.
28598 (chapters.%): Use texis-path for complete path, add extra argument
28599 libc-texinfo.sh.
28600 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28601 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28602 (summary,texi, stamp-summary): Use complete path of
28603 files. Generate files in build dir.
28604 (dir-add.texi): Build in build dir.
28605 (libm-err.texi,stamp-libm-err): Likewise.
28606 (version.texi, stamp-version): Likewise.
28607 (.%c.texi): Likewise.
28608 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28609 (mostlyclean): Remove target.
28610 (realclean): Remove target.
28611 (generated): Add new variable with contents from mostlyclean and
28612 realclean, remove entries duplicated in common-mostlyclean, add
28613 stamp-libm-err and stamp-version.
28614 (generated-dirs): Add libc directory.
28615 ($(inst_infodir)/libc.info): Install files from build dir.
28616
28617 * manual/install.texi (Configuring and compiling): Adjust since
28618 the info files are not part of the tar ball anymore.
28619
286202012-05-14 Andreas Jaeger <aj@suse.de>
28621
28622 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28623 variable.
28624
286252012-05-14 Joseph Myers <joseph@codesourcery.com>
28626
28627 [BZ #13717]
28628 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28629 to 2.2.0 where earlier.
28630 * sysdeps/unix/sysv/linux/configure: Regenerated.
28631 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28632 Remove conditional code.
28633 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28634 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28635 Remove conditional code.
28636 [!__NR_lchown]: Likewise.
28637 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28638 [__NR_lchown]: Likewise.
28639 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28640 comment referencing __ASSUME_LCHOWN_SYSCALL.
28641 * sysdeps/unix/sysv/linux/i386/sigaction.c
28642 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28643 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28644 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28645 Remove conditional code.
28646 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28647 (__protocol_available): Remove #if 0 code.
28648 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28649 conditional code.
28650 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28651 * sysdeps/unix/sysv/linux/kernel-features.h
28652 (__ASSUME_GETCWD_SYSCALL): Don't define.
28653 (__ASSUME_REALTIME_SIGNALS): Likewise.
28654 (__ASSUME_PREAD_SYSCALL): Likewise.
28655 (__ASSUME_PWRITE_SYSCALL): Likewise.
28656 (__ASSUME_POLL_SYSCALL): Likewise.
28657 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28658 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28659 non-SPARC.
28660 (__ASSUME_SIOCGIFNAME): Don't define.
28661 (__ASSUME_MSG_NOSIGNAL): Likewise.
28662 (__ASSUME_SENDFILE): Define unconditionally.
28663 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28664 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28665 conditional code.
28666 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28667 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28668 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28669 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28670 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28671 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28672 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28674 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28686 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28692 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28697 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28698 Remove conditional code.
28699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28700 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28701 Remove conditional code.
28702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28703 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28704 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28705 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28706 Remove conditional code.
28707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28708 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28709 Remove conditional code.
28710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28711 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28712 Remove conditional code.
28713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28714 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28715 Remove conditional code.
28716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28717 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28718 Remove conditional code.
28719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28720 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28723 * sysdeps/unix/sysv/linux/sigaction.c
28724 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28725 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28726 * sysdeps/unix/sysv/linux/sigpending.c
28727 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28728 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28729 * sysdeps/unix/sysv/linux/sigprocmask.c
28730 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28731 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28732 * sysdeps/unix/sysv/linux/sigsuspend.c
28733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28736 (__libc_missing_rt_sigs): Remove.
28737 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28738 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28739 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28740 Remove conditional code.
28741 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28742 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28743 return 1.
28744 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28745 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28746 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28747 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28748
287492012-05-14 Andreas Jaeger <aj@suse.de>
28750
28751 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28752 it's not used in glibc.
28753 (__coshm1): Likewise.
28754 (__acosh1p): Likewise.
28755 (__sgn): Likewise.
28756
28757 * manual/string.texi (Copying and Concatenation): Add missing
28758 variable in concat example.
28759 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28760
287612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28762
28763 [BZ #14103]
28764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28765 __builtin_clzl with __builtin_clzll.
28766
287672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28768
28769 [BZ #14104]
28770 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28771 libc_freeres_ptr.
28772
287732012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28774
28775 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28776 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28777 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28778 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28779
287802012-05-14 Mike Frysinger <vapier@gentoo.org>
28781
28782 * NEWS: Update ia64 info.
28783
287842012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28785
28786 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28787 used as bcopy.
28788
287892012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28790
28791 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28792 * sysdeps/unix/syscalls.list (dup3): Likewise.
28793 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28794 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28795
287962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28797
28798 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28799 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28800
288012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28802
28803 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28804 thread pointer.
28805 (TLS_IE): Use mov/add instead of movq/addq to load thread
28806 pointer.
28807 (TLS_GD_PREFIX): New.
28808 (TLS_GD): Use it.
28809
288102012-05-11 David S. Miller <davem@davemloft.net>
28811
28812 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28813 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28814 (_FPU_SETCW): Likewise.
28815
288162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28819 is 32-byte aligned.
28820
288212012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28822
28823 [BZ #11837]
28824 * iconvdata/gb18030.c: Update tables.
28825 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28826 characters specially.
28827 (BODY for TO_LOOP): Add encoding of missing ranges.
28828
288292012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28830
28831 [BZ #13673]
28832 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28833 * sysdeps/mach/hurd/dup3.c: Likewise.
28834 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28835 * sysdeps/powerpc/memmove.c:: Likewise.
28836
288372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28838
28839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28840 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28841
288422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 * elf/elf.h (R_X86_64_RELATIVE64): New.
28845 (R_X86_64_NUM): Updated.
28846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28847 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28848 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28849 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28850 tst-quad1pie tst-quad2pie
28851 (modules-names): Add tst-quadmod1 tst-quadmod2.
28852 ($(objpfx)tst-quad1): New dependency.
28853 ($(objpfx)tst-quad2): Likewise.
28854 ($(objpfx)tst-quad1pie): Likewise.
28855 ($(objpfx)tst-quad2pie): Likewise.
28856 * sysdeps/x86_64/tst-quad1.c: New file.
28857 * sysdeps/x86_64/tst-quad1pie.c: New file.
28858 * sysdeps/x86_64/tst-quad2.c: Likewise.
28859 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28860 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28861 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28862 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28863 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28864
288652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28866
28867 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28868 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28869 * streams/stropts.h (t_scalar_t): Define type.
28870
28871 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28872 (_PATH_PRESERVE): Set to "/var/lib".
28873 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28874
28875 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28876 instead of int.
28877
28878 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28879 if __dir_mkfile succeeded.
28880
28881 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28882 checking for _hurd_dtablesize. Unlock it right after having
28883 finished _hurd_dtable allocation.
28884
288852012-05-10 Thomas Schwinge <thomas@schwinge.name>
28886
28887 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28888 * sysdeps/mach/hurd/configure: Regenerated.
28889 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28890 special-casing to...
28891 * sysdeps/gnu/configure.in: ... this new file.
28892 * sysdeps/unix/sysv/linux/configure: Regenerated.
28893 * sysdeps/gnu/configure: New generated file.
28894
28895 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28896 for Linux: use nsec instead of usec, as well as:
28897 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28898 members of type struct timespec.
28899 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28900 New macros.
28901 (struct stat64): Likewise.
28902 (_STATBUF_ST_NSEC): New macro.
28903 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28904
28905 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28906 __strtoul_internal rather than strtoul.
28907
289082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28909
28910 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28911 and reject them.
28912
289132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28914
28915 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28916 which preserves existing values.
28917 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28918
289192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28920
28921 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28922 TIMEOUT values. Return EINVAL for NFDS values either negative or
28923 greater than FD_SETSIZE.
28924
289252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28926
28927 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28928 allocated, call __vm_protect to finish enabling the existing space, and
28929 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28930 allocate the remainder.
28931
289322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28933
28934 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28935 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28936
289372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28938
28939 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28940 sysdeps/mach/hurd/readlink.c.
28941
28942 * posix/tst-sysconf.c (posix_options): Only use
28943 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28944 _POSIX_SYNCHRONIZED_IO when they are defined
28945 * sysdeps/mach/hurd/bits/posix_opt.h:
28946 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28947 (_XOPEN_REALTIME): Undefine macro.
28948 (_XOPEN_REALTIME_THREADS): Undefine macro.
28949 (_XOPEN_SHM): Undefine macro.
28950 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28951 macro to -1.
28952 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28953 macro to -1.
28954 (_POSIX_ASYNC_IO): Undefine macro.
28955 (_POSIX_PRIORITIZED_IO): Undefine macro.
28956 (_POSIX_SPIN_LOCKS): Define macro to -1.
28957
28958 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28959 SA_NODEFER, SA_RESETHAND.
28960 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28961 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28962 F_DUPFD_CLOEXEC.
28963
289642012-05-10 Thomas Schwinge <thomas@schwinge.name>
28965
28966 * elf/Makefile (pldd-modules): Define unconditionally.
28967
289682012-05-10 Thomas Schwinge <thomas@schwinge.name>
28969
28970 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28971
289722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28973
28974 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28975 Return ENOENT when name is empty.
28976 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28977
289782012-05-10 Thomas Schwinge <thomas@schwinge.name>
28979
28980 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28981
28982 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28983
289842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28985
28986 Fix mlock in all cases except non-readable pages.
28987 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28988 instead of VM_PROT_ALL as parameter to __vm_wire function.
28989
28990 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28991 (__mkdir): When path is `/', just fail with EEXIST.
28992 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28993
289942012-05-10 Thomas Schwinge <thomas@schwinge.name>
28995
28996 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28997 <sys/uio.h> (for writev).
28998 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28999 and <sys/param.h> (for MIN).
29000
290012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29002
29003 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29004 REQUESTED_TIME. Properly set the remaining time and return EINTR
29005 if interrupted.
29006
290072012-05-10 Thomas Schwinge <thomas@schwinge.name>
29008
29009 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29010 Depend on against $(link-rpcuserlibs).
29011
290122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29013
29014 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29015 (__libc_stack_end): Do not use attribute_relro.
29016 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29017 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29018 to libthread-provided value.
29019 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29020 attribute_relro.
29021
290222012-05-10 Thomas Schwinge <thomas@schwinge.name>
29023
29024 [BZ #3748]
29025 * bits/libc-lock.h (__libc_once_get): New macro.
29026 * sysdeps/mach/bits/libc-lock.h: Likewise.
29027 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29029 instead of using implementation details.
29030
29031 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29032 * libio/freopen.c: Likewise.
29033 * libio/freopen64.c: Likewise.
29034 * misc/syslog.c: Likewise.
29035 * nscd/connections.c: Likewise.
29036 * nscd/netgroupcache.c: Likewise.
29037 * sysdeps/posix/getcwd.c: Likewise.
29038
290392012-05-10 Roland McGrath <roland@hack.frob.com>
29040
29041 * math/w_ilogbf.c: Add #include <limits.h>.
29042
290432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29044
29045 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29046 path instead of returning without unlocking.
29047
29048 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29049 immediate-write ioctls.
29050 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29051
290522012-05-10 Thomas Schwinge <thomas@schwinge.name>
29053
29054 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29055 __builtin_frame_address instead of making assumptions about the
29056 location of the return address relative to DATA. Force early load of
29057 the return address.
29058 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29059 __builtin_frame_address.
29060
29061 dup3 for GNU Hurd.
29062 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29063 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29064 implement dup3 and do some further code clean-ups.
29065 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29066 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29067
290682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29069
29070 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29071
29072 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29073 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29074 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29075 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29076 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29077 d->port.lock.
29078
29079 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29080 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29081 when handler == SIG_ERR, not when handler != SIG_ERR.
29082
290832012-05-10 Thomas Schwinge <thomas@schwinge.name>
29084
29085 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29086 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29087 definitions.
29088
29089 accept4 for GNU Hurd.
29090 * include/sys/socket.h (__libc_accept4): New prototype.
29091 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29092 to implement __libc_accept4.
29093 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29094 __libc_accept4.
29095 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29096
29097 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29098 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29099 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29100 signal-defines.sym.
29101
291022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29103
29104 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29105
291062012-05-10 Thomas Schwinge <thomas@schwinge.name>
29107
29108 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29109 assertion on O_CLOEXEC flag.
29110 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29111 * hurd/intern-fd.c: Likewise.
29112 * hurd/port2fd.c: Likewise.
29113
291142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29115
29116 [BZ #3906]
29117 * bits/in.h (IPV6_PKTINFO): Define new macro.
29118 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29119
291202012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29121
29122 [BZ #13954]
29123 [BZ #13955]
29124 [BZ #13956]
29125 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29126 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29127 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29128 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29130 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29131 * math/libm-test.inc (logb_test) : Additional logb tests.
29132
291332012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29134 Andreas Jaeger <aj@suse.de>
29135
29136 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29137 * configure: Regenerated.
29138 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29139 * config.make.in (link-obsolete-rpc): New substituted variable.
29140 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29141 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29142 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29143 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29144 so that libc.a contains the symbols.
29145 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29146 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29147 * sunrpc/auth_none.c: Likewise.
29148 * sunrpc/auth_unix.c: Likewise.
29149 * sunrpc/authdes_prot.c: Likewise.
29150 * sunrpc/authuxprot.c: Likewise.
29151 * sunrpc/clnt_gen.c: Likewise.
29152 * sunrpc/clnt_perr.c: Likewise.
29153 * sunrpc/clnt_raw.c: Likewise.
29154 * sunrpc/clnt_simp.c: Likewise.
29155 * sunrpc/clnt_tcp.c: Likewise.
29156 * sunrpc/clnt_udp.c: Likewise.
29157 * sunrpc/clnt_unix.c: Likewise.
29158 * sunrpc/des_crypt.c: Likewise.
29159 * sunrpc/des_soft.c: Likewise.
29160 * sunrpc/get_myaddr.c: Likewise.
29161 * sunrpc/key_call.c: Likewise.
29162 * sunrpc/key_prot.c: Likewise.
29163 * sunrpc/netname.c: Likewise.
29164 * sunrpc/pm_getmaps.c: Likewise.
29165 * sunrpc/pm_getport.c: Likewise.
29166 * sunrpc/pmap_clnt.c: Likewise.
29167 * sunrpc/pmap_prot.c: Likewise.
29168 * sunrpc/pmap_prot2.c: Likewise.
29169 * sunrpc/pmap_rmt.c: Likewise.
29170 * sunrpc/publickey.c: Likewise.
29171 * sunrpc/rpc_cmsg.c: Likewise.
29172 * sunrpc/rpc_common.c: Likewise.
29173 * sunrpc/rpc_dtable.c: Likewise.
29174 * sunrpc/rpc_prot.c: Likewise.
29175 * sunrpc/rpc_thread.c: Likewise.
29176 * sunrpc/rtime.c: Likewise.
29177 * sunrpc/svc.c: Likewise.
29178 * sunrpc/svc_auth.c: Likewise.
29179 * sunrpc/svc_raw.c: Likewise.
29180 * sunrpc/svc_run.c: Likewise.
29181 * sunrpc/svc_tcp.c: Likewise.
29182 * sunrpc/svc_udp.c: Likewise.
29183 * sunrpc/svc_unix.c: Likewise.
29184 * sunrpc/svcauth_des.c: Likewise.
29185 * sunrpc/xcrypt.c: Likewise.
29186 * sunrpc/xdr.c: Likewise.
29187 * sunrpc/xdr_array.c: Likewise.
29188 * sunrpc/xdr_float.c: Likewise.
29189 * sunrpc/xdr_intXX_t.c: Likewise.
29190 * sunrpc/xdr_mem.c: Likewise.
29191 * sunrpc/xdr_rec.c: Likewise.
29192 * sunrpc/xdr_ref.c: Likewise.
29193 * sunrpc/xdr_sizeof.c: Likewise.
29194 * sunrpc/xdr_stdio.c: Likewise.
29195
291962012-05-10 Roland McGrath <roland@hack.frob.com>
29197
29198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29199 change. Update copyright years.
29200
292012012-05-10 Joseph Myers <joseph@codesourcery.com>
29202
29203 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29204
292052012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29206 Joseph Myers <joseph@codesourcery.com>
29207 Paul Pluzhnikov <ppluzhnikov@google.com>
29208
29209 [BZ #14012]
29210 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29211 requiring rpcgen.
29212 [cross-compiling] (extra-libs): Likewise.
29213 [cross-compiling] (extra-libs-others): Likewise.
29214 [cross-compiling] (librpcsvc-routines): Likewise.
29215 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29216 [cross-compiling] (omit-deps): Likewise.
29217 (sunrpc-CPPFLAGS): New variable.
29218 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29219 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29220 (cross-rpcgen-objs): New variable.
29221 (extra-objs): Append $(cross-rpcgen-objs).
29222 ($(cross-rpcgen-objs)): New rule.
29223 ($(objpfx)cross-rpcgen): Likewise.
29224 (rpcgen-cmd): Define to use $(built-program-file). Expand
29225 comment.
29226 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29227 ($(objpfx)x%.stmp): Likewise.
29228 * sunrpc/proto.h [IS_IN_build] (_): Define.
29229 [IS_IN_build] (_libc_intl_domainname): Likewise.
29230
292312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29232
29233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29234 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29235 and R_X86_64_TPOFF64.
29236
292372012-05-10 Joseph Myers <joseph@codesourcery.com>
29238
29239 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29240 sysdeps/unix/sysv/syscalls.list.
29241 (stime): Likewise.
29242 (utime): Likewise.
29243 * sysdeps/unix/sysv/syscalls.list: Remove file.
29244
292452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29246
29247 [BZ #3440]
29248 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29249 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29250 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29251 (__LC_IDENTIFICATION): Make these macros useful in #if
29252 expressions, as required by C99.
29253
292542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29255
29256 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29257 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29258 after this.
29259
292602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29261
29262 * stdlib/longlong.h: Updated from GCC.
29263
292642012-05-09 Andreas Jaeger <aj@suse.de>
29265
29266 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29267 default is first entry.
29268 (run_mode): Set type.
29269 (main): Remove informal message about syslog.
29270 (options): Fix typo.
29271
29272 [BZ #14053]
29273 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29274 to asm.
29275 (lrint): Likewise.
29276 (llrintf): Likewise.
29277 (llrint): Likewise.
29278 (rint): Likewise.
29279 (rintf): Likewise.
29280 (nearbyint): Likewise.
29281 (nearbyintf): Likewise.
29282
292832012-05-09 Andreas Jaeger <aj@suse.de>
29284 Pedro Alves <palves@redhat.com>
29285
29286 * nscd/nscd.c (run_mode): Use enum.
29287 (main): Cleanup coding style issue.
29288
292892012-05-09 Alexandre Oliva <aoliva@redhat.com>
29290 Andreas Jaeger <aj@suse.de>
29291
29292 * nscd/nscd.c (go_background): Replaced with...
29293 (run_mode): ... this.
29294 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29295 (options): Add -F --foreground.
29296 (main): Implement it.
29297 (parse_opt): Parse it.
29298
292992012-05-09 Andreas Jaeger <aj@suse.de>
29300
29301 [BZ #14083]
29302 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29303 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29304 -Wconversion warning.
29305 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29306 Likewise.
29307
293082012-05-09 Joseph Myers <joseph@codesourcery.com>
29309
29310 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29311 == 0.
29312 (LC_ALL): Use macro-int-constant.
29313 (LC_COLLATE): Likewise.
29314 (LC_CTYPE): Likewise.
29315 (LC_MESSAGES): Likewise.
29316 (LC_MONETARY): Likewise.
29317 (LC_NUMERIC): Likewise.
29318 (LC_TIME): Likewise.
29319 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29320 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29322 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29323 Specify type.
29324 [C99-based standards] (float_t): Expect type.
29325 [C99-based standards] (double_t): Expect type.
29326 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29327 type.
29328 [C99-based standards] (HUGE_VALL): Likewise.
29329 [C99-based standards] (INFINITY): Likewise.
29330 [C99-based standards] (NAN): Likewise.
29331 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29332 [C99-based standards] (FP_NAN): Likewise.
29333 [C99-based standards] (FP_NORMAL): Likewise.
29334 [C99-based standards] (FP_SUBNORMAL): Likewise.
29335 [C99-based standards] (FP_ZERO): Likewise.
29336 [C99-based standards] (FP_FAST_FMA): Use
29337 optional-macro-int-constant. Specify type. Require == 1.
29338 [C99-based standards] (FP_FAST_FMAF): Likewise.
29339 [C99-based standards] (FP_FAST_FMAL): Likewise.
29340 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29341 [C99-based standards] (FP_ILOGBNAN): Likewise.
29342 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29343 Specify type.
29344 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29345 [C99-based standards] (math_errhandling): Specify type.
29346 [ISO99 || ISO11] (signgam): Do not allow.
29347 [non-C99-based standards] (copysignf): Do not allow.
29348 [non-C99-based standards] (exp2f): Likewise.
29349 [non-C99-based standards] (log2f): Likewise.
29350 [non-C99-based standards] (modff): Allow.
29351 [non-C99-based standards] (erff): Do not allow.
29352 [non-C99-based standards] (erfcf): Likewise.
29353 [non-C99-based standards] (gammaf): Likewise.
29354 [non-C99-based standards] (hypotf): Likewise.
29355 [non-C99-based standards] (j0f): Likewise.
29356 [non-C99-based standards] (j1f): Likewise.
29357 [non-C99-based standards] (jnf): Likewise.
29358 [non-C99-based standards] (lgammaf): Likewise.
29359 [non-C99-based standards] (tgammaf): Likewise.
29360 [non-C99-based standards] (y0f): Likewise.
29361 [non-C99-based standards] (y1f): Likewise.
29362 [non-C99-based standards] (ynf): Likewise.
29363 [non-C99-based standards] (isnanf): Likewise.
29364 [non-C99-based standards] (acoshf): Likewise.
29365 [non-C99-based standards] (asinhf): Likewise.
29366 [non-C99-based standards] (atanhf): Likewise.
29367 [non-C99-based standards] (cbrtf): Likewise.
29368 [non-C99-based standards] (expm1f): Likewise.
29369 [non-C99-based standards] (ilogbf): Likewise.
29370 [non-C99-based standards] (log1pf): Likewise.
29371 [non-C99-based standards] (logbf): Likewise.
29372 [non-C99-based standards] (nextafterf): Likewise.
29373 [non-C99-based standards] (remainderf): Likewise.
29374 [non-C99-based standards] (rintf): Likewise.
29375 [non-C99-based standards] (scalbf): Likewise.
29376 [non-C99-based standards] (copysignl): Likewise.
29377 [non-C99-based standards] (exp2l): Likewise.
29378 [non-C99-based standards] (log2l): Likewise.
29379 [non-C99-based standards] (modfl): Allow.
29380 [non-C99-based standards] (erfl): Do not allow.
29381 [non-C99-based standards] (erfcl): Likewise.
29382 [non-C99-based standards] (gammal): Likewise.
29383 [non-C99-based standards] (hypotl): Likewise.
29384 [non-C99-based standards] (j0l): Likewise.
29385 [non-C99-based standards] (j1l): Likewise.
29386 [non-C99-based standards] (jnl): Likewise.
29387 [non-C99-based standards] (lgammal): Likewise.
29388 [non-C99-based standards] (tgammal): Likewise.
29389 [non-C99-based standards] (y0l): Likewise.
29390 [non-C99-based standards] (y1l): Likewise.
29391 [non-C99-based standards] (ynl): Likewise.
29392 [non-C99-based standards] (isnanl): Likewise.
29393 [non-C99-based standards] (acoshl): Likewise.
29394 [non-C99-based standards] (asinhl): Likewise.
29395 [non-C99-based standards] (atanhl): Likewise.
29396 [non-C99-based standards] (cbrtl): Likewise.
29397 [non-C99-based standards] (expm1l): Likewise.
29398 [non-C99-based standards] (ilogbl): Likewise.
29399 [non-C99-based standards] (log1pl): Likewise.
29400 [non-C99-based standards] (logbl): Likewise.
29401 [non-C99-based standards] (nextafterl): Likewise.
29402 [non-C99-based standards] (remainderl): Likewise.
29403 [non-C99-based standards] (rintl): Likewise.
29404 [non-C99-based standards] (scalbl): Likewise.
29405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29406 [non-C99-based standards] (FP_*): Do not allow.
29407 [C99-based standards] (FP_*): Change to
29408 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29409 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29410 allow.
29411 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29412 (SIG_ERR): Likewise.
29413 [X/Open-based standards] (SIG_HOLD): Likewise.
29414 (SIG_IGN): Likewise.
29415 (SIGABRT): Use macro-int-constant. Specify type. Require
29416 positive value.
29417 (SIGFPE): Likewise.
29418 (SIGILL): Likewise.
29419 (SIGINT): Likewise.
29420 (SIGSEGV): Likewise.
29421 (SIGTER): Likewise.
29422 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29423 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29424 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29425 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29426 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29427 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29428 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29429 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29430 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29431 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29432 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29433 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29434 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29435 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29436 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29437 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29438 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29439 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29440 [X/Open-based standards] (SIGTRAP): Likewise.
29441 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29442 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29443 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29444 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29445 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29446 allow.
29447
294482012-05-08 Ian Wienand <ianw@vmware.com>
29449
29450 [BZ #14080]
29451 * time/tzset.c (__tzset_parse_tz): Update default rules for
29452 daylight time changes in the Energy Policy Act of 2005.
29453
294542012-05-09 Andreas Jaeger <aj@suse.de>
29455
29456 [BZ #13983]
29457 * elf/ldconfig.c (parse_conf): Change string to make clear that
29458 ldconfig only issued a warning if ld.so.conf does not exist.
29459
294602012-05-08 David S. Miller <davem@davemloft.net>
29461
29462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29463 movxtod instead of popping the value on the stack.
29464
29465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29466
294672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29468
29469 * config.h.in: Add HAVE_ARM_PCS_VFP.
29470
294712012-05-08 Roland Mc Grath <roland@hack.frob.com>
29472
29473 [BZ #13979]
29474 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29475 checking but the checks are disabled for any reason.
29476
294772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29478
29479 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29480 and ELF64_R_TYPE with ELFW(R_TYPE).
29481
294822012-05-08 Joseph Myers <joseph@codesourcery.com>
29483
29484 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29485 (ulimit): Likewise.
29486
29487 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29488 (settimeofday): Likewise.
29489
294902012-05-08 Mike Frysinger <vapier@gentoo.org>
29491
29492 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29493 a struct th_u2 inside the union, and move tu_block/tu_code into
29494 a new th_u3 union of tu_block/tu_code inside of that. Move
29495 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29496 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29497 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29498 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29499 (th_stuff): Change to th_u1.tu_stuff.
29500 (th_data): Define.
29501 (th_msg): Change to th_u1.th_u2.tu_data.
29502
295032012-05-07 David S. Miller <davem@davemloft.net>
29504
29505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29506
29507 [BZ #14074]
29508 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29509 (SETUP_PIC_REG): Use it.
29510 (SETUP_PIC_REG_LEAF): Use it.
29511
295122012-05-07 Joseph Myers <joseph@codesourcery.com>
29513
29514 [BZ #13885]
29515 [BZ #13923]
29516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29517 USE_AS_EXPM1L.
29518 (EXPL_FINITE): Likewise.
29519 (FLDLOG): Likewise.
29520 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29521 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29522 e_expl.S.
29523 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29524 USE_AS_EXPM1L.
29525 (EXPL_FINITE): Likewise.
29526 (FLDLOG): Likewise.
29527 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29528 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29529 e_expl.S.
29530 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29531 test of -max_value argument for long double.
29532 * sysdeps/i386/fpu/libm-test-ulps: Update.
29533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29534
295352012-05-06 David S. Miller <davem@davemloft.net>
29536
29537 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29538 quad soft-float symbols whose references which are compiler
29539 generated.
29540 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29541
295422012-05-06 Joseph Myers <joseph@codesourcery.com>
29543
29544 [BZ #13884]
29545 [BZ #13914]
29546 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29547 USE_AS_EXP10L.
29548 (EXPL_FINITE): Likewise.
29549 (FLDLOG): Likewise.
29550 (c0): Likewise.
29551 (c1): Likewise.
29552 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29553 Adjust comments for base varying.
29554 (__expl_finite): Change alias to EXPL_FINITE.
29555 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29556 e_expl.S.
29557 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29558 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29559 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29560 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29561 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29562 USE_AS_EXP10L.
29563 (EXPL_FINITE): Likewise.
29564 (FLDLOG): Likewise.
29565 (c0): Likewise.
29566 (c1): Likewise.
29567 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29568 Adjust comments for base varying.
29569 (__expl_finite): Change alias to EXPL_FINITE.
29570 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29571 tests for bugs.
29572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29573
29574 [BZ #14064]
29575 * math/libm-test.inc (check_float_internal): Correct ulp
29576 calculation for subnormal expected results.
29577
295782012-05-06 Andreas Jaeger <aj@suse.de>
29579
29580 * Makeconfig (+math-flags): New, set to -frounding-math.
29581 (+cflags): Add +math-flags so that all of glibc gets compiled with
29582 it.
29583
29584 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29585
295862012-05-05 Joseph Myers <joseph@codesourcery.com>
29587
29588 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29589 Disable one test.
29590
29591 [BZ #13787]
29592 [BZ #13922]
29593 [BZ #14036]
29594 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29595 (__ieee754_expl): Allow for and saturate large arguments.
29596 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29597 (u_threshold): Likewise.
29598 (__exp): Call __ieee754_exp before checking for overflow and
29599 underflow.
29600 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29601 (u_threshold): Likewise.
29602 (__expf): Call __ieee754_expf before checking for overflow and
29603 underflow.
29604 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29605 (u_threshold): Likewise.
29606 (__expl): Call __ieee754_expl before checking for overflow and
29607 underflow.
29608 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29609 (__ieee754_expl): Allow for and saturate large arguments.
29610 * math/libm-test.inc (exp_test): Add another test. Do not allow
29611 missing overflow exception on overflow.
29612 (expm1_test): Do not allow missing overflow exception on overflow.
29613
29614 * sysdeps/i386/fpu/e_expl.c: Move to ...
29615 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29616 rather than using inline asm.
29617 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29618 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29619 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29620
29621 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29622 (nice): Likewise.
29623 (poll): Likewise.
29624 (signal): Likewise.
29625 (time): Likewise.
29626 (times): Likewise.
29627
296282012-05-04 Joseph Myers <joseph@codesourcery.com>
29629
29630 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29631 sysdeps/unix/common/syscalls.list.
29632 (fchmod): Likewise.
29633 (fchown): Likewise.
29634 (ftruncate): Likewise.
29635 (getrusage): Likewise.
29636 (gettimeofday): Likewise.
29637 (setpgid): Likewise.
29638 (setregid): Likewise.
29639 (setreuid): Likewise.
29640 (sigaction): Likewise.
29641 (truncate): Likewise.
29642 (vhangup): Likewise.
29643 * sysdeps/unix/common/syscalls.list: Remove file.
29644 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29645 * sysdeps/unix/sysv/linux/Implies: Likewise.
29646
296472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29648
29649 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29651 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29652 Moved to ...
29653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29654 Here.
29655 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29656 to ...
29657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29658 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29659 to ...
29660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29661 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29662 to ...
29663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29664 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29665 to ...
29666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29667 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29668 to ...
29669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29670 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29671 to ...
29672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29673 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29674 to ...
29675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29676 Here.
29677 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29678 to ...
29679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29680 Here.
29681 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29682 to ...
29683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29684 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29685 Moved to ...
29686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29687 Here.
29688 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29689 to ...
29690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29691
296922012-05-04 Joseph Myers <joseph@codesourcery.com>
29693
29694 * sysdeps/unix/common/bits/dirent.h: Remove file.
29695 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29696
29697 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29698 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29699 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29700 * sysdeps/unix/bsd/isatty.c: Likewise.
29701 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29702 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29703 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29704
297052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29706
29707 [BZ #13563]
29708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29709 long double comparison inaccuracies.
29710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29712
297132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29714
29715 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29717
297182012-05-04 Joseph Myers <joseph@codesourcery.com>
29719
29720 [BZ #14049]
29721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29722 nonzero digits before rounding a hex value.
29723 * stdlib/tst-strtod.c (tests): Add another test.
29724
297252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29726
29727 * sysdeps/s390/fpu/libm-test-ulps: Update.
29728
297292012-05-03 Andreas Jaeger <aj@suse.de>
29730
29731 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29732 does not get optimized out.
29733 (malloc_opt_barrier): New.
29734
297352012-05-03 Andreas Jaeger <aj@suse.de>
29736 Roland McGrath <roland@hack.frob.com>
29737
29738 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29739 intermediate file deletion.
29740 (generated): Add .symlist files.
29741
297422012-05-03 Joseph Myers <joseph@codesourcery.com>
29743
29744 [BZ #13775]
29745 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29746 Redirect under this condition.
29747 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29748 [__USE_GNU] (__dprintf_chk): Not under this condition.
29749 [__USE_GNU] (__vdprintf_chk): Likewise.
29750 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29751 under this condition.
29752 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29753 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29754 [__USE_XOPEN2K8] (vdprintf): Likewise.
29755 [__USE_GNU] (__dprintf_chk): Not under this condition.
29756 [__USE_GNU] (__vdprintf_chk): Likewise.
29757 [__USE_GNU] (dprintf): Likewise.
29758 [__USE_GNU] (vdprintf): Likewise.
29759
297602012-05-03 Roland McGrath <roland@hack.frob.com>
29761
29762 * elf/Makefile (common-generated): Set this instead of generated for
29763 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29764 $(all-built-dso)-derived lists.
29765
297662012-05-03 Andreas Jaeger <aj@suse.de>
29767
29768 * sysdeps/i386/fpu/libm-test-ulps: Update.
29769
29770 * FAQ: Removed.
29771 * FAQ.in: Likewise.
29772 * scripts/gen-FAQ.pl: Likewise.
29773 * manual/install.texi (Installation): Point to online location of
29774 FAQ.
29775 * Makefile (files-for-dist): Remove FAQ.
29776 (FAQ): Remove.
29777
297782012-05-02 Allan McRae <allan@archlinux.org>
29779
29780 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29781 (LDFLAGS-reldepmod5.so): Likewise.
29782 (LDFLAGS-reldep6mod1.so): Likewise.
29783 (LDFLAGS-reldep6mod4.so): Likewise.
29784 (LDFLAGS-reldep8mod3.so): Likewise.
29785 (LDFLAGS-unload4mod1.so): Likewise.
29786 (LDFLAGS-unload4mod2.so): Likewise.
29787 (LDFLAGS-tst-initorder): Likewise.
29788 (LDFLAGS-tst-initordera2.so): Likewise.
29789 (LDFLAGS-tst-initordera3.so): Likewise.
29790 (LDFLAGS-tst-initordera4.so): Likewise.
29791 (LDFLAGS-tst-initorderb2.so): Likewise.
29792 (LDFLAGS-noload): Likewise.
29793 (LDFLAGS-next): Likewise.
29794 (LDFLAGS-order2mod1.so): Likewise.
29795 (LDFLAGS-order2mod2.so): Likewise.
29796 (LDFLAGS-tst-initorder2): Likewise.
29797 (LDFLAGS-tst-initorder2a.so): Likewise.
29798 (LDFLAGS-tst-initorder2b.so): Likewise.
29799 (LDFLAGS-tst-initorder2c.so): Likewise.
29800 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29801
298022012-05-02 David S. Miller <davem@davemloft.net>
29803
29804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29805
298062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29807
29808 [BZ #14055]
29809 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29810
298112012-05-02 Andreas Jaeger <aj@suse.de>
29812
29813 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29814 since we manipulate rounding mode.
29815 (CPPFLAGS-test-idouble.c): Likewise.
29816 (CPPFLAGS-test-ifloat.c): Likewise.
29817 (CFLAGS-test-ldouble.c): Likewise.
29818 (CFLAGS-test-double.c): Likewise.
29819 (CFLAGS-test-float.c): Likewise.
29820 (CFLAGS-test-misc.c): Likewise.
29821 (CFLAGS-test-test-fenv.c): Likewise.
29822
298232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29824
29825 [BZ #2550]
29826 [BZ #2570]
29827 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29828 comparisons to determine direction to adjust input.
29829
298302012-05-01 Roland McGrath <roland@hack.frob.com>
29831
29832 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29833 output to the target.
29834
29835 * scripts/localplt.awk: New file.
29836 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29837 (check-localplt-CFLAGS): Variable removed.
29838 ($(all-built-dso:=.jmprel)): New static pattern rule.
29839 (generated): Add those targets.
29840 (localplt-built-dso): New variable.
29841 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29842
29843 * elf/check-localplt.c: File removed.
29844
29845 * scripts/check-execstack.awk: New file.
29846 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29847 (check-execstack-CFLAGS): Variable removed.
29848 ($(objpfx)check-execstack.h): Target removed.
29849 ($(objpfx)execstack-default): New target.
29850 (generated): Add that instead of check-execstack.h.
29851 ($(all-built-dso:=.phdr)): New static pattern rule.
29852 (generated): Add those targets.
29853 * elf/check-execstack.c: File removed.
29854
29855 * scripts/check-textrel.awk: New file.
29856 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29857 (check-textrel-CFLAGS): Variable removed.
29858 (all-built-dso): Use := to define.o
29859 ($(all-built-dso:=.dyn)): New static pattern rule.
29860 (generated): Add those targets.
29861 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29862 * config.make.in (READELF): New substituted variable.
29863 * elf/check-textrel.c: File removed.
29864
298652012-05-01 Joseph Myers <joseph@codesourcery.com>
29866
29867 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29868 allow.
29869 * conform/data/ctype.h-data [C99-based standards] (isblank):
29870 Expect function.
29871 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29872 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29874 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29875 Specify type. Require positive value.
29876 (EILSEQ): Likewise.
29877 (ERANGE): Likewise.
29878 [ISO || POSIX] (EILSEQ): Do not expect.
29879 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29880 Specify type. Require positive value.
29881 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29883 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29885 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29931 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29950 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29951 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29952 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29953 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29955 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29956 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29957 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29958 Require >= 2.
29959 (FLT_ROUNDS): Expect as macro, not constant.
29960 (FLT_MANT_DIG): Use macro-int-constant.
29961 (DBL_MANT_DIG): Likewise.
29962 (LDBL_MANT_DIG): Likewise.
29963 (FLT_DIG): Likewise.
29964 (DBL_DIG): Likewise.
29965 (LDBL_DIG): Likewise.
29966 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29967 (DBL_MIN_EXP): Likewise.
29968 (LDBL_MIN_EXP): Likewise.
29969 (FLT_MAX_EXP): Use macro-int-constant.
29970 (DBL_MAX_EXP): Likewise.
29971 (LDBL_MAX_EXP): Likewise.
29972 (FLT_MAX_10_EXP): Likewise.
29973 (DBL_MAX_10_EXP): Likewise.
29974 (LDBL_MAX_10_EXP): Likewise.
29975 (FLT_MAX): Use macro-constant.
29976 (DBL_MAX): Likewise.
29977 (LDBL_MAX): Likewise.
29978 (FLT_EPSILON): Use macro-constant. Give upper bound.
29979 (DBL_EPSILON): Likewise.
29980 (LDBL_EPSILON): Likewise.
29981 (FLT_MIN): Likewise.
29982 (DBL_MIN): Likewise.
29983 (LDBL_MIN): Likewise.
29984 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29985 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29986 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29987 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29988 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29989 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29990 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29991 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29992 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29993 [ISO11] (FLT_TRUE_MIN): Likewise.
29994 [ISO11] (LDBL_TRUE_MIN): Likewise.
29995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29996 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29997 (SCHAR_MIN): Use macro-int-constant. Specify type.
29998 (SCHAR_MAX): Likewise.
29999 (UCHAR_MAX): Likewise.
30000 (CHAR_MIN): Likewise.
30001 (CHAR_MAX): Likewise.
30002 (MB_LEN_MAX): Use macro-int-constant.
30003 (SHRT_MIN): Use macro-int-constant. Specify type.
30004 (SHRT_MAX): Likewise.
30005 (USHRT_MAX): Likewise.
30006 (INT_MAX): Likewise.
30007 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30008 bound negative.
30009 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30010 bound with "U".
30011 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30012 bound with "L".
30013 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30014 bound negative. Suffix upper bound with "L".
30015 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30016 bound with "UL".
30017 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30018 Specify type.
30019 [C99-based standards] (LLONG_MAX): Likewise.
30020 [C99-based standards] (ULLONG_MAX): Likewise.
30021 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30022 == 0.
30023 [ISO11] (max_align_t): Require type.
30024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30025
30026 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30027 from $CFLAGS, without defining away __attribute__ calls.
30028 (checknamespace): Use $CFLAGS_namespace.
30029
30030 * conform/conformtest.pl (@keywords): Only include C99 keywords
30031 for standards based on C99 or C11.
30032
30033 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30034 Disable tests.
30035 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30036 UNIX98]: Likewise.
30037
30038 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30039 usability of symbols in #if.
30040
30041 * conform/conformtest.pl: If macro or constant types start
30042 "promoted:", expect the symbol to be of the following type
30043 promoted by the integer promotions.
30044
30045 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30046 in one place. Also handle "macro-constant".
30047
30048 * conform/conformtest.pl: Only accept expected macro values with
30049 "==". Parse all "macro" lines in one place.
30050 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30051
30052 * conform/conformtest.pl: Handle braced types on "constant" lines
30053 instead of handling "typed-constant".
30054 * conform/data/signal.h-data: Use "constant" instead of
30055 "typed-constant".
30056
30057 * conform/conformtest.pl: Handle "optional-" at start of lines in
30058 one place rather than duplicating several cases. Handle each
30059 format of "macro" line with initial "optional-".
30060
30061 * conform/conformtest.pl: Only accept expected constant or
30062 optional-constant values with "==". Parse all "constant" lines in
30063 one place. Parse all "optional-constant" lines in one place.
30064 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30065 * conform/data/fmtmsg.h-data: Likewise.
30066 * conform/data/netinet/in.h-data: Likewise.
30067 * conform/data/tar.h-data: Likewise.
30068 * conform/data/limits.h-data: Use "==" form on "constant" and
30069 "optional-constant" lines.
30070
30071 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30072 Use -std=c99 for XOPEN2K.
30073 (@knownproblems): Remove.
30074 (newtoken): Don't check %isknown.
30075
30076 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30077 Do not expect macro.
30078 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30079 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30080 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30081 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30082 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30083 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30084 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30085 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30086 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30087 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30088 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30089 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30090 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30091 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30092 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30093 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30094 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30095 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30096 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30097 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30098 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30101 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30102 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30103 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30104 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30105 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30106 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30107 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30108 [XPG3] (acosh): Likewise.
30109 [XPG3] (asinh): Likewise.
30110 [XPG3] (atanh): Likewise.
30111 [XPG3] (cbrt): Likewise.
30112 [XPG3] (expm1): Likewise.
30113 [XPG3] (ilogb): Likewise.
30114 [XPG3] (log1p): Likewise.
30115 [XPG3] (logb): Likewise.
30116 [XPG3] (nextafter): Likewise.
30117 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30118 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30119 [XPG3] (remainder): Likewise.
30120 [XPG3] (rint): Likewise.
30121 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30122 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30123 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30124 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30125 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30126 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30127 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30128 [UNIX98 || XOPEN2K] (scalb): Expect.
30129 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30130 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30131 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30132 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30133 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30134 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30135 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30136 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30137 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30138 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30139 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30140 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30142 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30143 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30144 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30145 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30146 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30147 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30148 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30149 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30151 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30152 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30153 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30154 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30155 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30156 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30157 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30158 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30159 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30160 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30161 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30162 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30163 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30164 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30165 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30166 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30167 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30168 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30169 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30170 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30171 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30172 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30174 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30175 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30176 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30177 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30178 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30179 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30180 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30181 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30183 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30184 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30185 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30186 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30187 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30188 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30189 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30190 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30191 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30192 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30193 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30194 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30195 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30196 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30197 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30198 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30199 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30200 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30201 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30202 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30203 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30204 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30205 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30206 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30207 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30208 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30209 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30210 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30211 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30212 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30213 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30214 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30215 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30216 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30217 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30218 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30219 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30220 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30221 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30222 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30223 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30224 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30225 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30226 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30228 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30229 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30230 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30231 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30232 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30233 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30235 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30237 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30238 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30239 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30240 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30241 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30242 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30243 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30244 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30245 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30246 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30247 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30248 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30249 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30250 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30251 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30252 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30253 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30254 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30255 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30256 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30257 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30258 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30259 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30260 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30261 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30262 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30263 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30264 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30265 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30266
30267 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30268 _XOPEN_SOURCE_EXTENDED for XPG4.
30269
30270 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30271
30272 * Makeconfig (localtime): Remove variable.
30273 (inst_localtime-file): Likewise.
30274
302752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30276
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30278 Update.
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30280 Update.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30282 Update.
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30284 Update.
30285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30286 Update.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30288 Update.
30289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30290 Update.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30292 Update.
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30294 Update.
30295
302962012-05-01 Joseph Myers <joseph@codesourcery.com>
30297
30298 [BZ #2550]
30299 [BZ #2570]
30300 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30301 comparisons to determine direction to adjust input.
30302 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30303 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30305 Likewise.
30306 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30307 Likewise.
30308 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30309 Likewise.
30310 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30311 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30312 Likewise.
30313 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30314 Likewise.
30315 * math/libm-test.inc (nexttoward_test): Add more tests.
30316
303172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30318
30319 [BZ #14040]
30320 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30321 in version GLIBC_2.1, not GLIBC_2.0.
30322 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30323 Likewise.
30324
303252012-04-30 Joseph Myers <joseph@codesourcery.com>
30326
30327 [BZ #13942]
30328 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30329 (1 - x) * (1 + x).
30330 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30331 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30332 * math/libm-test.inc (acos_test): Add more tests.
30333 (asin_test): Likewise.
30334 * sysdeps/i386/fpu/libm-test-ulps: Update.
30335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30336
30337 [BZ #14034]
30338 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30339 of square root.
30340 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30341 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30342 * math/libm-test.inc (acos_test_tonearest): New function.
30343 (acos_test_towardzero): Likewise.
30344 (acos_test_downward): Likewise.
30345 (acos_test_upward): Likewise.
30346 (asin_test_tonearest): Likewise.
30347 (asin_test_towardzero): Likewise.
30348 (asin_test_downward): Likewise.
30349 (asin_test_upward): Likewise.
30350 (main): Call the new functions.
30351 * sysdeps/i386/fpu/libm-test-ulps: Update.
30352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30353
30354 [BZ #13884]
30355 [BZ #13924]
30356 * math/e_exp10.c: Include <float.h>.
30357 (__ieee754_exp10): Handle underflow here rather than multiplying
30358 large negative argument by M_LN10.
30359 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30360 of __ieee754_expf.
30361 * math/e_exp10l.c: Include <float.h>.
30362 (__ieee754_exp10l): Handle underflow here rather than multiplying
30363 large negative argument by M_LN10l.
30364 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30365 spurious overflow exception on underflow.
30366
303672012-04-29 Marek Polacek <polacek@redhat.com>
30368
30369 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30370 (__fortify_function): New macro.
30371 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30372 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30373 __extern_always_inline.
30374 * libio/bits/stdio2.h: Likewise.
30375 * libio/bits/stdio.h: Likewise.
30376 * string/string.h: Likewise.
30377 * string/bits/string3.h: Likewise.
30378 * include/stdio.h: Likewise.
30379 * stdlib/bits/stdlib.h: Likewise.
30380 * stdlib/stdlib.h: Likewise.
30381 * rt/bits/mqueue2.h: Likewise.
30382 * rt/mqueue.h: Likewise.
30383 * posix/bits/unistd.h: Likewise.
30384 * posix/unistd.h: Likewise.
30385 * io/bits/poll2.h: Likewise.
30386 * io/bits/fcntl2.h: Likewise.
30387 * io/fcntl.h: Likewise.
30388 * io/sys/poll.h: Likewise.
30389 * misc/bits/syslog.h: Likewise.
30390 * misc/bits/syslog-ldbl.h: Likewise.
30391 * misc/sys/syslog.h: Likewise.
30392 * socket/bits/socket2.h: Likewise.
30393 * socket/sys/socket.h: Likewise.
30394 * debug/tst-chk1.c: Likewise.
30395 * wcsmbs/bits/wchar2.h: Likewise.
30396 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30397 * wcsmbs/wchar.h: Likewise.
30398
303992012-04-29 Andreas Jaeger <aj@suse.de>
30400
30401 * Makerules (tests): Remove enable-check-abi protection.
30402 (check-abi-warn): Remove.
30403 (check-abi-%): Remove check-abi-warn usage.
30404
30405 * configure.in: Remove check-abi configure option.
30406 * configure: Regenerated.
30407 * config.make.in (enable-check-abi): Remove.
30408
304092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30410
30411 [BZ #14033]
30412 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30413 double functions to double *_finite functions.
30414
30415 [BZ #13941]
30416 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30417 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30418 LDBL_MIN_EXP.
30419 * stdio-common/Makefile (tests): Add tst-sprintf3.
30420 * stdio-common/tst-sprintf3.c: New file.
30421
30422 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30423 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30424
304252012-04-28 Joseph Myers <joseph@codesourcery.com>
30426
30427 * conform/conformtest.pl: Remove duplicate typed-constant
30428 handling.
30429
304302012-04-28 David S. Miller <davem@davemloft.net>
30431
30432 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30433 (check-abi-%): Remove AWK script prerequisite and explicit
30434 abilist directory.
30435 (check-abi): Rewrite to just diff the symlist with the abilist.
30436 (config-tls, config-abi-config): Delete, no longer used.
30437 (update-abi-%): Remove AWK script and explicit abilist directory.
30438 (update-abi): Rewrite to simply compare and conditionally copy the
30439 symlist and the sysdep abilist file. Remove update-abi-config
30440 checks.
30441 * abilist/ld.abilist: Remove.
30442 * abilist/libBrokenLocale.abilist: Remove.
30443 * abilist/libanl.abilist: Remove.
30444 * abilist/libcrypt.abilist: Remove.
30445 * abilist/libdl.abilist: Remove.
30446 * abilist/librt.abilist: Remove.
30447 * abilist/libthread_db.abilist: Remove.
30448 * abilist/libutil.abilist: Remove.
30449 * scripts/extract-abilist.awk: Remove.
30450 * scripts/merge-abilist.awk: Remove.
30451 * sysdeps/generic/libcidn.abilist: New file.
30452 * sysdeps/generic/libnss_compat.abilist: New file.
30453 * sysdeps/generic/libnss_db.abilist: New file.
30454 * sysdeps/generic/libnss_dns.abilist: New file.
30455 * sysdeps/generic/libnss_files.abilist: New file.
30456 * sysdeps/generic/libnss_hesiod.abilist: New file.
30457 * sysdeps/generic/libnss_nis.abilist: New file.
30458 * sysdeps/generic/libnss_nisplus.abilist: New file.
30459 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30460 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30461 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30462 file.
30463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30464 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30465 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30466 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30467 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30468 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30469 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30470 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30471 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30472 file.
30473 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30474 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30475 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30476 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30477 file.
30478 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30479 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30480 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30481 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30482 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30483 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30484 file.
30485 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30486 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30487 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30488 file.
30489 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30491 New file.
30492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30493 New file.
30494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30495 New file.
30496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30497 New file.
30498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30499 New file.
30500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30501 New file.
30502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30503 New file.
30504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30505 New file.
30506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30507 New file.
30508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30509 New file.
30510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30511 New file.
30512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30513 New file.
30514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30515 New file.
30516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30517 file.
30518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30519 New file.
30520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30521 New file.
30522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30523 file.
30524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30525 New file.
30526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30527 New file.
30528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30529 file.
30530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30531 New file.
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30533 New file.
30534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30535 New file.
30536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30537 New file.
30538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30539 New file.
30540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30541 New file.
30542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30544 file.
30545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30546 New file.
30547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30548 file.
30549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30550 file.
30551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30552 file.
30553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30554 file.
30555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30556 file.
30557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30558 New file.
30559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30560 file.
30561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30562 file.
30563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30564 New file.
30565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30566 file.
30567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30569 file.
30570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30571 New file.
30572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30573 file.
30574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30575 file.
30576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30577 file.
30578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30579 file.
30580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30581 file.
30582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30583 New file.
30584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30585 file.
30586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30587 file.
30588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30589 New file.
30590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30591 file.
30592 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30593 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30594 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30595 file.
30596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30597 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30598 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30599 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30600 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30601 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30602 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30603 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30604 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30605 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30608 file.
30609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30610 New file.
30611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30612 file.
30613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30614 file.
30615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30616 file.
30617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30618 file.
30619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30620 file.
30621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30622 New file.
30623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30624 New file.
30625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30626 file.
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30628 New file.
30629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30630 file.
30631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30633 file.
30634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30635 New file.
30636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30637 file.
30638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30639 file.
30640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30641 file.
30642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30643 file.
30644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30645 file.
30646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30647 New file.
30648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30649 New file.
30650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30651 file.
30652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30653 New file.
30654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30655 file.
30656
306572012-04-28 Joseph Myers <joseph@codesourcery.com>
30658
30659 * conform/conformtest.pl: Fix typo in handling typed-constant from
30660 allow-header.
30661
306622012-04-27 Joseph Myers <joseph@codesourcery.com>
30663
30664 * README: Cut down references to pre-2.6 Linux kernels and
30665 Linuxthreads. Update lists of configurations in libc and ports
30666 and sort alphabetically. Say "or newer" with Linux kernel version
30667 requirements.
30668
30669 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30670
306712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30672
30673 [BZ #887]
30674 * math/libm-test.inc (logb_test_downward): New test to expose
30675 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30676 rounding mode.
30677
306782012-04-27 Joseph Myers <joseph@codesourcery.com>
30679
30680 [BZ #14027]
30681 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30682 to be done.
30683 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30684 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30685
306862012-04-26 Joseph Myers <joseph@codesourcery.com>
30687
30688 * sysdeps/unix/i386/brk.S: Remove file.
30689 * sysdeps/unix/i386/dl-brk.S: Likewise.
30690 * sysdeps/unix/i386/pipe.S: Likewise.
30691 * sysdeps/unix/i386/sigreturn.S: Likewise.
30692 * sysdeps/unix/i386/syscall.S: Likewise.
30693 * sysdeps/unix/i386/vfork.S: Likewise.
30694 * sysdeps/unix/i386/wait.S: Likewise.
30695
30696 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30697 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30698
30699 * configure.in (arm*-none*): Do not allow without
30700 --enable-hacker-mode.
30701 (netbsd*): Remove case setting base_os.
30702 (386bsd*): Likewise.
30703 (freebsd*): Likewise.
30704 (bsdi*): Likewise.
30705 (osf*): Likewise.
30706 (sunos*): Likewise.
30707 (ultrix*): Likewise.
30708 (newsos*): Likewise.
30709 (dynix*): Likewise.
30710 (*bsd*): Likewise.
30711 (sysv*): Likewise.
30712 (isc*): Likewise.
30713 (esix*): Likewise.
30714 (sco*): Likewise.
30715 (minix*): Likewise.
30716 (irix4*): Likewise.
30717 (irix6*): Likewise.
30718 (solaris[2-9]*): Likewise.
30719 (none): Likewise.
30720 * configure: Regenerated.
30721
307222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30723
30724 [BZ #11521]
30725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30726 overflow or cancellation in calculating denominator.
30727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30728 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30729 down expression to avoid unexpected rounding in newer GCCs.
30730 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30731
307322012-04-26 David S. Miller <davem@davemloft.net>
30733
30734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30735 long-double compat symbols.
30736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30749
307502012-04-25 David S. Miller <davem@davemloft.net>
30751
30752 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30753 HWCAP_* values only after the memory barriers have been defined.
30754 (atomic_full_barrier): Define.
30755 (atomic_read_barrier): Define.
30756 (atomic_write_barrier): Define.
30757
307582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30759
30760 * shlib-versions: Add libgcc_s version information.
30761 * sysdeps/generic/libgcc_s.h: Remove.
30762 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30763 libgcc_s.h.
30764 * sysdeps/gnu/unwind-resume.c: Likewise.
30765 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30766
307672012-04-25 David S. Miller <davem@davemloft.net>
30768
30769 * sysdeps/unix/sparc/brk.S: Delete.
30770 * sysdeps/unix/sparc/dl-brk.S: Delete.
30771 * sysdeps/unix/sparc/pipe.S: Delete.
30772 * sysdeps/unix/sparc/sysdep.S: Delete.
30773 * sysdeps/unix/sparc/sysdep.h: Delete.
30774 * sysdeps/unix/sparc/vfork.S: Delete.
30775 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30776 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30778 ret_ERRVAL, r0, r1, MOVE): Define.
30779 (JUMPTARGET): Remove.
30780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30781 sysdeps/unix/sparc/sysdep.h
30782 (ENTRY, END): Remove.
30783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30784
307852012-04-25 Joseph Myers <joseph@codesourcery.com>
30786
30787 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30788 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30789 -DIS_IN_build.
30790
30791 * timezone/README: Update upstream location and email address for
30792 tzcode and tzdata.
30793 * timezone/zdump.c: Update from tzcode 2012b.
30794 * timezone/zic.c: Likewise.
30795
30796 * configure.in (libc_cv_as_needed): Remove test.
30797 * configure: Regenerated.
30798 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30799 conditional definition.
30800 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30801 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30802 * config.make.in (have-as-needed): Remove variable.
30803
308042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30805 Paul Pluzhnikov <ppluzhnikov@google.com>
30806
30807 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30808 strings correctly.
30809
308102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30811
30812 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30813 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30814 * sysdeps/sh/strlen.S: Likewise.
30815
308162012-04-24 Joseph Myers <joseph@codesourcery.com>
30817
30818 * sysdeps/unix/fork.S: Remove file.
30819 * sysdeps/unix/i386/fork.S: Likewise.
30820 * sysdeps/unix/sparc/fork.S: Likewise.
30821
30822 * sysdeps/unix/system.c: Remove file.
30823 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30824
30825 * sysdeps/unix/getegid.S: Remove file.
30826 * sysdeps/unix/geteuid.S: Likewise.
30827
308282012-04-24 Roland McGrath <roland@hack.frob.com>
30829
30830 * scripts/check-localplt.awk: New file.
30831 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30832 of diff.
30833 * scripts/data/localplt-generic.data: Add a comment.
30834
30835 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30836 NODE when __dir_mkfile failed.
30837 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30838 Reported by Ludovic Courtès <ludo@gnu.org>.
30839
308402012-04-24 Andreas Jaeger <aj@suse.de>
30841
30842 * Makerules (common-clean): Also remove gen-as-const-headers
30843 files.
30844
308452012-04-24 Joseph Myers <joseph@codesourcery.com>
30846
30847 * Makerules (native-compile): Do not change working directory for
30848 build. Use $(OUTPUT_OPTION) in command.
30849 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30850
308512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30852
30853 [BZ #13886]
30854 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30855 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30856 * math/libm-test.inc (floor_test): Add more tests.
30857 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30858
308592012-04-24 Joseph Myers <joseph@codesourcery.com>
30860
30861 * sysdeps/unix/getdents.c: Remove file.
30862 * sysdeps/unix/sysv/getdents.c: Likewise.
30863 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30864
30865 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30866 sysdeps/unix/mman/syscalls.list.
30867 (mmap): Likewise.
30868 (mprotect): Likewise.
30869 (msync): Likewise.
30870 (munmap): Likewise.
30871 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30872 * sysdeps/unix/mman/syscalls.list: Remove.
30873 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30874
30875 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30876 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30877 * configure: Regenerated.
30878 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30879 $(libgcc_s_suffix).
30880 * config.make.in (libgcc_s_suffix): Remove variable.
30881
308822012-04-23 Joseph Myers <joseph@codesourcery.com>
30883
30884 * sysdeps/unix/sysv/gethostname.c: Move to ...
30885 * sysdeps/posix/gethostname.c: ... here.
30886
30887 * sysdeps/unix/execve.S: Remove file.
30888
30889 * sysdeps/unix/_exit.S: Remove file.
30890
308912012-04-23 Andreas Jaeger <aj@suse.de>
30892
30893 [BZ #13739]
30894 * manual/Makefile: Remove make dist support, there's no
30895 need for a stand-alone documentation tar ball.
30896 (TEXI2DVI): Define always, it's not in Makeconfig.
30897 (dist): Removed.
30898 (tar-it): Removed.
30899 (edition): Removed.
30900 (glibc-doc-$(edition).tar): Removed
30901 (%.Z): Removed.
30902 (%.gz): Removed.
30903 (%.uu): Removed.
30904 (ETAGS): Remove, it's in Makeconfig.
30905 (move-if-change): Remove, it's in Makeconfig.
30906
309072012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30908
30909 [BZ #13970]
30910 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30911 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30912 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30913 (strtod_l, strtof_l, strtold_l): Remove __wur.
30914 It is not necessarily an error to ignore strtol's return value.
30915 One can reliably look at the stored endptr to decide whether
30916 the number had valid syntax.
30917
309182012-04-21 Andreas Jaeger <aj@suse.de>
30919
30920 [BZ #13739]
30921 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30922
309232012-04-21 Joseph Myers <joseph@codesourcery.com>
30924
30925 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30926 * sysdeps/unix/sysv/Versions: Remove file.
30927
309282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30929
30930 [BZ #13927]
30931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30932
309332012-04-21 Nick Alcock <nick.alcock@oracle.com>
30934
30935 [BZ #7064]
30936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30937 version from __vm86.
30938
309392012-04-20 Joseph Myers <joseph@codesourcery.com>
30940
30941 * sysdeps/unix/common/lxstat.c: Remove file.
30942 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30943
30944 * sysdeps/unix/sysv/Makefile: Remove file.
30945
30946 * sysdeps/unix/sysv/direct.h: Remove file.
30947
30948 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30949 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30950 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30951 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30952 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30953 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30954 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30955
30956 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30957
30958 * sysdeps/unix/xmknod.c: Remove file.
30959 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30960
30961 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30962
30963 * sysdeps/unix/sysv/i386/time.S: Remove file.
30964
30965 * sysdeps/unix/fxstat.c: Remove file.
30966 * sysdeps/unix/xstat.c: Likewise.
30967 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30968
30969 * sysdeps/unix/sysv/sigaction.c: Remove file.
30970
30971 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30972 (sysdep_headers): Remove variable.
30973 [termio.h not in sysdep_headers] (generated): Likewise.
30974 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30975 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30976 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30977 * sysdeps/unix/sysv/tcflow.c: Likewise.
30978 * sysdeps/unix/sysv/tcflush.c: Likewise.
30979 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30980 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30981 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30982 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30983 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30984
30985 * sysdeps/unix/siglist.c: Remove file.
30986
30987 * sysdeps/unix/getppid.S: Remove file.
30988
30989 * sysdeps/unix/mkdir.c: Remove file.
30990 * sysdeps/unix/rmdir.c: Likewise.
30991
309922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30993
30994 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30995 ERR_MAX value.
30996 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30997 errlist-compat value.
30998
309992012-04-18 David S. Miller <davem@davemloft.net>
31000
31001 * sysdeps/generic/memcopy.h (reg_char): Delete.
31002 * debug/strcat_chk.c: Use char, not reg_char.
31003 * debug/strcpy_chk.c: Likewise.
31004 * debug/strncat_chk.c: Likewise.
31005 * debug/strncpy_chk.c: Likewise.
31006 * string/memchr.c: Likewise.
31007 * string/memrchr.c: Likewise.
31008 * string/rawmemchr.c: Likewise.
31009 * string/strcat.c: Likewise.
31010 * string/strchr.c: Likewise.
31011 * string/strchrnul.c: Likewise.
31012 * string/strcmp.c: Likewise.
31013 * string/strcpy.c: Likewise.
31014 * string/strncat.c: Likewise.
31015 * string/strncmp.c: Likewise.
31016 * string/strncpy.c: Likewise.
31017
310182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31019
31020 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31021 __builtin_memcopy is called when src and dest ranges are known to not
31022 overlap.
31023
310242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31025
31026 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31027 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31028 fwd_align_merge macro call.
31029 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31030 bwd_align_merge macro call.
31031 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31032
310332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31034
31035 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31036 bwd_align_merge macros.
31037 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31038 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31039 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31040
310412012-04-18 David S. Miller <davem@davemloft.net>
31042
31043 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31044
310452012-04-18 Andreas Jaeger <aj@suse.de>
31046
31047 [BZ# 6794]
31048 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31049 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31050 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31051
31052 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31053 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31055
31056 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31057 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31058 Adjust for changed ldbl-128 files.
31059
31060 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31061 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31062 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31063
310642012-04-17 David S. Miller <davem@davemloft.net>
31065
31066 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31067
310682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31069
31070 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31071 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31072 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31073 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31074 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31075 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31076
310772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31078
31079 [BZ #6794]
31080 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31081 * math/libm-test.inc: Add ilogb errno and exception tests.
31082 * math/w_ilogb.c: New file: ilogb wrapper.
31083 * math/w_ilogbf.c: New file: ilogbf wrapper.
31084 * math/w_ilogbl.c: New file: ilogbl wrapper.
31085 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31086 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31087 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31088 exception being thrown with 0.0 as argument.
31089 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31090 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31091 exception being thrown with 0.0 as argument.
31092 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31093 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31094 exception being thrown with 0.0 as argument.
31095 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31096 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31097 exception being thrown with 0.0 as argument.
31098 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31099 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31101 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31102 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31103 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31104 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31105 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31106 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31107
311082012-04-17 Petr Baudis <pasky@ucw.cz>
31109
31110 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31111 with altivec.
31112
311132012-04-16 Marek Polacek <polacek@redhat.com>
31114
31115 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31116
311172012-04-16 Marek Polacek <polacek@redhat.com>
31118
31119 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31120 operands of fdivp instruction.
31121
311222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31123
31124 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31125 * elf/tst-auditmod3b.c: Likewise.
31126 * elf/tst-auditmod4b.c: Likewise.
31127 * elf/tst-auditmod5b.c: Likewise.
31128 * elf/tst-auditmod6b.c: Likewise.
31129 * elf/tst-auditmod6c.c: Likewise.
31130 * elf/tst-auditmod7b.c: Likewise.
31131 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31132 * sysdeps/x86_64/preconfigure.in: Likewise.
31133 * sysdeps/x86_64/preconfigure: Regenerated.
31134
311352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31136
31137 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31138 __ILP32__.
31139
311402012-04-13 Antoine Balestrat <merkil33@gmail.com>
31141
31142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31143 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31144
311452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31146
31147 [BZ #13973]
31148 * locale/iso-639.def: Fix gl language name. Spotted by
31149 Yaron Shahrabani.
31150
311512012-04-12 Roland McGrath <roland@hack.frob.com>
31152
31153 [BZ #2074]
31154 * libio/libio.h (__io_write_fn): Update comment.
31155
311562012-04-12 Petr Baudis <pasky@ucw.cz>
31157
31158 [BZ #2074]
31159 * stdio.texi (Hook Functions): The user provided writer function
31160 is not allowed to return -1.
31161
311622012-04-11 David S. Miller <davem@davemloft.net>
31163
31164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31165
311662012-04-11 Mike Frysinger <vapier@gentoo.org>
31167
31168 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31169 Add a leading slash to rtkaio.
31170
311712012-04-11 Jim Meyering <meyering@redhat.com>
31172
31173 [BZ #11959]
31174 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31175 It is not necessarily an error to ignore fwrite's return
31176 value. One can reliably use ferror to test for errors after
31177 the fact.
31178
311792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31180
31181 * bits/types.h (__snseconds_t): New type.
31182 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31183
31184 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31186 (__SNSECONDS_T_TYPE): Likewise.
31187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31188 (__SNSECONDS_T_TYPE): Likewise.
31189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31190 (__SNSECONDS_T_TYPE): Likewise.
31191
311922012-04-10 Andreas Jaeger <aj@suse.de>
31193
31194 [BZ #2636]
31195 * manual/time.texi (Processor Time): Return type of times is
31196 elapsed real time since an arbitrary point in the past.
31197 (CPU Time): Move CLK_TCK from here...
31198 (Processor Time): ...to here. Correct description.
31199 * manual/conf.texi (Constants for Sysconf): Correct description of
31200 _SC_CLK_TCK.
31201
312022012-04-10 David S. Miller <davem@davemloft.net>
31203
31204 [BZ #13967]
31205 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31206 where the is a gap between DT_REL(A) and DT_JMPREL.
31207
312082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31209
31210 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31211 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31212 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31213
312142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31215
31216 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31217 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31218 (dl_main): Handle --inhibit-cache.
31219 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31220 _dl_inhibit_cache.
31221 * elf/dl-load.c (_dl_map_object): Use it.
31222 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31223
312242012-04-09 Joseph Myers <joseph@codesourcery.com>
31225
31226 [BZ #13872]
31227 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31228 (__ieee754_powl): Saturate large exponents rather than testing for
31229 overflow of y*log2(x).
31230 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31231 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31232 exceptions.
31233
31234 [BZ #11521]
31235 * math/s_ctan.c: Include <float.h>.
31236 (__ctan): Avoid internal overflow or cancellation in calculating
31237 denominator.
31238 * math/s_ctanf.c: Likewise.
31239 * math/s_ctanl.c: Likewise.
31240 * math/s_ctanh.c: Likewise.
31241 * math/s_ctanhf.c: Likewise.
31242 * math/s_ctanhl.c: Likewise.
31243 * math/libm-test.inc (ctan_test): Add more tests.
31244 (ctanh_test): Likewise.
31245 * sysdeps/i386/fpu/libm-test-ulps: Update.
31246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31247
312482012-04-09 Andreas Jaeger <aj@suse.de>
31249
31250 [BZ #6894]
31251 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31252 is an optional BSD extension.
31253
31254 [BZ #10254]
31255 * manual/stdio.texi (Opening Streams): Document additional fopen
31256 parameters.
31257
312582012-04-09 Roland McGrath <roland@hack.frob.com>
31259
31260 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31261 %eax without telling the compiler.
31262
312632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31264
31265 [BZ # 13963]
31266 * manual/install.texi: Use sourceware.org.
31267
312682012-04-09 Joseph Myers <joseph@codesourcery.com>
31269
31270 [BZ #13873]
31271 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31272 (__ieee754_pow): Generate overflow and underflow using huge*huge
31273 and tiny*tiny rather than just returning constant infinity or zero
31274 for large exponents.
31275 * math/libm-test.inc (pow_test): Require overflow exceptions for
31276 applicable cases of large exponents.
31277
31278 [BZ #706]
31279 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31280 (__ieee754_pow): Use iterative multiplication algorithm only for
31281 integer exponents with absolute value below 1024. Check for odd
31282 integer exponents when using algorithm for real exponents.
31283 * math/libm-test.inc (pow_test): Add more tests.
31284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31285
312862012-04-08 Joseph Myers <joseph@codesourcery.com>
31287
31288 [BZ #13705]
31289 * math/libm-test.inc (exp_test): Do not allow overflow exception
31290 on underflow test.
31291
312922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31293
31294 [BZ #13705]
31295 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31296 instead of __kernel_standard_f.
31297
312982012-04-08 Mike Frysinger <vapier@gentoo.org>
31299
31300 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31301 * sysdeps/x86_64/memset_chk.S: Likewise.
31302
313032012-04-08 Andreas Jaeger <aj@suse.de>
31304
31305 [BZ #10153]
31306 * manual/startup.texi (Environment Access): Describe return value
31307 for putenv and setenv.
31308
31309 [BZ #6895]
31310 * manual/filesys.texi (Directory Entries): Add description for
31311 DT_LNK.
31312
31313 [BZ #6890]
31314 * manual/filesys.texi (Directory Entries): Clarify that it's file
31315 system not operating system in the description of DT_UNKNOWN.
31316
31317 [BZ #6578]
31318 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31319
313202012-04-08 Stephen Compall <s11@member.fsf.org>
31321
31322 [BZ #6649]
31323 * manual/llio.texi (Opening and Closing Files): Add cross
31324 reference to explain mode argument.
31325
313262012-04-07 Mike Frysinger <vapier@gentoo.org>
31327
31328 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31329 * sysdeps/x86_64/memset_chk.S: Likewise.
31330
313312012-04-07 David S. Miller <davem@davemloft.net>
31332
31333 * elf/elf.h (R_SPARC_WDISP10): Define.
31334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31335 R_SPARC_SIZE32.
31336 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31337 R_SPARC_SIZE64 and R_SPARC_H34.
31338
313392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31340
31341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31342 conditions and remove no longer applicable assertion.
31343
313442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31345
31346 * bits/byteswap.h: Include <features.h>.
31347 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31348 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31349
313502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31351
31352 * bits/byteswap.h (__bswap_16): Removed.
31353 Include <bits/byteswap-16.h> to get __bswap_16.
31354 * sysdeps/i386/bits/byteswap.h: Likewise.
31355 * sysdeps/s390/bits/byteswap.h: Likewise.
31356 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31357 * bits/byteswap-16.h: New file.
31358 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31359 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31360 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31361 * string/Makefile (headers): Add bits/byteswap-16.h.
31362
313632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31364
31365 [BZ #13895]
31366 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31367 extra indirection.
31368 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31369 * nss/tst-nss-static.c: New.
31370
313712012-04-06 Robert Millan <rmh@gnu.org>
31372
31373 [BZ #6486]
31374 * manual/llio.texi (File Position Primitive): lseek
31375 refers to WHENCE when it really means OFFSET.
31376
313772012-04-06 Andreas Jaeger <aj@suse.de>
31378
31379 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31380 strncmp declarations.
31381
31382 * abilist/libc.abilist: Add __poll and __ppoll.
31383
313842012-04-05 David S. Miller <davem@davemloft.net>
31385
31386 * scripts/check-local-headers.sh: Accept a host triplet in the
31387 path matched by the exclude regexp.
31388
31389 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31390 definition.
31391 * sysdeps/powerpc/powerpc32/dl-machine.h
31392 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31393 * sysdeps/s390/s390-32/dl-machine.h
31394 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31395 * sysdeps/sparc/sparc32/dl-machine.h
31396 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31397 * sysdeps/sparc/sparc64/dl-machine.h
31398 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31399
31400 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31401 lazy binding.
31402 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31403 undefined symbol errors.
31404
31405 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31406 DT_NEEDED entries.
31407
314082012-04-05 Michael Matz <matz@suse.de>
31409
31410 [BZ #13592]
31411 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31412
314132012-04-05 Andreas Jaeger <aj@suse.de>
31414
31415 [BZ #13908]
31416 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31417 comment.
31418
314192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31420
31421 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31422 which ROUND is no valid rounding mode.
31423
314242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31425
31426 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31427 read again.
31428 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31429
314302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31431
31432 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31433 an exception using FPU order intentionally.
31434
314352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31436
31437 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31438 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31439 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31440 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31441
314422012-04-05 Simon Josefsson <simon@josefsson.org>
31443
31444 [BZ #12340]
31445 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31446 EINVAL when BUFLEN is too smal.
31447
314482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31449
31450 [BZ #13553]
31451 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31452 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31453
314542012-04-03 Andreas Jaeger <aj@suse.de>
31455
31456 [BZ #13938]
31457 * manual/setjmp.texi (System V contexts): Fix sentence.
31458
31459 [BZ #13926]
31460 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31461 New macro for this case.
31462 [!__GNUC__] (__bswap_64): New inline function for this case.
31463 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31464 * bits/byteswap.h: Likewise.
31465 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31466 ull, guard with __GLIBC_HAVE_LONG_LONG.
31467
31468 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31469 __GLIBC_HAVE_LONG_LONG.
31470
31471 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31472 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31473
314742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31475
31476 [BZ #13691]
31477 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31478 inptr and inend, rather than using last_ch.
31479
314802012-04-02 David S. Miller <davem@davemloft.net>
31481
31482 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31483 * stdio-common/printf-parse.h (read_int): Change return type to
31484 'int', return -1 on INT_MAX overflow.
31485 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31486 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31487 overflows INT_MAX. Check for overflow of in-format-string precision
31488 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31489 SIZE_MAX not INT_MAX for integer overflow test.
31490 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31491 skip the construct in the format string but do not record anything.
31492 * stdio-common/bug22.c: Adjust to test both width/prevision
31493 INT_MAX overflow as well as total length INT_MAX overflow. Check
31494 explicitly for proper errno values.
31495
314962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31497
31498 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31499 CHAR_MAX.
31500 * string/test-strcmp.c [! WIDE]: Likewise.
31501 * time/tst-mktime2.c: Likewise for INT_MAX.
31502 * string/test-string.h: #include <sys/param.h> for MIN.
31503
31504 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31505 * sysdeps/i386/init-first.c (init): Likewise.
31506 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31507 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31508 * sysdeps/sh/init-first.c (init): Likewise.
31509
315102012-04-01 Ulrich Drepper <drepper@gmail.com>
31511
31512 * po/ru.po: Update from translation team.
31513 * po/vi.po: Likewise.
31514
315152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31516
31517 * resolv/nss_dns/dns-host.c: Merge copyright years.
31518
315192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31520
31521 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31522 Optimize memcpy with prefetch if
31523 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31524 src, dst pointers have unequal 16 byte alignments.
31525
315262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31527
31528 [BZ #13928]
31529 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31530 from a CNAME entry and return the minimum ttl for the query.
31531 (gaih_getanswer_slice): Likewise.
31532
315332012-03-30 Jeff Law <law@redhat.com>
31534
31535 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31536 due to long keys.
31537 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31538 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31539
31540 * resolv/nss_dns/dns-host.c: Update copyright year.
31541
315422012-03-30 Ulrich Drepper <drepper@gmail.com>
31543
31544 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31545 requests to save a system call. Fix check that all bytes are sent.
31546
31547 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31548 comments for sendmmsg.
31549
315502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31551
31552 [BZ #13691]
31553 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31554 with only 1 character between 0x0041 and 0x01b0.
31555 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31556 * wcsmbs/tst-mbsnrtowcs.c: New file.
31557
315582012-03-29 David S. Miller <davem@davemloft.net>
31559
31560 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31561 small copies by hand.
31562
315632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31564
31565 [BZ #13761]
31566 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31567 _nss_compat_initgroups_dyn): Fall back to malloc/free
31568 for large group memberships.
31569
315702012-03-28 David S. Miller <davem@davemloft.net>
31571
31572 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31573 that branches into memcpy.
31574 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31577 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31579 bits.
31580 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31581 implementation too.
31582 * sysdeps/sparc/mempcpy.S: New file.
31583
31584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31585 the IFUNC routine in the libc case.
31586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31587
31588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31589 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31590 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31591 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31592 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31593 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31594 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31595 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31596
31597 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31598 loop to 256 bytes instead of 64 bytes and fix test signedness.
31599
31600 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31601 * sysdeps/sparc/sparc32/Makefile: rather than here...
31602 * sysdeps/sparc/sparc64/Makefile: and here.
31603
316042012-03-28 Ulrich Drepper <drepper@gmail.com>
31605
31606 * malloc/mallocbug.c: Avoid warnings about unused variables.
31607
316082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31609
31610 [BZ #13760]
31611 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31612 in the right place. Discard and retry query if response is
31613 larger than input buffer size.
31614
316152012-03-28 Joseph Myers <joseph@codesourcery.com>
31616
31617 [BZ #369]
31618 [BZ #2678]
31619 [BZ #3866]
31620 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31621 x for large integer exponent.
31622 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31623 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31624 sign of result as needed afterwards.
31625 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31626 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31627 result for underflowing pow the same as for overflow.
31628 (__kernel_standard_l): Handle powl overflow and underflow here
31629 rather than calling __kernel_standard.
31630 * math/libm-test.inc (pow_test): Add more tests.
31631
31632 [BZ #3868]
31633 [BZ #13879]
31634 [BZ #13910]
31635 [BZ #13911]
31636 [BZ #13912]
31637 [BZ #13913]
31638 [BZ #13915]
31639 [BZ #13916]
31640 [BZ #13917]
31641 [BZ #13918]
31642 [BZ #13919]
31643 [BZ #13920]
31644 [BZ #13921]
31645 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31646 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31647 (__kernel_standard_l): New function.
31648 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31649 __kernel_standard.
31650 * math/w_acosl.c (__acosl): Likewise.
31651 * math/w_asinl.c (__asinl): Likewise.
31652 * math/w_atan2l.c (__atan2l): Likewise.
31653 * math/w_atanhl.c (__atanhl): Likewise.
31654 * math/w_coshl.c (__coshl): Likewise.
31655 * math/w_exp10l.c (__exp10l): Likewise.
31656 * math/w_exp2l.c (__exp2l): Likewise.
31657 * math/w_fmodl.c (__fmodl): Likewise.
31658 * math/w_hypotl.c (__hypotl): Likewise.
31659 * math/w_j0l.c (__j0l, __y0l): Likewise.
31660 * math/w_j1l.c (__j1l, __y1l): Likewise.
31661 * math/w_jnl.c (__jnl, __ynl): Likewise.
31662 * math/w_lgammal.c (__lgammal): Likewise.
31663 * math/w_log10l.c (__log10l): Likewise.
31664 * math/w_log2l.c (__log2l): Likewise.
31665 * math/w_logl.c (__logl): Likewise.
31666 * math/w_powl.c (__powl): Likewise.
31667 * math/w_remainderl.c (__remainderl): Likewise.
31668 * math/w_scalbl.c (sysv_scalbl): Likewise.
31669 * math/w_sinhl.c (__sinhl): Likewise.
31670 * math/w_sqrtl.c (__sqrtl): Likewise.
31671 * math/w_tgammal.c (__tgammal): Likewise.
31672 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31673 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31674 * math/libm-test.inc (acos_test): Add more tests.
31675 (acosh_test): Likewise.
31676 (asin_test): Likewise.
31677 (atanh_test): Likewise.
31678 (exp_test): Likewise.
31679 (exp10_test): Likewise.
31680 (exp2_test): Likewise.
31681 (expm1_test): Likewise.
31682 (lgamma_test): Likewise.
31683 (log_test): Likewise.
31684 (log10_test): Likewise.
31685 (log1p_test): Likewise.
31686 (log2_test): Likewise.
31687 (pow_test): Do not allow some spurious overflow exceptions.
31688 (sqrt_test): Add more tests.
31689 (tgamma_test): Likewise.
31690 (y0_test): Likewise.
31691 (y1_test): Likewise.
31692 (yn_test): Likewise.
31693
316942012-03-27 Anton Blanchard <anton@samba.org>
31695
31696 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31697 MAP_HUGETLB.
31698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31701
317022012-03-27 David S. Miller <davem@davemloft.net>
31703
31704 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31705
31706 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31707 have-as-vis3 check.
31708
317092012-03-27 Andreas Jaeger <aj@suse.de>
31710
31711 * sysdeps/x86_64/elf/configure.in: Moved to ...
31712 * sysdeps/x86_64/configure.in: ... here.
31713 * sysdeps/x86_64/elf/start.S: Moved to ...
31714 * sysdeps/x86_64/start.S: ... here.
31715 * sysdeps/x86_64/elf/configure: Delete.
31716
31717 * sysdeps/x86_64/configure.in: Merge contents from
31718 sysdeps/i386/configure.in (without i686 check).
31719
31720 * sysdeps/i386/elf/Versions: Merge into ...
31721 * sysdeps/i386/Versions: ... this.
31722 * sysdeps/i386/elf/Versions: Delete file.
31723 * sysdeps/i386/elf/start.S: Moved to ...
31724 * sysdeps/i386/start.S: ...here.
31725 * sysdeps/i386/elf/configure.in: Merge into...
31726 * sysdeps/i386/configure.in: ...here.
31727 * sysdeps/i386/elf/configure.in: Delete file.
31728 * sysdeps/i386/elf/configure: Delete file.
31729
31730 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31731 * debug/backtracesyms.c: ... here.
31732 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31733 * debug/backtracesymsfd.c: ... here.
31734 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31735 * sysdeps/generic/ifunc-sel.h: ... here.
31736
31737 * sysdeps/unix/i386/start.c: Delete file.
31738 * sysdeps/unix/sparc/start.c: Delete file.
31739 * sysdeps/unix/start.c: Delete file.
31740
31741 * sysdeps/sh/elf/configure.in: Moved to ...
31742 * sysdeps/sh/configure.in: ... here.
31743 * sysdeps/sh/elf/start.S: Moved to ...
31744 * sysdeps/sh/start.S: ... here.
31745 * sysdeps/sh/elf/configure: Delete file.
31746
31747 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31748 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31749 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31750 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31751 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31752 * sysdeps/powerpc/powerpc64/start.S: here.
31753 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31754 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31755 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31756 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31757 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31758
31759 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31760 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31761 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31762 * sysdeps/powerpc/powerpc32/start.S: ... here.
31763 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31764 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31765 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31766
31767 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31768 * sysdeps/powerpc/ifunc-sel.h: ... here.
31769 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31770 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31771
31772 * sysdeps/sparc/elf/configure.in: Moved to ...
31773 * sysdeps/sparc/configure.in: ... here.
31774 * sysdeps/sparc/elf/configure: Delete file.
31775 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31776 * sysdeps/sparc/sparc32/start.S: ... here.
31777 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31778 * sysdeps/sparc/sparc64/start.S: ... here.
31779 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31780 * sysdeps/sparc/sparc32/Makefile: ... this.
31781 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31782 * sysdeps/sparc/sparc64/Makefile: ... this.
31783
31784 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31785 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31786 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31787 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31788 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31789 * sysdeps/s390/s390-32/setjmp.S: ... here.
31790 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31791 * sysdeps/s390/s390-32/configure.in: ... here.
31792 * sysdeps/s390/s390-32/elf/configure: Delete file.
31793 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31794 * sysdeps/s390/s390-32/start.S: ... here.
31795
31796 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31797 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31798 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31799 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31800 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31801 * sysdeps/s390/s390-64/setjmp.S: ... here.
31802 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31803 * sysdeps/s390/s390-64/configure.in: ... here
31804 * sysdeps/s390/s390-64/elf/configure: Delete file.
31805 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31806 * sysdeps/s390/s390-64/start.S: ... here.
31807 * sysdeps/s390/s390-64/elf/configure: Delete.
31808
31809 * configure.in: Remove support for elf directories in sysdeps.
31810
31811 * configure: Regenerated.
31812 * sysdeps/i386/configure: Regenerated.
31813 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31814 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31815 * sysdeps/s390/s390-32/configure: Regenerated.
31816 * sysdeps/s390/s390-64/configure: Regenerated.
31817 * sysdeps/sh/configure: Regenerated.
31818 * sysdeps/sparc/configure: Regenerated.
31819 * sysdeps/x86_64/configure: Regenerated.
31820
318212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31822
31823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31824
31825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31826 denormal result into account.
31827
318282012-03-25 Roland McGrath <roland@hack.frob.com>
31829
31830 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31831 Reported by Allan McRae <allan@archlinux.org>.
31832
318332012-03-23 Jeff Law <law@redhat.com>
31834
31835 * nss/getnssent.c (__nss_getent): Fix typo.
31836
318372012-03-23 David S. Miller <davem@davemloft.net>
31838
31839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31840
318412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31842
31843 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31844 to pad to uint64_t for each field.
31845 (dl_tls_index): Replace unsigned long with uint64_t.
31846
318472012-03-23 Daniel Jacobowitz <dmj@google.com>
31848 Paul Pluzhnikov <ppluzhnikov@google.com>
31849
31850 [BZ #6528]
31851 * grp/Makefile (otherlibs): Don't set it.
31852 * inet/Makefile (otherlibs): Likewise.
31853 * login/Makefile (otherlibs): Likewise.
31854 * nscd/Makefile (otherlibs): Likewise.
31855 * posix/Makefile (otherlibs): Likewise.
31856 * pwd/Makefile (otherlibs): Likewise.
31857 * rt/Makefile (otherlibs): Likewise.
31858 * sunrpc/Makefile (otherlibs): Likewise.
31859 * nss/Makefile (otherlibs): Likewise.
31860 Add libnss_files to routines and static-only-routines.
31861 ($(objpfx)getent): Remove rule.
31862 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31863 static-only-routines.
31864
318652012-03-22 Joseph Myers <joseph@codesourcery.com>
31866
31867 [BZ #13892]
31868 * math/s_cexp.c: Include <float.h>.
31869 (__cexp): Handle exp result overflowing not necessarily
31870 overflowing both real and imaginary parts of result.
31871 * math/s_cexpf.c: Likewise.
31872 * math/s_cexpl.c: Likewise.
31873 * math/libm-test.inc (cexp_test): Add more tests.
31874 * sysdeps/i386/fpu/libm-test-ulps: Update.
31875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31876
318772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31878
31879 * include/link.h (ELFW): New macro.
31880 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31881 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31882
318832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31884
31885 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31886 with uint64_t.
31887
318882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31889
31890 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31891 declaration.
31892 (struct La_x32_retval): Likewise.
31893
318942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31895
31896 * sysdeps/x86_64/preconfigure.in: New file.
31897 * sysdeps/x86_64/preconfigure: New generated file.
31898
318992012-03-22 Joseph Myers <joseph@codesourcery.com>
31900
31901 [BZ #13824]
31902 * math/e_exp2l.c: Include <float.h>.
31903 (__ieee754_exp2l): Handle overflow and underflow cases
31904 separately. Only pass fractional part of argument to
31905 __ieee754_expl.
31906 * math/libm-test.inc (exp2_test): Add more tests.
31907
31908 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31909 negating x to take absolute value.
31910 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31911 Likewise.
31912 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31913 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31914 Likewise.
31915 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31916 computing low part if x was negated.
31917 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31918
319192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31920
31921 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31922 la_x32_gnu_pltexit.
31923 (pltexit): Cast int_retval to ptrdiff_t.
31924 * elf/tst-auditmod3b.c: Likewise.
31925 * elf/tst-auditmod4b.c: Likewise.
31926 * elf/tst-auditmod5b.c: Likewise.
31927 * elf/tst-auditmod6b.c: Likewise.
31928 * elf/tst-auditmod6c.c: Likewise.
31929 * elf/tst-auditmod7b.c: Likewise.
31930
31931 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31932 and x32_gnu_pltexit.
31933
31934 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31935 __ELF_NATIVE_CLASS.
31936 (La_x32_regs): New macro.
31937 (La_x32_retval): Likewise.
31938 (la_x32_gnu_pltenter): New function prototype.
31939 (la_x32_gnu_pltexit): Likewise.
31940
319412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31942
31943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31944 exponent.
31945
31946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31947
31948 * configure.in (libc_cv_cc_nofma): Check for option to disable
31949 generation of FMA instructions.
31950 * configure: Regenerate.
31951 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31952 * sysdeps/ieee754/dbl-64/Makefile: New file.
31953 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31954 Remove brandred-fma4.
31955 (CFLAGS-brandred-fma4.c): Remove.
31956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31957 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31958 define.
31959 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31960 define.
31961
319622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31963
31964 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31965 LLONG_MAX != LONG_MAX.
31966 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31967 (_fitoa_word): Likewise.
31968 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31969 LLONG_MAX != LONG_MAX.
31970 * stdio-common/_itowa.h: Include <_itoa.h>.
31971 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31972 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31973 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31974 only if not defined.
31975 (_ITOA_WORD_TYPE): Likewise.
31976 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31977 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31978
319792012-03-21 David S. Miller <davem@davemloft.net>
31980
31981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31982
319832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31984
31985 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31986 of x86_64 when setting libc_cv_slibdir, libdir and
31987 libc_cv_localedir.
31988 * sysdeps/unix/sysv/linux/configure: Regenerated.
31989
319902012-03-21 Joseph Myers <joseph@codesourcery.com>
31991
31992 * manual/lang.texi (Old Varargs): Remove section.
31993 (How Variadic): Update menu.
31994 (va_start): Do not mention varargs.h.
31995
319962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31997 Joseph Myers <joseph@codesourcery.com>
31998
31999 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32000 link test.
32001 * configure: Regenerated.
32002
320032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32004
32005 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32006 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32007 conformtest.pl
32008
320092012-03-21 Joseph Myers <joseph@codesourcery.com>
32010
32011 * NOTES: Remove.
32012 * Makefile (files-for-dist): Remove NOTES.
32013 (NOTES): Remove rule.
32014 * README: Don't refer to NOTES.
32015 * manual/creature.texi: Don't include macros.texi.
32016 * manual/intro.texi (creature.texi): Remove comment referring to
32017 NOTES.
32018
32019 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32020 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32021 * configure: Regenerated.
32022 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32023 LIBC_TRY_CC_OPTION.
32024 (libc_cv_as_i686): Likewise.
32025 (libc_cv_cc_avx): Likewise.
32026 (libc_cv_cc_sse2avx): Likewise.
32027 (libc_cv_cc_fma4): Likewise.
32028 (libc_cv_cc_novzeroupper): Likewise.
32029 * sysdeps/i386/configure: Regenerated.
32030
32031 [BZ #13883]
32032 * sysdeps/i386/fpu/s_cexp.S: Remove.
32033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32034 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32035 * math/libm-test.inc (cexp_test): Add more tests.
32036 * sysdeps/i386/fpu/libm-test-ulps: Update.
32037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32038
320392012-03-21 Allan McRae <allan@archlinux.org>
32040
32041 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32042
320432012-03-21 Joseph Myers <joseph@codesourcery.com>
32044
32045 [BZ #13871]
32046 * math/w_exp2.c: Do not include <float.h>.
32047 (o_threshold, u_threshold): Remove.
32048 (__exp2): Calculate result before checking finiteness and calling
32049 __kernel_standard.
32050 * math/w_exp2f.c: Likewise.
32051 * math/w_exp2l.c: Likewise.
32052 * math/libm-test.inc (exp2_test): Require overflow exception for
32053 1e6 input.
32054
32055 [BZ #3866]
32056 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32057 range of signed 64-bit integers before using fistpll. Remove
32058 checks for whether integers fit in mantissa bits.
32059 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32060 the range of signed 32-bit integers before using fistpl. Remove
32061 checks for whether integers fit in mantissa bits.
32062 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32063 (__ieee754_powl): Test for y outside the range of signed 64-bit
32064 integers before using fistpll. Reduce 64-bit values to 63-bit
32065 ones as needed.
32066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32067 divide-by-zero is raised for zero to large negative powers.
32068 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32069 (__ieee754_powl): Test for y outside the range of signed 64-bit
32070 integers before using fistpll. Reduce 64-bit values to 63-bit
32071 ones as needed.
32072 * math/libm-test.inc (pow_test): Add more tests.
32073
320742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32075
32076 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32077 <stdio-common/_itoa.h>.
32078 * debug/segfault.c: Likewise.
32079 * elf/dl-cache.c: Likewise.
32080 * elf/dl-minimal.c: Likewise.
32081 * elf/dl-misc.c: Likewise.
32082 * elf/dl-sysdep.c: Likewise.
32083 * elf/dl-version.c: Likewise.
32084 * elf/rtld.c: Likewise.
32085 * hurd/hurdsock.c: Likewise.
32086 * hurd/lookup-retry.c: Likewise.
32087 * malloc/malloc.c: Likewise.
32088 * malloc/mtrace.c: Likewise.
32089 * nscd/nscd_getgr_r.c: Likewise.
32090 * nscd/nscd_getpw_r.c: Likewise.
32091 * nscd/nscd_getserv_r.c: Likewise.
32092 * posix/getopt_init.c: Likewise.
32093 * posix/wordexp.c: Likewise.
32094 * stdio-common/_itoa.c: Likewise.
32095 * stdio-common/printf_fphex.c: Likewise.
32096 * stdio-common/vfprintf.c: Likewise.
32097 * string/_strerror.c: Likewise.
32098 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32099 * sysdeps/i386/i686/hp-timing.h: Likewise.
32100 * sysdeps/mach/_strerror.c: Likewise.
32101 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32102 * sysdeps/mach/hurd/sethostid.c: Likewise.
32103 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32104 * sysdeps/mach/xpg-strerror.c: Likewise.
32105 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32106 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32107 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32108 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32109 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32110 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32111 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32112 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32113 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32114 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32115 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32116 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32117 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32118 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32119 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32121 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32122 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32123 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32124 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32125 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32126
32127 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32128
32129 * stdio-common/_itoa.h: Moved to ...
32130 * sysdeps/generic/_itoa.h: Here.
32131
32132 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32133
32134 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32135 instead of "_itoa.h" and "_itowa.h".
32136 * stdio-common/vfprintf.: Likewise.
32137
321382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32139
32140 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32141 <bits/wordsize.h>.
32142 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32143 (__signbit): Likwise.
32144 (llrintf): Likwise.
32145 (llrint): Likwise.
32146
321472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32148
32149 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32150 __WORDSIZE != 64.
32151
321522012-03-20 Joseph Myers <joseph@codesourcery.com>
32153
32154 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32155 OVERFLOW_EXCEPTION_OK.
32156 * math/libm-test.inc ("Philosophy"): Update comment about
32157 exception testing.
32158 (OVERFLOW_EXCEPTION): Define.
32159 (OVERFLOW_EXCEPTION_OK): Likewise.
32160 (INVALID_EXCEPTION_OK): Renumber.
32161 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32162 (IGNORE_ZERO_INF_SIGN): Likewise.
32163 (test_exceptions): Handle FE_OVERFLOW.
32164 (exp10_test): Expect overflow exceptions.
32165 (exp2_test): Likewise.
32166 (expm1_test): Likewise.
32167 (nextafter_test): Likewise.
32168 (pow_test): Likewise.
32169 (scalbn_test): Likewise.
32170 (scalbln_test): Likewise.
32171
321722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32173
32174 * sysdeps/x86_64/bits/atomic.h
32175 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32176 64bit integer.
32177 (atomic_exchange_acq): Likewise.
32178 (__arch_exchange_and_add_body): Likewise.
32179 (__arch_add_body): Likewise.
32180 (atomic_add_negative): Likewise.
32181 (atomic_add_zero): Likewise.
32182
321832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32184
32185 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32186 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32187
321882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32189
32190 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32191 Check __x86_64__ instead of __WORDSIZE.
32192
321932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32194
32195 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32196
321972012-03-19 David S. Miller <davem@davemloft.net>
32198
32199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32200
32201 * sysdeps/sparc/fpu/fenv_private.h: New file.
32202 * sysdeps/sparc/fpu/math_private.h: Use it.
32203 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32204 Remove.
32205 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32206 (libc_feholdexcept_setroundl): Remove.
32207 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32208 Remove.
32209 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32210 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32211
322122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32213
32214 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32215 int64_t instead of long int.
32216 (INSERT_WORDS64): Likwise.
32217
322182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32219
32220 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32221 _Unwind_GetCFA return to _Unwind_Ptr first.
32222
322232012-03-19 Joseph Myers <joseph@codesourcery.com>
32224
32225 [BZ #13629]
32226 * math/s_clog.c: Include <float.h>.
32227 (__clog): Scale large or subnormal inputs.
32228 * math/s_clogf.c: Likewise.
32229 * math/s_clogl.c: Likewise.
32230 * math/s_clog10.c: Include <float.h>.
32231 (M_LOG10_2): Define.
32232 (__clog10): Scale large or subnormal inputs.
32233 * math/s_clog10f.c: Likewise.
32234 * math/s_clog10l.c: Likewise.
32235 * math/libm-test.inc (clog_test): Add more tests.
32236 (clog10_test): Likewise.
32237 * sysdeps/i386/fpu/libm-test-ulps: Update.
32238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32239
32240 [BZ #11451]
32241 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32242 x and y.
32243 * math/libm-test.inc (atan2_test): Add another test.
32244
32245 * Makerules (common-objdir-compile): Remove.
32246 * sysdeps/unix/Makefile (config-generated): Do not add
32247 $(unix-generated) to variable.
32248 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32249 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32250 Remove rule.
32251 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32252 Likewise.
32253 [generic bits/local_lim.h] (before-compile): Do not append to
32254 variable.
32255 [generic bits/local_lim.h] (common-generated): Likewise.
32256 [generic sys/param.h] (before-compile): Do not append to variable.
32257 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32258 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32260 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32261 include.
32262 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32263 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32264 [generic sys/param.h] ($(addprefix
32265 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32266 [generic sys/param.h] (common-generated): Do not append to
32267 variable.
32268 [generic sys/param.h] (sysdep_headers): Likewise.
32269 [generic bits/errno.h] (before-compile): Do not append to
32270 variable.
32271 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32272 rule.
32273 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32274 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32275 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32276 [generic bits/errno.h] (common-generated): Do not append to
32277 variable.
32278 [generic bits/ioctls.h] (before-compile): Do not append to
32279 variable.
32280 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32281 rule.
32282 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32283 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32284 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32285 rule.
32286 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32287 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32288 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32289 [generic bits/ioctls.h] (common-generated): Do not append to
32290 variable.
32291 [generic sys/syscall.h] (syscall.h): Remove variable.
32292 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32293 rule.
32294 [generic sys/syscall.h] (before-compile): Do not append to
32295 variable.
32296 [generic sys/syscall.h] (common-generated): Likewise.
32297 * sysdeps/unix/errnos-tmpl.c: Remove file.
32298 * sysdeps/unix/errnos.awk: Likewise.
32299 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32300 * sysdeps/unix/ioctls.awk: Likewise.
32301 * sysdeps/unix/mk-local_lim.c: Likewise.
32302 * sysdeps/unix/snarf-ioctls: Likewise.
32303
323042012-03-19 Richard Henderson <rth@twiddle.net>
32305
32306 * sysdeps/i386/fpu/fenv_private.h: New file.
32307 * sysdeps/i386/fpu/math_private.h: Use it.
32308 (math_opt_barrier, math_force_eval): Remove.
32309 (libc_feholdexcept_setround_53bit): Remove.
32310 (libc_feupdateenv_53bit): Remove.
32311 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32312 (math_opt_barrier, math_force_eval): Remove.
32313 (libc_feholdexcept): Remove.
32314 (libc_feholdexcept_setround): Remove.
32315 (libc_fetestexcept, libc_fesetenv): Remove.
32316 (libc_feupdateenv_test): Remove.
32317 (libc_feupdateenv, libc_feholdsetround): Remove.
32318 (libc_feresetround): Remove.
32319
32320 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32321 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32322
32323 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32324 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32325 (libc_feupdateenv_testl): New.
32326 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32327 (libc_feupdateenv_testf): New.
32328 (libc_feupdateenv): Use libc_feupdateenv_test.
32329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32330 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32331
32332 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32333 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32334 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32335 (libc_feresetround_noex): New.
32336 (libc_feresetround_noexf): New.
32337 (libc_feresetround_noexl): New.
32338 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32339 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32340 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32341 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32342 SET_RESTORE_ROUND.
32343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32345 (__cos): Likewise.
32346 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32347 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32348 SET_RESTORE_ROUND_NOEX.
32349 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32350 SET_RESTORE_ROUND_NOEXF.
32351 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32352 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32353 (libc_feholdsetroundf): New.
32354 (libc_feresetround, libc_feresetroundf): New.
32355
32356 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32357 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32358 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32359
32360 * sysdeps/generic/math_private.h: Include <fenv.h>.
32361 (default_libc_feholdexcept): New.
32362 (default_libc_feholdexcept_setround): New.
32363 (default_libc_fesetenv, default_libc_feupdateenv): New.
32364 (libc_feholdexcept): Only define if undefined.
32365 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32366 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32367 (libc_feholdexcept_setroundl): Likewise.
32368 (libc_feholdexcept_setround_53bit): Likewise.
32369 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32370 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32371 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32372 (libc_feupdateenv_53bit): Likewise.
32373 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32374 (libc_feholdexcept): Convert from macro to inline function.
32375 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32376 (libc_fesetenv, libc_feupdateenv): Likewise.
32377
32378 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32379 not previously defined.
32380 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32381 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32382 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32383 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32384 * sysdeps/ieee754/flt-32/math_private.h: New file.
32385 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32386 math_private.h below SET_FLOAT_WORD.
32387 (__isnan, __isinf_ns, __finite): Remove.
32388 (__isnanf, __isinf_nsf, __finitef): Remove.
32389
323902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32391
32392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32393
323942012-03-17 David S. Miller <davem@davemloft.net>
32395
32396 [BZ #6471]
32397 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32398 for 2.16.
32399
324002012-03-16 David S. Miller <davem@davemloft.net>
32401
32402 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32403 warnings.
32404
32405 [BZ #6471]
32406 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32407 properly.
32408 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32409 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32410 sysdep_routines when subdir is sysvipc.
32411 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32412 __getshmlba helper.
32413
32414 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32415
324162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32417
32418 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32419 [__LP64__].
32420
324212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32422
32423 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32424 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32425 (__lround): Renamed to ...
32426 (__llround): This. Replace long int with long long int.
32427 Define lround functions as aliases of llround functions.
32428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32429
324302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32431
32432 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32433 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32434 adresses to uintptr_t. Replace "long int" and "unsigned long
32435 int" with "greg_t" on va_arg.
32436
324372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32438
32439 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32440 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32441
32442 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32443 Move e_machine check before EI_CLASS check. Handle x32
32444 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32445 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32446 SKIP_EM_IA_64 and include
32447 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32448
32449 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32450 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32451 (add_system_dir): New macro.
32452
32453 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32454 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32455
324562012-03-16 Joseph Myers <joseph@codesourcery.com>
32457
32458 [BZ #2551]
32459 [BZ #2552]
32460 [BZ #2553]
32461 [BZ #2554]
32462 [BZ #2562]
32463 [BZ #2563]
32464 [BZ #2565]
32465 [BZ #2566]
32466 [BZ #2576]
32467 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32468 (y0): Likewise.
32469 * math/w_j0f.c (j0f): Likewise.
32470 (y0f): Likewise.
32471 * math/w_j0l.c (__j0l): Likewise.
32472 (__y0l): Likewise.
32473 * math/w_j1.c (j1): Likewise.
32474 (y1): Likewise.
32475 * math/w_j1f.c (j1f): Likewise.
32476 (y1f): Likewise.
32477 * math/w_j1l.c (__j1l): Likewise.
32478 (__y1l): Likewise.
32479 * math/w_jn.c (jn): Likewise.
32480 (yn): Likewise.
32481 * math/w_jnf.c (jnf): Likewise.
32482 (ynf): Likewise.
32483 * math/w_jnl.c (__jnl): Likewise.
32484 (__ynl): Likewise.
32485 * math/libm-test.inc (j0_test): Add more tests.
32486 (j1_test): Likewise.
32487 (jn_test): Likewise. Add trailing semicolon to existing test.
32488 (y0_test): Likewise.
32489 (y1_test): Likewise.
32490 * sysdeps/i386/fpu/libm-test-ulps: Update.
32491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32492
32493 [BZ #13851]
32494 [BZ #13854]
32495 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32496 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32497 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32498 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32499 (__tanl): Set errno for infinite argument.
32500 * sysdeps/i386/fpu/mptan.c: Remove.
32501 * sysdeps/i386/fpu/s_tan.S: Likewise.
32502 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32503 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32504 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32505 * math/libm-test.inc (tan_test): Add more tests and enable more
32506 tests for double and long double.
32507 * sysdeps/i386/fpu/libm-test-ulps: Update.
32508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32509
325102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32511
32512 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32513 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32514
325152012-03-16 Roland McGrath <roland@hack.frob.com>
32516
32517 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32518 * configure.in: Use it for both main tree and add-ons.
32519 * configure: Regenerated.
32520
325212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32522
32523 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32524
325252012-03-16 Joseph Myers <joseph@codesourcery.com>
32526
32527 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32528 in comment.
32529
32530 [BZ #13851]
32531 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32532 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32534 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32536 infinite argument.
32537 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32539 != 0 for prec == 2.
32540 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32541 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32542 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32543 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32544 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32545 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32546 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32547 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32548 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32549 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32550 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32551 * math/libm-test.inc (cos_test): Add more tests and enable more
32552 tests for long double.
32553 (sin_test): Likewise.
32554 (sincos_test): Likewise.
32555 * sysdeps/i386/fpu/libm-test-ulps: Update.
32556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32557
325582012-03-16 David S. Miller <davem@davemloft.net>
32559
32560 * sysdeps/sparc/fpu/math_private.h: New file.
32561
325622012-03-15 David S. Miller <davem@davemloft.net>
32563
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32565 file.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32568 file.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32574 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32575 sysdep routines.
32576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32577
32578 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32579 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32580
32581 * sysdeps/sparc/sparc-ifunc.h: New file.
32582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32583 sparc-ifunc.h
32584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32586 Likewise.
32587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32588 Likewise.
32589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32593 Likewise.
32594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32599 Likewise.
32600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32601 Likewise.
32602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32626
326272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32628
32629 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32630 scaling.
32631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32632
326332012-03-15 Andreas Jaeger <aj@suse.de>
32634
32635 [BZ #13852]
32636 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32637 ieee754/flt-32 implementation for sin, cos and sincos.
32638 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32639 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32640 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32641 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32642 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32643 ieee754/flt-32 implementation for tan.
32644
32645 * math/libm-test.inc (cos_test): Enable some large input tests for
32646 float as well
32647 (sin_test): Likewise.
32648 (sincos_test): Likewise.
32649 (tan_test): Add tests for large input.
32650
32651 * sysdeps/i386/fpu/libm-test-ulps: Update.
32652
326532012-03-15 Andreas Jaeger <aj@suse.de>
32654
32655 [BZ #13658]
32656 * math/libm-test.inc (cos_test): Add more test cases.
32657 (sin_test): Likewise.
32658 (sincos_test): Likewise.
32659
326602012-03-15 Andreas Jaeger <aj@suse.de>
32661
32662 [BZ #13837]
32663 * math/libm-test.inc (cos_test): Add a test case for large input
32664 value.
32665 (sin_test): Likewise.
32666 (sincos_test): Likewise.
32667
326682012-03-15 Andreas Jaeger <aj@suse.de>,
32669 Joseph Myers <joseph@codesourcery.com>
32670
32671 [BZ #13658]
32672 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32673 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32674 * sysdeps/i386/fpu/branred.c: Likewise.
32675 * sysdeps/i386/fpu/dosincos.c: Likewise.
32676 * sysdeps/i386/fpu/mpa.c: Likewise.
32677 * sysdeps/i386/fpu/s_cos.S: Likewise.
32678 * sysdeps/i386/fpu/s_sin.S: Likewise.
32679 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32680 * sysdeps/i386/fpu/sincos32.c: Likewise.
32681
32682 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32683 Define.
32684 (libc_feupdateenv_53bit): Define.
32685 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32686 Define.
32687 (libc_feupdateenv_53bit): Define.
32688
32689 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32690 53 bit (without extend i386 double precision).
32691
32692 * math/libm-test.inc (sincos_test): Add tests for large input.
32693 (sin): Likewise.
32694 (cos): Likewise.
32695
32696 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32697
326982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32699
32700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32701
327022012-03-15 David S. Miller <davem@davemloft.net>
32703
32704 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32705 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32706 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32707 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32720 file.
32721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32723 file.
32724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32726 file.
32727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32729 file.
32730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32732 fmin/fmax sysdep routines.
32733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32734
327352012-03-14 David S. Miller <davem@davemloft.net>
32736
32737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32765 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32766 routines.
32767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32768 file.
32769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32771 file.
32772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32774 file.
32775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32777 file.
32778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32780 file.
32781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32783 file.
32784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32785 file.
32786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32787 file.
32788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32789 file.
32790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32791 New file.
32792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32793 file.
32794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32795 file.
32796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32798 file.
32799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32801 file.
32802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32804 file.
32805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32807 VIS3 routines.
32808
32809 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32810 New file.
32811
32812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32813
32814 * sysdeps/sparc/configure.in: New file.
32815 * sysdeps/sparc/configure: Generate.
32816 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32817 * configure: Regenerate.
32818 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32819 * config.make.in (have-as-vis3): New.
32820 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32821 available use -Av9d instead of -Av9a.
32822 * sysdeps/sparc/sparc64/Makefile: Likewise.
32823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32825 New file.
32826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32827 file.
32828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32829 New file.
32830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32831 file.
32832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32837
32838 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32839 fzeros/fnegs to load 0x80000000 into a float register instead of
32840 using the stack.
32841 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32842
328432012-03-14 Joseph Myers <joseph@codesourcery.com>
32844
32845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32846 bits/syscall.h.
32847 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32848 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32849 ($(inst_includedir)/bits/syscall.h): Remove rule.
32850 ($(objpfx)bits/syscall.d): Include instead of
32851 $(objpfx)syscall-list.d.
32852 (generated): Change syscall-list.h and syscall-list.d to
32853 bits/syscall.h and bits/syscall.d.
32854
328552012-03-14 Roland McGrath <roland@hack.frob.com>
32856
32857 [BZ #13846]
32858 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32859
328602012-03-14 Joseph Myers <joseph@codesourcery.com>
32861
32862 [BZ #13841]
32863 * math/s_csqrt.c: Include <float.h>.
32864 (__csqrt): Scale large or subnormal inputs.
32865 * math/s_csqrtf.c: Likewise.
32866 * math/s_csqrtl.c: Likewise.
32867 * math/libm-test.inc (csqrt_test): Add more tests.
32868 * sysdeps/i386/fpu/libm-test-ulps: Update.
32869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870
32871 [BZ #13840]
32872 * math/libm-test.inc (hypot_test): Add more tests.
32873
328742012-03-13 David S. Miller <davem@davemloft.net>
32875
32876 [BZ #13840]
32877 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32878 double-precision for the calculation instead of scaling.
32879
328802012-03-13 Joseph Myers <joseph@codesourcery.com>
32881
32882 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32883 manipulate bits before adding and subtracting TWO52[sx].
32884 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32885 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32886 Likewise.
32887 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32888
328892012-03-13 David S. Miller <davem@davemloft.net>
32890
32891 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32892 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32894 rtld-global-offsets.h
32895 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32896
32897 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32898 large parameters.
32899
32900 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32901
32902 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32903 'err' in the ifdef scope in which it is actually used.
32904
32905 * nss/nss_db/db-init.c: Include string.h
32906
329072012-03-12 David S. Miller <davem@davemloft.net>
32908
32909 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32910 masking out of the most significant byte of random value used.
32911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32912 Fix coding style in previous change.
32913
32914 * sysdeps/unix/sysv/linux/kernel-features.h
32915 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32916 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32917 expression.
32918 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32919 later.
32920
329212012-03-11 David S. Miller <davem@davemloft.net>
32922
32923 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32924 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32925 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32926 for 'resultvar' otherwise things get truncated on 64-bit.
32927
32928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32929 Fix masking out of the most significant byte of random value used.
32930
32931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32932
329332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32934
32935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32936
329372012-03-09 David S. Miller <davem@davemloft.net>
32938
32939 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32940 variables with appropriate CPP guards.
32941 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32942 frame pointer, not the stack pointer. Correct layout comments. Fix test
32943 on resulting framesize and the management of the outregs buffer for pltexit.
32944 Preserve floating point return values across _dl_call_pltexit call.
32945 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32946 framesize and the management of the outregs buffer for pltexit.
32947 Preserve floating point return values across _dl_call_pltexit
32948 call.
32949 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32950 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32951 (print_exit): Fix format string for return register value.
32952
329532012-03-10 Joseph Myers <joseph@codesourcery.com>
32954
32955 * sunrpc/Makefile (others): Add rpcgen.
32956 ($(objpfx)rpcgen): Remove special build rule and dependency on
32957 libc.
32958 * sunrpc/rpcgen.c: New file.
32959
329602012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32961
32962 [BZ #13673]
32963 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32964 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32965 * sysdeps/i386/crti.S: Likewise.
32966 * sysdeps/i386/crtn.S: Likewise.
32967 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32968 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32969 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32970 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32971 * sysdeps/sh/crti.S: Likewise.
32972 * sysdeps/sh/crtn.S: Likewise.
32973 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32974
32975 [BZ #13673]
32976 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32977 with URL.
32978 * locale/programs/locfile-kw.gperf: Likewise.
32979 * locale/programs/charmap-kw.h: Regenerated.
32980 * locale/programs/locfile-kw.h: Likewise.
32981
32982 [BZ #13673]
32983 * intl/plural.y: Replace FSF snail mail address with URL.
32984 * intl/plural.c: Regenerated.
32985
329862012-03-09 Richard Henderson <rth@twiddle.net>
32987
32988 * include/math_private.h: Remove file.
32989 * math/math_private.h: Move file ...
32990 * sysdeps/generic/math_private.h: ... here.
32991
32992 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32993 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32994 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32995
32996 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32997 and <math_private.h>.
32998 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32999 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33000 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33001 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33002 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33045 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33046 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33069 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33077 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33082 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33086 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33088 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33091 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33092 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33093 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33094 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33095 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33096 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33097 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33098 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33099 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33100 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33101 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33102 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33103 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33104 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33105 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33106 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33107 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33108 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33109 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33110 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33111 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33112 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33113 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33115 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33116 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33117 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33119 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33120 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33121 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33122 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33123 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33124 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33125 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33126 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33127 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33128 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33129 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33130 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33131 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33132 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33133 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33134 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33135 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33136 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33137 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33138 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33139 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33140 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33141 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33142 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33143 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33144 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33146 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33147 * sysdeps/ieee754/k_standard.c: Likewise.
33148 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33149 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33150 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33151 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33251 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33263 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33264 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33266 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33267 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33268 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33269 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33270 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33272 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33275 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33276 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33278 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33279 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33280 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33281 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33282 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33283 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33284 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33285 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33286 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33287 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33288 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33289 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33290 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33291 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33292 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33294 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33295 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33296 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33297 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33298 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33299 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33302 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33303 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33304 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33305 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33306 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33307 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33308 * sysdeps/ieee754/s_lib_version.c: Likewise.
33309 * sysdeps/ieee754/s_matherr.c: Likewise.
33310 * sysdeps/ieee754/s_signgam.c: Likewise.
33311 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33312 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33313 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33314 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33315 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33316 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33317 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33318 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33319 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33320 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33321 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33322 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33323 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33324 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33325 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33326 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33327 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33328 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33329 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33332
333332012-03-09 Joseph Myers <joseph@codesourcery.com>
33334
33335 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33336 * sunrpc/rpc_main.c: Likewise.
33337 * sunrpc/rpc_svcout.c: Likewise.
33338
333392012-03-09 David S. Miller <davem@davemloft.net>
33340
33341 * include/math_private.h: New file.
33342
333432012-03-09 Joseph Myers <joseph@codesourcery.com>
33344
33345 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33346 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33347 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33348 from <bits/socket_type.h>.
33349 (enum __socket_type): Don't define here.
33350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33352 bits/socket_type.h.
33353
33354 [BZ #13566]
33355 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33356 checking __USE_GNU.
33357
33358 * Makerules ($(inst_includedir)/%.h): New rule.
33359 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33360 (install-others): Remove variable setting.
33361 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33362
333632012-03-08 Richard Henderson <rth@twiddle.net>
33364
33365 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33366 from macro to inline function; merge with the
33367 !__LIBC_INTERNAL_MATH_INLINES version.
33368 (__ieee754_sqrtf): Likewise.
33369
33370 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33371 to inline function.
33372 (__rintf, __floor, __floorf): Likewise.
33373
33374 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33375 macro to inline function.
33376 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33377
33378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33379 not <math/math_private.h>.
33380
333812012-03-08 David S. Miller <davem@davemloft.net>
33382
33383 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33384 copyright year.
33385 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33386
333872012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33388
33389 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33390 normalization.
33391 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33392 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33393
333942012-03-08 Ulrich Drepper <drepper@gmail.com>
33395
33396 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33397 be defined individually, they must be defined as a block. Define
33398 S for printing a string instead of hidint the different by using a
33399 macro for adding the 'l'.
33400 * stdio-common/tst-fphex-wide.c: Adjust.
33401
334022012-03-07 Marek Polacek <polacek@redhat.com>
33403
33404 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33405
334062012-03-08 Marek Polacek <polacek@redhat.com>
33407
33408 [BZ #13806]
33409 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33410 * stdio-common/tst-fphex.c: Define a few macros to make the
33411 test reusable. Use them.
33412 * stdio-common/tst-fphex-wide.c: New file.
33413
334142012-03-08 Joseph Myers <joseph@codesourcery.com>
33415
33416 [BZ #6911]
33417 * manual/macros.texi (gnusystems): New macro.
33418 (nongnusystems): Likewise.
33419 (gnulinuxhurdsystems): Likewise.
33420 (gnuhurdsystems): Likewise..
33421 (gnulinuxsystems): Likewise.
33422 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33423 variants of the GNU system, not "GNU system".
33424 * manual/conf.texi: Likewise.
33425 * manual/errno.texi: Likewise. Update example of errno macro
33426 expansion.
33427 * manual/filesys.texi: Likewise.
33428 (getumask): Document as specific to GNU/Hurd.
33429 * manual/install.texi: Likewise. Reword some references to
33430 GNU/Linux.
33431 * manual/intro.texi: Likewise.
33432 * manual/io.texi: Likewise.
33433 (File Name Portability): Detail which constraints are inapplicable
33434 to all GNU systems and which are only inapplicable to GNU/Hurd.
33435 * manual/job.texi: Likewise.
33436 * manual/llio.texi: Likewise.
33437 (O_NOCTTY): Document as present on GNU/Linux.
33438 * manual/maint.texi: Likewise.
33439 * manual/memory.texi: Likewise.
33440 * manual/pattern.texi: Likewise.
33441 * manual/pipe.texi: Likewise.
33442 * manual/process.texi: Likewise.
33443 * manual/resource.texi: Likewise.
33444 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33445 child on GNU/Hurd.
33446 * manual/setjmp.texi: Likewise.
33447 * manual/signal.texi: Likewise.
33448 * manual/startup.texi: Likewise.
33449 * manual/stdio.texi: Likewise.
33450 * manual/terminal.texi: Likewise.
33451 (ONLCR): Document as POSIX.
33452 (OXTABS): Document availability on GNU/Linux as XTABS.
33453 (ONOEOT): Document availability separately from other bits.
33454 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33455 * manual/time.texi: Likewise.
33456 * manual/users.texi: Likewise.
33457 * INSTALL: Regenerated.
33458 * sysdeps/gnu/errlist.c: Regenerated.
33459
33460 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33461 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33462 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33463 puts.
33464 * configure: Regenerated.
33465
334662012-03-07 Joseph Myers <joseph@codesourcery.com>
33467
33468 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33469 default includes instead of AC_HEADER_CHECK.
33470 * sysdeps/i386/configure: Regenerated.
33471
33472 [BZ #10716]
33473 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33474 * math/s_cacoshf.c (__cacoshf): Likewise.
33475 * math/s_cacoshl.c (__cacoshl): Likewise.
33476 * math/s_casinh.c (__casinh): Set signs of result from argument.
33477 * math/s_casinhf.c (__casinhf): Likewise.
33478 * math/s_casinhl.c (__casinhl): Likewise.
33479 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33480 (casinh_test): Add more tests.
33481 * sysdeps/i386/fpu/libm-test-ulps: Update.
33482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33483
334842012-03-07 Ulrich Drepper <drepper@gmail.com>
33485
33486 * po/zh_TW.po: Update from translation team.
33487
33488 * login/Makefile (distribute): Remove variable.
33489 * catgets/Makefile: Likewise.
33490 * mach/Makefile: Likewise.
33491 * malloc/Makefile: Likewise.
33492 * misc/Makefile: Likewise.
33493 * iconv/Makefile: Likewise.
33494 * nscd/Makefile: Likewise.
33495 * hurd/Makefile: Likewise.
33496 * manual/Makefile: Likewise.
33497 * locale/Makefile: Likewise.
33498 * intl/Makefile: Likewise.
33499 * conform/Makefile: Likewise.
33500 * nss/Makefile: Likewise.
33501 * time/Makefile: Likewise.
33502 * soft-fp/Makefile: Likewise.
33503 * dirent/Makefile: Likewise.
33504 * gmon/Makefile: Likewise.
33505 * po/Makefile: Likewise.
33506 * rt/Makefile: Likewise.
33507 * socket/Makefile: Likewise.
33508 * math/Makefile: Likewise.
33509 * signal/Makefile: Likewise.
33510 * debug/Makefile: Likewise.
33511 * elf/Makefile: Likewise.
33512 * timezone/Makefile: Likewise.
33513 * stdlib/Makefile: Likewise.
33514 * iconvdata/Makefile: Likewise.
33515 * sunrpc/Makefile: Likewise.
33516 * io/Makefile: Likewise.
33517 * argp/Makefile: Likewise.
33518 * inet/Makefile: Likewise.
33519 * hesiod/Makefile: Likewise.
33520 * grp/Makefile: Likewise.
33521 * csu/Makefile: Likewise.
33522 * wctype/Makefile: Likewise.
33523 * crypt/Makefile: Likewise.
33524 * libio/Makefile: Likewise.
33525 * string/Makefile: Likewise.
33526 * nis/Makefile: Likewise.
33527 * resolv/Makefile: Likewise.
33528 * stdio-common/Makefile: Likewise.
33529 * wcsmbs/Makefile: Likewise.
33530 * dlfcn/Makefile: Likewise.
33531 * posix/Makefile: Likewise.
33532
33533 [BZ #6959]
33534 * timezone/Makefile: Don't install timezone files, just the programs
33535 and scripts.
33536
335372012-03-06 Ulrich Drepper <drepper@gmail.com>
33538
33539 * nss/databases.def: Add missing gshadow entry.
33540
33541 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33542
335432012-03-06 Marek Polacek <polacek@redhat.com>
33544
33545 [BZ #13726]
33546 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33547 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33548 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33549 * stdio-common/tst-long-dbl-fphex.c: New file.
33550
335512012-03-06 David S. Miller <davem@davemloft.net>
33552
33553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33554 (set_obp_int): New function.
33555 (get_obp_int): New function.
33556 (__get_clockfreq_via_dev_openprom): Likewise.
33557 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33558 Avoid unused variable warnings on 'val' and use builtin_expect.
33559 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33560 __builtin_expect.
33561 (INLINE_CLONE_SYSCALL): Likewise.
33562
335632012-03-05 David S. Miller <davem@davemloft.net>
33564
33565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33566
335672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33568
33569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33570
33571 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33572 only for |x| >= 40.
33573 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33574
335752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33576
33577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33578 Replace gettimeofday with __vdso_gettimeofday.
33579
33580 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33581 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33582 __vdso_clock_gettime and __vdso_getcpu.
33583
33584 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33585 time with __vdso_time.
33586
335872012-03-05 Joseph Myers <joseph@codesourcery.com>
33588
33589 * manual/lang.texi (size_t): Note types to which size_t may be
33590 equivalent with the GNU C Library, but do not describe when
33591 differences between them are significant.
33592
335932012-03-05 Andreas Jaeger <aj@suse.de>
33594
33595 * sysdeps/i386/fpu/libm-test-ulps: Update.
33596
335972012-03-05 Joseph Myers <joseph@codesourcery.com>
33598
33599 [BZ #3976]
33600 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33601 (__ieee754_pow): Save and restore rounding mode and use
33602 round-to-nearest for main computations.
33603 * math/libm-test.inc (pow_test_tonearest): New function.
33604 (pow_test_towardzero): Likewise.
33605 (pow_test_downward): Likewise.
33606 (pow_test_upward): Likewise.
33607 (main): Call the new functions.
33608 * sysdeps/i386/fpu/libm-test-ulps: Update.
33609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33610
33611 [BZ #3976]
33612 * math/libm-test.inc (cosh_test_tonearest): New function.
33613 (cosh_test_towardzero): Likewise.
33614 (cosh_test_downward): Likewise.
33615 (cosh_test_upward): Likewise.
33616 (sinh_test_tonearest): Likewise.
33617 (sinh_test_towardzero): Likewise.
33618 (sinh_test_downward): Likewise.
33619 (sinh_test_upward): Likewise.
33620 (main): Call the new functions.
33621 * sysdeps/i386/fpu/libm-test-ulps: Update.
33622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33623
336242012-03-05 Tom de Vries <tom@codesourcery.com>
33625
33626 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33627 default stack guard is set in last bytes.
33628 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33629
336302012-03-05 Kees Cook <keescook@chromium.org>
33631
33632 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33633
33634 [BZ #13656]
33635 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33636 possibly allocate from heap instead of stack.
33637 * stdio-common/bug-vfprintf-nargs.c: New file.
33638 * stdio-common/Makefile (tests): Add nargs overflow test.
33639
336402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33641
33642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33643
336442012-03-03 Marek Polacek <polacek@redhat.com>
33645
33646 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33647 * math/math_private.h: Likewise.
33648 * stdlib/tst-strtod.c: Likewise.
33649 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33650 * sysdeps/x86_64/bits/atomic.h: Likewise.
33651
336522012-03-02 David S. Miller <davem@davemloft.net>
33653
33654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33658 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33659 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33660 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33661 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33662
336632012-03-02 Roland McGrath <roland@hack.frob.com>
33664
33665 [BZ #13792]
33666 * manual/examples/README: New file, says the example source files
33667 can be used under GPL>=2.
33668 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33669 line containing just "*/".
33670 * manual/examples/add.c: Add copyright header (GPL>=2).
33671 * manual/examples/argp-ex1.c: Likewise.
33672 * manual/examples/argp-ex2.c: Likewise.
33673 * manual/examples/argp-ex3.c: Likewise.
33674 * manual/examples/argp-ex4.c: Likewise.
33675 * manual/examples/atexit.c: Likewise.
33676 * manual/examples/db.c: Likewise.
33677 * manual/examples/dir.c: Likewise.
33678 * manual/examples/dir2.c: Likewise.
33679 * manual/examples/execinfo.c: Likewise.
33680 * manual/examples/filecli.c: Likewise.
33681 * manual/examples/filesrv.c: Likewise.
33682 * manual/examples/fmtmsgexpl.c: Likewise.
33683 * manual/examples/genpass.c: Likewise.
33684 * manual/examples/inetcli.c: Likewise.
33685 * manual/examples/inetsrv.c: Likewise.
33686 * manual/examples/isockad.c: Likewise.
33687 * manual/examples/longopt.c: Likewise.
33688 * manual/examples/memopen.c: Likewise.
33689 * manual/examples/memstrm.c: Likewise.
33690 * manual/examples/mkfsock.c: Likewise.
33691 * manual/examples/mkisock.c: Likewise.
33692 * manual/examples/mygetpass.c: Likewise.
33693 * manual/examples/pipe.c: Likewise.
33694 * manual/examples/popen.c: Likewise.
33695 * manual/examples/rprintf.c: Likewise.
33696 * manual/examples/search.c: Likewise.
33697 * manual/examples/select.c: Likewise.
33698 * manual/examples/setjmp.c: Likewise.
33699 * manual/examples/sigh1.c: Likewise.
33700 * manual/examples/sigusr.c: Likewise.
33701 * manual/examples/stpcpy.c: Likewise.
33702 * manual/examples/strdupa.c: Likewise.
33703 * manual/examples/strftim.c: Likewise.
33704 * manual/examples/strncat.c: Likewise.
33705 * manual/examples/subopt.c: Likewise.
33706 * manual/examples/swapcontext.c: Likewise.
33707 * manual/examples/termios.c: Likewise.
33708 * manual/examples/testopt.c: Likewise.
33709 * manual/examples/testpass.c: Likewise.
33710 * manual/examples/timeval_subtract.c: Likewise.
33711
33712 [BZ #13792]
33713 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33714 function to ...
33715 * manual/timeval_subtract.c.texi: ... here, new file.
33716
337172012-03-02 David S. Miller <davem@davemloft.net>
33718
33719 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33720
337212012-03-02 Joseph Myers <joseph@codesourcery.com>
33722
33723 [BZ #3976]
33724 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33725 (__sin): Save and restore rounding mode and use round-to-nearest
33726 for all computations.
33727 (__cos): Save and restore rounding mode and use round-to-nearest
33728 for all computations.
33729 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33730 <fenv.h>.
33731 (tan): Save and restore rounding mode and use round-to-nearest for
33732 all computations.
33733 * math/libm-test.inc (cos_test_tonearest): New function.
33734 (cos_test_towardzero): Likewise.
33735 (cos_test_downward): Likewise.
33736 (cos_test_upward): Likewise.
33737 (sin_test_tonearest): Likewise.
33738 (sin_test_towardzero): Likewise.
33739 (sin_test_downward): Likewise.
33740 (sin_test_upward): Likewise.
33741 (tan_test_tonearest): Likewise.
33742 (tan_test_towardzero): Likewise.
33743 (tan_test_downward): Likewise.
33744 (tan_test_upward): Likewise.
33745 (main): Call the new functions.
33746 * sysdeps/i386/fpu/libm-test-ulps: Update.
33747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33748
33749 [BZ #10135]
33750 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33751 small n, then large n, before computing and testing k+n.
33752 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33754 Likewise.
33755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33756 Likewise.
33757 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33758 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33760 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33763 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33764 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33765 * math/libm-test.inc (scalbn_test): Add more tests.
33766 (scalbln_test): Likewise.
33767
33768 * manual/filesys.texi (mode_t): Describe constraints on size and
33769 signedness, not exact equivalence to a particular type.
33770 (ino_t): Likewise.
33771 (ino64_t): Likewise.
33772 (dev_t): Likewise.
33773 (nlink_t): Likewise.
33774 (blkcnt_t): Likewise.
33775 (blkcnt64_t): Likewise.
33776 * manual/llio.texi (off_t): Likewise.
33777
33778 [BZ #3976]
33779 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33780 (__ieee754_exp): Save and restore rounding mode and use
33781 round-to-nearest for all computations.
33782 * math/libm-test.inc (exp_test_tonearest): New function.
33783 (exp_test_towardzero): Likewise.
33784 (exp_test_downward): Likewise.
33785 (exp_test_upward): Likewise.
33786 (main): Call the new functions.
33787 * sysdeps/i386/fpu/libm-test-ulps: Update.
33788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33789
337902012-03-01 Chris Demetriou <cgd@google.com>
33791
33792 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33793 have predictable order.
33794
337952012-03-01 David S. Miller <davem@davemloft.net>
33796
33797 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33798
33799 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33800 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33801 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33802 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33803
33804 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33805 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33806 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33808 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33809 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33810 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33811 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33812 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33813
33814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33815
33816 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33817 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33818 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33819
33820 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33821 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33822 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33823 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33824 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33825 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33827 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33828 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33829 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33830 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33831 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33832 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33833 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33834 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33836 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33837 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33838 * sysdeps/sparc/elf/configure: Regenerated.
33839
338402012-03-01 Joseph Myers <joseph@codesourcery.com>
33841
33842 * configure.in (AS, LD): Require binutils 2.20 or later.
33843 * configure: Regenerated.
33844 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33845 as required minimum version.
33846 * INSTALL: Regenerated.
33847
33848 [BZ #2541]
33849 [BZ #4108]
33850 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33851 before squaring exponent.
33852 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33853 bottom long double and 27 bits of top long double before squaring
33854 exponent.
33855 * math/libm-test.inc (erfc_test): Add more tests.
33856 * sysdeps/i386/fpu/libm-test-ulps: Update.
33857 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33859
338602012-03-01 Kai Tietz <ktietz@redhat.com>
33861
33862 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33863 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33864 containing bit-fields.
33865 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33866 * soft-fp/single.h (_FP_UNION_S): Likewise.
33867 * soft-fp/double.h (_FP_UNION_D): Likewise.
33868
338692012-02-29 Joseph Myers <joseph@codesourcery.com>
33870
33871 [BZ #13786]
33872 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33873 not include ../strcmp.S.
33874 [USE_AS_STRNCASECMP_L]: Likewise.
33875 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33876 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33877 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33878 (__strncasecmp_l_ia32): Define as alias to
33879 __strncasecmp_l_nonascii.
33880
33881 [BZ #5794]
33882 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33883 * sysdeps/i386/fpu/libm-test-ulps: Update.
33884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33885
33886 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33888
338892012-02-29 Jeff Law <law@redhat.com>
33890
33891 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33892 out of bounds read.
33893
338942012-02-29 Marek Polacek <polacek@redhat.com>
33895
33896 [BZ #13706]
33897 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33898 * elf/Makefile: Add rules to run tst-unused-dep.out.
33899
339002012-02-28 David S. Miller <davem@davemloft.net>
33901
33902 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33903 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33906 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33907 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33908
339092012-02-29 Joseph Myers <joseph@codesourcery.com>
33910
33911 * math/libm-test.inc (llround_test): Move one test from
33912 lround_test. Use TEST_f_L in moved test.
33913 (lround_test): Move misplaced test to llround_test. Add testcase
33914 from bug 2561.
33915
339162012-02-28 Ulrich Drepper <drepper@gmail.com>
33917
33918 * sysdeps/x86_64/fpu/e_expf.S: New file.
33919 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33920
339212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33922
33923 [BZ #13637]
33924 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33925 of remain_len that may cause incomplete multi-byte character and
33926 false match.
33927 * posix/bug-regex33.c: New file.
33928 * posix/Makefile (tests): Add bug-regex33.
33929
339302012-02-28 Joseph Myers <joseph@codesourcery.com>
33931
33932 * manual/macros.texi: New file.
33933 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33934 * manual/libc.texinfo: Include macros.texi.
33935 * manual/creatute.texi: Likewise.
33936 * manual/install.texi: Likewise.
33937 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33938 @glibcadj{} in references to the GNU C Library.
33939 * manual/charset.texi: Likewise.
33940 * manual/conf.texi: Likewise.
33941 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33942 when not using those macros.
33943 * manual/creature.texi: Likewise.
33944 * manual/crypt.texi: Likewise.
33945 * manual/errno.texi: Likewise.
33946 * manual/filesys.texi: Likewise.
33947 * manual/header.texi: Likewise.
33948 * manual/install.texi: Likewise.
33949 * manual/intro.texi: Likewise.
33950 * manual/io.texi: Likewise.
33951 * manual/job.texi: Likewise.
33952 * manual/lang.texi: Likewise.
33953 * manual/libc.texiinfo: Likewise.
33954 * manual/llio.texi: Likewise.
33955 * manual/locale.texi: Likewise.
33956 * manual/maint.texi: Likewise.
33957 * manual/math.texi: Likewise.
33958 * manual/memory.texi: Likewise.
33959 * manual/message.texi: Likewise.
33960 * manual/nss.texi: Likewise.
33961 * manual/pattern.texi: Likewise.
33962 * manual/process.texi: Likewise.
33963 * manual/resource.texi: Likewise.
33964 * manual/search.texi: Likewise.
33965 * manual/setjmp.texi: Likewise.
33966 * manual/signal.texi: Likewise.
33967 * manual/socket.texi: Likewise.
33968 * manual/startup.texi: Likewise.
33969 * manual/stdio.texi: Likewise.
33970 * manual/string.texi: Likewise.
33971 * manual/sysinfo.texi: Likewise.
33972 * manual/syslog.texi: Likewise.
33973 * manual/terminal.texi: Likewise.
33974 * manual/time.texi: Likewise.
33975 * manual/users.texi: Likewise.
33976 * INSTALL: Regenerated.
33977 * NOTES: Regenerated.
33978 * sysdeps/gnu/errlist.c: Regenerated.
33979
339802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33981
33982 * include/dirent.h: Include <dirstream.h> before
33983 <dirent/dirent.h>.
33984
339852012-02-28 David S. Miller <davem@davemloft.net>
33986
33987 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33988 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33989 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33990 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33991
339922012-02-27 David S. Miller <davem@davemloft.net>
33993
33994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33996 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33997 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33998
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34000 frame pointer instead of stack pointer relative arg slot.
34001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34002 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34003 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34004
340052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34006
34007 [BZ #3992]
34008 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34009
340102012-02-27 David S. Miller <davem@davemloft.net>
34011
34012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34016 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34017 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34018 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34019 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34020
340212012-02-27 Joseph Myers <joseph@codesourcery.com>
34022
34023 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34024 later. Allow versions 5-9.
34025 * configure: Regenerated.
34026 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34027 required minimum version and 4.6 as recommended version. Do not
34028 mention bugs in GCC 2.7 and 2.8.
34029 * INSTALL: Regenerated.
34030
340312012-02-27 David S. Miller <davem@davemloft.net>
34032
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34037 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34038 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34039 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34040 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34041
34042 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34043 manipulate bits before adding and subtracting TWO112[sx].
34044 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34045
340462012-02-27 Roland McGrath <roland@hack.frob.com>
34047
34048 [BZ #13775]
34049 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34050 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34051 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34052 being in POSIX, because they are in 1003.1-2008.
34053
34054 * rt/tst-aio.c: Include <fcntl.h>.
34055 * rt/tst-aio7.c: Likewise.
34056 * rt/tst-aio64.c: Likewise.
34057
34058 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34059
340602012-02-27 Joseph Myers <joseph@codesourcery.com>
34061
34062 * manual/install.texi (--with-headers): Describe headers as
34063 interface headers, not private headers.
34064 (Specific advice for GNU/Linux systems): Describe use of headers
34065 from "make headers_install", not private headers from older
34066 kernels.
34067 * INSTALL: Regenerated.
34068 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34069 Change to 2.6.19.
34070 * sysdeps/unix/sysv/linux/configure: Regenerated.
34071
34072 * manual/llio.texi (fclean): Remove documentation.
34073
34074 * manual/Makefile (libc-texi-generated): New variable. Include
34075 version.texi.
34076 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34077 $(libc-texi-generated), not duplicated list of files.
34078 (version.texi, stamp-version): New rules.
34079 (realclean): Remove $(libc-texi-generated), not individual files
34080 from that list. Do not remove dir-add.texinfo.
34081 * manual/libc.texinfo: Comment out uses of edition numbers and
34082 references to printed manual. Remove last-updated dates.
34083 (EDITION): Comment out.
34084 (ISBN): Likewise.
34085 (VERSION, UPDATED): Remove.
34086 (version.texi): Include.
34087
340882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34089
34090 * sysdeps/posix/spawni.c: Include <signal.h>.
34091 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34092 * sysdeps/pthread/aio_fsync.c: Likewise.
34093
340942012-02-26 Ulrich Drepper <drepper@gmail.com>
34095
34096 * conform/Makefile (tests): Run only when not cross-compiling and
34097 when fast-check is not defined.
34098
34099 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34100 * conform/data/limits.h-data: Fixes for POSIX2008.
34101 * conform/run-conformtest.sh: Run all tests.
34102 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34103 headers.
34104 * include/bits/dlfcn.h: Likewise.
34105 * include/langinfo.h: Likewise.
34106 * include/monetary.h: Likewise.
34107 * include/sys/poll.h: Likewise.
34108
34109 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34110 for __USE_GNU.
34111 * posix/spawn.h: Define __need_sigset_t.
34112 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34113 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34114 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34115 to get sigevent_t only.
34116 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34117 only for __USE_GNU.
34118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34119 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34120 process_vm_writev only for __USE_GNU.
34121 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34122
34123 * conform/Makefile: For now ignore errors from run-conformtest.
34124 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34125 POSIX to avoid namespace pollution. Don't prepend headers.
34126 * conform/data/aio.h-data: Fixes for POSIX testing.
34127 * conform/data/fcntl.h-data: Likewise.
34128 * conform/data/glob.h-data: Likewise.
34129 * conform/data/grp.h-data: Likewise.
34130 * conform/data/pthread.h-data: Likewise.
34131 * conform/data/pwd.h-data: Likewise.
34132 * conform/data/signal.h-data: Likewise.
34133 * conform/data/spawn.h-data: Likewise.
34134 * conform/data/stdio.h-data: Likewise.
34135 * conform/data/stdlib.h-data: Likewise.
34136 * conform/data/stropts.h-data: Likewise.
34137 * conform/data/sys/mman.h-data: Likewise.
34138 * conform/data/sys/stat.h-data: Likewise.
34139 * conform/data/sys/types.h-data: Likewise.
34140 * conform/data/sys/wait.h-data: Likewise.
34141 * conform/data/time.h-data: Likewise.
34142 * conform/data/unistd.h-data: Likewise.
34143 * conform/data/utime.h-data: Likewise.
34144
34145 * io/sys/stat.h: fchmod was always in POSIX.
34146 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34147 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34148 * rt/aio.h: Define __need_timespec before including <time.h>.
34149 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34150 struct. Add forward declaration of pthread_attr_t and use it in
34151 sigevent.
34152 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34154 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34155 always remove CLK_TCK definition.
34156
341572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34158
34159 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34160
341612012-02-25 Ulrich Drepper <drepper@gmail.com>
34162
34163 * conform/run-conformtest.sh: New file.
34164 * conform/Makefile: Run run-conformtest for tests.
34165 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34166 support.
34167
34168 * conform/data/uchar.h-data: New file.
34169 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34170 * conform/data/arpa/inet.h-data: Likewise.
34171 * conform/data/assert.h-data: Likewise.
34172 * conform/data/complex.h-data: Likewise.
34173 * conform/data/cpio.h-data: Likewise.
34174 * conform/data/ctype.h-data: Likewise.
34175 * conform/data/dirent.h-data: Likewise.
34176 * conform/data/dlfcn.h-data: Likewise.
34177 * conform/data/errno.h-data: Likewise.
34178 * conform/data/fcntl.h-data: Likewise.
34179 * conform/data/float.h-data: Likewise.
34180 * conform/data/fmtmsg.h-data: Likewise.
34181 * conform/data/fnmatch.h-data: Likewise.
34182 * conform/data/ftw.h-data: Likewise.
34183 * conform/data/glob.h-data: Likewise.
34184 * conform/data/grp.h-data: Likewise.
34185 * conform/data/iconv.h-data: Likewise.
34186 * conform/data/inttypes.h-data: Likewise.
34187 * conform/data/langinfo.h-data: Likewise.
34188 * conform/data/libgen.h-data: Likewise.
34189 * conform/data/limits.h-data: Likewise.
34190 * conform/data/locale.h-data: Likewise.
34191 * conform/data/math.h-data: Likewise.
34192 * conform/data/monetary.h-data: Likewise.
34193 * conform/data/mqueue.h-data: Likewise.
34194 * conform/data/ndbm.h-data: Likewise.
34195 * conform/data/net/if.h-data: Likewise.
34196 * conform/data/netdb.h-data: Likewise.
34197 * conform/data/netinet/in.h-data: Likewise.
34198 * conform/data/nl_types.h-data: Likewise.
34199 * conform/data/poll.h-data: Likewise.
34200 * conform/data/pthread.h-data: Likewise.
34201 * conform/data/pwd.h-data: Likewise.
34202 * conform/data/regex.h-data: Likewise.
34203 * conform/data/sched.h-data: Likewise.
34204 * conform/data/search.h-data: Likewise.
34205 * conform/data/semaphore.h-data: Likewise.
34206 * conform/data/setjmp.h-data: Likewise.
34207 * conform/data/signal.h-data: Likewise.
34208 * conform/data/spawn.h-data: Likewise.
34209 * conform/data/stdarg.h-data: Likewise.
34210 * conform/data/stdio.h-data: Likewise.
34211 * conform/data/stdlib.h-data: Likewise.
34212 * conform/data/string.h-data: Likewise.
34213 * conform/data/strings.h-data: Likewise.
34214 * conform/data/stropts.h-data: Likewise.
34215 * conform/data/sys/ipc.h-data: Likewise.
34216 * conform/data/sys/mman.h-data: Likewise.
34217 * conform/data/sys/msg.h-data: Likewise.
34218 * conform/data/sys/resource.h-data: Likewise.
34219 * conform/data/sys/select.h-data: Likewise.
34220 * conform/data/sys/sem.h-data: Likewise.
34221 * conform/data/sys/shm.h-data: Likewise.
34222 * conform/data/sys/socket.h-data: Likewise.
34223 * conform/data/sys/stat.h-data: Likewise.
34224 * conform/data/sys/statvfs.h-data: Likewise.
34225 * conform/data/sys/time.h-data: Likewise.
34226 * conform/data/sys/timeb.h-data: Likewise.
34227 * conform/data/sys/times.h-data: Likewise.
34228 * conform/data/sys/types.h-data: Likewise.
34229 * conform/data/sys/uio.h-data: Likewise.
34230 * conform/data/sys/un.h-data: Likewise.
34231 * conform/data/sys/utsname.h-data: Likewise.
34232 * conform/data/sys/wait.h-data: Likewise.
34233 * conform/data/syslog.h-data: Likewise.
34234 * conform/data/tar.h-data: Likewise.
34235 * conform/data/termios.h-data: Likewise.
34236 * conform/data/utime.h-data: Likewise.
34237 * conform/data/utmpx.h-data: Likewise.
34238 * conform/data/varargs.h-data: Likewise.
34239 * conform/data/wchar.h-data: Likewise.
34240 * conform/data/wctype.h-data: Likewise.
34241 * conform/data/wordexp.h-data: Likewise.
34242
34243 * include/stropts.h: New file.
34244 * include/uchar.h: New file.
34245 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34246 * include/assert.h: Likewise.
34247 * include/ctype.h: Likewise.
34248 * include/dirent.h: Likewise.
34249 * include/dlfcn.h: Likewise.
34250 * include/fcntl.h: Likewise.
34251 * include/fnmatch.h: Likewise.
34252 * include/glob.h: Likewise.
34253 * include/grp.h: Likewise.
34254 * include/libio.h: Likewise.
34255 * include/locale.h: Likewise.
34256 * include/math.h: Likewise.
34257 * include/net/if.h: Likewise.
34258 * include/netdb.h: Likewise.
34259 * include/netinet/in.h: Likewise.
34260 * include/pthread.h: Likewise.
34261 * include/pwd.h: Likewise.
34262 * include/regex.h: Likewise.
34263 * include/sched.h: Likewise.
34264 * include/search.h: Likewise.
34265 * include/setjmp.h: Likewise.
34266 * include/signal.h: Likewise.
34267 * include/stdio.h: Likewise.
34268 * include/stdlib.h: Likewise.
34269 * include/string.h: Likewise.
34270 * include/sys/cdefs.h: Likewise.
34271 * include/sys/mman.h: Likewise.
34272 * include/sys/msg.h: Likewise.
34273 * include/sys/resource.h: Likewise.
34274 * include/sys/select.h: Likewise.
34275 * include/sys/socket.h: Likewise.
34276 * include/sys/stat.h: Likewise.
34277 * include/sys/statvfs.h: Likewise.
34278 * include/sys/time.h: Likewise.
34279 * include/sys/times.h: Likewise.
34280 * include/sys/uio.h: Likewise.
34281 * include/sys/utsname.h: Likewise.
34282 * include/sys/wait.h: Likewise.
34283 * include/termios.h: Likewise.
34284 * include/time.h: Likewise.
34285 * include/ulimit.h: Likewise.
34286 * include/unistd.h: Likewise.
34287 * include/utime.h: Likewise.
34288 * include/wchar.h: Likewise.
34289 * include/wctype.h: Likewise.
34290 * include/wordexp.h: Likewise.
34291
34292 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34293
34294 * time/time.h: TIME_UTC must be a macro.
34295 Make timespec_get available for ISO C11 only as well.
34296
342972012-02-24 Ulrich Drepper <drepper@gmail.com>
34298
34299 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34300 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34301
343022012-02-24 Joseph Myers <joseph@codesourcery.com>
34303
34304 * configure.in: Use -o not -a in test for unsupported multi-arch.
34305
343062012-02-24 Joseph Myers <joseph@codesourcery.com>
34307
34308 * manual/texinfo.tex: Update to version 2012-01-19.16.
34309
343102012-02-24 Joseph Myers <joseph@codesourcery.com>
34311
34312 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34313
343142012-02-24 Roland McGrath <roland@hack.frob.com>
34315
34316 [BZ #13738]
34317 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34318 * manual/fdl-1.3.texi: New file.
34319 * manual/fdl-1.1.texi: File removed.
34320
34321 [BZ #13738]
34322 * manual/libc.texinfo (FDL_VERSION): New @set.
34323 Use it for mention of FDL in cover text.
34324 (Documentation License): Use it in @include file name.
34325
343262012-02-22 Joseph Myers <joseph@codesourcery.com>
34327 Roland McGrath <roland@hack.frob.com>
34328
34329 [BZ #5461]
34330 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34331 not LONG_LONG_MAX and LONG_LONG_MIN.
34332 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34333 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34334 name.
34335 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34336
343372012-02-22 Joseph Myers <joseph@codesourcery.com>
34338
34339 [BZ #2547]
34340 [BZ #11365]
34341 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34342 manipulate bits before adding and subtracting TWO23[sx].
34343 * math/libm-test.inc (nearbyint_test): Add more tests.
34344
343452012-02-22 Joseph Myers <joseph@codesourcery.com>
34346
34347 [BZ #2548]
34348 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34349 bits before adding and subtracting TWO23[sx].
34350 * math/libm-test.inc (rint_test): Add more tests.
34351 (rint_test_tonearest): Likewise.
34352 (rint_test_towardzero): Likewise.
34353 (rint_test_downward): Likewise.
34354 (rint_test_upward: Likewise.
34355
343562012-02-22 Joseph Myers <joseph@codesourcery.com>
34357
34358 [BZ #10110]
34359 * include/stdc-predef.h: New file. Extracted from features.h.
34360 * include/features.h: Include stdc-predef.h.
34361 * Makefile (headers): Add stdc-predef.h.
34362 * CONFORMANCE (Compiler limitations): Update.
34363
343642012-02-22 Joseph Myers <joseph@codesourcery.com>
34365
34366 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34367
343682012-02-21 David S. Miller <davem@davemloft.net>
34369
34370 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34371 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34372
343732012-02-20 David S. Miller <davem@davemloft.net>
34374
34375 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34376 using a normal save/restore sequence, rather than allocating a
34377 dummy stack frame just to store a frame pointer and restore.
34378 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34379
343802012-02-21 Joseph Myers <joseph@codesourcery.com>
34381
34382 * manual/install.texi: Fix stray word in line-wrapped comment.
34383
343842012-02-20 David S. Miller <davem@davemloft.net>
34385
34386 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34387 both binutils and gcc support GOTDATA.
34388
34389 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34390 "rd %pc" in the PIC register setup sequences.
34391
34392 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34393 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34394 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34395 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34396 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34398 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34399 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34401 (SYSCALL_ERROR_HANDLER): Likewise.
34402 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34403 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34405 (SYSCALL_ERROR_HANDLER): Likewise.
34406
34407 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34408 (HAVE_GCC_GOTDATA): New.
34409 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34410 relocation support in both binutils and gcc.
34411 * sysdeps/sparc/elf/configure: Regenerate.
34412
34413 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34414 * sysdeps/sparc/sparc32/elf/configure: Delete.
34415 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34416 * sysdeps/sparc/sparc64/elf/configure: Delete.
34417 * sysdeps/sparc/elf/configure.in: New file.
34418 * sysdeps/sparc/elf/configure: Generate.
34419
34420 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34421 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34422 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34423 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34424 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34425
344262012-02-21 Joseph Myers <joseph@codesourcery.com>
34427
34428 * manual/install.texi: Do not mention specific glibc version
34429 numbers.
34430 * manual/libc.texinfo (VERSION, UPDATED): Update.
34431 (@copying): Use @copyright{} and range of years.
34432
344332012-02-21 Joseph Myers <joseph@codesourcery.com>
34434
34435 [BZ #13695]
34436 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34437 [crti.S not in sysdirs] (generated): Do not append.
34438 [crti.S not in sysdirs] (omit-deps): Likewise.
34439 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34440 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34441 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34442 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34443 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34444 Likewise.
34445 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34446 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34447 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34448 * csu/defs.awk: Remove file.
34449 * sysdeps/generic/initfini.c: Likewise.
34450 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34451 variable.
34452 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34453 Likewise.
34454
344552012-02-20 Joseph Myers <joseph@codesourcery.com>
34456
34457 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34458 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34459 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34461 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34462 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34463 <bits/epoll.h>.
34464 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34465 (__EPOLL_PACKED): Define to empty if not defined by
34466 <bits/epoll.h>.
34467 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34469 bits/epoll.h.
34470
344712012-02-20 Joseph Myers <joseph@codesourcery.com>
34472
34473 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34474 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34475 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34476 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34477 <bits/timerfd.h>.
34478 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34480 bits/timerfd.h.
34481
344822012-02-20 Joseph Myers <joseph@codesourcery.com>
34483
34484 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34485 in C locale.
34486 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34487 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34488 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34490
344912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34492
34493 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34494 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34495
344962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34497
34498 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34499 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34500 defined.
34501 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34502 Likewise.
34503 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34504 entry for 2.16.
34505
345062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34507
34508 * math/w_acos.c: Use non-signaling floating-point comparisons.
34509 * math/w_acosf.c: Likewise.
34510 * math/w_acosh.c: Likewise.
34511 * math/w_acoshf.c: Likewise.
34512 * math/w_acoshl.c: Likewise.
34513 * math/w_acosl.c: Likewise.
34514 * math/w_asin.c: Likewise.
34515 * math/w_asinf.c: Likewise.
34516 * math/w_asinl.c: Likewise.
34517 * math/w_atanh.c: Likewise.
34518 * math/w_atanhf.c: Likewise.
34519 * math/w_atanhl.c: Likewise.
34520 * math/w_exp2.c: Likewise.
34521 * math/w_exp2f.c: Likewise.
34522 * math/w_exp2l.c: Likewise.
34523 * math/w_j0.c: Likewise.
34524 * math/w_j0f.c: Likewise.
34525 * math/w_j0l.c: Likewise.
34526 * math/w_j1.c: Likewise.
34527 * math/w_j1f.c: Likewise.
34528 * math/w_j1l.c: Likewise.
34529 * math/w_jn.c: Likewise.
34530 * math/w_jnf.c: Likewise.
34531 * math/w_log.c: Likewise.
34532 * math/w_log10.c: Likewise.
34533 * math/w_log10f.c: Likewise.
34534 * math/w_log10l.c: Likewise.
34535 * math/w_log2.c: Likewise.
34536 * math/w_log2f.c: Likewise.
34537 * math/w_log2l.c: Likewise.
34538 * math/w_logf.c: Likewise.
34539 * math/w_logl.c: Likewise.
34540 * math/w_sqrt.c: Likewise.
34541 * math/w_sqrtf.c: Likewise.
34542 * math/w_sqrtl.c: Likewise.
34543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34544 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34546 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34547 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34548
345492012-02-19 Joseph Myers <joseph@codesourcery.com>
34550
34551 [BZ #9739]
34552 * manual/string.texi (strnlen): Use correct parameter name in
34553 equivalent expression.
34554
345552012-02-19 Joseph Myers <joseph@codesourcery.com>
34556
34557 [BZ #11174]
34558 * manual/users.texi (seteuid): Consistently use neweuid for
34559 argument name.
34560
345612012-02-19 Joseph Myers <joseph@codesourcery.com>
34562
34563 [BZ #13704]
34564 * manual/nss.texi (Services in the NSS configuration): Correct
34565 list of services in example configuration file.
34566
345672012-02-19 Nick Bowler <nbowler@draconx.ca>
34568
34569 [BZ #11322]
34570 * manual/arith.texi: Remove statements about negative zero
34571 behaving identically to zero.
34572
345732012-02-18 Joseph Myers <joseph@codesourcery.com>
34574
34575 [BZ #5993]
34576 * manual/install.texi: Do not document upgrading from libc5.
34577
345782012-02-18 Joseph Myers <joseph@codesourcery.com>
34579
34580 [BZ #4596]
34581 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34582
345832012-02-18 David S. Miller <davem@davemloft.net>
34584
34585 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34586 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34587 %o7 across the call.
34588 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34589 instead.
34590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34591 SETUP_PIC_REG_LEAF.
34592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34593 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34594 * sysdeps/sparc/crtn.S: Likewise.
34595
345962012-02-17 Ulrich Drepper <drepper@gmail.com>
34597
34598 * aout/Makefile: Remove.
34599
346002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34601
34602 [BZ #13058]
34603 * manual/examples/argp-ex1.c (main): Format definition in GNU
34604 style.
34605 * manual/examples/argp-ex2.c (main): Likewise.
34606 * manual/examples/argp-ex3.c (main): Likewise.
34607 * manual/examples/argp-ex4.c (main): Likewise.
34608 * manual/examples/longopt.c (main): Use new-style prototype
34609 definition.
34610 * manual/examples/strncat.c (main): Specify return type and use
34611 (void) for arguments.
34612 * manual/examples/subopt.c (main): Use char **argv argument.
34613
346142012-02-17 Joseph Myers <joseph@codesourcery.com>
34615
34616 [BZ #5077]
34617 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34618 rounding modes.
34619
346202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34621
34622 [BZ #6907]
34623 * manual/string.texi (strchr): Change when strchrnul is
34624 recommended.
34625
346262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34627
34628 [BZ #174]
34629 * manual/locale.texi (setlocale): Document LOCPATH.
34630
346312012-02-17 Joseph Myers <joseph@codesourcery.com>
34632
34633 [BZ #10210]
34634 * manual/process.texi (execle): Move @dots{} before last argument.
34635
346362012-02-17 Paul Bolle <pebolle@tiscali.nl>
34637
34638 [BZ #12047]
34639 * manual/charset.texi (Generic Charset Conversion): Fix typo
34640 (LC_TYPE -> LC_CTYPE).
34641
346422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34643
34644 [BZ #5805]
34645 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34646 (scalbnf): Likewise.
34647 (scalbnl): Likewise.
34648 (scalbln): Likewise.
34649 (scalblnf): Likewise.
34650 (scalblnl): Likewise.
34651 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34652 (vwarnx): Likewise.
34653 (verr): Likewise.
34654 (verrx): Likewise.
34655 * manual/filesys.texi (telldir): Use braces around return type.
34656 * manual/llio.texi (mmap): Add space after comma.
34657 (mmap64): Likewise.
34658 * manual/math.texi (jn): Use @var{} on parameter names.
34659 (jnf): Likewise.
34660 (jnl): Likewise.
34661 (yn): Likewise.
34662 (ynf): Likewise.
34663 (ynl): Likewise.
34664 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34665 line.
34666 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34667 "...".
34668 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34669 (sched_get_priority_max): Likewise.
34670 * manual/signal.texi (sigvec): Add space after comma.
34671 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34672 names.
34673 (if_indextoname): Likewise.
34674 (if_freenameindex): Likewise.
34675 (sendto): Use ',' instead of '.' in prototype.
34676 * manual/startup.texi (syscall): Use @dots{} instead of literal
34677 "...".
34678 * manual/stdio.texi (__fpending): Separate initial words of
34679 paragraph from @deftypefun line.
34680 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34681 "...".
34682 (vsyslog): Use @var{} on parameter names.
34683 * manual/terminal.texi (stty): Use @var{} on parameter names.
34684 * manual/users.texi (getutmp): Use @var{} on parameter names.
34685 (getutmpx): Likewise.
34686
346872012-02-17 Joseph Myers <joseph@codesourcery.com>
34688
34689 [BZ #6884]
34690 * manual/stdio.texi (fopen): Fix typos in description of
34691 ",ccs=STRING".
34692
346932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34694
34695 [BZ #4026]
34696 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34697 get clock_id definition.
34698
346992012-02-17 Thomas Schwinge <thomas@schwinge.name>
34700
34701 [BZ #4822]
34702 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34703 (madvise): Cast every argument to void on its own.
34704
347052012-02-17 Joseph Myers <joseph@codesourcery.com>
34706
34707 [BZ #9902]
34708 * manual/startup.texi (Exit Status): Fix typo.
34709
347102012-02-17 Joseph Myers <joseph@codesourcery.com>
34711
34712 [BZ #10140]
34713 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34714 * manual/examples/argp-ex2.c: Likewise.
34715 * manual/examples/argp-ex3.c: Likewise.
34716
347172012-02-16 Richard Henderson <rth@redhat.com>
34718
34719 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34720 * sysdeps/s390/s390-32/initfini.c: Remove.
34721 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34722 * sysdeps/s390/s390-64/initfini.c: Remove.
34723
347242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34725
34726 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34727 compiler output for sysdeps/generic/initfini.c.
34728 * sysdeps/sh/elf/initfini.c: Remove file.
34729
347302012-02-16 David S. Miller <davem@davemloft.net>
34731
34732 [BZ #11494]
34733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34734
34735 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34736 * sysdeps/sparc/crti.S: New file.
34737 * sysdeps/sparc/crtn.S: New file.
34738 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34739 * sysdeps/sparc/sparc64/Makefile: Likewise.
34740
347412012-02-15 Mike Frysinger <vapier@gentoo.org>
34742
34743 [BZ #3335]
34744 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34745
347462012-02-15 Roland McGrath <roland@hack.frob.com>
34747
34748 [BZ #4822]
34749 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34750
34751 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34752 (write, read, close): Likewise.
34753 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34754
347552012-02-15 Joseph Myers <joseph@codesourcery.com>
34756
34757 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34758 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34759 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34760 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34761 <bits/signalfd.h>.
34762 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34764 bits/signalfd.h.
34765
347662012-02-14 Marek Polacek <polacek@redhat.com>
34767
34768 * sysdeps/x86_64/crti.S: New file.
34769 * sysdeps/x86_64/crtn.S: New file.
34770 * sysdeps/x86_64/elf/initfini.c: Remove file.
34771
347722012-02-13 Joseph Myers <joseph@codesourcery.com>
34773
34774 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34775 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34776 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34777 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34778 <bits/inotify.h>.
34779 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34781 bits/inotify.h.
34782
347832012-02-13 Joseph Myers <joseph@codesourcery.com>
34784
34785 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34786 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34787 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34788 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34789 <bits/eventfd.h>.
34790 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34792 bits/eventfd.h.
34793
347942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34795
34796 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34797 __feraiseexcept instead of feraiseexcept.
34798
34799 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34800 nanosleep invocations.
34801 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34802 strings, and add error checking for a nanosleep invocations.
34803
348042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34805
34806 Replace FSF snail mail address with URLs, as per GNU coding standards.
34807 Most of the snail mail addresses were wrong anyway, and omitting
34808 them makes the source code easier to maintain. Almost all of the
34809 changes are to license notices and to locale LC_IDENTIFICATION
34810 addresses, except for this one:
34811 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34812 not its snail mail address.
34813
348142012-02-09 Richard Henderson <rth@twiddle.net>
34815
34816 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34817 of kernel-features.h.
34818
34819 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34820
348212012-02-08 Marek Polacek <polacek@redhat.com>
34822
34823 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34824 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34825 * sysdeps/gnu/_G_config.h: Likewise.
34826 * sysdeps/generic/_G_config.h: Likewise.
34827
348282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34829
34830 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34831 tests.
34832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34833
34834 * sysdeps/powerpc/powerpc32/crti.S: New file.
34835 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34836 * sysdeps/powerpc/powerpc64/crti.S: New file.
34837 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34838
34839 * Makeconfig (have-initfini): Don't set.
34840 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34841 * configure.in (nopic_initfini): Don't substitute.
34842 * config.h.in (HAVE_INITFINI): Don't #undef.
34843 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34844 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34845
348462012-02-08 Joseph Myers <joseph@codesourcery.com>
34847
34848 Support crti.S and crtn.S provided directly by architectures.
34849 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34850 [crti.S in sysdirs] (omit-deps): Likewise.
34851 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34852 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34853 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34854 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34855 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34856 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34857 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34858 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34859 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34860 compiler output for sysdeps/generic/initfini.c.
34861 * sysdeps/i386/elf/Makefile: Remove file.
34862 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34863
348642012-02-07 Marek Polacek <polacek@redhat.com>
34865
34866 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34867 * sysdeps/gnu/_G_config.h: Likewise.
34868 * sysdeps/mach/hurd/_G_config.h: Likewise.
34869
348702012-02-07 Marek Polacek <polacek@redhat.com>
34871
34872 * math/Makefile (tests): Add tst-CMPLX2.
34873 * math/tst-CMPLX2.c: New file.
34874
348752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34876
34877 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34878
34879 * math/libm-test.inc (jn_test): Add missing L suffix.
34880
348812012-02-06 Marek Polacek <polacek@redhat.com>
34882
34883 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34884 * sysdeps/i386/fpu/e_powf.S: Likewise.
34885 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34886 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34887 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34888 * sysdeps/i386/fpu/e_pow.S: Likewise.
34889 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34890 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34891 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34892 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34893 * sysdeps/i386/fpu/e_log2.S: Likewise.
34894 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34895 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34896 * sysdeps/i386/fpu/e_powl.S: Likewise.
34897 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34898 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34899 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34900 * sysdeps/i386/fpu/e_logl.S: Likewise.
34901 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34902 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34903 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34904 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34905 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34906 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34907 * sysdeps/i386/fpu/e_log.S: Likewise.
34908 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34909 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34910 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34911 * sysdeps/i386/fpu/e_logf.S: Likewise.
34912 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34913 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34914 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34915 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34916 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34917 * sysdeps/i386/fpu/e_log10.S: Likewise.
34918 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34919 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34920 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34921 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34922 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34923 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34924 * sysdeps/i386/asm-syntax.h: Likewise.
34925 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34926 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34927 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34928 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34929 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34930 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34931 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34932 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34933 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34934 * sysdeps/powerpc/sysdep.h: Likewise.
34935 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34936 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34937
349382012-02-06 Joseph Myers <joseph@codesourcery.com>
34939
34940 [BZ #411]
34941 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34942
349432012-02-06 Joseph Myers <joseph@codesourcery.com>
34944
34945 * sysdeps/i386/sysdep.h: Include <features.h>.
34946 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34947 version.
34948
349492012-02-05 Joseph Myers <joseph@codesourcery.com>
34950
34951 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34952 Define.
34953 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34954 LOAD_PIC_REG_STR.
34955
349562012-02-03 Joseph Myers <joseph@codesourcery.com>
34957
34958 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34959 (SETUP_PIC_REG): Use GET_PC_THUNK.
34960 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34961 macro.
34962
349632012-02-03 Joseph Myers <joseph@codesourcery.com>
34964
34965 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34966 for non-PIC compilation.
34967 (SETUP_PIC_REG): Add .p2align directive.
34968 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34969 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34970 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34971 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34972 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34973 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34974 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34976 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34977 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34978 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34979 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34980 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34981 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34982 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34983 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34984 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34985 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34986 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34987 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34988 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34990 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34991 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34992 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34994 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34996 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34997 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34998 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34999 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35000 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35001 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35002 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35003 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35004 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35005 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35006 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35007 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35008 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35009
350102012-02-03 Joseph Myers <joseph@codesourcery.com>
35011
35012 * math/tst-CMPLX.c: Include <stdio.h>.
35013
350142012-01-31 Joseph Myers <joseph@codesourcery.com>
35015
35016 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35017 float.
35018 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35019 * sysdeps/sparc/bits/mathdef.h: Likewise.
35020
350212012-01-31 Marek Polacek <polacek@redhat.com>
35022
35023 * libio/libio.h: Don't define _PARAMS.
35024 * locale/programs/config.h: Don't define PARAMS.
35025 * stdlib/strtol_l.c: Likewise.
35026 (__strtol_l): Remove PARAMS from the prototype.
35027
350282012-01-31 Ulrich Drepper <drepper@gmail.com>
35029
35030 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35031 names. Just use the correct names. Remove unnecessary wrapper
35032 functions.
35033 * malloc/arena.c: Likewise.
35034 * malloc/hooks.c: Likewise.
35035
35036 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35037 ARENA_TEST says not to. Simplify test for creation of a new arena.
35038 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35039
350402012-01-30 Ulrich Drepper <drepper@gmail.com>
35041
35042 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35043 into tail calls.
35044 (update_get_addr): New function.
35045 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35046 GET_ADDR_MODULE parameter.
35047
350482012-01-30 Joseph Myers <joseph@codesourcery.com>
35049
35050 * crypt/cert.c: Remove __STDC__ conditionals.
35051 * crypt/crypt-entry.c: Likewise.
35052 * crypt/crypt_util.c: Likewise.
35053 * libio/filedoalloc.c: Likewise.
35054 * libio/fileops.c: Likewise.
35055 * libio/genops.c: Likewise.
35056 * libio/iofclose.c: Likewise.
35057 * libio/iofdopen.c: Likewise.
35058 * libio/iofopen.c: Likewise.
35059 * libio/iofopen64.c: Likewise.
35060 * libio/iogetdelim.c: Likewise.
35061 * libio/iopopen.c: Likewise.
35062 * libio/obprintf.c: Likewise.
35063 * libio/oldfileops.c: Likewise.
35064 * libio/oldiofclose.c: Likewise.
35065 * libio/oldiofdopen.c: Likewise.
35066 * libio/oldiofopen.c: Likewise.
35067 * libio/oldiopopen.c: Likewise.
35068 * libio/wfiledoalloc.c: Likewise.
35069 * libio/wgenops.c: Likewise.
35070 * locale/programs/xmalloc.c: Likewise.
35071 * misc/syslog.c: Likewise.
35072 * stdio-common/xbug.c: Likewise.
35073 * string/memchr.c: Likewise.
35074 * string/memcmp.c: Likewise.
35075 * string/memrchr.c: Likewise.
35076 * string/rawmemchr.c: Likewise.
35077 * sysdeps/posix/getcwd.c: Likewise.
35078 * time/strftime_l.c: Likewise.
35079
350802012-01-30 Joseph Myers <joseph@codesourcery.com>
35081
35082 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35083 * config.make.in (config-cflags-sse2avx): Define.
35084 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35085 Fix typo.
35086
350872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35088
35089 * scripts/config.guess: Update from upstream config git repository.
35090 * scripts/config.sub: Likewise.
35091
350922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35093
35094 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35095 (EM_NUM): Update.
35096 (R_TILEPRO_*, R_TILEGX_*): New macros.
35097
35098 * scripts/firstversions.awk: Fix bug in version range handling.
35099
35100 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35101
35102 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35103
35104 * include/sys/epoll.h: New file.
35105 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35106 libc_hidden_def.
35107
351082012-01-28 Ulrich Drepper <drepper@gmail.com>
35109
35110 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35111 Avoid unnecessary __WORDSIZE == 64 test.
35112 (fmaxf): Use VEX format if possible.
35113 (fmax): Likewise.
35114 (fminf): Likewise.
35115 (fmin): Likewise.
35116
35117 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35118 * math/math_private.h: Remove libc_fegetround* and
35119 libc_fesetround*.
35120 * sysdeps/i386/configure.in: Check for -msse2avx.
35121 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35122 also if SSE2AVX is defined.
35123 Remove libc_fegetround* and libc_fesetround*.
35124 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35125 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35126 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35127 of HAS_YMM_USABLE.
35128 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35129 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35130 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35131 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35132 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35133
35134 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35135
351362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35137
35138 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35139 size is not set.
35140 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35141
351422012-01-27 Ulrich Drepper <drepper@gmail.com>
35143
35144 [BZ #13618]
35145 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35146 relocation.
35147 * Makeconfig (libm): Define.
35148 * elf/Makefile: Add rules to build and run tst-relsort1.
35149 * elf/tst-relsort1.c: New file.
35150 * elf/tst-relsort1mod1.c: New file.
35151 * elf/tst-relsort1mod2.c: New file.
35152
351532012-01-27 Joseph Myers <joseph@codesourcery.com>
35154
35155 * math/s_ldexp.c: Remove __STDC__ conditionals.
35156 * math/s_ldexpf.c: Likewise.
35157 * math/s_ldexpl.c: Likewise.
35158 * math/s_nextafter.c: Likewise.
35159 * math/s_nexttowardf.c: Likewise.
35160 * math/s_significand.c: Likewise.
35161 * math/s_significandf.c: Likewise.
35162 * math/s_significandl.c: Likewise.
35163 * math/w_jnl.c: Likewise.
35164 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35165 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35166 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35167 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35168 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35170 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35171 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35172 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35173 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35174 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35175 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35176 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35177 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35178 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35179 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35180 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35181 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35183 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35184 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35185 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35186 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35187 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35188 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35189 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35190 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35191 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35192 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35193 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35194 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35195 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35196 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35197 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35198 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35199 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35200 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35201 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35202 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35203 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35204 * sysdeps/ieee754/k_standard.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35214 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35217 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35222 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35223 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35224 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35229 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35234 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35237 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35244 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35247 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35248 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35250 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35251 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35252 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35253 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35254 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35257 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35258 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35259 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35261 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35263 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35265 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35266 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35267 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35268 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35269 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35270 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35271 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35272 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35273 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35274 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35275 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35277 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35280 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35281 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35284 * sysdeps/ieee754/s_matherr.c: Likewise.
35285 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35286 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35289
352902012-01-26 Joseph Myers <joseph@codesourcery.com>
35291
35292 * crypt/md5.h: Remove __STDC__ conditionals.
35293 * libio/libioP.h: Likewise.
35294 * locale/programs/config.h: Likewise.
35295 * sysdeps/generic/sysdep.h: Likewise.
35296 * sysdeps/i386/asm-syntax.h: Likewise.
35297 * sysdeps/s390/asm-syntax.h: Likewise.
35298 * sysdeps/unix/sysdep.h: Likewise.
35299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35301
353022012-01-26 Joseph Myers <joseph@codesourcery.com>
35303
35304 * libio/libio.h: Remove __STDC__ conditionals.
35305 * malloc/obstack.h: Likewise.
35306 * math/complex.h: Likewise.
35307 * math/math.h: Likewise.
35308 * sysdeps/generic/_G_config.h: Likewise.
35309 * sysdeps/gnu/_G_config.h: Likewise.
35310 * sysdeps/mach/hurd/_G_config.h: Likewise.
35311 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35312 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35313 * sysdeps/sparc/bits/mathdef.h: Likewise.
35314
353152012-01-26 Ulrich Drepper <drepper@gmail.com>
35316
35317 [BZ #13583]
35318 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35319 Clean up HAS_* macros.
35320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35321 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35322 possible.
35323 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35324 HAS_AVX.
35325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35326 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35330
353312012-01-25 Joseph Myers <joseph@codesourcery.com>
35332
35333 * elf/tst-unique3.cc (gets): Remove declaration.
35334 * elf/tst-unique3lib.cc (gets): Likewise.
35335 * elf/tst-unique3lib2.cc (gets): Likewise.
35336 * elf/tst-unique4.cc (gets): Likewise.
35337
353382012-01-24 Ulrich Drepper <drepper@gmail.com>
35339
35340 * include/stdio.h: Add C++ protection. Add gets declarations and
35341 definitions.
35342 * debug/tst-chk1.c: Don't declare gets here.
35343 * stdio-common/tst-gets.c: Likewise.
35344
353452012-01-24 Joseph Myers <joseph@codesourcery.com>
35346
35347 * posix/glob: Remove directory.
35348
353492012-01-24 Joseph Myers <joseph@codesourcery.com>
35350
35351 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35352
353532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35354
35355 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35356 of the non-standard EPFNOSUPPORT.
35357
353582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35359
35360 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35361 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35362 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35363
353642012-01-21 Ulrich Drepper <drepper@gmail.com>
35365
35366 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35367
353682012-01-20 Ulrich Drepper <drepper@gmail.com>
35369
35370 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35371 transient errors.
35372 * nscd/grpcache.c (cache_addgr): Likewise.
35373 * nscd/hstcache.c (cache_addhst): Likewise.
35374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35375 * nscd/pwdcache.c (cache_addpw): Likewise.
35376 * nscd/servicescache.c (cache_addserv): Likewise.
35377
353782012-01-16 Ulrich Drepper <drepper@gmail.com>
35379
35380 * malloc/malloc.c: Various cleanups.
35381 * malloc/hooks.c: Likewise.
35382
35383 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35384 * stdlib/bug-fmtmsg1.c: New file.
35385
35386 * stdlib/fmtmsg.c (init): Add missing unlock.
35387 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35388
353892012-01-12 Marek Polacek <polacek@redhat.com>
35390
35391 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35392 and _GNU_SOURCE.
35393
353942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35395
35396 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35397 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35398 macro to ensure uniqueness of label name.
35399 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35400 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35401
354022012-01-11 Ulrich Drepper <drepper@gmail.com>
35403
35404 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35405
35406 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35407 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35410
354112012-01-10 Ulrich Drepper <drepper@gmail.com>
35412
35413 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35414
35415 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35416 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35417 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35418
35419 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35420
35421 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35422 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35423 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35425
35426 * math/bits/math-finite.h: Add ldexp support.
35427
354282012-01-10 Marek Polacek <polacek@redhat.com>
35429
35430 * locale/programs/localedef.h (show_archive_content): Add noreturn
35431 attribute.
35432
354332012-01-09 Ulrich Drepper <drepper@gmail.com>
35434
35435 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35436
354372012-01-08 Ulrich Drepper <drepper@gmail.com>
35438
35439 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35440
35441 * io/Makefile (headers): Add bits/poll2.h.
35442
354432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35444
35445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35446 typo #include statement.
35447
354482012-01-08 Ulrich Drepper <drepper@gmail.com>
35449
35450 * include/sys/cdefs.h: Define __attribute_alloc_size.
35451 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35452 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35453 * elf/pldd.c: Likewise.
35454 * iconv/iconv_charmap.c: Likewise.
35455 * iconv/iconvconfig.c: Likewise.
35456 * iconv/strtab.c: Likewise.
35457 * locale/programs/locale.c: Likewise.
35458 * locale/programs/localedef.h: Likewise.
35459 * locale/programs/simple-hash.c: Likewise.
35460 * nscd/nscd.h: Likewise.
35461 * nss/makedb.c: Likewise.
35462 * sysdeps/generic/ldconfig.h: Likewise.
35463 * locale/programs/localedef.c: Remove xmalloc prototype.
35464 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35465
354662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35467
35468 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35469 appropriate.
35470
354712012-01-08 Ulrich Drepper <drepper@gmail.com>
35472
35473 * math/Makefile (tests): Add tst-CMPLX.
35474 * math/tst-CMPLX.c: New file.
35475
35476 * math/complex.h (CMPLXL): Fix typo.
35477
35478 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35479 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35480 GLIBC_2.16.
35481 * debug/tst-chk1.c: Add poll and ppoll tests.
35482 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35483 * include/sys/poll.h: Add hidden proto for ppoll.
35484 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35485 * sysdeps/mach/hurd/ppoll.c: Likewise.
35486 * io/ppoll.c: Likewise.
35487 * debug/poll_chk.c: New file.
35488 * debug/ppoll_chk.c: New file.
35489 * include/bits/poll2.h: New file.
35490 * io/bits/poll2.h: New file.
35491
35492 [BZ #1350]
35493 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35494
35495 * configure.in: static is always set to yes. Remove.
35496 * config.make.in: Don't set build-static.
35497 * Makeconfig: Remove use of build-static.
35498 * dlfcn/Makefile: Likewise.
35499 * elf/Makefile: Likewise.
35500 * math/Makefile: Likewise.
35501 * misc/Makefile: Likewise.
35502 * nptl/Makefile: Likewise.
35503 * sysdeps/mach/hurd/Makefile: Likewise.
35504
35505 * configure.in: PWD_P is not used anymore.
35506 * config.make.in: Remove PWD_P entry.
35507
35508 * configure.in: Remove last remnants of RANLIB.
35509 No need to check for signed size_t anymore.
35510 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35511 and IA-64.
35512 Remove __builtin_expect test because we require at least gcc 3.4.
35513 * aclocal.m4: Likewise.
35514
35515 * wcsmbs/mbrtoc16.c: Implement using towc function.
35516 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35517 * wcsmbs/wcsmbsload.c: Likewise.
35518 * iconv/gconv_simple.c: Likewise.
35519 * iconv/gconv_int.h: Likewise.
35520 * iconv/gconv_builtin.h: Likewise.
35521 * iconv/iconv_prog.c: Remove CHAR16 handling.
35522
35523 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35524
35525 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35526
35527 * configure.in: Remove --with-elf and --enable-bounded options.
35528 Dont set base_machine for ia64. More non-ELF conditions removed.
35529 Remove testing and setting of leading underscore information.
35530 * config.make.in (build-bounded): Set to no.
35531 * config.h.in: Remove NO_UNDERSCORES entry.
35532 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35533 them.
35534 * csu/start.c: Remove !NO_UNDERSCORE code.
35535 * locale/localeinfo.h: Likewise.
35536 * sysdeps/generic/machine-gmon.h: Likewise.
35537 * sysdeps/generic/sysdep.h: Likewise.
35538 * sysdeps/i386/sysdep.h: Likewise.
35539 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35540 * sysdeps/mach/sysdep.h: Likewise.
35541 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35542 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35543 * sysdeps/sh/sysdep.h: Likewise.
35544 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35545 * sysdeps/unix/i386/sysdep.S: Likewise.
35546 * sysdeps/unix/sparc/start.c: Likewise.
35547 * sysdeps/unix/sparc/sysdep.S: Likewise.
35548 * sysdeps/unix/sparc/sysdep.h: Likewise.
35549 * sysdeps/unix/start.c: Likewise.
35550 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35551 * sysdeps/x86_64/sysdep.h: Likewise.
35552
355532012-01-07 Ulrich Drepper <drepper@gmail.com>
35554
35555 [BZ #13553]
35556 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35557 for non-gcc.
35558 * argp/argp-fmtstream.h: Use const instead __const.
35559 * argp/argp.h: Likewise.
35560 * assert/assert.h: Likewise.
35561 * bits/fenv.h: Likewise.
35562 * bits/sched.h: Likewise.
35563 * bits/sigset.h: Likewise.
35564 * bits/sigthread.h: Likewise.
35565 * catgets/nl_types.h: Likewise.
35566 * conform/data/pthread.h-data: Likewise.
35567 * crypt/crypt-private.h: Likewise.
35568 * crypt/crypt.h: Likewise.
35569 * crypt/crypt_util.c: Likewise.
35570 * ctype/ctype.h: Likewise.
35571 * debug/execinfo.h: Likewise.
35572 * debug/mbsnrtowcs_chk.c: Likewise.
35573 * debug/mbsrtowcs_chk.c: Likewise.
35574 * debug/wcsnrtombs_chk.c: Likewise.
35575 * debug/wcsrtombs_chk.c: Likewise.
35576 * debug/wcstombs_chk.c: Likewise.
35577 * dirent/dirent.h: Likewise.
35578 * dlfcn/dlfcn.h: Likewise.
35579 * elf/neededtest4.c: Likewise.
35580 * grp/grp.h: Likewise.
35581 * gshadow/gshadow.h: Likewise.
35582 * iconv/gconv.h: Likewise.
35583 * iconv/gconv_int.h: Likewise.
35584 * iconv/gconv_simple.c: Likewise.
35585 * iconv/iconv.h: Likewise.
35586 * iconv/loop.c: Likewise.
35587 * iconv/skeleton.c: Likewise.
35588 * include/aio.h: Likewise.
35589 * include/aliases.h: Likewise.
35590 * include/argz.h: Likewise.
35591 * include/arpa/inet.h: Likewise.
35592 * include/assert.h: Likewise.
35593 * include/dirent.h: Likewise.
35594 * include/dlfcn.h: Likewise.
35595 * include/execinfo.h: Likewise.
35596 * include/fcntl.h: Likewise.
35597 * include/fenv.h: Likewise.
35598 * include/glob.h: Likewise.
35599 * include/grp.h: Likewise.
35600 * include/libintl.h: Likewise.
35601 * include/mntent.h: Likewise.
35602 * include/netdb.h: Likewise.
35603 * include/pwd.h: Likewise.
35604 * include/rpc/netdb.h: Likewise.
35605 * include/sched.h: Likewise.
35606 * include/search.h: Likewise.
35607 * include/shadow.h: Likewise.
35608 * include/signal.h: Likewise.
35609 * include/stdio.h: Likewise.
35610 * include/stdlib.h: Likewise.
35611 * include/string.h: Likewise.
35612 * include/sys/socket.h: Likewise.
35613 * include/sys/stat.h: Likewise.
35614 * include/sys/statfs.h: Likewise.
35615 * include/sys/statvfs.h: Likewise.
35616 * include/sys/syslog.h: Likewise.
35617 * include/sys/time.h: Likewise.
35618 * include/sys/uio.h: Likewise.
35619 * include/time.h: Likewise.
35620 * include/unistd.h: Likewise.
35621 * include/utmp.h: Likewise.
35622 * include/wchar.h: Likewise.
35623 * include/wctype.h: Likewise.
35624 * inet/aliases.h: Likewise.
35625 * inet/arpa/inet.h: Likewise.
35626 * inet/netinet/ether.h: Likewise.
35627 * inet/netinet/in.h: Likewise.
35628 * intl/libintl.h: Likewise.
35629 * io/bits/fcntl2.h: Likewise.
35630 * io/fcntl.h: Likewise.
35631 * io/ftw.h: Likewise.
35632 * io/sys/poll.h: Likewise.
35633 * io/sys/stat.h: Likewise.
35634 * io/sys/statfs.h: Likewise.
35635 * io/sys/statvfs.h: Likewise.
35636 * io/utime.h: Likewise.
35637 * libio/bits/stdio.h: Likewise.
35638 * libio/bits/stdio2.h: Likewise.
35639 * libio/libio.h: Likewise.
35640 * libio/libioP.h: Likewise.
35641 * libio/stdio.h: Likewise.
35642 * locale/lc-ctype.c: Likewise.
35643 * locale/locale.h: Likewise.
35644 * login/utmp.h: Likewise.
35645 * malloc/arena.c: Likewise.
35646 * malloc/malloc.c: Likewise.
35647 * malloc/malloc.h: Likewise.
35648 * malloc/mcheck.c: Likewise.
35649 * malloc/mtrace.c: Likewise.
35650 * math/bits/mathcalls.h: Likewise.
35651 * math/fenv.h: Likewise.
35652 * math/math_private.h: Likewise.
35653 * misc/bits/error.h: Likewise.
35654 * misc/bits/syslog.h: Likewise.
35655 * misc/err.h: Likewise.
35656 * misc/error.h: Likewise.
35657 * misc/fstab.h: Likewise.
35658 * misc/mntent.h: Likewise.
35659 * misc/regexp.h: Likewise.
35660 * misc/search.h: Likewise.
35661 * misc/sgtty.h: Likewise.
35662 * misc/sys/mman.h: Likewise.
35663 * misc/sys/syslog.h: Likewise.
35664 * misc/sys/uio.h: Likewise.
35665 * misc/sys/xattr.h: Likewise.
35666 * misc/ttyent.h: Likewise.
35667 * nis/rpcsvc/ypclnt.h: Likewise.
35668 * nss/nss.h: Likewise.
35669 * posix/bits/unistd.h: Likewise.
35670 * posix/fnmatch.h: Likewise.
35671 * posix/glob.h: Likewise.
35672 * posix/sched.h: Likewise.
35673 * posix/spawn.h: Likewise.
35674 * posix/sys/wait.h: Likewise.
35675 * posix/unistd.h: Likewise.
35676 * posix/wordexp.h: Likewise.
35677 * pwd/pwd.h: Likewise.
35678 * resolv/netdb.h: Likewise.
35679 * resource/sys/resource.h: Likewise.
35680 * rt/aio.h: Likewise.
35681 * rt/bits/mqueue2.h: Likewise.
35682 * rt/mqueue.h: Likewise.
35683 * shadow/shadow.h: Likewise.
35684 * signal/signal.h: Likewise.
35685 * socket/send.c: Likewise.
35686 * socket/sendto.c: Likewise.
35687 * socket/sys/socket.h: Likewise.
35688 * stdio-common/printf.h: Likewise.
35689 * stdlib/bits/stdlib.h: Likewise.
35690 * stdlib/fmtmsg.h: Likewise.
35691 * stdlib/monetary.h: Likewise.
35692 * stdlib/stdlib.h: Likewise.
35693 * stdlib/ucontext.h: Likewise.
35694 * streams/stropts.h: Likewise.
35695 * string/argz.h: Likewise.
35696 * string/bits/string2.h: Likewise.
35697 * string/string.h: Likewise.
35698 * string/strings.h: Likewise.
35699 * sunrpc/rpc/auth.h: Likewise.
35700 * sunrpc/rpc/auth_des.h: Likewise.
35701 * sunrpc/rpc/clnt.h: Likewise.
35702 * sunrpc/rpc/netdb.h: Likewise.
35703 * sunrpc/rpc/pmap_clnt.h: Likewise.
35704 * sunrpc/rpc/xdr.h: Likewise.
35705 * sysdeps/generic/inttypes.h: Likewise.
35706 * sysdeps/generic/net/if.h: Likewise.
35707 * sysdeps/generic/sys/swap.h: Likewise.
35708 * sysdeps/gnu/net/if.h: Likewise.
35709 * sysdeps/gnu/utmpx.h: Likewise.
35710 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35711 * sysdeps/i386/i486/bits/string.h: Likewise.
35712 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35713 * sysdeps/s390/bits/string.h: Likewise.
35714 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35715 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35716 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35717 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35718 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35719 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35720 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35721 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35722 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35723 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35724 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35725 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35726 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35727 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35728 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35729 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35730 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35732 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35733 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35735 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35736 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35737 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35738 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35739 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35740 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35741 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35742 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35743 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35744 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35745 * sysvipc/sys/ipc.h: Likewise.
35746 * sysvipc/sys/msg.h: Likewise.
35747 * sysvipc/sys/sem.h: Likewise.
35748 * sysvipc/sys/shm.h: Likewise.
35749 * termios/termios.h: Likewise.
35750 * time/sys/time.h: Likewise.
35751 * time/time.h: Likewise.
35752 * wcsmbs/bits/wchar2.h: Likewise.
35753 * wcsmbs/uchar.h: Likewise.
35754 * wcsmbs/wchar.h: Likewise.
35755 * wctype/wctype.h: Likewise.
35756
35757 [BZ #13551]
35758 * Makeconfig: Remove all but ELF support including AIX support.
35759 * Makerules: Likewise.
35760 * config.h.in: Likewise.
35761 * config.make.in: Likewise.
35762 * configure: Likewise.
35763 * configure.in: Likewise.
35764 * csu/Makefile: Likewise.
35765 * csu/version.c: Likewise.
35766 * debug/Makefile: Likewise.
35767 * dlfcn/Makefile: Likewise.
35768 * elf/Makefile: Likewise.
35769 * extra-lib.mk: Likewise.
35770 * iconv/Makefile: Likewise.
35771 * include/libc-symbols.h: Likewise.
35772 * include/shlib-compat.h: Likewise.
35773 * resolv/Makefile: Likewise.
35774 * resolv/res_libc.c: Likewise.
35775 * rt/Makefile: Likewise.
35776 * sysdeps/i386/asm-syntax.h: Likewise.
35777 * sysdeps/i386/sysdep.h: Likewise.
35778 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35779 * sysdeps/mach/sysdep.h: Likewise.
35780 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35781 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35782 * sysdeps/s390/asm-syntax.h: Likewise.
35783 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35784 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35785 * sysdeps/sh/sysdep.h: Likewise.
35786 * sysdeps/unix/sparc/sysdep.h: Likewise.
35787 * sysdeps/wordsize-32/divdi3.c: Likewise.
35788 * sysdeps/x86_64/sysdep.h: Likewise.
35789
35790 * argp/Versions: Remove _argp_unlock_xxx.
35791
35792 [BZ #13559]
35793 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35794 * abilist/libBrokenLocale.abilist: Likewise.
35795 * abilist/libanl.abilist: Likewise.
35796 * abilist/libc.abilist: Likewise.
35797 * abilist/libcrypt.abilist: Likewise.
35798 * abilist/libdl.abilist: Likewise.
35799 * abilist/libm.abilist: Likewise.
35800 * abilist/libnsl.abilist: Likewise.
35801 * abilist/libpthread.abilist: Likewise.
35802 * abilist/libresolv.abilist: Likewise.
35803 * abilist/librt.abilist: Likewise.
35804 * abilist/libthread_db.abilist: Likewise.
35805 * abilist/libutil.abilist: Likewise.
35806 * abilist/libnss_db.abilist: New file.
35807
35808 * scripts/abilist.awk: Add support for indirect functions.
35809
35810 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35811
35812 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35813
35814 * shlib-versions: Remove entries for ports architectures.
35815
35816 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35817 files in ports.
35818 * elf/stackguard-macros.h: Remove support for IA-64.
35819 * elf/tst-auditmod1.c: Likewise.
35820 * sysdeps/generic/ldsodefs.h: Likewise.
35821
35822 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35823 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35824 configure files.
35825
35826 [BZ #13552]
35827 * configure.in: Remove --enable-omitfp support.
35828 * FAQ.in: Adjust.
35829 * config.make.in: Likewise.
35830 * Makeconfig: Likewise.
35831 * manual/install.texi: Likewise.
35832
35833 In case anyone cares, the IA-64 architecture could move to ports.
35834 * sysdeps/ia64/*: Removed.
35835 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35836 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35837
35838 [BZ #13555]
35839 * configure.in: Remove entries for unsupported architectures.
35840
35841 [BZ #13533]
35842 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35843 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35844 routines.
35845 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35846 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35847 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35848 fall back to using wcrtomb.
35849 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35850 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35851 renaming.
35852 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35853 * wcsmbs/tst-c16c32-1.c: New file.
35854
35855 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35856 local variable.
35857
35858 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35859
35860 * elf/tst-unique3.cc: Add explicit declaration of gets.
35861 * elf/tst-unique3lib.cc: Likewise.
35862 * elf/tst-unique3lib2.cc: Likewise.
35863 * elf/tst-unique4.cc: Likewise.
35864
35865 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35866
358672012-01-06 Joseph Myers <joseph@codesourcery.com>
35868
35869 [BZ #13566]
35870 * assert/assert.h (static_assert): Don't define for C++.
35871 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35872 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35873
358742012-01-03 Ulrich Drepper <drepper@gmail.com>
35875
35876 * iconv/loop.c (single loop): Fix assertion in storing of
35877 remaining bytes.
35878
35879 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35880
358812012-01-01 Ulrich Drepper <drepper@gmail.com>
35882
35883 * posix/getconf.c: Update copyright year.
35884 * nss/getent.c: Likewise.
35885 * nss/makedb.c: Likewise.
35886 * iconv/iconvconfig.c: Likewise.
35887 * iconv/iconv_prog.c: Likewise.
35888 * elf/ldconfig.c: Likewise.
35889 * elf/pldd.c: Likewise.
35890 * elf/sotruss.ksh: Likewise.
35891 * catgets/gencat.c: Likewise.
35892 * csu/version.c: Likewise.
35893 * elf/ldd.bash.in: Likewise.
35894 * elf/sprof.c (print_version): Likewise.
35895 * locale/programs/locale.c: Likewise.
35896 * locale/programs/localedef.c: Likewise.
35897 * login/programs/pt_chown.c: Likewise.
35898 * nscd/nscd.c (print_version): Likewise.
35899 * debug/xtrace.sh: Likewise.
35900 * malloc/memusage.sh: Likewise.
35901 * malloc/mtrace.pl: Likewise.
35902 * debug/catchsegv.sh: Likewise.
35903
359042011-12-30 Jakub Jelinek <jakub@redhat.com>
35905
35906 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35907 pure attribute.
35908
359092011-12-24 Ulrich Drepper <drepper@gmail.com>
35910
35911 [BZ #13533]
35912 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35913 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35914 transformations.
35915 * iconv/gconv_int.h: Likewise.
35916 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35917 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35918 from libc for GLIBC_2.16.
35919 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35920 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35921 * wcsmbs/uchar.h: Really define mbstate_t.
35922 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35923 * wcsmbs/c16rtomb.c: New file.
35924 * wcsmbs/mbrtoc16.c: New file.
35925 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35926 for C/POSIX locale.
35927 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35928 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35929
35930 * wcsmbs/wchar.h: Add missing __restrict.
35931
359322011-12-23 Ulrich Drepper <drepper@gmail.com>
35933
35934 [BZ #13532]
35935 * time/Makefile (routines): Add timespec_get.
35936 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35937 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35938 timespec for ISO C11.
35939 * time/timespec_get.c: New file.
35940 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35941 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35942
35943 [BZ #13531]
35944 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35945 * stdlib/stdlib.h: Declare aligned_alloc.
35946 * Versions.def: Add GLIBC_2.16 for libc.
35947 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35948
35949 [BZ 13527]
35950 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35951 ISO C11.
35952
35953 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35954 code.
35955
35956 [BZ #13528]
35957 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35958
35959 [BZ #13529]
35960 * assert/assert.h (static_assert): Define.
35961
35962 * version.h: Update for 2.16 development version.
35963
35964 [BZ #13526]
35965 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35966 _ISOC11_SOURCE.
35967
35968 * version.h (RELEASE): Bump for 2.15 release.
35969 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35970
35971 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35972 Patch by Marek Polacek <mpolacek@redhat.com>.
35973
35974 * bits/byteswap.h: Protect long long constants with __extension__.
35975 * sysdeps/i386/bits/byteswap.h: Likewise.
35976 * sysdeps/ia64/bits/byteswap.h: Likewise.
35977 * sysdeps/s390/bits/byteswap.h: Likewise.
35978 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35979
359802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35981
35982 [BZ #13540]
35983 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35984 destination buffer.
35985 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35986
359872011-12-23 Marek Polacek <polacek@redhat.com>
35988
35989 * elf/dl-addr.c (determine_info): Add inline keyword.
35990 * elf/tst-auditmod4b.c (check_avx): Likewise.
35991 * elf/tst-auditmod6b.c (check_avx): Likewise.
35992 * elf/tst-auditmod6c.c (check_avx): Likewise.
35993 * elf/tst-auditmod7b.c (check_avx): Likewise.
35994
359952011-12-23 Ulrich Drepper <drepper@gmail.com>
35996
35997 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35998 !__SSE_MATH__.
35999
360002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36001
36002 [BZ #13540]
36003 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36004 processing for last bytes.
36005
360062011-08-06 Bruno Haible <bruno@clisp.org>
36007
36008 [BZ #13061]
36009 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36010 U+0385, not to U+1FEE.
36011
36012 [BZ #13062]
36013 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36014 entry for U+00A5 U+0301.
36015
360162011-12-22 Ulrich Drepper <drepper@gmail.com>
36017
36018 [BZ #13166]
36019 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36020 buffer for the output is too small.
36021
36022 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36023 optimization.
36024
36025 [BZ #13185]
36026 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36027 SSE flags if possible.
36028
360292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36030
36031 [BZ #13540]
36032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36033 processing for last bytes.
36034
360352011-12-22 Joseph Myers <joseph@codesourcery.com>
36036
36037 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36038 (syscall-list-default-options, syscall-list-default-condition)
36039 (syscall-list-includes): Define.
36040 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36041 list of ABIs and options and #if conditions for each ABI. Do not
36042 handle common syscalls between ABIs specially.
36043 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36044 Remove.
36045 (syscall-list-variants, syscall-list-32bit-options)
36046 (syscall-list-32bit-condition, syscall-list-64bit-options)
36047 (syscall-list-64bit-condition): Define.
36048 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36049 (syscall-list-variants, syscall-list-32bit-options)
36050 (syscall-list-32bit-condition, syscall-list-64bit-options)
36051 (syscall-list-64bit-condition): Define.
36052 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36053 Remove.
36054 (syscall-list-variants, syscall-list-32bit-options)
36055 (syscall-list-32bit-condition, syscall-list-64bit-options)
36056 (syscall-list-64bit-condition): Define.
36057 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36058 Remove.
36059 (syscall-list-variants, syscall-list-32bit-options)
36060 (syscall-list-32bit-condition, syscall-list-64bit-options)
36061 (syscall-list-64bit-condition): Define.
36062
360632011-12-22 Ulrich Drepper <drepper@gmail.com>
36064
36065 * locale/iso-639.def: Add brx entry.
36066
36067 [BZ #13328]
36068 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36069 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36070
36071 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36072 __feraiseexcept_renamed.
36073
360742011-12-21 Ulrich Drepper <drepper@gmail.com>
36075
36076 [BZ #13538]
36077 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36078 EPOLLET with unsigned values.
36079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36080 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36081
36082 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36083 to large cancellation.
36084 * math/s_cacoshf.c: Likewise.
36085 * math/s_cacoshl.c: Likewise.
36086
360872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36088
36089 [BZ #13305]
36090 [BZ #12786]
36091 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36092 * math/s_cacoshf.c: Likewise.
36093 * math/s_cacoshl.c: Likewise.
36094
360952011-12-21 Ulrich Drepper <drepper@gmail.com>
36096
36097 [BZ #13439]
36098 * iconv/gconv.h: Define __GCONV_SWAP.
36099 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36100 * iconvdata/utf-16.c: Likewise.
36101 * iconvdata/utf-32.c: Likewise.
36102
361032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36104
36105 [BZ #13524]
36106 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36107 numerator after shifting it by one limb.
36108
361092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36110
36111 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36112 under [__USE_EXTERN_INLINES].
36113
361142011-12-17 Ulrich Drepper <drepper@gmail.com>
36115
36116 [BZ #13446]
36117 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36118
361192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36120
36121 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36122 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36123 optimized code.
36124 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36125 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36126 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36127 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36128 for strncasecmp/strncasecmp_l compilation.
36129 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36130 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36131
361322011-12-08 Marek Polacek <mpolacek@redhat.com>
36133
36134 [BZ #13484]
36135 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36136 of __asm__.
36137
361382011-12-17 Ulrich Drepper <drepper@gmail.com>
36139
36140 [BZ #13506]
36141 * time/tzfile.c (__tzfile_read): Check values from file header.
36142
361432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36144
36145 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36146 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36147 * powerpc/powerpc32/dl-start.S: Likewise.
36148 * powerpc/powerpc32/elf/start.S: Likewise.
36149 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36150 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36151 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36152 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36153 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36154 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36155 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36156 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36157 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36158 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36159 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36160 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36161 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36162 * powerpc/powerpc32/memset.S: Likewise.
36163 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36164 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36165 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36166 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36167 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36168 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36169 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36170 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36171 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36172 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36173 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36174 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36175 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36176
361772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36178
36179 * math/libm-test.inc: Added more nearbyint tests.
36180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36184
361852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36186
36187 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36188 FD_CLOEXEC.
36189
361902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36191
36192 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36193 Add wcscpy-ssse3 wcscpy-c.
36194 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36195 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36196 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36197 * sysdeps/x86_64/wcschr.S: New file.
36198 * sysdeps/x86_64/wcsrchr.S: New file.
36199 * string/test-strcmp.c: Remove checking of wcscmp function for
36200 wrong alignments.
36201 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36202 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36203 wcsrchr-sse2 wcsrchr-c.
36204 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36205 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36206 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36207 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36208 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36209 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36210 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36211 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36212 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36213 * wcsmbc/wcschr.c (WCSCHR): New macro.
36214
362152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36216
36217 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36218 * wcsmbs/test-wcsrchr.c: New file.
36219 * string/test-strrchr.c: Add wcsrchr support.
36220 (WIDE): New macro.
36221 * wcsmbs/test-wcscpy.c: New file.
36222 * string/test-strcpy.c: Add wcscpy support.
36223 (WIDE): New macro.
36224
362252011-12-10 Ulrich Drepper <drepper@gmail.com>
36226
36227 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36228 the inner loop.
36229
362302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36231
36232 [BZ #13472]
36233 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36234
362352011-12-04 Ulrich Drepper <drepper@gmail.com>
36236
36237 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36238 Minor optimizations.
36239
36240 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36241 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36242 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36243
362442011-12-03 Ulrich Drepper <drepper@gmail.com>
36245
36246 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36247 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36248 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36249 for gcc to avoid warnings.
36250 * inet/Makefile (tests): Add tst-checks.
36251 * inet/tst-checks.c: New file.
36252
36253 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36254 warning.
36255
36256 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36257 __wmemcmp_sse2.
36258
36259 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36260 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36261
36262 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36263
362642011-12-02 Ulrich Drepper <drepper@gmail.com>
36265
36266 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36267 problem.
36268
36269 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36270
362712011-11-29 Joseph Myers <joseph@codesourcery.com>
36272
36273 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36274 conditional on GCC version.
36275 (__arch_compare_and_exchange_val_8_acq)
36276 (__arch_compare_and_exchange_val_16_acq)
36277 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36278 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36279 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36280
362812011-12-02 Joseph Myers <joseph@codesourcery.com>
36282
36283 * sysdeps/sh/backtrace.c: New file.
36284
362852011-12-02 Andreas Schwab <schwab@redhat.com>
36286
36287 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36288 parenthesis.
36289
362902011-12-01 Andreas Schwab <schwab@redhat.com>
36291
36292 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36293 falling back to utime.
36294
362952011-11-30 Andreas Schwab <schwab@redhat.com>
36296
36297 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36298 expectations for float.
36299
363002011-11-29 Andreas Schwab <schwab@redhat.com>
36301
36302 * locale/weight.h (findidx): Add parameter len.
36303 * locale/weightwc.h (findidx): Likewise.
36304 * posix/fnmatch_loop.c (FCT): Adjust caller.
36305 * posix/regcomp.c (build_equiv_class): Likewise.
36306 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36307 * posix/regexec.c (check_node_accept_bytes): Likewise.
36308 * string/strcoll_l.c (STRCOLL): Likewise.
36309 * string/strxfrm_l.c (STRXFRM): Likewise.
36310
363112011-11-17 Ulrich Drepper <drepper@gmail.com>
36312
36313 * Makefile.in: Remove CVSOPT handling.
36314 * configure.in: Remove use of AC_REVISION.
36315 * iconvdata/Makefile (distribute): No need to filter out CVS.
36316 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36317 handling.
36318
363192011-11-16 Andreas Schwab <schwab@redhat.com>
36320
36321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36322 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36323 [USE_AS_STRNCASECMP_L]: Likewise.
36324 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36325 NO_TLS_DIRECT_SEG_REFS.
36326 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36327 Fix argument offsets for non-PIC.
36328 [USE_AS_STRNCASECMP_L]: Likewise.
36329 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36330 NO_TLS_DIRECT_SEG_REFS.
36331
363322011-11-15 Ulrich Drepper <drepper@gmail.com>
36333
36334 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36335 O_CLOEXEC.
36336 * locale/loadlocale.c (_nl_load_locale): Likewise.
36337
363382011-11-15 Andreas Schwab <schwab@redhat.com>
36339
36340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36341 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36342 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36343 (SYSCALL_GETTIME): Set errno on error.
36344
36345 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36346 count references to noai6ai_cached.
36347
363482011-11-15 Ulrich Drepper <drepper@gmail.com>
36349
36350 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36351
36352 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36353 FD_CLOEXEC for /proc/self/maps.
36354
36355 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36356 FD_CLOEXEC for /proc/meminfo.
36357
36358 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36359 gai.conf.
36360
36361 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36362 FD_CLOEXEC for given file.
36363
36364 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36365
36366 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36367 FD_CLOEXEC for /etc/hosts.
36368 (_gethtent): Likewise.
36369
36370 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36371
36372 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36373 cancellation and set FD_CLOEXEC for /etc/netgroup.
36374
36375 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36376 reading /etc/publickey.
36377
36378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36379 allow cancellation when reading /etc/group.
36380
36381 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36382 cancellation.
36383 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36384
36385 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36386 when using data file.
36387
36388 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36389
36390 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36391 (write_nis_obj): Use "c" and "e" in fopen.
36392
36393 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36394
36395 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36396
36397 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36398
36399 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36400
36401 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36402 locale.alias.
36403
36404 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36405
36406 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36407
36408 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36409
36410 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36411 file parsing and set FD_CLOEXEC.
36412
364132011-11-14 Ulrich Drepper <drepper@gmail.com>
36414
36415 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36416
364172011-11-14 Andreas Schwab <schwab@redhat.com>
36418
36419 * malloc/arena.c (arena_get2): Don't call reused_arena when
36420 _int_new_arena failed.
36421
364222011-11-14 Ulrich Drepper <drepper@gmail.com>
36423
36424 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36425 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36426 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36427 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36428 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36429 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36430 to compile strcasecmp and strncasecmp.
36431 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36432 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36433
36434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36435
364362011-11-13 Ulrich Drepper <drepper@gmail.com>
36437
36438 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36439 locale-defines.sym to gen-as-const-headers.
36440 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36441 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36442 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36443 to compile strcasecmp and strncasecmp.
36444 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36445 strcasecmp_l and strncasecmp_l.
36446 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36447 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36448 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36449 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36450 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36451 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36452 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36453 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36454 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36455 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36456 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36457
364582011-11-12 Ulrich Drepper <drepper@gmail.com>
36459
36460 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36461 result of SYSDEP_GETTIME_CPU to retval.
36462 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36463 parameter list to macro. Remove trailing semicolon. Adjust users.
36464
36465 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36466 variable.
36467
36468 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36469 mantissa words.
36470 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36471
36472 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36473 from unused variable.
36474
36475 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36476 DWARF definitions.
36477 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36478 for assembling.
36479
36480 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36481 over namespaces.
36482
36483 * sunrpc/rpc_prot.c (rejected): Fix case value.
36484
36485 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36486 unsigned long long int to avoid warnings in shift.
36487
36488 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36489 of use of trans.
36490 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36491 variable tmp.
36492
36493 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36494 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36495 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36496
36497 * nis/nis_table.c (nis_list): Use variable of correct type for
36498 result of __follow_path call.
36499
365002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36501
36502 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36503 of math functions ceil, trunc, floor, round, and sqrt, when
36504 avaliable on the platform.
36505 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36506 name clash.
36507 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36508 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36509 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36510
365112011-10-30 Marek Polacek <mpolacek@redhat.com>
36512
36513 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36514 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36515
365162011-11-11 Roland McGrath <roland@hack.frob.com>
36517
36518 * include/unistd.h: Fix __readlink return type.
36519 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36520
365212011-11-11 Ulrich Drepper <drepper@gmail.com>
36522
36523 * stdlib/ucontext.h: Undo last change for makecontext.
36524
365252011-11-11 Andreas Schwab <schwab@redhat.com>
36526
36527 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36528
36529 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36530 * setjmp/setjmp.h: Mark functions as non-leaf.
36531 * setjmp/bits/setjmp2.h: Likewise.
36532 * stdlib/ucontext.h: Likewise.
36533
365342011-11-10 Andreas Schwab <schwab@redhat.com>
36535
36536 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36537 (reused_arena): Don't check arena limit.
36538 (arena_get2): Atomically check arena limit.
36539
365402011-11-08 Ulrich Drepper <drepper@gmail.com>
36541
36542 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36543 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36544
36545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36546 instructions.
36547
365482011-11-07 Andreas Schwab <schwab@redhat.com>
36549
36550 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36551 handler when locking.
36552
36553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36554 Fix size of allocated buffer.
36555
365562011-11-04 Andreas Schwab <schwab@redhat.com>
36557
36558 [BZ #10103]
36559 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36560 declarations for long double functions.
36561 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36562
36563 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36564
365652011-11-03 Andreas Schwab <schwab@redhat.com>
36566
36567 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36568 installed.
36569
36570 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36571 is disabled.
36572
365732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36574
36575 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36576
365772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36578
36579 * include/alloca.h (stackinfo_alloca_round): Define.
36580 (extend_alloca): Use it.
36581 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36582 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36583 here.
36584
36585 * scripts/check-local-headers.sh: Ignore libaudit.h.
36586
36587 * nscd/Makefile (extra-objs): Make recursively expanded.
36588
365892011-11-01 Ulrich Drepper <drepper@gmail.com>
36590
36591 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36592 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36593
36594 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36595 * posix/tst-rfc3484-2.c: Likewise.
36596 * posix/tst-rfc3484-3.c: Likewise.
36597
36598 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36599 process_vm_writev.
36600 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36601 process_vm_writev.
36602 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36603 process_vm_writev from libc using GLIBC_2.15 version.
36604
36605 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36606
366072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36608
36609 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36610 stack usage.
36611
366122011-10-31 Ulrich Drepper <drepper@gmail.com>
36613
36614 [BZ #13367]
36615 * nss/getent.c (initgroups_keys): Show error message in case no group
36616 names are given.
36617
36618 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36619 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36620 __bump_nl_timestamp.
36621 * nscd/connections (nscd_init): When host database is served open
36622 netlink socket and request notification about configuration changes.
36623 (main_loop_poll): Track netlink file descriptor and bump timestamp
36624 in case data becomes available.
36625 (main_loop_epoll): Likewise.
36626 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36627 (database_pers_head): Add extra_data fileds.
36628 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36629 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36630 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36631 Adjust caller.
36632 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36633 in6ai data, call __free_in6ai.
36634 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36635 Add -DHAVE_NETLINK.
36636 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36637 interface information. Reuse previous data if netlink timestamp
36638 is not changed.
36639 (__bump_nl_timestamp): New function.
36640 (__free_in6ai): New function.
36641
366422011-10-30 Ulrich Drepper <drepper@gmail.com>
36643
36644 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36645 close_not_cancel_no_status here.
36646 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36647
366482011-10-29 Ulrich Drepper <drepper@gmail.com>
36649
36650 [BZ #13276]
36651 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36652 return value.
36653
36654 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36655 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36656 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36657
366582011-07-03 Andreas Jaeger <aj@suse.de>
36659
36660 [BZ #10709]
36661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36662 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36663 * math/libm-test.inc (sin_test): Add test case.
36664
366652011-10-29 Ulrich Drepper <drepper@gmail.com>
36666
36667 [BZ #13337]
36668 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36669 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36670
36671 * elf/chroot_canon.c (chroot_canon): Cleanups.
36672
36673 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36674
36675 [BZ #13335]
36676 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36677 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36678
36679 * string/test-strchr.c: Make usable for strchrnul testing.
36680 * string/test-strchrnul.c: New file.
36681 * string/Makefile (strop-tests): Add strchrnul.
36682
36683 * po/it.po: Update from translation team.
36684 * po/es.po: Likewise.
36685
366862011-10-28 Ulrich Drepper <drepper@gmail.com>
36687
36688 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36689 the three constants needed as parameters. Drop the others.
36690 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36691 __m128i_strloadu_tolower.
36692 Create and initialize variable zero and use it in all the places
36693 where _mm_setzero_si128 was used.
36694
36695 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36696 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36697 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36698 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36699 anymore.
36700 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36701 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36702 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36703 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36704 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36705 __mpranred, __mptan.
36706 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36707 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36708 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36709 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36710 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36711 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36712 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36713 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36714 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36715
367162011-10-28 Andreas Schwab <schwab@redhat.com>
36717
36718 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36719 redefine if SHARED.
36720 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36721
36722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36723 wide char related routines to wcsmbs subdir.
36724
367252011-10-27 Andreas Schwab <schwab@redhat.com>
36726
36727 [BZ #13344]
36728 * misc/sys/cdefs.h (__THROWNL): Define.
36729 * posix/unistd.h: Use __THREADNL instead of __THREAD
36730 for memory synchronization functions.
36731
367322011-10-26 Roland McGrath <roland@hack.frob.com>
36733
36734 [BZ #13349]
36735 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36736 doesn't exist.
36737 * manual/stdio.texi (Obstack Streams): Node removed.
36738
367392011-10-26 Andreas Schwab <schwab@redhat.com>
36740
36741 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36742 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36743 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36744
36745 * math/math_private.h (math_force_eval): Allow non-addressable
36746 arguments.
36747 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36748
367492011-10-25 Ulrich Drepper <drepper@gmail.com>
36750
36751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36752 file is not needed.
36753
36754 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36755 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36756 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36757 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36758 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36759 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36760 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36761 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36762 Add AVX variants.
36763 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36764 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36765 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36766 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36767 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36768 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36769 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36770 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36771 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36772 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36773 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36774 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36775 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36776 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36777 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36778 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36779 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36780 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36781 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36782
36783 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36784 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36785
36786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36787 place. Use VEX encoding when compiling for AVX.
36788
367892011-10-25 Andreas Schwab <schwab@redhat.com>
36790
36791 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36792 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36793
36794 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36795
367962011-10-25 Ulrich Drepper <drepper@gmail.com>
36797
36798 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36799 useless if() expression.
36800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36801 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36809 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36810 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36811 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36812 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36813 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36814 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36815 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36816 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36817 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36818 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36819
36820 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36821
368222011-10-25 Andreas Schwab <schwab@redhat.com>
36823
36824 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36825 condition.
36826 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36827
368282011-10-25 Ulrich Drepper <drepper@gmail.com>
36829
36830 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36831 .text section. Avoid duplicate constants.
36832 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36834 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36836 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36839 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36840 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36841 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36842 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36843 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36844 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36845 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36846 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36847 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36848 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36849 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36850 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36851 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36852 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36853 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36854 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36855 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36856 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36857 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36858 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36859 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36861 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36862 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36863 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36864 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36865 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36866 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36867 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36868 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36869 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36870 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36871 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36872 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36873 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36874 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36875 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36876 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36877
368782011-10-24 Ulrich Drepper <drepper@gmail.com>
36879
36880 * sysdeps/x86_64/dla.h: Move to ...
36881 * sysdeps/x86_64/fpu/dla.h: ...here.
36882 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36883 situations. Use __builtin_fma only for gcc 4.6 and up.
36884
36885 * config.make.in: Add have-mfma4 entry.
36886 * configure.in: Substitute libc_cv_cc_fma4.
36887 * math/Makefile (dbl-only-routines): Add sincostab.
36888 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36889 Use __sincostab not sincos.
36890 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36891 name is a macro.
36892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36896 using __copysign.
36897 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36898 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36899 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36900 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36901 and __inv.
36902 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36903 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36904 __copysign.
36905 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36906 define aliases when function name is a macro.
36907 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36908 sysdeps/ieee754/dbl-64/sincos.tbl.
36909 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36910 fma4-enabled routines.
36911 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36912 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36913 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36914 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36915 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36916 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36917 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36918 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36919 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36920 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36921 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36922 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36923 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36924 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36925 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36926 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36927 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36928 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36929 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36931 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36932 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36933 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36934 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36935 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36938 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36939 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36940 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36941
36942 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36943 rename.
36944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36947 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36952
369532011-10-24 Andreas Schwab <schwab@redhat.com>
36954
36955 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36956
369572011-10-23 Ulrich Drepper <drepper@gmail.com>
36958
36959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36960
36961 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36962 prediction.
36963 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36964
36965 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36966 Remove unused variable magic_bits.
36967 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36968
36969 * string/strnlen.c: Define and use STRNLEN macro.
36970 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36971 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36972 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36973 * wcsmbs/wcslen.c: Define and use WCSLEN.
36974 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36975 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36976 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36977 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36978 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36979 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36980 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36981
369822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36983
36984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36985 strnlen-sse2-no-bsf.
36986 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36987 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36988 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36989 Add strnlen support.
36990 (USE_AS_STRNLEN): New macro.
36991 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36992 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36993 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36994 * sysdeps/x86_64/wcslen.S: New file.
36995
369962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36997
36998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36999 XMM-moves are used for copying on small sizes.
37000
370012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37002
37003 * wcsmbs/Makefile (strop-tests): Add wcschr.
37004 * wcsmbs/test-wcschr.c: New file.
37005 * string/test-strchr.c: Update.
37006 Add wcschr support.
37007 (WIDE): New macro.
37008
370092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37010
37011 * wcsmbs/Makefile (strop-tests): Add wcslen.
37012 * wcsmbs/test-wcslen.c: New file.
37013 * string/test-strlen.c: Update.
37014 Add wcslen support.
37015 (WIDE): New macro.
37016
370172011-10-23 Ulrich Drepper <drepper@gmail.com>
37018
37019 * po/it.po: Update from translation team.
37020
370212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37022
37023 * sysdeps/x86_64/wcscmp.S: Update.
37024 Fix wrong comparison semantics.
37025 wcscmp shall use signed comparison not unsigned.
37026 Don't use substraction to avoid overflow bug.
37027 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37028 * wcsmbc/wcscmp.c: Likewise.
37029 * string/test-strcmp.c: Likewise.
37030 Add new tests to check cases with negative values.
37031
370322011-10-23 Ulrich Drepper <drepper@gmail.com>
37033
37034 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37035 * sysdeps/x86_64/dla.h: ...here. New file.
37036 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37041 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37045
370462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37047
37048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37049 __ynl_finite aliases.
37050
370512011-10-22 Ulrich Drepper <drepper@gmail.com>
37052
37053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37054
37055 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37056 define DLA_FMA.
37057 [DLA_FMA] (EMULV): Use DLA_FMA.
37058 [DLA_FMA] (MUL12): Use EMULV.
37059 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37060 that are not needed.
37061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37068
370692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37070
37071 * math/s_nan.c: Undef __nan.
37072 * math/s_nanf.c: Undef __nanf.
37073 * math/s_nanl.c: Undef __nanl.
37074 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37075 "math_private.h".
37076
370772011-10-22 Ulrich Drepper <drepper@gmail.com>
37078
37079 * math/s_catan.c: Add branch predictions.
37080 * math/s_catanf.c: Likewise.
37081 * math/s_catanh.c: Likewise.
37082 * math/s_catanhf.c: Likewise.
37083 * math/s_catanhl.c: Likewise.
37084 * math/s_catanl.c: Likewise.
37085 * math/s_cexp.c: Likewise.
37086 * math/s_cexpf.c: Likewise.
37087 * math/s_cexpl.c: Likewise.
37088 * math/s_clog.c: Likewise.
37089 * math/s_clog10.c: Likewise.
37090 * math/s_clog10f.c: Likewise.
37091 * math/s_clog10l.c: Likewise.
37092 * math/s_clogf.c: Likewise.
37093 * math/s_clogl.c: Likewise.
37094 * math/s_csqrt.c: Likewise.
37095 * math/s_csqrtf.c: Likewise.
37096 * math/s_csqrtl.c: Likewise.
37097 * math/s_ctanf.c: Likewise.
37098 * math/s_ctanh.c: Likewise.
37099 * math/s_ctanhf.c: Likewise.
37100 * math/s_ctanhl.c: Likewise.
37101 * math/s_ctanl.c: Likewise.
37102
37103 * math/math_private.h: Define __nan, __nanf, __nanl.
37104 * math/s_cacosh.c: Include <math_private.h>.
37105 * math/s_cacoshl.c: Likewise.
37106 * math/s_casinh.c: Likewise.
37107 * math/s_casinhf.c: Likewise.
37108 * math/s_casinhl.c: Likewise.
37109 * math/s_ccos.c: Rely entire on ccosh.
37110 * math/s_ccosf.c: Rely entire on ccoshf.
37111 * math/s_ccosl.c: Rely entirely on ccoshl.
37112 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37113 Remove tests for FE_INVALID.
37114 * math/s_ccoshf.c: Likewise.
37115 * math/s_ccoshl.c: Likewise.
37116 * math/s_csin.c: Likewise.
37117 * math/s_csinf.c: Likewise.
37118 * math/s_csinh.c Likewise.
37119 * math/s_csinhf.c: Likewise.
37120 * math/s_csinhl.c: Likewise.
37121 * math/s_csinl.c: Likewise.
37122 * math/s_ctan.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37124 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37125 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37126
371272011-10-21 Ulrich Drepper <drepper@gmail.com>
37128
37129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37130 compilation problems.
37131
37132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37133 __builtin_expect.
37134
371352011-10-20 Ulrich Drepper <drepper@gmail.com>
37136
37137 * sysdeps/i386/configure.in: Test for -mfma4 option.
37138 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37139 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37140 COMMON_CPUID_INDEX_80000001.
37141 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37142 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37143 use it if FMA3 is not supported.
37144 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37145
37146 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37147 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37148
371492011-10-20 Andreas Schwab <schwab@redhat.com>
37150
37151 [BZ #12892]
37152 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37153 it would create a cycle with a link time dependency.
37154
371552011-10-19 Ulrich Drepper <drepper@gmail.com>
37156
37157 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37158 instruction.
37159 * string/Makefile (strop-tests): Add rawmemchr.
37160 * string/test-rawmemchr.c: New file.
37161
37162 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37163 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37164 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37165 when compiling str{,n}casecmp and when AVX is available. Hook up
37166 new optimized code in initializers.
37167
371682011-10-19 Andreas Schwab <schwab@redhat.com>
37169
37170 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37171 __feraiseexcept instead of feraiseexcept.
37172
371732011-10-18 Ulrich Drepper <drepper@gmail.com>
37174
37175 * math/math_private.h: Define defaults for libc_fetestexcept and
37176 libc_feupdateenv.
37177 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37178 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37179 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37180 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37181 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37182 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37183 libc_fetestexcept and libc_feupdateenv.
37184
37185 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37186 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37187 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37188 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37189 libc_feholdexcept_setround.
37190
37191 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37192 Add s_nearbyint-c and s_nearbyintf-c.
37193 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37194 nearbyintf inlines.
37195 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37197 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37199
37200 * math/math_private.h: Define defaults for libc_fegetround,
37201 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37202 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37203 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37204 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37205 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37206 standard functions.
37207 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37208 Remove comments and hacks for old compiler versions.
37209 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37210 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37211 libc_feholdexceptl.
37212
372132011-10-18 Andreas Schwab <schwab@redhat.com>
37214
37215 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37216 (__feraiseexcept_renamed): Add __NTH.
37217 (feraiseexcept): Add __NTH. Rename local variables to fix
37218 namespace violations.
37219
372202011-10-17 Ulrich Drepper <drepper@gmail.com>
37221
37222 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37223
37224 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37225
37226 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37227 recently added interfaces.
37228 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37229
37230 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37231 about macro parameter expansion.
37232
37233 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37234 __NO_MATH_INLINES is defined. Cleanups.
37235
37236 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37237 and __floorf is target has SSE4.1.
37238 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37239 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37240 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37241 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37242
37243 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37244 name.
37245 (floorf): Likewise.
37246
37247 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37248
372492011-10-17 Andreas Schwab <schwab@redhat.com>
37250
37251 * misc/sys/cdefs.h: Fix last change.
37252
37253 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37254 database lookup.
37255
372562011-10-16 Ulrich Drepper <drepper@gmail.com>
37257
37258 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37259
37260 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37261 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37262 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37263 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37264 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37265 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37266 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37267 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37268 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37269 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37270 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37271 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37272 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37273 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37274 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37275 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37276 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37277 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37278 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37279 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37280 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37281 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37282
37283 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37284 ceil, ceilf, floor, floorf.
37285
37286 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37287 Perform IRELATIVE relocations last.
37288
37289 * elf/do-rel.h: Add another parameter nrelative, replacing the
37290 local variable with the same name. Change name of the function
37291 to end in Rel or Rela (uppercase).
37292 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37293 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37294 elf_dynamic_do_##reloc function.
37295
372962011-10-15 Ulrich Drepper <drepper@gmail.com>
37297
37298 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37299 is sufficient, at least on modern CPUs.
37300
37301 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37302
37303 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37304 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37305
37306 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37307 __expl_finite.
37308 * math/bits/math-finite.h: Add entries for exp.
37309 * math/e_expl.c: Add __*_finite alias.
37310 * sysdeps/i386/fpu/e_exp.S: Likewise.
37311 * sysdeps/i386/fpu/e_expf.S: Likewise.
37312 * sysdeps/i386/fpu/e_expl.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37314 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37317 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37318 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37319 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37320
37321 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37322 is sufficient, at least on modern CPUs.
37323
37324 * ctype/ctype-info.c (__ctype_init): Define.
37325 * include/ctype.h (__ctype_init): Declare.
37326 (__ctype_b_loc): The variable is always initialized.
37327 (__ctype_toupper_loc): Likewise.
37328 (__ctype_tolower_loc): Likewise.
37329 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37330 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37331
373322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37333
37334 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37335
37336 * configure.in: Also look in $cxxmachine/include for C++ system
37337 headers.
37338
373392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37340
37341 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37342 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37343 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37344 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37346 (USE_AS_WMEMCMP): New macro.
37347 Fixing indents.
37348 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37349 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37350 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37351 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37353 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37354 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37355 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37356 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37357 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37358 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37359 (USE_AS_WMEMCMP): New macro.
37360 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37361 * sysdeps/string/test-memcmp.c: Update.
37362 Fix simple_wmemcmp.
37363 Add new tests.
37364 * wcsmbs/wmemcmp.c: Update.
37365 (WMEMCMP): New macro.
37366 Fix overflow bug.
37367
373682011-10-12 Andreas Jaeger <aj@suse.de>
37369
37370 [BZ #13268]
37371 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37372
373732011-10-15 Ulrich Drepper <drepper@gmail.com>
37374
37375 * libio/iofwide.c (do_length): Avoid warning.
37376
37377 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37378
373792011-10-14 Ulrich Drepper <drepper@gmail.com>
37380
37381 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37382
37383 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37384 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37385 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37386 * sysdeps/i386/i686/fpu/e_log.S: New file.
37387 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37388 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37389
37390 * ctype/ctype.h: Add support for inlined isXXX functions when
37391 compiling C++ code.
37392
373932011-10-14 Andreas Schwab <schwab@redhat.com>
37394
37395 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37396
37397 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37398
373992011-10-13 Roland McGrath <roland@hack.frob.com>
37400
37401 [BZ #13291]
37402 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37403
374042011-10-13 Andreas Schwab <schwab@redhat.com>
37405
37406 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37407 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37408 feraiseexcept.
37409
37410 * sysdeps/x86_64/memrchr.S: Check for zero size.
37411
37412 * string/stratcliff.c: Add memrchr tests.
37413
374142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37415
37416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37417 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37418 rawmemchr-sse2 rawmemchr-sse2-bsf.
37419 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37420 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37421 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37422 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37423 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37424 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37425 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37426 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37427 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37428 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37429 * string/memrchr.c (MEMRCHR): New macro.
37430
374312011-10-12 Ulrich Drepper <drepper@gmail.com>
37432
37433 Add integration with gcc's -ffinite-math-only and optimize wrapper
37434 functions in libm.
37435 * Versions.def: Define GLIBC_2.15 version for libm.
37436 * math/Makefile (headers): Add bits/math-finite.h.
37437 * math/bits/math-finite.h: New file.
37438 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37439 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37440 * math/e_acoshl.c: Add __*_finite alias.
37441 * math/e_acosl.c: Likewise.
37442 * math/e_asinl.c: Likewise.
37443 * math/e_atan2l.c: Likewise.
37444 * math/e_atanhl.c: Likewise.
37445 * math/e_coshl.c: Likewise.
37446 * math/e_exp10.c: Likewise.
37447 * math/e_exp10f.c: Likewise.
37448 * math/e_exp10l.c: Likewise.
37449 * math/e_exp2l.c: Likewise.
37450 * math/e_fmodl.c: Likewise.
37451 * math/e_gammal_r.c: Likewise.
37452 * math/e_hypotl.c: Likewise.
37453 * math/e_j0l.c: Likewise.
37454 * math/e_j1l.c: Likewise.
37455 * math/e_jnl.c: Likewise.
37456 * math/e_lgammal_r.c: Likewise.
37457 * math/e_log10l.c: Likewise.
37458 * math/e_log2l.c: Likewise.
37459 * math/e_logl.c: Likewise.
37460 * math/e_powl.c: Likewise.
37461 * math/e_sinhl.c: Likewise.
37462 * math/e_sqrtl.c: Likewise.
37463 * math/e_scalb.c: Completely rewritten and optimized.
37464 * math/e_scalbf.c: Likewise.
37465 * math/e_scalbl.c: Likewise.
37466 * math/w_acos.c: Likewise.
37467 * math/w_acosf.c: Likewise.
37468 * math/w_acosl.c: Likewise.
37469 * math/w_acosh.c: Likewise.
37470 * math/w_acoshf.c: Likewise.
37471 * math/w_acoshl.c: Likewise.
37472 * math/w_asin.c: Likewise.
37473 * math/w_asinf.c: Likewise.
37474 * math/w_asinl.c: Likewise.
37475 * math/w_atan2.c: Likewise.
37476 * math/w_atan2f.c: Likewise.
37477 * math/w_atan2l.c: Likewise.
37478 * math/w_atanh.c: Likewise.
37479 * math/w_atanhf.c: Likewise.
37480 * math/w_atanhl.c: Likewise.
37481 * math/w_exp10.c: Likewise.
37482 * math/w_exp10f.c: Likewise.
37483 * math/w_exp10l.c: Likewise.
37484 * math/w_fmod.c: Likewise.
37485 * math/w_fmodf.c: Likewise.
37486 * math/w_fmodl.c: Likewise.
37487 * math/w_j0.c: Likewise.
37488 * math/w_j0f.c: Likewise.
37489 * math/w_j0l.c: Likewise.
37490 * math/w_j1.c: Likewise.
37491 * math/w_j1f.c: Likewise.
37492 * math/w_j1l.c: Likewise.
37493 * math/w_jn.c: Likewise.
37494 * math/w_jnf.c: Likewise.
37495 * math/w_log.c: Likewise.
37496 * math/w_logf.c: Likewise.
37497 * math/w_logl.c: Likewise.
37498 * math/w_log10.c: Likewise.
37499 * math/w_log10f.c: Likewise.
37500 * math/w_log10l.c: Likewise.
37501 * math/w_log2.c: Likewise.
37502 * math/w_log2f.c: Likewise.
37503 * math/w_log2l.c: Likewise.
37504 * math/w_pow.c: Likewise.
37505 * math/w_powf.c: Likewise.
37506 * math/w_powl.c: Likewise.
37507 * math/w_remainder.c: Likewise.
37508 * math/w_remainderf.c: Likewise.
37509 * math/w_remainderl.c: Likewise.
37510 * math/w_scalb.c: Likewise.
37511 * math/w_scalbf.c: Likewise.
37512 * math/w_scalbl.c: Likewise.
37513 * math/w_sqrt.c: Likewise.
37514 * math/w_sqrtf.c: Likewise.
37515 * math/w_sqrtl.c: Likewise.
37516 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37517 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37518 used.
37519 * math/math_private.h: Declare __kernel_standard_f.
37520 * math/w_cosh.c: Remove cruft and optimize a bit.
37521 * math/w_coshf.c: Likewise.
37522 * math/w_coshl.c: Likewise.
37523 * math/w_exp2.c: Likewise.
37524 * math/w_exp2f.c: Likewise.
37525 * math/w_exp2l.c: Likewise.
37526 * math/w_hypot.c: Likewise.
37527 * math/w_hypotf.c: Likewise.
37528 * math/w_hypotl.c: Likewise.
37529 * math/w_lgamma.c: Likewise.
37530 * math/w_lgamma_r.c: Likewise.
37531 * math/w_lgammaf.c: Likewise.
37532 * math/w_lgammaf_r.c: Likewise.
37533 * math/w_lgammal.c: Likewise.
37534 * math/w_lgammal_r.c: Likewise.
37535 * math/w_sinh.c: Likewise.
37536 * math/w_sinhf.c: Likewise.
37537 * math/w_sinhl.c: Likewise.
37538 * math/w_tgamma.c: Likewise.
37539 * math/w_tgammaf.c: Likewise.
37540 * math/w_tgammal.c: Likewise.
37541 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37542 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37543 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37544 Minor optimizations. Pretty printing. Remove cruft.
37545 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37546 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37547 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37548 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37549 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37550 * sysdeps/i386/fpu/e_asin.S: Likewise.
37551 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37552 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37553 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37554 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37555 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37556 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37557 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37558 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37559 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37560 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37561 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37562 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37563 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37564 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37565 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37566 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37567 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37568 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37569 * sysdeps/i386/fpu/e_log.S: Likewise.
37570 * sysdeps/i386/fpu/e_log10.S: Likewise.
37571 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37572 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37573 * sysdeps/i386/fpu/e_log2.S: Likewise.
37574 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37575 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37576 * sysdeps/i386/fpu/e_logf.S: Likewise.
37577 * sysdeps/i386/fpu/e_logl.S: Likewise.
37578 * sysdeps/i386/fpu/e_pow.S: Likewise.
37579 * sysdeps/i386/fpu/e_powf.S: Likewise.
37580 * sysdeps/i386/fpu/e_powl.S: Likewise.
37581 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37582 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37583 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37584 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37585 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37586 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37587 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37588 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37589 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37611 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37612 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37613 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37614 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37615 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37616 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37617 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37618 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37619 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37620 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37621 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37622 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37623 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37624 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37625 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37626 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37627 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37628 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37629 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37630 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37632 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37633 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37634 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37637 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37638 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37639 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37640 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37641 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37644 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37645 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37649 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37650 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37667 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37668 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37669 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37670 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37673 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37675 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37676 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37678 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37681 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37683 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37684 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37685 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37686 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37687 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37688 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37689 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37690 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37691 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37692 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37693 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37694 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37695 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37696 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37697 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37698 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37699 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37700 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37701 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37702 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37703 (__isnanf): Likewise.
37704 (__isinf_ns): Likewise.
37705 (__isinf_nsf): Likewise.
37706 (__finite): Likewise.
37707 (__finitef): Likewise.
37708 (__ieee754_sqrt): Define as macro.
37709 (__ieee754_sqrtf): Define as macro.
37710 (__ieee754_sqrtl): Define as macro.
37711 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37712 inlined copy.
37713 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37714 __FINITE_MATH_ONLY__ consistent.
37715 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37716
377172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37718
37719 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37720 of rawmemchr.
37721
37722 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37723
377242011-10-09 Ulrich Drepper <drepper@gmail.com>
37725
37726 * po/ja.po: Update from translation team.
37727
377282011-10-08 Roland McGrath <roland@hack.frob.com>
37729
37730 * locale/programs/locarchive.c (prepare_address_space): New function.
37731 (create_archive, enlarge_archive, open_archive): Use it.
37732
37733 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37734 inside [SHARED], where it is used.
37735
37736 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37737
37738 * nss/getent.c (netgroup_keys): Remove unused variable.
37739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37740
377412011-10-08 Ulrich Drepper <drepper@gmail.com>
37742
37743 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37744 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37746 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37747 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37748 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37749 * math/Makefile (libm-calls): Add s_isinf_ns.
37750 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37751 * math/multc3.c: Likewise.
37752 * math/s_casin.c: Likewise.
37753 * math/s_casinf.c: Likewise.
37754 * math/s_casinl.c: Likewise.
37755 * math/s_ccos.c: Likewise.
37756 * math/s_ccosf.c: Likewise.
37757 * math/s_ccosl.c: Likewise.
37758 * math/s_ctan.c: Likewise.
37759 * math/s_ctanf.c: Likewise.
37760 * math/s_ctanh.c: Likewise.
37761 * math/s_ctanhf.c: Likewise.
37762 * math/s_ctanhl.c: Likewise.
37763 * math/s_ctanl.c: Likewise.
37764 * math/w_fmod.c: Likewise.
37765 * math/w_fmodf.c: Likewise.
37766 * math/w_fmodl.c: Likewise.
37767 * math/w_remainder.c: Likewise.
37768 * math/w_remainderf.c: Likewise.
37769 * math/w_remainderl.c: Likewise.
37770 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37771 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37772 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37773 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37774 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37775 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37776 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37777 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37778
37779 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37780 of the number.
37781 * stdio-common/printf_fphex.c: Likewise.
37782 * stdio-common/printf_size.c: Likewise.
37783
37784 * math/e_exp10.c: Include math_private.h using <...> not "...".
37785 * math/e_exp10f.c: Likewise.
37786 * math/e_exp10l.c: Likewise.
37787 * math/e_exp2l.c: Likewise.
37788 * math/e_j0l.c: Likewise.
37789 * math/e_j1l.c: Likewise.
37790 * math/e_jnl.c: Likewise.
37791 * math/e_lgammal_r.c: Likewise.
37792 * math/e_rem_pio2l.c: Likewise.
37793 * math/e_scalb.c: Likewise.
37794 * math/e_scalbf.c: Likewise.
37795 * math/e_scalbl.c: Likewise.
37796 * math/k_cosl.c: Likewise.
37797 * math/k_sinl.c: Likewise.
37798 * math/k_tanl.c: Likewise.
37799 * math/s_cacoshf.c: Likewise.
37800 * math/s_catan.c: Likewise.
37801 * math/s_catanf.c: Likewise.
37802 * math/s_catanh.c: Likewise.
37803 * math/s_catanhf.c: Likewise.
37804 * math/s_catanhl.c: Likewise.
37805 * math/s_catanl.c: Likewise.
37806 * math/s_ccosh.c: Likewise.
37807 * math/s_ccoshf.c: Likewise.
37808 * math/s_ccoshl.c: Likewise.
37809 * math/s_cexp.c: Likewise.
37810 * math/s_cexpf.c: Likewise.
37811 * math/s_cexpl.c: Likewise.
37812 * math/s_clog.c: Likewise.
37813 * math/s_clog10.c: Likewise.
37814 * math/s_clog10f.c: Likewise.
37815 * math/s_clog10l.c: Likewise.
37816 * math/s_clogf.c: Likewise.
37817 * math/s_clogl.c: Likewise.
37818 * math/s_csin.c: Likewise.
37819 * math/s_csinf.c: Likewise.
37820 * math/s_csinh.c: Likewise.
37821 * math/s_csinhf.c: Likewise.
37822 * math/s_csinhl.c: Likewise.
37823 * math/s_csinl.c: Likewise.
37824 * math/s_csqrt.c: Likewise.
37825 * math/s_csqrtf.c: Likewise.
37826 * math/s_csqrtl.c: Likewise.
37827 * math/s_ctan.c: Likewise.
37828 * math/s_ctanf.c: Likewise.
37829 * math/s_ctanh.c: Likewise.
37830 * math/s_ctanhf.c: Likewise.
37831 * math/s_ctanhl.c: Likewise.
37832 * math/s_ctanl.c: Likewise.
37833 * math/s_ldexp.c: Likewise.
37834 * math/s_ldexpf.c: Likewise.
37835 * math/s_ldexpl.c: Likewise.
37836 * math/s_significand.c: Likewise.
37837 * math/s_significandf.c: Likewise.
37838 * math/s_significandl.c: Likewise.
37839 * math/w_acos.c: Likewise.
37840 * math/w_acosf.c: Likewise.
37841 * math/w_acosh.c: Likewise.
37842 * math/w_acoshf.c: Likewise.
37843 * math/w_acoshl.c: Likewise.
37844 * math/w_acosl.c: Likewise.
37845 * math/w_asin.c: Likewise.
37846 * math/w_asinf.c: Likewise.
37847 * math/w_asinl.c: Likewise.
37848 * math/w_atan2.c: Likewise.
37849 * math/w_atan2f.c: Likewise.
37850 * math/w_atan2l.c: Likewise.
37851 * math/w_atanh.c: Likewise.
37852 * math/w_atanhf.c: Likewise.
37853 * math/w_atanhl.c: Likewise.
37854 * math/w_cosh.c: Likewise.
37855 * math/w_coshf.c: Likewise.
37856 * math/w_coshl.c: Likewise.
37857 * math/w_dremf.c: Likewise.
37858 * math/w_exp10.c: Likewise.
37859 * math/w_exp10f.c: Likewise.
37860 * math/w_exp10l.c: Likewise.
37861 * math/w_exp2.c: Likewise.
37862 * math/w_exp2f.c: Likewise.
37863 * math/w_fmod.c: Likewise.
37864 * math/w_fmodf.c: Likewise.
37865 * math/w_fmodl.c: Likewise.
37866 * math/w_hypot.c: Likewise.
37867 * math/w_hypotf.c: Likewise.
37868 * math/w_hypotl.c: Likewise.
37869 * math/w_j0.c: Likewise.
37870 * math/w_j0f.c: Likewise.
37871 * math/w_j0l.c: Likewise.
37872 * math/w_j1.c: Likewise.
37873 * math/w_j1f.c: Likewise.
37874 * math/w_j1l.c: Likewise.
37875 * math/w_jn.c: Likewise.
37876 * math/w_jnf.c: Likewise.
37877 * math/w_jnl.c: Likewise.
37878 * math/w_lgamma.c: Likewise.
37879 * math/w_lgamma_r.c: Likewise.
37880 * math/w_lgammaf.c: Likewise.
37881 * math/w_lgammaf_r.c: Likewise.
37882 * math/w_lgammal.c: Likewise.
37883 * math/w_lgammal_r.c: Likewise.
37884 * math/w_log.c: Likewise.
37885 * math/w_log10.c: Likewise.
37886 * math/w_log10f.c: Likewise.
37887 * math/w_log10l.c: Likewise.
37888 * math/w_log2.c: Likewise.
37889 * math/w_log2f.c: Likewise.
37890 * math/w_log2l.c: Likewise.
37891 * math/w_logf.c: Likewise.
37892 * math/w_logl.c: Likewise.
37893 * math/w_pow.c: Likewise.
37894 * math/w_powf.c: Likewise.
37895 * math/w_powl.c: Likewise.
37896 * math/w_remainder.c: Likewise.
37897 * math/w_remainderf.c: Likewise.
37898 * math/w_remainderl.c: Likewise.
37899 * math/w_scalb.c: Likewise.
37900 * math/w_scalbf.c: Likewise.
37901 * math/w_scalbl.c: Likewise.
37902 * math/w_sinh.c: Likewise.
37903 * math/w_sinhf.c: Likewise.
37904 * math/w_sinhl.c: Likewise.
37905 * math/w_sqrt.c: Likewise.
37906 * math/w_sqrtf.c: Likewise.
37907 * math/w_sqrtl.c: Likewise.
37908 * math/w_tgamma.c: Likewise.
37909 * math/w_tgammaf.c: Likewise.
37910 * math/w_tgammal.c: Likewise.
37911
37912 * po/ja.po: Update from translation team.
37913
379142011-09-29 Andreas Jaeger <aj@suse.de>
37915
37916 [BZ #13179]
37917 * sunrpc/netname.c (netname2host): Fix logic.
37918
37919 [BZ #6779]
37920 [BZ #6783]
37921 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37922 correctly.
37923 * math/w_remainder.c (__remainder): Likewise.
37924 * math/w_remainderf.c (__remainderf): Likewise.
37925 * math/libm-test.inc (remainder_test): Add test cases.
37926
379272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37928
37929 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37930 sdiv_qrnnd.
37931
379322011-10-07 Ulrich Drepper <drepper@gmail.com>
37933
37934 * string/test-memcmp.c: Avoid unncessary #defines.
37935 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37936
379372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37938
37939 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37940 Use new sse2 version for core i3 - i7 as it's faster
37941 than sse42 version.
37942 (bit_Prefer_PMINUB_for_stringop): New.
37943 * sysdeps/x86_64/rawmemchr.S: Update.
37944 Replace with faster SSE2 version.
37945 * sysdeps/x86_64/memrchr.S: New file.
37946 * sysdeps/x86_64/memchr.S: Update.
37947 Replace with faster SSE2 version.
37948
379492011-09-12 Marek Polacek <mpolacek@redhat.com>
37950
37951 * elf/dl-load.c (lose): Add cast to avoid warning.
37952
379532011-10-07 Ulrich Drepper <drepper@gmail.com>
37954
37955 * po/ca.po: Update from translation team.
37956
37957 * inet/getnetgrent_r.c: Hook up nscd.
37958 * nscd/Makefile (routines): Add nscd_netgroup.
37959 (nscd-modules): Add netgroupcache.
37960 (CFLAGS-netgroupcache.c): Define.
37961 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37962 (cache_search): Add const to second parameter.
37963 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37964 INNETGR.
37965 (dbs): Add netgrdb entry.
37966 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37967 (verify_persistent_db): Handle netgrdb.
37968 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37969 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37970 GETFDNETGR.
37971 (netgroup_response_header): Define.
37972 (innetgroup_response_header): Define.
37973 (datahead): Add netgroup_response_header and innetgroup_response_header
37974 elements.
37975 * nscd/nscd.conf: Add entries for netgroup cache.
37976 * nscd/nscd.h (dbtype): Add netgrdb.
37977 (_PATH_NSCD_NETGROUP_DB): Define.
37978 (netgroup_iov_disabled): Declare.
37979 (xmalloc, xcalloc, xrealloc): Move declarations here.
37980 (cache_search): Adjust prototype.
37981 Add netgroup-related prototypes.
37982 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37983 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37984 (__nscd_innetgr): Declare.
37985 * nscd/selinux.c (perms): Use access_vector_t as element type and
37986 add netgroup-related initializers.
37987 * nscd/netgroupcache.c: New file.
37988 * nscd/nscd_netgroup.c: New file.
37989 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37990 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37991 For four parameters use innetgr.
37992 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37993 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37994 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37995 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37996
37997 * nscd/connections.c (register_traced_file): Don't register file
37998 for disabled databases.
37999
380002011-10-06 Ulrich Drepper <drepper@gmail.com>
38001
38002 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38003
38004 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38005 from tree and freeing node.
38006
380072011-09-25 Jiri Olsa <jolsa@redhat.com>
38008
38009 * nss/nsswitch.c (__nss_database_lookup): Handle
38010 nss_parse_service_list out of memory case.
38011
380122011-09-15 Jiri Olsa <jolsa@redhat.com>
38013
38014 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38015 out of memory case.
38016
380172011-10-04 Andreas Schwab <schwab@redhat.com>
38018
38019 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38020 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38021 pass it down.
38022 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38023 elf_machine_rela, elf_machine_lazy_rel.
38024 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38025 (ELF_DYNAMIC_DO_REL): Likewise.
38026 (ELF_DYNAMIC_DO_RELA): Likewise.
38027 (ELF_DYNAMIC_RELOCATE): Likewise.
38028 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38029 to ELF_DYNAMIC_DO_REL.
38030 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38031 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38032 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38033 elf_machine_rela.
38034 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38035 skip_ifunc, don't call ifunc function if non-zero.
38036 (elf_machine_rela): Likewise.
38037 (elf_machine_lazy_rel): Likewise.
38038 (elf_machine_lazy_rela): Likewise.
38039 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38040 (elf_machine_lazy_rel): Likewise.
38041 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38042 Likewise.
38043 (elf_machine_lazy_rel): Likewise.
38044 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38045 Likewise.
38046 (elf_machine_lazy_rel): Likewise.
38047 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38048 (elf_machine_lazy_rel): Likewise.
38049 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38050 (elf_machine_lazy_rel): Likewise.
38051 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38052 (elf_machine_lazy_rel): Likewise.
38053 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38054 (elf_machine_lazy_rel): Likewise.
38055 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38056 (elf_machine_lazy_rel): Likewise.
38057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38058 (elf_machine_lazy_rel): Likewise.
38059
380602011-09-28 Ulrich Drepper <drepper@gmail.com>
38061
38062 * nss/nss_files/files-init.c (_nss_files_init): Use static
38063 initialization for all the *_traced_file variables.
38064
380652011-09-28 Andreas Schwab <schwab@redhat.com>
38066
38067 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38068
380692011-09-27 Roland McGrath <roland@hack.frob.com>
38070
38071 [BZ #13226]
38072 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38073
380742011-09-27 Andreas Schwab <schwab@redhat.com>
38075
38076 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38077 Reread the line before reparsing it.
38078
380792011-09-26 Andreas Schwab <schwab@redhat.com>
38080
38081 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38082
380832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38084 Maxim Kuvyrkov <maxim@codesourcery.com>
38085 Joseph Myers <joseph@codesourcery.com>
38086
38087 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38088 if needed for __stack_chk_guard.
38089
380902011-09-19 Roland McGrath <roland@hack.frob.com>
38091
38092 * sysdeps/posix/spawni.c (script_execute): Always define it.
38093 It will be optimized away if unused.
38094 (maybe_script_execute): New function.
38095 (__spawni): Call it.
38096
38097 * Makerules: Don't include tls.make.
38098 (config-tls): Always set to thread.
38099 * tls.make.c: File removed.
38100
381012011-09-19 Mike Frysinger <vapier@gentoo.org>
38102
38103 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38104 * config.make.in (CPPFLAGS-config): New substituted variable.
38105
381062011-09-15 Ulrich Drepper <drepper@gmail.com>
38107
38108 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38109
38110 [BZ #13192]
38111 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38112 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38113
381142011-09-15 Roland McGrath <roland@hack.frob.com>
38115
38116 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38117 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38119 (CALL_FAIL): Likewise.
38120 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38121 (CALL_FAIL): Macro removed.
38122 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38123
381242011-09-15 Ulrich Drepper <drepper@gmail.com>
38125
38126 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38127 for __FINITE_MATH_ONLY__ == 1.
38128
381292011-09-15 Andreas Schwab <schwab@redhat.com>
38130
38131 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38132 __ieee754_sqrt instead of sqrt.
38133 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38134 __ieee754_sqrtf instead of sqrtf.
38135 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38136 __floorf instead of floorf.
38137 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38138 __floorf, __truncf instead of floorf, truncf.
38139
381402011-09-14 Ulrich Drepper <drepper@gmail.com>
38141
38142 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38143
38144 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38145 __extern_always_inline.
38146 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38147 32-bit.
38148
381492011-09-14 Andreas Schwab <schwab@redhat.com>
38150
38151 * elf/rtld.c (dl_main): Also relocate in dependency order when
38152 doing symbol dependency testing.
38153
381542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38155
38156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38157 Always define `refsym'.
38158
381592011-09-13 Andreas Schwab <schwab@redhat.com>
38160
38161 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38162 (__FD_ELT): Renamed from __FDELT.
38163 * misc/bits/select2.h (__FD_ELT): Likewise.
38164 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38165 __FD_MASK instead of __FDELT, __FDMASK.
38166 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38167 Likewise.
38168 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38169 Likewise.
38170
38171 * elf/Makefile (gen-ldd): Fix pattern.
38172
38173 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38174 (init_tls): Likewise.
38175
381762011-09-12 Ulrich Drepper <drepper@gmail.com>
38177
38178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38179
381802011-09-12 Andreas Schwab <schwab@redhat.com>
38181
38182 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38183 `struct cmsghdr *' instead of `void *'.
38184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38185 Likewise.
38186
381872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38188
38189 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38190 if non-absolute.
38191 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38192 ldd_rewrite_script.
38193
381942011-09-11 Ulrich Drepper <drepper@gmail.com>
38195
38196 * configure.in: Remove --with-tls option.
38197 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38198 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38199 out in case it is missing.
38200 * sysdeps/ia64/elf/configure.in: Likewise.
38201 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38202 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38203 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38204 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38205 * sysdeps/sh/elf/configure.in: Likewise.
38206 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38207 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38208 * sysdeps/x86_64/elf/configure.in: Likewise.
38209 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38210 * sysdeps/mach/hurd/tls.h: Likewise.
38211
38212 [BZ #13067]
38213 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38214
38215 [BZ #13090]
38216 * configure.in: Fix use of AC_INIT.
38217
38218 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38219
382202011-09-10 Ulrich Drepper <drepper@gmail.com>
38221
38222 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38223 __set_errno.
38224 * malloc/hooks.c: Likewise.
38225
38226 [BZ #11929]
38227 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38228 variables statically.
38229 (narenas): Initialize.
38230 (list_lock): Initialize.
38231 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38232 initializtion of main_arena and list_lock. Small cleanups.
38233 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38234 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38235 Add initializers to main_arena and mp_.
38236 (malloc_state): Remove pagesize member. Change all users to use
38237 GLRO(dl_pagesize).
38238
38239 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38240 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38241 is always initialized.
38242
38243 * malloc/malloc.c: Removed unused configurations and dead code.
38244 * malloc/arena.c: Likewise.
38245 * malloc/hooks.c: Likewise.
38246 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38247
38248 * include/tls.h: Removed. USE___THREAD must always be defined.
38249 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38250 * elf/dl-libc.c: Likewise.
38251 * elf/dl-tsd.c: Likewise.
38252 * include/errno.h: Likewise.
38253 * include/netdb.h: Likewise.
38254 * include/resolv.h: Likewise.
38255 * inet/herrno-loc.c: Likewise.
38256 * inet/herrno.c: Likewise.
38257 * malloc/arena.c: Likewise.
38258 * malloc/hooks.c: Likewise.
38259 * malloc/malloc.c: Likewise.
38260 * resolv/res-state.c: Likewise.
38261 * resolv/res_libc.c: Likewise.
38262 * sysdeps/i386/dl-machine.h: Likewise.
38263 * sysdeps/ia64/dl-machine.h: Likewise.
38264 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38265 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38266 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38267 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38268 * sysdeps/sh/dl-machine.h: Likewise.
38269 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38270 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38271 * sysdeps/unix/i386/sysdep.S: Likewise.
38272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38273 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38278 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38282 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38283 * sysdeps/x86_64/dl-machine.h: Likewise.
38284 * tls.make.c: Likewise.
38285
38286 * configure.in: Remove --with-__thread option. Make tests for
38287 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38288 tls_model attribute fail if no support is available. Remove
38289 USE_IN_LIBIO.
38290 * Makeconfig: Adjust for dropped configure option. All features are
38291 now mandatory.
38292 * Makerules: Likewise.
38293 * Versions.def: Likewise.
38294 * argp/argp-fmtstream.c: Likewise.
38295 * argp/argp-fmtstream.h: Likewise.
38296 * argp/argp-help.c: Likewise.
38297 * assert/assert.c: Likewise.
38298 * config.h.in: Likewise.
38299 * config.make.in: Likewise.
38300 * configure: Likewise.
38301 * configure.in: Likewise.
38302 * csu/Versions: Likewise.
38303 * csu/init.c: Likewise.
38304 * elf/tst-audit2.c: Likewise.
38305 * elf/tst-tls10.c: Likewise.
38306 * elf/tst-tls10.h: Likewise.
38307 * elf/tst-tls11.c: Likewise.
38308 * elf/tst-tls12.c: Likewise.
38309 * elf/tst-tls14.c: Likewise.
38310 * elf/tst-tlsmod11.c: Likewise.
38311 * elf/tst-tlsmod12.c: Likewise.
38312 * elf/tst-tlsmod13.c: Likewise.
38313 * elf/tst-tlsmod13a.c: Likewise.
38314 * elf/tst-tlsmod14a.c: Likewise.
38315 * elf/tst-tlsmod15b.c: Likewise.
38316 * elf/tst-tlsmod16a.c: Likewise.
38317 * elf/tst-tlsmod16b.c: Likewise.
38318 * elf/tst-tlsmod7.c: Likewise.
38319 * elf/tst-tlsmod8.c: Likewise.
38320 * elf/tst-tlsmod9.c: Likewise.
38321 * gmon/gmon.c: Likewise.
38322 * grp/fgetgrent_r.c: Likewise.
38323 * grp/putgrent.c: Likewise.
38324 * hurd/fopenport.c: Likewise.
38325 * include/libc-symbols.h: Likewise.
38326 * include/tls.h: Likewise.
38327 * intl/gettextP.h: Likewise.
38328 * intl/loadinfo.h: Likewise.
38329 * locale/global-locale.c: Likewise.
38330 * locale/localeinfo.h: Likewise.
38331 * mach/devstream.c: Likewise.
38332 * malloc/arena.c: Likewise.
38333 * malloc/set-freeres.c: Likewise.
38334 * misc/err.c: Likewise.
38335 * misc/getttyent.c: Likewise.
38336 * misc/mntent_r.c: Likewise.
38337 * posix/getopt.c: Likewise.
38338 * posix/wordexp.c: Likewise.
38339 * pwd/fgetpwent_r.c: Likewise.
38340 * resolv/Versions: Likewise.
38341 * resolv/res_hconf.c: Likewise.
38342 * shadow/fgetspent_r.c: Likewise.
38343 * shadow/putspent.c: Likewise.
38344 * stdio-common/printf_fphex.c: Likewise.
38345 * stdio-common/tmpfile.c: Likewise.
38346 * stdlib/abort.c: Likewise.
38347 * stdlib/fmtmsg.c: Likewise.
38348 * sunrpc/auth_unix.c: Likewise.
38349 * sunrpc/clnt_perr.c: Likewise.
38350 * sunrpc/clnt_tcp.c: Likewise.
38351 * sunrpc/clnt_udp.c: Likewise.
38352 * sunrpc/clnt_unix.c: Likewise.
38353 * sunrpc/openchild.c: Likewise.
38354 * sunrpc/svc_simple.c: Likewise.
38355 * sunrpc/svc_tcp.c: Likewise.
38356 * sunrpc/svc_udp.c: Likewise.
38357 * sunrpc/svc_unix.c: Likewise.
38358 * sunrpc/xdr.c: Likewise.
38359 * sunrpc/xdr_array.c: Likewise.
38360 * sunrpc/xdr_rec.c: Likewise.
38361 * sunrpc/xdr_ref.c: Likewise.
38362 * sunrpc/xdr_stdio.c: Likewise.
38363
383642011-09-09 Ulrich Drepper <drepper@gmail.com>
38365
38366 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38367
383682011-07-03 Andreas Jaeger <aj@suse.de>
38369
38370 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38371 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38372 regenerate with gen-libm-tests.pl.
38373
383742010-05-12 Petr Baudis <pasky@suse.cz>
38375
38376 [BZ #11589]
38377 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38378 around j0() zero points by switching to j1().
38379 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38380 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38382 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38383
383842011-09-09 Ulrich Drepper <drepper@gmail.com>
38385
38386 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38387 instead of 0.
38388 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38389 instead of 0.
38390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38391 Patch in part by Pavel Roskin <proski@gnu.org>.
38392
38393 [BZ #13138]
38394 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38395 realloc.
38396 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38397 Free memory block if necessary.
38398
38399 [BZ #12847]
38400 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38401 be NULL. Don't lock in this case.
38402
384032011-09-09 Roland McGrath <roland@hack.frob.com>
38404
38405 * elf/elf.h (ELFOSABI_GNU): New macro.
38406 (ELFOSABI_LINUX): Define to that.
38407
384082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38409
38410 * string/strncat.c (strncat): Undef the symbol in case it has been
38411 defined in bits/string.h.
38412
384132011-09-09 Ulrich Drepper <drepper@gmail.com>
38414
38415 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38416
38417 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38418 link map.
38419
384202011-08-17 Andreas Jaeger <aj@suse.de>
38421
38422 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38423
384242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38425 Ian Lance Taylor <iant@google.com>
38426
38427 * math/libm-test.inc (lround_test): New testcase.
38428 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38429
384302011-09-08 Ulrich Drepper <drepper@gmail.com>
38431
38432 * Makefile: Remove support for automatic cvs check-ins.
38433 * Makerules: Likewise.
38434 * config.make.in: Likewise.
38435 * configure.in: Likewise.
38436 * intl/Makefile: Likewise.
38437 * locale/Makefile: Likewise.
38438 * po/Makefile: Likewise.
38439 * posix/Makefile: Likewise.
38440 * sysdeps/gnu/Makefile: Likewise.
38441 * sysdeps/mach/hurd/Makefile: Likewise.
38442 * sysdeps/sparc/sparc32/Makefile: Likewise.
38443
38444 [BZ #13118]
38445 * posix/Makefile (bug-regex32-ENV): Define.
38446 Patch by John Stanley <jpsinthemix@verizon.net>.
38447
38448 * misc/Makefile (headers): Add bits/select2.h.
38449 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38450 * misc/bits/select2.h: New file.
38451 * include/bits/select2.h: New file.
38452 * debug/Makefile (routines): Add fdelt_chk.
38453 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38454 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38455 FD_ISSET.
38456 * debug/fdelt_chk.c: New file.
38457
38458 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38459 * wcsmbs/test-wmemcmp.c: Likewise.
38460 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38461 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38462
384632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38464
38465 * string/Makefile (strop-tests): Add memcmp.
38466 * string/test-wmemcmp.c: New file.
38467 * string/test-memcmp.c: Add wmemcmp support.
38468
384692011-09-08 Roland McGrath <roland@hack.frob.com>
38470
38471 [BZ #13153]
38472 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38473 2011-07-19 change.
38474
38475 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38476 garbage value in a __mach_port_mod_refs call in the cases of the
38477 task-self and thread-self ports.
38478
384792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38480
38481 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38482
384832011-09-08 Andreas Schwab <schwab@redhat.com>
38484
38485 * elf/dl-load.c (lose): Check for non-null L.
38486
384872011-09-07 Ulrich Drepper <drepper@gmail.com>
38488
38489 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38490
38491 * elf/dl-libc.c (dlerror_run): Pass back error code from
38492 dl_catch_error.
38493
38494 [BZ #13123]
38495 * elf/dl-load.c (lose): Free l_origin if it is valid.
38496
38497 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38498 names.
38499 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38501 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38502 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38503 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38504 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38505
385062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38507
38508 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38509 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38510 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38511 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38512 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38513 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38514 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38515 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38516 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38517 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38518
385192011-08-15 Alan Modra <amodra@gmail.com>
38520
38521 [BZ #13092]
38522 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38523 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38524 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38525 ppc_mcount to static-only-routines.
38526 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38527 __mcount_internal.
38528 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38529 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38530
385312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38532
38533 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38534 for finite and infinity parameters.
38535
385362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38537
38538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38539 and add nop instructions for throughput optimization.
38540 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38541
385422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38543
38544 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38545 aligned copy for power7 with vector-scalar instructions.
38546 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38547
385482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38549
38550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38551 AVX check.
38552
385532011-09-07 Andreas Schwab <schwab@redhat.com>
38554
38555 [BZ #13144]
38556 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38557 last change.
38558
385592011-09-07 Ulrich Drepper <drepper@gmail.com>
38560
38561 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38562 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38563 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38564 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38565 clock_gettime.
38566
385672011-09-06 Ulrich Drepper <drepper@gmail.com>
38568
38569 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38570 Forgot to demangle the pointer.
38571
38572 * sysdeps/i386/sysdep.h: Define atom_text_section.
38573 * sysdeps/x86_64/sysdep.h: Likewise.
38574 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38575 section with atom_text_section.
38576 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38577 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38578 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38579 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38580 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38581
38582 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38583 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38584 already be defined. Change to take two parameters and don't assign
38585 result to variable. Adjust all users.
38586 Define INTERNAL_GETTIME if not already defined.
38587 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38588 call.
38589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38590 HAVE_CLOCK_GETTIME_VSYSCALL.
38591 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38592
38593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38594 gettimeofday vsyscall, just use time.
38595
385962011-09-06 Andreas Schwab <schwab@redhat.com>
38597
38598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38599 <errno.h>.
38600
386012011-09-06 Ulrich Drepper <drepper@gmail.com>
38602
38603 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38604 syscall on x86-64.
38605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38606 syscall.
38607 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38608 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38609 syscall if possible.
38610
386112011-09-05 Ulrich Drepper <drepper@gmail.com>
38612
38613 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38614 e_ident. Don't pass to find_mapsXX.
38615 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38616
386172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38618
38619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38620 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38621 * sysdeps/x86_64/multiarch/strchr.S: Update.
38622 Check bit_slow_BSF bit.
38623 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38624 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38625 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38626
386272011-09-05 Ulrich Drepper <drepper@gmail.com>
38628
38629 [BZ #13134]
38630 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38631 before glibc 2.15.
38632 (tryshell): Define.
38633 (__spawni): Change last parameter to be flag. Test
38634 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38635 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38636 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38637 * posix/spawni.c: Likewise.
38638 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38639 * posix/spawnp.c: Likewise. Change normal version to use
38640 SPAWN_XFLAGS_USE_PATH.
38641 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38642 SPAWN_XFLAGS_TRY_SHELL.
38643
38644 [BZ #13150]
38645 * posix/glob.h: Remove gcc 1.x support.
38646
38647 [BZ #13068]
38648 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38649
386502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38651
38652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38653 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38654 strrchr-sse2-bsf
38655 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38656 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38657 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38658 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38659 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38661
386622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38663
38664 * sysdeps/x86_64/wcscmp.S: New file.
38665
38666 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38667 wcscmp-c wcscmp-sse2
38668 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38669 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38670 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38671 * wcsmbs/wcscmp.c: Allow renaming.
38672
386732011-09-05 David S. Miller <davem@davemloft.net>
38674
38675 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38676 stack slot, rather than the struct return pointer slot.
38677 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38678 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38680 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38681
386822011-09-05 Ulrich Drepper <drepper@gmail.com>
38683
38684 * po/ja.po: Update from translation team.
38685
38686 [BZ #13144]
38687 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38688 kernel in 64-bit binaries.
38689
386902011-09-01 David S. Miller <davem@davemloft.net>
38691
38692 * elf/elf.h (HWCAP_SPARC_*): Move to..
38693 * sysdeps/sparc/sysdep.h: this new file and add new values.
38694 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38695 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38696 _DL_HWCAP_COUNT to 24.
38697 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38698 entries.
38699 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38700 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38701 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38703 instead of magic constants.
38704 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38705
387062011-08-31 David S. Miller <davem@davemloft.net>
38707
38708 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38710 Reimplement to do errno handling inline.
38711 (SYSCALL_ERROR_HANDLER): New macro.
38712 (__SYSCALL_STRING): Do not do errno handling in asm.
38713 (__CLONE_SYSCALL_STRING): Delete.
38714 (__INTERNAL_SYSCALL_STRING): Delete.
38715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38716 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38717 (PSEUDO): Reimplement to do errno handling inline.
38718 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38719 (SYSCALL_ERROR_HANDLER): New macro.
38720 (__SYSCALL_STRING): Do not do errno handling in asm.
38721 (__CLONE_SYSCALL_STRING): Delete.
38722 (__INTERNAL_SYSCALL_STRING): Delete.
38723 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38724 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38725 i386.
38726 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38727 (inline_syscall*): Add 'err' argument.
38728 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38729 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38730 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38731 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38732
38733 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38734 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38735
387362011-08-30 Andreas Schwab <schwab@redhat.com>
38737
38738 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38739
387402011-08-29 Jiri Olsa <jolsa@redhat.com>
38741
38742 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38743 directive.
38744
387452011-08-24 David S. Miller <davem@davemloft.net>
38746
38747 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38748
387492011-08-24 Andreas Schwab <schwab@redhat.com>
38750
38751 * elf/Makefile: Add rules to build and run unload8 test.
38752 * elf/unload8.c: New file.
38753 * elf/unload8mod1.c: New file.
38754 * elf/unload8mod1x.c: New file.
38755 * elf/unload8mod2.c: New file.
38756 * elf/unload8mod3.c: New file.
38757
38758 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38759 it wasn't used.
38760
387612011-08-23 David S. Miller <davem@davemloft.net>
38762
38763 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38764 subtract stack bias.
38765 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38766 %sp not %fp in calculations.
38767 (_JMPBUF_UNWINDS_ADJ): Likewise.
38768
38769 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38770 (aio_suspend): Call it to force an exception region around the
38771 AIO_MISC_WAIT() invocation.
38772
387732011-08-23 Andreas Schwab <schwab@redhat.com>
38774
38775 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38776 backslash.
38777
387782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38779
38780 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38781 protection macro.
38782 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38783 and <dl-machine.h>.
38784 (Elf64_FuncDesc): Remove.
38785
387862011-08-22 David S. Miller <davem@davemloft.net>
38787
38788 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38789 sigaltstack check, add missing cfi directives.
38790 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38791 missing cfi directives, and sigaltstack handling.
38792
387932011-08-16 Andreas Schwab <schwab@redhat.com>
38794
38795 [BZ #11724]
38796 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38797 object is seen twice.
38798 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38799
38800 * elf/Makefile (distribute): Add tst-initorder2.c.
38801 (tests): Add tst-initorder2.
38802 (modules-names): Add tst-initorder2a tst-initorder2b
38803 tst-initorder2c tst-initorder2d. Add rules to build them.
38804 ($(objpfx)tst-initorder2.out): New rule.
38805 * elf/tst-initorder2.c: New file.
38806 * elf/tst-initorder2.exp: New file.
38807
388082011-08-22 Andreas Schwab <schwab@redhat.com>
38809
38810 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38811
38812 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38813 dependencies back to end of function.
38814
38815 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38816 $(elfobjdir)/ld.so.
38817
388182011-08-21 Ulrich Drepper <drepper@gmail.com>
38819
38820 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38821 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38823 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38824 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38825 of __vdso_gettimeofday.
38826 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38827 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38828 attribute_hidden.
38829 (_libc_vdso_platform_setup): Remove initialization of
38830 __vdso_gettimeofday and __vdso_time.
38831
388322011-08-20 Ulrich Drepper <drepper@gmail.com>
38833
38834 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38835 and fgetc_unlocked.
38836 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38837 getc_unlocked.
38838
38839 * elf/dl-open.c (add_to_global): Report additions to the global scope
38840 for LD_DEBUG=scopes.
38841 (dl_open_worker): Also print scope of newly loaded dependencies.
38842 (_dl_show_scope): Indicate if there is no scope.
38843
38844 [BZ #13114]
38845 * stdio-common/Makefile (tests): Add bug24.
38846 * stdio-common/bug24.c: New file.
38847
388482011-08-19 Andreas Jaeger <aj@suse.de>
38849
38850 [BZ #13114]
38851 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38852 non-existant file when using close-on-exec mode.
38853
388542011-08-20 Ulrich Drepper <drepper@gmail.com>
38855
38856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38857 the very first instruction.
38858
38859 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38860 the CFI state in the end.
38861 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38862 inclusion of dl-trampoline.h.
38863 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38864
388652011-08-19 Andreas Schwab <schwab@redhat.com>
38866
38867 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38868 expectations for long double.
38869
38870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38871 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38872
388732011-08-14 David S. Miller <davem@davemloft.net>
38874
38875 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38876 artificual limit depends upon the system page size.
38877
388782011-08-17 Ulrich Drepper <drepper@gmail.com>
38879
38880 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38881 * resolv/Makefile: Define CFLAGS-libresolv.
38882
388832011-08-17 Andreas Schwab <schwab@redhat.com>
38884
38885 * nss/makedb.c (compute_tables): Make variables used in nested
38886 function static.
38887
388882011-08-17 Ulrich Drepper <drepper@gmail.com>
38889
38890 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38891 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38892 if buffer was too small.
38893
38894 * elf/pldd.c (main): Attach to all threads in the process.
38895 Rewrite /proc handling to use *at functions.
38896
388972011-08-16 Ulrich Drepper <drepper@gmail.com>
38898
38899 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38900 specifies first scope to show.
38901 (dl_open_worker): Update callers. Move printing scope of new
38902 object to before the relocation.
38903 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38904 * sysdeps/generic/ldsodefs.h: Update declaration.
38905
38906 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38907 string for the scope number.
38908
389092011-08-14 Ulrich Drepper <drepper@gmail.com>
38910
38911 * nscd/servicescache.c (cache_addserv): Make sure written is always
38912 initialized.
38913
389142011-08-14 Roland McGrath <roland@hack.frob.com>
38915
38916 * sysdeps/i386/i486/bits/atomic.h
38917 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38918 statement expression, so as to suppress "set but not used" warning.
38919 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38920
38921 * string/strncat.c (STRNCAT): Use prototype definition.
38922
38923 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38924 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38925 -Iprograms here.
38926 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38927 (localedef-modules): Add localedef.
38928 (locale-modules): Add locale.
38929
38930 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38931 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38932 to avoid a warning.
38933
389342011-08-14 David S. Miller <davem@davemloft.net>
38935
38936 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38937 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38938
389392011-08-13 Ulrich Drepper <drepper@gmail.com>
38940
38941 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38942 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38943 * elf/rtld.c (dl_main): Set l_name of vDSO.
38944 Call _dl_show_scope when DL_DEBUG_SCOPES.
38945 (process_dl_debug): Recognize scopes flag and also set it for all.
38946 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38947 Declare _dl_show_scope.
38948
38949 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38950 (do_dlopen): Pass caller_dlopen to dl_open.
38951 (__libc_dlopen_mode): Initialize caller_dlopen.
38952
38953 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38954 of libc. Make tolower call locale-independent. Optimize a bit by
38955 using isdigit instead of isalnum.
38956 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38957
389582011-08-12 Ulrich Drepper <drepper@gmail.com>
38959
38960 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38961 was a dependency or dynamically loaded.
38962
389632011-08-11 Ulrich Drepper <drepper@gmail.com>
38964
38965 * intl/l10nflist.c: Allow architecture-specific pop function.
38966 * sysdeps/x86_64/l10nflist.c: New file.
38967
38968 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38969 classification.
38970
389712011-08-10 Andreas Schwab <schwab@redhat.com>
38972
38973 * include/dirent.h: Add libc_hidden_proto for scandirat and
38974 scandirat64. Don't declare __scandirat64.
38975 * dirent/scandirat.c: Add libc_hidden_def.
38976 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38977 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38978
389792011-08-10 David S. Miller <davem@davemloft.net>
38980
38981 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38982 enum.
38983 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38984 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38985 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38986
389872011-08-09 Ulrich Drepper <drepper@gmail.com>
38988
38989 * Versions.def [libc]: Add GLIBC_2.15.
38990 * dirent/Makefile (routines): Add scandirat and scandirat64.
38991 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38992 GLIBC_2.15.
38993 * dirent/dirent.h: Declare scandirat and scandirat64.
38994 * dirent/scandirat.c: New file.
38995 * dirent/scandirat64.c: New file.
38996 * sysdeps/wordsize-64/scandirat.c: New file.
38997 * sysdeps/wordsize-64/scandirat64.c: New file.
38998 * dirent/opendir.c: Define opendirat.
38999 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39000 using scandirat.
39001 * dirent/scandir64.c: Adjust for scandir.c change.
39002 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39003 __scandirat64, and __scandir_cancel_handler.
39004 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39005 additional parameter and use openat instead of open (outside of ld.so).
39006 Add new __opendir as wrapper around __opendirat.
39007 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39008 here without requiring old scandirat implementation.
39009
390102011-08-08 Ulrich Drepper <drepper@gmail.com>
39011
39012 * dirent/scandir.c (cancel_handler): Renamed to
39013 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39014 defined. Adjust users.
39015 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39016 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39017
390182011-08-04 Ulrich Drepper <drepper@gmail.com>
39019
39020 * string/test-string.h (IMPL): Use __STRING to expand name and then
39021 stringify it.
39022
39023 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39024 of cleanups.
39025
390262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39027
39028 * string/Makefile: Update.
39029 (strop-tests): Append strncat.
39030 * string/test-wcscmp.c: New file.
39031 New comprehensive test for wcscmp.
39032 * string/test-strcmp.c: Update.
39033 (WIDE): New define.
39034
390352011-07-22 Andreas Schwab <schwab@redhat.com>
39036
39037 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39038 line.
39039
390402011-07-26 Andreas Schwab <schwab@redhat.com>
39041
39042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39043 encoding to ACE if AI_IDN.
39044
390452011-08-01 Jakub Jelinek <jakub@redhat.com>
39046
39047 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39048 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39049
390502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39051
39052 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39053 Fix overflow bug in strncat.
39054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39055
39056 * string/test-strncat.c: Update.
39057 Add new tests for checking overflow bugs.
39058
390592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39060
39061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39062 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39063 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39064 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39065 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39066 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39067 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39068 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39069 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39070
39071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39072 (USE_AS_STRCAT): Define.
39073 Add strcat and strncat support.
39074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39075
390762011-07-25 Andreas Schwab <schwab@redhat.com>
39077
39078 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39079 __n bigger than INT_MAX+1.
39080 (__strncmp_g): Likewise.
39081
390822011-07-23 Ulrich Drepper <drepper@gmail.com>
39083
39084 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39085 * libio/stido.h: Likewise.
39086
39087 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39088 (AF_NFC): Define.
39089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39090 (AF_NFC): Define.
39091
39092 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39093 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39094 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39095 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39097
39098 [BZ #13021]
39099 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39100 installed.
39101
39102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39103 typo.
39104 (_dl_x86_64_save_sse): Likewise.
39105
391062011-07-22 Ulrich Drepper <drepper@gmail.com>
39107
39108 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39109 OSXSAVE.
39110 (_dl_x86_64_save_sse): Likewise.
39111
39112 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39113
39114 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39115
391162011-07-21 Andreas Schwab <schwab@redhat.com>
39117
39118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39119 change.
39120 (_dl_x86_64_save_sse): Use correct AVX check.
39121
391222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39123
39124 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39125 bug in strncpy/strncat.
39126 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39127
391282011-07-21 Ulrich Drepper <drepper@gmail.com>
39129
39130 * string/tester.c (test_strcat): Add tests for different alignments
39131 of source and destination.
39132 (test_strncat): Likewise.
39133
391342011-07-20 Ulrich Drepper <drepper@gmail.com>
39135
39136 [BZ #12852]
39137 * posix/glob.c (glob): Check passed in values before using them in
39138 expressions to avoid some overflows.
39139 (glob_in_dir): Likewise.
39140
39141 [BZ #13007]
39142 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39143 check for AVX enablement so that we don't crash with old kernels and
39144 new hardware.
39145 * elf/tst-audit4.c: Add same checks here.
39146 * elf/tst-audit6.c: Likewise.
39147
39148 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39149
391502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39151
39152 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39153
391542011-07-20 Ulrich Drepper <drepper@gmail.com>
39155
39156 * po/cs.po: Update from translation team.
39157 * po/bg.po: Likewise.
39158
391592011-07-12 Marek Polacek <mpolacek@redhat.com>
39160
39161 * misc/sys/cdefs.h: Add support for const attribute.
39162 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39163 to gnu_dev_{major,minor,makedev} functions.
39164
391652011-07-20 Marek Polacek <mpolacek@redhat.com>
39166
39167 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39168
391692011-07-20 Andreas Schwab <schwab@redhat.com>
39170
39171 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39172 strlen results.
39173
391742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39175
39176 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39177 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39178 register in order to avoid conflicts with the soft frame pointer
39179 being held in r11 when necessary.
39180 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39181 (INTERNAL_VSYSCALL_NCS): Likewise.
39182
391832011-07-14 Marek Polacek <mpolacek@redhat.com>
39184
39185 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39186 * elf/dl-fini.c (_dl_fini): Adjust caller.
39187 * elf/dl-close.c (_dl_close_worker): Likewise.
39188 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39189
391902011-07-15 Marek Polacek <mpolacek@redhat.com>
39191
39192 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39193 "aux_cache->nlibs < 0".
39194
39195 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39196 in the reload-count case.
39197
391982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39199
39200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39201 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39202 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39203 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39204 * sysdeps/x86_64/multiarch/strcat.S: New file.
39205 * sysdeps/x86_64/multiarch/strncat.S: New file.
39206 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39207 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39208 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39209 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39210 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39211 (USE_AS_STRCAT): Define.
39212 Add strcat and strncat support.
39213 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39214 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39215 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39216 * string/strncat.c: Update.
39217 (USE_AS_STRNCAT): Define.
39218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39219 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39220 and i7.
39221 * sysdeps/x86_64/multiarch/init-arch.h
39222 (bit_Prefer_PMINUB_for_stringop): New.
39223 (index_Prefer_PMINUB_for_stringop): Likewise.
39224 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39225 bit_Prefer_PMINUB_for_stringop.
39226
392272011-07-19 Ulrich Drepper <drepper@gmail.com>
39228
39229 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39230 buffer64.
39231 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39232 of casting of buffer.
39233 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39234 buffer32 and buffer64.
39235 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39236 writes instead of casting of buffer.
39237 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39238 buffer32.
39239 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39240 casting of buffer.
39241
392422011-07-19 Andreas Schwab <schwab@redhat.com>
39243
39244 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39245
392462011-07-19 Ulrich Drepper <drepper@gmail.com>
39247
39248 * nscd/nscd.c (termination_handler): Don't do anything for a database
39249 if it has not yet been initialized.
39250
392512011-07-18 Ulrich Drepper <drepper@gmail.com>
39252
39253 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39254
392552011-07-15 Marek Polacek <mpolacek@redhat.com>
39256
39257 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39258
392592011-07-18 Ulrich Drepper <drepper@gmail.com>
39260
39261 * po/nl.po: Update from translation team.
39262 * po/sv.po: Likewise.
39263
392642011-07-16 Roland McGrath <roland@hack.frob.com>
39265
39266 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39267 now disallowed by GCC.
39268
39269 * configure.in (use-default-link): Default to yes if a test -shared
39270 link meets our qualifications.
39271 * configure: Regenerated.
39272
39273 * config.make.in (output-format): New variable.
39274 * configure.in: Check for ld --print-output-format support.
39275 * configure: Regenerated.
39276 * Makerules ($(common-objpfx)format.lds)
39277 [$(output-format) != unknown]: Just use $(output-format),
39278 instead of the linker-script munging.
39279
392802011-07-14 Roland McGrath <roland@hack.frob.com>
39281
39282 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39283 of $(common-objpfx)shlib.lds.
39284 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39285
39286 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39287 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39288
39289 * configure.in (-z relro check): Adjust test code to add a large
39290 writable data section after it.
39291 * configure: Regenerated.
39292
392932011-07-11 Roland McGrath <roland@hack.frob.com>
39294
39295 * configure.in (-z relro check): Fix test code to make the variable
39296 truly const.
39297 * configure: Regenerated.
39298
392992011-07-11 Ulrich Drepper <drepper@gmail.com>
39300
39301 * nscd/nscd.h (struct traced_file): Define.
39302 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39303 elements. Add traced_files.
39304 (inotify_fd): Declare.
39305 (register_traced_file): Declare.
39306 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39307 (inotify_fd): Export.
39308 (resolv_conf_descr): Remove.
39309 (nscd_init): Move inotify descriptor creation to main.
39310 Don't register files for notification here.
39311 (register_traced_file): New function.
39312 (invalidate_cache): Don't use reset_res to determine whether to call
39313 res_init, go through the list of registered files.
39314 (main_loop_poll): The inotify descriptors are now stored in the
39315 structures for the traced files.
39316 (main_loop_epoll): Likewise
39317 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39318 to __nss_disable_nscd.
39319 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39320 for a database anymore. Check the records for all the registered
39321 files instead.
39322 * nss/Makefile (libnss_files-routines): Add files-init.
39323 (libnss_db-routines): Add db-init.
39324 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39325 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39326 * nss/nss_db/db-init.c: New file.
39327 * nss/nss_files/files-init.c: New file.
39328 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39329 __nss_lookup_function.
39330 (__nss_lookup_function): Call nss_load_library.
39331 (nss_load_all_libraries): New function.
39332 (__nss_disable_nscd): Take parameter with callback function for files
39333 to register. Set is_nscd. Load all the DSOs for the NSS modules
39334 used for the cached services.
39335 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39336 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39337 options for features to all the files in nscd.
39338
39339 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39340
393412011-07-10 Roland McGrath <roland@hack.frob.com>
39342
39343 * csu/elf-init.c (__libc_csu_init): Comment typo.
39344
393452011-07-09 Ulrich Drepper <drepper@gmail.com>
39346
39347 * po/pl.po: Update from translation team.
39348 * po/ja.po: Likewise.
39349 * po/ru.po: Likewise.
39350 * po/ko.po: Likewise.
39351 * po/fr.po: Likewise.
39352
393532011-07-09 Roland McGrath <roland@hack.frob.com>
39354
39355 * configure.in (.ctors/.dtors header and trailer check):
39356 Use an empirical test on a built program.
39357 * configure: Regenerated.
39358
39359 * configure.in (-z relro check): Use an empirical test on a built DSO.
39360 Detect, but do not require, on ia64.
39361 * configure: Regenerated.
39362
39363 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39364 Update tests that use readelf to use $READELF instead.
39365 * configure: Regenerated.
39366
393672011-07-08 Ulrich Drepper <drepper@gmail.com>
39368
39369 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39370 if the result is not used.
39371
393722011-07-05 Andreas Jaeger <aj@suse.de>
39373
39374 [BZ#9696]
39375 * stdlib/tst-strtod.c: Add testcase.
39376
393772011-07-07 Ulrich Drepper <drepper@gmail.com>
39378
39379 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39380 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39381 The latter has a higher limit. Take additional parameter to pass to
39382 the new function.
39383 (__pathconf): Pass file to __statfs_link_max.
39384 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39385 __statfs_link_max.
39386 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39387 __statfs_link_max.
39388
39389 [BZ #12868]
39390 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39391 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39392 Handle Lustre.
39393 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39394 (__statfs_filesize_max): Likewise.
39395 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39396
393972011-07-05 Andreas Jaeger <aj@suse.de>
39398
39399 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39400
394012011-07-06 Marek Polacek <mpolacek@redhat.com>
39402
39403 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39404 `status' variable.
39405 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39406 Likewise.
39407
394082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39409
39410 * Makefile (strop-tests): Add strncat.
39411 * string/test-strncat.c: New file.
39412
394132011-06-30 Marek Polacek <mpolacek@redhat.com>
39414
39415 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39416
394172011-06-21 Andreas Jaeger <aj@suse.de>
39418
39419 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39420 Copy rule from iconvdata/Makefile.
39421
394222011-07-06 Ulrich Drepper <drepper@gmail.com>
39423
39424 [BZ #12922]
39425 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39426 but no long options are defined, just return 'W'.
39427
394282011-06-22 Marek Polacek <mpolacek@redhat.com>
39429
39430 [BZ #9696]
39431 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39432
394332011-07-06 Ulrich Drepper <drepper@gmail.com>
39434
39435 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39436 netgroups to read.
39437 (innetgr): Likewise.
39438
394392011-07-05 Roland McGrath <roland@hack.frob.com>
39440
39441 * config.make.in (install_root): Default to $(DESTDIR).
39442
394432011-07-05 Ulrich Drepper <drepper@gmail.com>
39444
39445 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39446
394472011-07-02 Roland McGrath <roland@hack.frob.com>
39448
39449 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39450
39451 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39452 containing directory rather than embedding absolute directory names.
39453
39454 * scripts/check-local-headers.sh: Rewritten using awk.
39455 Match by word, not by line. Print error messages for matches.
39456 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39457
39458 * Makerules [shlib-lds-flags empty]:
39459 ($(common-objpfx)libc_pic.opts): New target.
39460 ($(common-objpfx)libc_pic.os.clean): New target.
39461 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39462
39463 * config.make.in (OBJCOPY): New variable.
39464 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39465 * configure: Regenerated.
39466
39467 * config.make.in (use-default-link): New variable.
39468 * configure.in (use_default_link): Grok --with-default-link to set it.
39469 * configure: Regenerated.
39470 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39471 (shlib-lds, shlib-lds-flags): Define to empty.
39472
39473 * Makerules (shlib-lds): New variable.
39474 (shlib-lds-flags): New variable.
39475 (build-shlib, build-moduile, build-module-asneeded): Use it.
39476 ($(common-objpfx)libc.so): Use $(shlib-lds).
39477 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39478 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39479
39480 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39481 DT_FLAGS/DT_FLAGS_1 with zero flags.
39482
39483 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39484 linker script munging.
39485
394862011-07-02 Ulrich Drepper <drepper@gmail.com>
39487
39488 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39489 as 128-bit value.
39490 * crypt/sha512.c (sha512_process_block): Perform total addition using
39491 128-bit if possible.
39492 (__sha512_finish_ctx): Likewise.
39493 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39494 as 64-bit value.
39495 * crypt/sha256.c (SWAP64): Define.
39496 (sha256_process_block): Perform total addition using 64-bit if
39497 possible.
39498 (__sha256_finish_ctx): Likewise.
39499
395002011-07-01 Ulrich Drepper <drepper@gmail.com>
39501
39502 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39503 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39504 * nscd/hstcache.c (cache_addhst): Likewise.
39505 * nscd/grpcache.c (cache_addgr): Likewise.
39506 * nscd/aicache.c (addhstaiX): Likewise
39507 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39508
395092011-07-01 Thorsten Kukuk <kukuk@suse.de>
39510
39511 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39513 * nscd/hstcache.c (cache_addhst): Likewise.
39514 * nscd/grpcache.c (cache_addgr): Likewise.
39515 * nscd/aicache.c (addhstaiX): Likewise
39516
395172011-07-01 Andreas Schwab <schwab@redhat.com>
39518
39519 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39520 domain only when needed.
39521
395222011-06-30 Andreas Schwab <schwab@redhat.com>
39523
39524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39525 is always restored.
39526
395272011-06-29 Ulrich Drepper <drepper@gmail.com>
39528
39529 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39530 are re-adding the entry.
39531 * nscd/servicescache.c (cache_addserv): Likewise.
39532
395332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39534
39535 * sysdeps/generic/dl-irel.h: fix protection against multiple
39536 inclusions.
39537 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39538
395392011-06-28 Ulrich Drepper <drepper@gmail.com>
39540
39541 [BZ #12935]
39542 * malloc/memusage.sh: Fix quoting in message.
39543 * debug/xtrace.sh: Likewise.
39544
39545 * configure.in: Remove support for --experimental-malloc option, make
39546 it the default.
39547 * config.make.in: Likewise.
39548 * malloc/Makefile: Likewise.
39549
395502011-06-27 Andreas Schwab <schwab@redhat.com>
39551
39552 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39553 two-byte characters.
39554
395552011-06-27 Roland McGrath <roland@hack.frob.com>
39556
39557 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39558 AC_CACHE_CHECK invocation.
39559 * configure: Regenerated.
39560
39561 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39562
395632011-06-27 Ulrich Drepper <drepper@gmail.com>
39564
39565 [BZ #12350]
39566 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39567 bit from old_res_options.
39568
39569 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39570
39571 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39572 value type for setfct.
39573
395742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39575
39576 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39577 __gettimeofday instead of gettimeofday.
39578
395792011-06-26 Ulrich Drepper <drepper@gmail.com>
39580
39581 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39582
395832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39584
39585 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39586
39587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39588 info.
39589
395902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39591
39592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39593 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39594 strcpy-sse2-unaligned strncpy-sse2-unaligned
39595 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39596 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39597 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39598 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39599 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39600 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39601 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39602 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39603 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39604 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39605 (STRCPY): Support SSE2 and SSSE3 versions.
39606
396072011-06-24 Ulrich Drepper <drepper@gmail.com>
39608
39609 [BZ #12874]
39610 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39611 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39612 kernels which artificially limit size of requests.
39613
396142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39615
39616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39617 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39618 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39619 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39620 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39621 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39622 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39623 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39624 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39626 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39627 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39628 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39629 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39630 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39632 Enable unaligned load optimization for Intel Core i3, i5 and i7
39633 processors.
39634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39635 Define.
39636 (index_Fast_Unaligned_Load): Define.
39637 (HAS_FAST_UNALIGNED_LOAD): Define.
39638
396392011-06-23 Marek Polacek <mpolacek@redhat.com>
39640
39641 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39642
396432011-06-22 Ulrich Drepper <drepper@gmail.com>
39644
39645 [BZ #12907]
39646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39647 until it is clear that the information is realy needed.
39648 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39649
396502011-06-22 Andreas Schwab <schwab@redhat.com>
39651
39652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39653
396542011-06-22 Ulrich Drepper <drepper@gmail.com>
39655
39656 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39657 /sys/devices/system/cpu/online if it is usable.
39658
39659 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39660 reading the information from the /proc filesystem to once a second.
39661
396622011-06-21 Andreas Jaeger <aj@suse.de>
39663
39664 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39665 NULL after inclusion of kernel headers.
39666
396672011-06-21 Ulrich Drepper <drepper@gmail.com>
39668
39669 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39670 calls to internal_setent.
39671
39672 [BZ #12885]
39673 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39674 addresses using gethostbyname4_r ignore IPv4 addresses.
39675
39676 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39677 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39678
39679 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39680
396812011-06-20 David S. Miller <davem@davemloft.net>
39682
39683 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39684 inclusions.
39685 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39686
39687 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39688 (elf_irel): Use it.
39689 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39690 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39691 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39692 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39693 * sysdeps/x86_64/dl-irel.h: Likewise.
39694
39695 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39696 * elf/dl-sym.c: Likewise.
39697
396982011-06-15 Ulrich Drepper <drepper@gmail.com>
39699
39700 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39701 need to dereference resplen2.
39702
397032011-06-14 Andreas Schwab <schwab@redhat.com>
39704
39705 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39706
397072011-06-15 Ulrich Drepper <drepper@gmail.com>
39708
39709 * Makeconfig: Define vardbdir and inst_vardbdir.
39710 * nss/Makefile: Add rules to install db-Makefile.
39711
39712 * nss/nss_db/db-XXX.c: Cleanup.
39713
39714 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39715 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39716 GLIBC_PRIVATE.
39717 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39718 * nss/makedb.c: Implement -g option to specify that value strings
39719 are generated and should not be added to table iterated over for
39720 get*ent calls.
39721 * nss/nss_db/db-initgroups.c: New file.
39722
39723 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39724 interface.
39725
39726 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39727 (internal_getgrouplist): Adjust to name change.
39728 Update use_initgroups_entry if this is not the first call.
39729 * nss/databases.def: Add initgroups entry.
39730
39731 * nss/makedb.c (compute_tables): Check result of multiple hash table
39732 sizes to minimize maximum chain length.
39733
397342011-06-14 Ulrich Drepper <drepper@gmail.com>
39735
39736 * Versions.def: Add entry for libnss_db.
39737 * shlib-versions: Likewise.
39738 * nss/Makefile: Add rules to build libnss_db.
39739 * nss/Versions: Add libnss_db information. Organize libnss_files
39740 entries better.
39741 * nss/db-Makefile: Add gshadow support. Change rules for the new
39742 makedb progra. Some minor improvements to generate smaller files.
39743 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39744 here from...
39745 * nss/makedb.c: ...here.
39746 Improve database format to be smaller and require less memory at
39747 runtime.
39748 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39749 db anymore.
39750 * nss/nss_db/db-netgrp.c: Likewise.
39751 * nss/nss_db/db-open.c: Likewise.
39752 * nss/nss_files/flies-XXX.x: Adjust comments.
39753 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39754 * nss/nss_files/files-grp.c: Likewise.
39755 * nss/nss_files/files-hosts.c: Likewise.
39756 * nss/nss_files/files-network.c: Likewise.
39757 * nss/nss_files/files-proto.c: Likewise.
39758 * nss/nss_files/files-pwd.c: Likewise.
39759 * nss/nss_files/files-rpc.c: Likewise.
39760 * nss/nss_files/files-service.c: Likewise.
39761 * nss/nss_files/files-sgrp.c: Likewise.
39762 * nss/nss_files/files-spwd.c: Likewise.
39763 * nss/nss_db/db-alias.c: Removed.
39764 * nss/nss_db/dummy-db.h: Removed.
39765
397662011-06-02 Ulrich Drepper <drepper@gmail.com>
39767
39768 * nss/makedb.c: Rewritten to not use database library.
39769 * nss/Makefile: Update to build new makedb program.
39770
397712011-06-14 Andreas Jaeger <aj@suse.de>
39772
39773 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39774 memset declaration.
39775
397762011-06-10 Andreas Schwab <schwab@redhat.com>
39777
39778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39779 tmpbuf.
39780
397812011-06-10 Roland McGrath <roland@hack.frob.com>
39782
39783 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39784 * elf/Makefile ($(objpfx)ld.so): Likewise.
39785
39786 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39787 Don't list ld.so twice in dependencies.
39788
39789 * posix/bug-regex31.c: Include <stdlib.h>.
39790
39791 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39792
39793 * nis/nss_compat/compat-spwd.c
39794 (getspent_next_nss_netgr): Remove unused variable.
39795 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39796
39797 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39798 nonmembers" output to use the right array.
39799
39800 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39801
39802 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39803
39804 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39805 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39806 * catgets/gencat.c (read_input_file): Likewise.
39807 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39808
39809 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39810 variable definition inside #if's controlling its use.
39811
39812 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39813
39814 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39815
39816 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39817
39818 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39819 unreachable code.
39820
39821 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39822
39823 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39824 * configure: Regenerated.
39825
39826 * Makerules: Revert last change.
39827 * elf/Makefile: Likewise.
39828
398292011-06-09 Roland McGrath <roland@hack.frob.com>
39830
39831 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39832 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39833 (reloc-link): Likewise.
39834
398352011-06-09 Ulrich Drepper <drepper@gmail.com>
39836
39837 * elf/Makefile: Add rules to build pldd.
39838 * elf/pldd.c: New file.
39839 * elf/pldd-xx.c: New file.
39840
398412011-06-07 Ulrich Drepper <drepper@gmail.com>
39842
39843 * version.h: Update for 2.15 development version.
39844
398452011-06-07 David S. Miller <davem@davemloft.net>
39846
39847 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39848 ifuncs.
39849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39850 elf_machine_lazy_rel): Likewise.
39851 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39853 elf_machine_lazy_rel): Likewise.
39854 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39855 dl_hwcap via passed in argument.
39856 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39857 Likewise.
39858
398592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39860
39861 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39862
398632011-06-06 Roland McGrath <roland@hack.frob.com>
39864
39865 [BZ #12849]
39866 * manual/fdl-1.1.texi: New file, verbatim from:
39867 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39868 * manual/lgpl-2.1.texi: New file, verbatim from:
39869 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39870 * manual/Makefile (licenses): New variable, list those new file names.
39871 (texis): Use it.
39872 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39873
39874 * manual/fdl.texi: File removed.
39875 * manual/lesser.texi: File removed.
39876 * manual/libc.texinfo (Copying, Documentation License):
39877 Use new @include file names, put @appendix directive before @include.
39878
398792011-06-04 Jakub Jelinek <jakub@redhat.com>
39880
39881 [BZ #12841]
39882 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39883 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39884 (mq_open): Add __NTH.
39885
398862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39887
39888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39889 Assume Intel Core i3/i5/i7 processor if AVX is available.
39890
398912011-05-31 Ulrich Drepper <drepper@gmail.com>
39892
39893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39894 typo.
39895
398962011-05-31 Andreas Schwab <schwab@redhat.com>
39897
39898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39899 memory. Use alloca_account. Fix memory leak when retrying.
39900
399012011-05-31 Ulrich Drepper <drepper@gmail.com>
39902
39903 * version.h (RELEASE): Bump for 2.14 release.
39904 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39905
39906 * config.make.in (RANLIB): Remove entry.
39907
399082011-05-30 Ulrich Drepper <drepper@gmail.com>
39909
39910 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39911 (libc.pot): Work around missing support for .ksh extension in xgettext.
39912
39913 [BZ #12684]
39914 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39915 if both request failed.
39916 (send_dg): In case of server errors clear resplen or *resplen2.
39917
39918 [BZ #12454]
39919 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39920 when there are multiple maps.
39921 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39922 (_dl_fini): Remove test here.
39923
39924 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39925
399262011-05-29 Ulrich Drepper <drepper@gmail.com>
39927
39928 [BZ #12350]
39929 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39930 bit from old_res_options.
39931 (gaih_inet): Likewise.
39932
39933 [BZ #11099]
39934 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39935 as signed.
39936
39937 * resolv/res_init.c (res_setoptions): Make the code more compact.
39938
39939 [BZ #11558]
39940 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39941 set RES_USEVC.
39942
39943 [BZ #11634]
39944 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39945
39946 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39947
39948 [BZ #11781]
39949 * malloc/malloc.h: Declare malloc hook variables as volatile.
39950
39951 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39952 in last patch.
39953
39954 [BZ #11799]
39955 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39956 raise in the comment.
39957 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39958 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39959 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39960
399612011-05-28 Ulrich Drepper <drepper@gmail.com>
39962
39963 [BZ #12811]
39964 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39965 grow the buffers more if it already has to be sufficient.
39966 (build_wcs_upper_buffer): Likewise.
39967 * posix/regexec.c (check_matching): Likewise.
39968 (clean_state_log_if_needed): Likewise.
39969 (extend_buffers): Don't enlarge buffers beyond size of the input
39970 buffer.
39971 Patches mostly by Emil Wojak <emil@wojak.eu>.
39972 * posix/bug-regex32.c: New file.
39973 * posix/Makefile (tests): Add bug-regex32.
39974
39975 * locale/findlocale.c (_nl_find_locale): Return right away if
39976 _nl_explode_name failed.
39977 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39978
39979 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39980
39981 * debug/xtrace.sh: Unify messages.
39982 * malloc/memusage.sh: Likewise.
39983
39984 [BZ #12813]
39985 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39986 time symbol from vDSO. Substitute with vsyscall if not available.
39987 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39988 __vdso_time.
39989
39990 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39991 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39992 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39993 Add sendmmsg and internal_sendmmsg.
39994 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39995 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39996 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39997
39998 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39999 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40000 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40001
400022011-05-27 Ulrich Drepper <drepper@gmail.com>
40003
40004 [BZ #12813]
40005 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40006 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40007 available.
40008 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40009 __vdso_getcpu.
40010
40011 [BZ #12814]
40012 * iconvdata/Makefile (tests): Add bug-iconv9.
40013 * iconvdata/bug-iconv9.c: New file.
40014
400152011-05-27 Andreas Schwab <schwab@redhat.com>
40016
40017 [BZ #12814]
40018 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40019
400202011-05-25 Jakub Jelinek <jakub@redhat.com>
40021
40022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40023 (struct user_regs_struct): Change intcs field back to cs.
40024
400252011-05-25 Ulrich Drepper <drepper@gmail.com>
40026
40027 * po/ja.po: Update from translation team.
40028
400292011-05-23 Ulrich Drepper <drepper@gmail.com>
40030
40031 [BZ #12795]
40032 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40033 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40034
400352011-05-20 Andreas Schwab <schwab@redhat.com>
40036
40037 * stdlib/longlong.h: Update from GCC.
40038
400392011-05-23 Andreas Schwab <schwab@redhat.com>
40040
40041 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40042 parameter name.
40043 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40044 Add parameter name.
40045 (__sysconf): Pass it down.
40046
400472011-05-22 Ulrich Drepper <drepper@gmail.com>
40048
40049 [BZ #12671]
40050 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40051 some situations.
40052 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40053 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40054 add in in __libc_use_alloca calls. Adjust callers.
40055 (glob): Use malloc in some situations.
40056
40057 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40058 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40059 pltexit.
40060
400612011-05-21 Ulrich Drepper <drepper@gmail.com>
40062
40063 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40064 and CLOCK_BOOTTIME_ALARM.
40065
40066 [BZ #12782]
40067 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40068 is returned.
40069
40070 * string/_strerror.c (__strerror_r): Print negative errors as signed
40071 numbers.
40072
40073 [BZ #12777]
40074 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40075 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40076 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40077
40078 * configure.in: Fix typo in redirection and correct removal of test
40079 files in two cases.
40080
40081 [BZ #12788]
40082 * locale/setlocale.c (new_composite_name): Fix test to check for
40083 identical name of all categories.
40084
40085 [BZ #12792]
40086 * libio/filedoalloc.c (local_isatty): New function.
40087 (_IO_file_doallocate): Use local_isatty.
40088 * stdio-common/perror.c (perror): In case a new stream is used
40089 forward the stream error.
40090 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40091 error flag.
40092
400932011-05-20 Ulrich Drepper <drepper@gmail.com>
40094
40095 [BZ #11869]
40096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40097 alloca.
40098 * include/alloca.h (extend_alloca_account): Define.
40099
40100 [BZ #11857]
40101 * posix/regex.h: Fix comments with documentation of user-accessible
40102 fields after compilation and describe correct free'ing of pattern
40103 after re_compile_pattern.
40104 Patch by Reuben Thomas <rrt@sc3d.org>.
40105
401062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40107
40108 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40109 and -mno-altivec to prevent the compiler from using Altivec and/or
40110 VSX instructions when the corresponding registers are not available.
40111
401122011-05-19 Andreas Schwab <schwab@redhat.com>
40113
40114 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40115
401162011-05-19 Ulrich Drepper <drepper@gmail.com>
40117
40118 * libio/freopen.c (freopen): Use __dup2, not dup2.
40119 * libio/freopen64.c (freopen64): Likewise.
40120
401212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40122
40123 [BZ #12775]
40124 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40125 * math/Makefile (tests): Add test-powl.
40126 (CFLAGS-test-powl.c): Define.
40127 * math/test-powl.c: New file.
40128
401292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40130
40131 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40132
401332011-05-17 Ulrich Drepper <drepper@gmail.com>
40134
40135 [BZ #11837]
40136 * iconvdata/gb18030.c: Update to GB18020-2005.
40137
401382011-05-16 Ulrich Drepper <drepper@gmail.com>
40139
40140 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40141 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40142 Patch by Aharon Robbins <arnold@skeeve.com>.
40143
40144 [BZ #11892]
40145 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40146 on the stack.
40147
40148 [BZ #11895]
40149 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40150 through underflows.
40151
40152 [BZ #12766]
40153 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40154 point to strings before performing equality test for error_one_per_line
40155 mode.
40156
40157 [BZ #11697]
40158 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40159
40160 [BZ #11820]
40161 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40162 (struct user_fpregs_struct): Avoid __uint*_t types.
40163
40164 [BZ #6420]
40165 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40166 symbol info. Use it instead of calling _dl_addr locally.
40167 (lock_and_info): New function.
40168 (tr_freehook): Call lock_and_info and pass symbol info as additional
40169 parameter to tr_where.
40170 (tr_mallochook): Likewise.
40171 (tr_reallochook): Likewise.
40172 (tr_memalignhook): Likewise.
40173
40174 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40175 used and couldn't be at all thread-safe.
40176
401772011-05-15 Ulrich Drepper <drepper@gmail.com>
40178
40179 * libio/freopen.c (freopen): Don't close old file descriptor
40180 before the new one is opened. Instead dup the new file descriptor
40181 to the old one after the new stream is created.
40182 * libio/freopen64.c (freopen64): Likewise.
40183 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40184 * libio/fileops.c (_IO_new_file_close_it): Handle new
40185 _IO_FLAGS2_NOCLOSE flag.
40186 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40187 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40188 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40189 _IO_FLAGS2_NOCLOSE flag.
40190 * include/unistd.h: Add hidden_proto for dup3.
40191 Define __have_dup3.
40192 * io/dup3.c: Define hidden symbol.
40193 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40194
40195 [BZ #7101]
40196 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40197 when an incomplete long option is used.
40198 * posix/tst-getopt_long1.c: New file.
40199 * posix/Makefile (tests): Add tst-getopt_long1.
40200
40201 [BZ #10138]
40202 * scripts/config.guess: Update from autoconf-2.68.
40203 * scripts/config.sub: Likewise.
40204
40205 [BZ #10157]
40206 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40207 tests into ...
40208 (has_cpuclock): ...this. New function.
40209 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40210 macro here based on has_cpuclock code.
40211
40212 [BZ #10149]
40213 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40214 First byte (not low byte) is now always NUL.
40215 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40216
40217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40218 Use non-cancelable interfaces.
40219
40220 [BZ #9809]
40221 * locale/iso-639.def: Add entry for Sorani.
40222
40223 [BZ #11901]
40224 * include/stdlib.h: Move include protection to the right place.
40225 Define abort_msg_s. Declare __abort_msg with it.
40226 * stdlib/abort.c (__abort_msg): Adjust type.
40227 * assert/assert.c (__assert_fail_base): New function. Majority
40228 of code from __assert_fail. Allocate memory for __abort_msg with
40229 mmap.
40230 (__assert_fail): Now call __assert_fail_base.
40231 * assert/assert-perr.c: Remove bulk of implementation. Use
40232 __assert_fail_base.
40233 * include/assert.hL Declare __assert_fail_base.
40234 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40235 mmap.
40236 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40237
402382011-05-14 Ulrich Drepper <drepper@gmail.com>
40239
40240 [BZ #11952]
40241 [BZ #12453]
40242 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40243 until all modules are registered in the DTV.
40244 * elf/Makefile: Add rules to build and run tst-tls19.
40245 * elf/tst-tls19.c: New file.
40246 * elf/tst-tls19mod1.c: New file.
40247 * elf/tst-tls19mod2.c: New file.
40248 * elf/tst-tls19mod3.c: New file.
40249 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40250
40251 [BZ #12083]
40252 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40253 correctly.
40254
40255 [BZ #12601]
40256 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40257 two-byte sequence errors.
40258 * iconvdata/Makefile (tests): Add bug-iconv8.
40259 * iconvdata/bug-iconv8.c: New file.
40260
40261 [BZ #12626]
40262 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40263 buf2 definition.
40264
40265 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40266
40267 [BZ #12432]
40268 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40269 (dummy_getcfa): New function.
40270 (init): Get _Unwind_GetCFA address, use dummy if not found.
40271 (backtrace_helper): In recursion check, also check whether CFA changes.
40272 (__backtrace): Completely initialize arg.
40273
40274 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40275 storing incomplete byte sequence in state object. Avoid testing for
40276 guaranteed too small input if we know there is enough data available.
40277
402782011-05-11 Andreas Schwab <schwab@redhat.com>
40279
40280 * Makeconfig (+link-pie): Indent.
40281 * Rules (binaries-pie): Define if $(have-fpie) and
40282 $(build-shared).
40283 (binaries-shared): Also filter out $(binaries-pie).
40284 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40285 * nscd/Makefile (others-pie): Add nscd.
40286 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40287 ($(objpfx)nscd): Remove command override.
40288 * login/Makefile (others-pie): Add pt_chown.
40289 ($(objpfx)pt_chown): Remove command override.
40290 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40291 remove command overrides.
40292
402932011-05-13 Ulrich Drepper <drepper@gmail.com>
40294
40295 * libio/tst_putwc.c: Fix error messages.
40296
40297 [BZ #12724]
40298 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40299 currently writing and seek to current position when not.
40300 * libio/Makefile (tests): Add bug-fclose1.
40301 * libio/bug-fclose1.c: New file.
40302
403032011-05-12 Ulrich Drepper <drepper@gmail.com>
40304
40305 [BZ #12511]
40306 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40307 don't set DF_1_NODELETE here.
40308 (do_lookup_x): When entering new entry test for copy relocation
40309 and if necessary set DF_1_NODELETE flag.
40310 * elf/tst-unique4.cc: New file.
40311 * elf/tst-unique4.h: New file.
40312 * elf/tst-unique4lib.cc: New file.
40313 * elf/Makefile: Add rules to build and run tst-unique4.
40314 Patch by Piotr Bury <pbury@goahead.com>.
40315
403162011-05-11 Ulrich Drepper <drepper@gmail.com>
40317
40318 [BZ #12052]
40319 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40320
40321 [BZ #12625]
40322 * misc/mntent_r.c (addmntent): Flush the stream after the output
40323
40324 [BZ #12393]
40325 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40326 (is_trusted_path_normalize): Skip initial colon. Append slash
40327 to empty buffer. Duplicate is_trusted_path code but allow
40328 constructed patch to be prefix.
40329 (is_dst): Allow $ORIGIN followed by /.
40330 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40331 Correct testing of result of is_trusted_path_normalize
40332 (decompose_rpath): Fix warning.
40333
403342011-05-10 Ulrich Drepper <drepper@gmail.com>
40335
40336 [BZ #11257]
40337 * grp/initgroups.c (internal_getgrouplist): When we found the service
40338 list through the initgroups entry in nsswitch.conf do not always
40339 continue on a successful lookup. Don't always use the
40340 __nss_group_database value if it is set.
40341 * nss/nsswitch.conf (initgroups): Change action for successful db
40342 lookup to continue for compatibility.
40343
403442011-05-09 Ulrich Drepper <drepper@gmail.com>
40345
40346 [BZ #11532]
40347 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40348 and CP774 modules.
40349 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40350 and CP774 modules.
40351 * iconvdata/tst-tables.sh: Likewise.
40352 * iconvdata/cp770.c: New file.
40353 * iconvdata/cp771.c: New file.
40354 * iconvdata/cp772.c: New file.
40355 * iconvdata/cp773.c: New file.
40356 * iconvdata/cp774.c: New file.
40357 * iconvdata/testdata/CP770: New file.
40358 * iconvdata/testdata/CP770..UTF8: New file.
40359 * iconvdata/testdata/CP771: New file.
40360 * iconvdata/testdata/CP771..UTF8: New file.
40361 * iconvdata/testdata/CP772: New file.
40362 * iconvdata/testdata/CP772..UTF8: New file.
40363 * iconvdata/testdata/CP773: New file.
40364 * iconvdata/testdata/CP773..UTF8: New file.
40365 * iconvdata/testdata/CP774: New file.
40366 * iconvdata/testdata/CP774..UTF8: New file.
40367
40368 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40369 END CHARMAP line.
40370 * iconvdata/gen-8bit-gap.sh: Likewise.
40371 * iconvdata/gen-8bit.sh: Likewise.
40372
40373 * locale/iso-639.def: Add ary entry.
40374
40375 [BZ #11258]
40376 * locale/C-translit.h.in: Add U20A1 transliteration.
40377
40378 [BZ #12178]
40379 * locale/iso-639.def: Add wae entry.
40380 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40381
40382 [BZ #12545]
40383 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40384 for n.
40385
40386 [BZ #12711]
40387 * locale/C-translit.h.in: Add entry for U20B9.
40388 Patch by pravin.d.s@gmail.com.
40389
403902011-05-08 Ulrich Drepper <drepper@gmail.com>
40391
40392 [BZ #12713]
40393 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40394 ENAMETOOLONG use generic getcwd.
40395 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40396 in rtld. Use *stat64.
40397 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40398 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40399 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40400 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40401 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40402 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40403 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40404 __fstatat64 macros.
40405 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40406 * dirent/rewinddir.c: Add libc_hidden_def.
40407 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40408 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40409
40410 * include/dirent.h (__alloc_dir): Add flags parameter.
40411 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40412 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40413 __alloc_dir.
40414 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40415 from fdopendir if O_CLOEXEC is already set.
40416
404172011-03-15 Alan Modra <amodra@gmail.com>
40418
40419 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40420 l_tls_firstbyte_offset non-zero. Save padding offset in
40421 l_tls_firstbyte_offset for later use.
40422 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40423 freeing static tls block.
40424
404252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40426
40427 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40428 where #ifdef was intended. The intent is to prevent ARG_MAX from
40429 being defined by the kernel headers.
40430
404312011-05-07 Ulrich Drepper <drepper@gmail.com>
40432
40433 [BZ #12734]
40434 * resolv/resolv.h: Define RES_NOTLDQUERY.
40435 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40436 no-tld-query and set RES_NOTLDQUERY.
40437 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40438 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40439 modern BIND to search name as TLD unless forbidden.
40440
404412011-05-07 Petr Baudis <pasky@suse.cz>
40442 Ulrich Drepper <drepper@gmail.com>
40443
40444 [BZ #12393]
40445 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40446 (is_trusted_path): ...to here.
40447 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40448 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40449 using is_trusted_path_normalize() in setuid scripts.
40450
404512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40452
40453 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40454 __BEGIN/__END_DECLS.
40455
404562011-05-06 Ulrich Drepper <drepper@gmail.com>
40457
40458 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40459 NSS_STATUS_NOTFOUND if no record was found.
40460
404612011-05-05 Andreas Schwab <schwab@redhat.com>
40462
40463 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40464 (headers-not-in-tirpc): Remove rpc/netdb.h
40465 * resolv/netdb.h: Revert last change.
40466
404672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40468
40469 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40470 circular dependency between libgcc.a and libc.a.
40471
404722011-05-05 Andreas Schwab <schwab@redhat.com>
40473
40474 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40475 * nis/Makefile: Don't install rpcsvc/*.
40476 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40477 instead of <rpc/types.h>.
40478 (MAXHOSTNAMELEN): Define.
40479
404802011-05-03 Andreas Schwab <schwab@redhat.com>
40481
40482 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40483
404842011-04-28 Maciej Babinski <mbabinski@google.com>
40485
40486 [BZ #12714]
40487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40488 gethostbyname4_r when IPv6 results are possible.
40489
404902011-05-02 Ulrich Drepper <drepper@gmail.com>
40491
40492 [BZ #12723]
40493 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40494 _PC_PIPE_BUF handling.
40495
404962011-04-30 Bruno Haible <bruno@clisp.org>
40497
40498 [BZ #12717]
40499 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40500 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40501 to 'int'.
40502 * inet/getnameinfo.c (getnameinfo): Likewise.
40503
405042011-04-29 Ulrich Drepper <drepper@gmail.com>
40505
40506 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40507 to groups setting in database lookup.
40508 * nss/nsswitch.conf: Add initgroups entry.
40509
405102011-04-22 Ulrich Drepper <drepper@gmail.com>
40511
40512 [BZ #12685]
40513 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40514 mode string.
40515 Patch by Eric Blake <eblake@redhat.com>.
40516
405172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40518
40519 * sunrpc/Makefile (need-export-routines): Add svc_run.
40520 (routines): Remove svc_run.
40521 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40522 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40523 * sunrpc/svc_run.c (svc_run): Likewise.
40524 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40525
405262011-04-21 Ulrich Drepper <drepper@gmail.com>
40527
40528 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40529 problem in reallocation in last patch.
40530
405312011-04-20 Ulrich Drepper <drepper@gmail.com>
40532
40533 * sunrpc/Makefile: Move inclusion of Rules.
40534
405352011-04-19 Ulrich Drepper <drepper@gmail.com>
40536
40537 * nss/nss_files/files-initgroups.c: New file.
40538 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40539 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40540 _nss_files_initgroups_dyn.
40541
405422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40543
40544 * elf/elf.h (R_ARM_IRELATIVE): Define.
40545
405462011-04-19 Ulrich Drepper <drepper@gmail.com>
40547
40548 * po/ru.po: Update from translation team.
40549
405502011-04-17 Ulrich Drepper <drepper@gmail.com>
40551
40552 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40553 dependencies.
40554
405552011-02-06 Mike Frysinger <vapier@gentoo.org>
40556
40557 [BZ #12653]
40558 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40559 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40560 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40562 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40563
405642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40565
40566 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40567 differing bytes.
40568 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40571
405722011-04-17 Ulrich Drepper <drepper@gmail.com>
40573
40574 [BZ #12420]
40575 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40576 storing it.
40577 * stdlib/bug-getcontext.c: New file.
40578 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40579
405802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40581
40582 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40583 instructions into .machine "z9-109".
40584 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40585 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40586
405872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40588
40589 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40590 between environment variables and auxiliary vector.
40591
405922011-04-16 Ulrich Drepper <drepper@gmail.com>
40593
40594 * Makefile: Add rules to build linkobj/libc.so.
40595 * include/libc-symbols.h: Define libc_hidden_nolink.
40596 * include/rpc/auth.h: Mark functions which are to be hidden.
40597 * include/rpc/auth_des.h: Likewise.
40598 * include/rpc/auth_unix.h: Likewise.
40599 * include/rpc/clnt.h: Likewise.
40600 * include/rpc/des_crypt.h: Likewise.
40601 * include/rpc/key_prot.h: Likewise.
40602 * include/rpc/pmap_clnt.h: Likewise.
40603 * include/rpc/pmap_prot.h: Likewise.
40604 * include/rpc/pmap_rmt.h: Likewise.
40605 * include/rpc/rpc_msg.h: Likewise.
40606 * include/rpc/svc.h: Likewise.
40607 * include/rpc/svc_auth.h: Likewise.
40608 * include/rpc/xdr.h: Likewise.
40609 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40610 * nss/Makefile: Likewise.
40611 * sunrpc/Makefile: Don't install headers. Build library with normal
40612 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40613 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40614 for the compat linking library. Remove use of INTDEF/INTUSE.
40615 * sunrpc/auth_none.c: Likewise.
40616 * sunrpc/auth_unix.c: Likewise.
40617 * sunrpc/authdes_prot.c: Likewise.
40618 * sunrpc/authuxprot.c: Likewise.
40619 * sunrpc/clnt_gen.c: Likewise.
40620 * sunrpc/clnt_perr.c: Likewise.
40621 * sunrpc/clnt_raw.c: Likewise.
40622 * sunrpc/clnt_simp.c: Likewise.
40623 * sunrpc/clnt_tcp.c: Likewise.
40624 * sunrpc/clnt_udp.c: Likewise.
40625 * sunrpc/clnt_unix.c: Likewise.
40626 * sunrpc/des_crypt.c: Likewise.
40627 * sunrpc/des_soft.c: Likewise.
40628 * sunrpc/get_myaddr.c: Likewise.
40629 * sunrpc/key_call.c: Likewise.
40630 * sunrpc/key_prot.c: Likewise.
40631 * sunrpc/netname.c: Likewise.
40632 * sunrpc/pm_getmaps.c: Likewise.
40633 * sunrpc/pm_getport.c: Likewise.
40634 * sunrpc/pmap_clnt.c: Likewise.
40635 * sunrpc/pmap_prot.c: Likewise.
40636 * sunrpc/pmap_prot2.c: Likewise.
40637 * sunrpc/pmap_rmt.c: Likewise.
40638 * sunrpc/publickey.c: Likewise.
40639 * sunrpc/rpc_cmsg.c: Likewise.
40640 * sunrpc/rpc_common.c: Likewise.
40641 * sunrpc/rpc_dtable.c: Likewise.
40642 * sunrpc/rpc_prot.c: Likewise.
40643 * sunrpc/rpc_thread.c: Likewise.
40644 * sunrpc/rtime.c: Likewise.
40645 * sunrpc/svc.c: Likewise.
40646 * sunrpc/svc_auth.c: Likewise.
40647 * sunrpc/svc_authux.c: Likewise.
40648 * sunrpc/svc_raw.c: Likewise.
40649 * sunrpc/svc_run.c: Likewise.
40650 * sunrpc/svc_simple.c: Likewise.
40651 * sunrpc/svc_tcp.c: Likewise.
40652 * sunrpc/svc_udp.c: Likewise.
40653 * sunrpc/svc_unix.c: Likewise.
40654 * sunrpc/svcauth_des.c: Likewise.
40655 * sunrpc/xcrypt.c: Likewise.
40656 * sunrpc/xdr.c: Likewise.
40657 * sunrpc/xdr_array.c: Likewise.
40658 * sunrpc/xdr_float.c: Likewise.
40659 * sunrpc/xdr_intXX_t.c: Likewise.
40660 * sunrpc/xdr_mem.c: Likewise.
40661 * sunrpc/xdr_rec.c: Likewise.
40662 * sunrpc/xdr_ref.c: Likewise.
40663 * sunrpc/xdr_sizeof.c: Likewise.
40664 * sunrpc/xdr_stdio.c: Likewise.
40665
406662011-04-10 Ulrich Drepper <drepper@gmail.com>
40667
40668 [BZ #12650]
40669 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40670 * sysdeps/ia64/dl-tls.h: Likewise.
40671 * sysdeps/powerpc/dl-tls.h: Likewise.
40672 * sysdeps/s390/dl-tls.h: Likewise.
40673 * sysdeps/sh/dl-tls.h: Likewise.
40674 * sysdeps/sparc/dl-tls.h: Likewise.
40675 * sysdeps/x86_64/dl-tls.h: Likewise.
40676 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40677
406782011-03-14 Andreas Schwab <schwab@redhat.com>
40679
40680 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40681 rpath element also skip the following colon.
40682 (expand_dynamic_string_token): Add is_path parameter and pass
40683 down to DL_DST_REQUIRED and _dl_dst_substitute.
40684 (decompose_rpath): Call expand_dynamic_string_token with
40685 non-zero is_path. Ignore empty rpaths.
40686 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40687 with zero is_path.
40688
406892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40690
40691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40692 Make cancelable.
40693
406942011-04-09 Ulrich Drepper <drepper@gmail.com>
40695
40696 [BZ #12655]
40697 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40698 Patch by Filipe David Manana <fdmanana@apache.org>.
40699
407002011-04-07 Andreas Schwab <schwab@redhat.com>
40701
40702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40703 Maintain aligned stack.
40704 (CHECK_RSP): Remove unused macro.
40705
407062011-04-03 Ulrich Drepper <drepper@gmail.com>
40707
40708 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40709 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40710
407112011-04-02 Ulrich Drepper <drepper@gmail.com>
40712
40713 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40714
40715 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40716
407172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40718
40719 [BZ #12518]
40720 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40721 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40722 * sysdeps/x86_64/memmove.c: New file.
40723 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40724 (memcpy): Renamed to ...
40725 (__new_memcpy): This.
40726 (memcpy): Provide GLIBC_2_14 memcpy.
40727 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40728 (memcpy): Provide GLIBC_2_2_5 memcpy.
40729
407302011-04-01 Ulrich Drepper <drepper@gmail.com>
40731
40732 [BZ #12631]
40733 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40734
407352011-03-30 Andreas Schwab <schwab@redhat.com>
40736
40737 * misc/syncfs.c: New file.
40738 * misc/Makefile (routines): Add syncfs.
40739 * posix/unistd.h: Declare syncfs.
40740 * sysdeps/unix/syscalls.list: Add syncfs.
40741
407422011-04-01 Andreas Schwab <schwab@redhat.com>
40743
40744 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40745 open_by_handle_at.
40746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40747 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40749 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40751 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40752 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40753
407542011-04-01 Ulrich Drepper <drepper@gmail.com>
40755
40756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40761 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40763
40764 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40765 sync_file_range.c with -fexceptions.
40766 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40767 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40768 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40769 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40770 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40771 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40773 sync_file_range as cancellation point
40774 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40775 now a wrapper around __call_sync_file_range with cancellation handling.
40776 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40777 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40778 function name to __call_sync_file_range.
40779 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40780 Add call_sync_file_range.
40781
407822011-04-01 Andreas Schwab <schwab@redhat.com>
40783
40784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40785 bits/timex.h.
40786
407872011-04-01 Ulrich Drepper <drepper@gmail.com>
40788
40789 * iconv/iconv.h: Fix typo in comment.
40790 * io/fcntl.h: Likewise.
40791 * libio/stdio.h: Likewise.
40792 * posix/spawn.h: Likewise.
40793 * posix/unistd.h: Likewise.
40794 * stdlib/stdlib.h: Likewise.
40795 * time/time.h: Likewise.
40796 * wcsmbs/wchar.h: Likewise.
40797
40798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40799 open_by_handle): Add.
40800 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40801 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40802 Augment a few comments.
40803 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40808 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40809 open_by_handle.
40810
40811 * io/fcntl.h (AT_EMPTY_PATH): Define.
40812
408132011-03-30 Ulrich Drepper <drepper@gmail.com>
40814
40815 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40816 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40817 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40818 to...
40819 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40820 * Versions.def: Add GLIBC_2.14.
40821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40822 Export.
40823
408242011-03-22 Ulrich Drepper <drepper@gmail.com>
40825
40826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40827 round counter.
40828 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40829
408302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40831
40832 [BZ #12597]
40833 * string/test-strncmp.c (do_page_test): New function.
40834 (check2): Likewise.
40835 (test_main): Call check2.
40836 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40837
408382011-03-20 Ulrich Drepper <drepper@gmail.com>
40839
40840 [BZ #12587]
40841 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40842 Handle cache information in CPU leaf 4.
40843 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40844
408452011-03-18 Ulrich Drepper <drepper@gmail.com>
40846
40847 [BZ #12583]
40848 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40849 character representation.
40850 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40851
408522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40853
40854 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40855 END(__isnan) to END(__isnanf) to match function entry point/label
40856 EALIGN(__isnanf,...).
40857
408582011-03-10 Jakub Jelinek <jakub@redhat.com>
40859
40860 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40861
408622011-03-10 Ulrich Drepper <drepper@gmail.com>
40863
40864 [BZ #12510]
40865 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40866 copy from the symbol referenced in the relocation to initialize the
40867 used variable.
40868 Patch by Piotr Bury <pbury@goahead.com>.
40869 * elf/Makefile: Add rules to build and tst-unique3.
40870 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40871 * elf/tst-unique3.cc: New file.
40872 * elf/tst-unique3.h: New file.
40873 * elf/tst-unique3lib.cc: New file.
40874 * elf/tst-unique3lib2.cc: New file.
40875
40876 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40877
408782011-03-10 Mike Frysinger <vapier@gentoo.org>
40879
40880 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40881 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40882 to _start.
40883
408842011-03-06 Ulrich Drepper <drepper@gmail.com>
40885
40886 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40887 to-be-loaded object along a path to loader is ld.so.
40888
408892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40890 Ulrich Drepper <drepper@gmail.com>
40891
40892 * sysdeps/x86_64/memset.S: After aligning destination, code
40893 branches to different locations depending on the value of
40894 misalignment, when multiarch is enabled. Fix this.
40895
408962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40897
40898 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40899 Set _x86_64_preferred_memory_instruction for AMD processsors.
40900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40901 Set bit_Prefer_SSE_for_memop for AMD processors.
40902
409032011-03-04 Ulrich Drepper <drepper@gmail.com>
40904
40905 * libio/fmemopen.c (fmemopen): Optimize a bit.
40906
409072011-03-03 Andreas Schwab <schwab@redhat.com>
40908
40909 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40910
409112011-03-03 Roland McGrath <roland@redhat.com>
40912
40913 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40914
409152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40916
40917 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40918 __bzero_ultra1 instead of __memset_ultra1.
40919
409202011-02-23 Andreas Schwab <schwab@redhat.com>
40921 Ulrich Drepper <drepper@gmail.com>
40922
40923 [BZ #12509]
40924 * include/link.h (struct link_map): Add l_orig_initfini.
40925 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40926 returning unsuccessfully.
40927 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40928 close of a file loaded at startup, restore the original l_initfini
40929 list.
40930 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40931 list, store the pointer.
40932 * elf/Makefile ($(objpfx)noload-mem): New rule.
40933 (noload-ENV): Define.
40934 (tests): Add $(objpfx)noload-mem.
40935 * elf/noload.c: Include <memcheck.h>.
40936 (main): Call mtrace. Close all opened handles.
40937
409382011-02-17 Andreas Schwab <schwab@redhat.com>
40939
40940 [BZ #12454]
40941 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40942 dependencies are missing.
40943
409442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40945
40946 Fix __if_freereq crash: Unlike the generic version which uses free,
40947 Hurd needs munmap.
40948 * sysdeps/mach/hurd/ifreq.h: New file.
40949
409502011-01-27 Petr Baudis <pasky@suse.cz>
40951 Ulrich Drepper <drepper@gmail.com>
40952
40953 [BZ 12445]#
40954 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40955 to extend_alloca().
40956 * stdio-common/bug23.c: New file.
40957 * stdio-common/Makefile (tests): Add bug23.
40958
409592010-09-28 Andreas Schwab <schwab@redhat.com>
40960 Ulrich Drepper <drepper@gmail.com>
40961
40962 [BZ #12489]
40963 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40964 before performing relro protection. At old place add assertion
40965 to make sure nothing changed.
40966
409672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40968 Glauber de Oliveira Costa <glommer@gmail.com>
40969
40970 * elf/elf.h: Add new ARM TLS relocs.
40971
409722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40973
40974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40975 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40976 cast from r3.
40977 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40978 'tests' variable.
40979 * sysdeps/wordsize-64/tst-writev.c: New file.
40980
409812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40982
40983 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40984 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40985 insns in _dl_start to prevent a TOC reference before relocs are
40986 resolved.
40987
409882011-02-15 Ulrich Drepper <drepper@gmail.com>
40989
40990 [BZ #12469]
40991 * Makeconfig: Remove RANLIB definition.
40992 * Makerules: Don't use RANLIB.
40993 * aclocal.m4: Remove ranlib test.
40994 * configure.in: No need to check for ranlib.
40995 * elf/rtld-Rules: Don't use RANLIB.
40996
409972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40998
40999 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41000 protection macro.
41001 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41002 inclusion protection macro.
41003
41004 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41005 SIGRTMIN and SIGRTMAX and print information in that case only when
41006 SIGRTMIN is defined.
41007
410082011-02-11 Jakub Jelinek <jakub@redhat.com>
41009
41010 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41011 arginfo fn returning -1.
41012
41013 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41014 and thousands string is zero terminated.
41015
410162011-02-03 Andreas Schwab <schwab@redhat.com>
41017
41018 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41019 sysdeps/unix/sysv/linux/bits/socket.h.
41020
410212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41022
41023 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41024 (__CPU_COUNT): Remove old macros.
41025 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41026 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41027 (__CPU_ALLOC, __CPU_FREE): Add macros.
41028 (__sched_cpualloc, __sched_cpufree): Add declarations.
41029
410302011-02-05 Ulrich Drepper <drepper@gmail.com>
41031
41032 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41033 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41034 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41035 (readdhstai): Return value of addhstaiX call.
41036 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41037 (addgrbyX): Return value returned by cache_addgr.
41038 (readdgrbyname): Return value returned by addgrbyX.
41039 (readdgrbygid): Likewise.
41040 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41041 (addpwbyX): Return value returned by cache_addpw.
41042 (readdpwbyname): Return value returned by addhstbyX.
41043 (readdpwbyuid): Likewise.
41044 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41045 (addservbyX): Return value returned by cache_addserv.
41046 (readdservbyname): Return value returned by addservbyX:
41047 (readdservbyport): Likewise.
41048 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41049 (addhstbyX): Return value returned by cache_addhst.
41050 (readdhstbyname): Return value returned by addhstbyX.
41051 (readdhstbyaddr): Likewise.
41052 (readdhstbynamev6): Likewise.
41053 (readdhstbyaddrv6): Likewise.
41054 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41055 (readdinitgroups): Return value returned by addinitgroupsX.
41056 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41057 (prune_cache): Keep track of timeout value of re-added entries.
41058 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41059 * nscd/nscd.h: Adjust prototypes of readd* functions.
41060
410612011-02-04 Roland McGrath <roland@redhat.com>
41062
41063 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41064 (nis_stats): Likewise.
41065 * nis/nis_modify.c (nis_modify): Likewise.
41066 * nis/nis_remove.c (nis_remove): Likewise.
41067 * nis/nis_add.c (nis_add): Likewise.
41068
41069 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41070
41071 * posix/fnmatch_loop.c: Add some consts.
41072
41073 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41074
410752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41076
41077 [BZ #12460]
41078 * config.make.in (config-cflags-novzeroupper): Define.
41079 * configure.in: Substitute libc_cv_cc_novzeroupper.
41080 * elf/Makefile (AVX-CFLAGS): Define.
41081 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41082 (CFLAGS-tst-auditmod4a.c): Likewise.
41083 (CFLAGS-tst-auditmod4b.c): Likewise.
41084 (CFLAGS-tst-auditmod6b.c): Likewise.
41085 (CFLAGS-tst-auditmod6c.c): Likewise.
41086 (CFLAGS-tst-auditmod7b.c): Likewise.
41087 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41088
410892011-02-02 Ulrich Drepper <drepper@gmail.com>
41090
41091 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41092 function to the callback.
41093 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41094
410952011-02-02 Andreas Schwab <schwab@redhat.com>
41096
41097 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41098 of errno.
41099
411002011-01-19 Ulrich Drepper <drepper@gmail.com>
41101
41102 [BZ #11724]
41103 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41104 of constructors.
41105 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41106 of destructors.
41107 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41108
41109 [BZ #11724]
41110 * elf/Makefile: Add rules to build and run new test.
41111 * elf/tst-initorder.c: New file.
41112 * elf/tst-initorder.exp: New file.
41113 * elf/tst-initordera1.c: New file.
41114 * elf/tst-initordera2.c: New file.
41115 * elf/tst-initordera3.c: New file.
41116 * elf/tst-initordera4.c: New file.
41117 * elf/tst-initorderb1.c: New file.
41118 * elf/tst-initorderb2.c: New file.
41119 * elf/tst-order-a1.c: New file.
41120 * elf/tst-order-a2.c: New file.
41121 * elf/tst-order-a3.c: New file.
41122 * elf/tst-order-a4.c: New file.
41123 * elf/tst-order-b1.c: New file.
41124 * elf/tst-order-b2.c: New file.
41125 * elf/tst-order-main.c: New file.
41126 New test case by George Gensure <werkt0@gmail.com>.
41127
411282010-10-01 Andreas Schwab <schwab@redhat.com>
41129
41130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41131 decoding ACE if AI_CANONIDN.
41132
411332011-01-18 Ulrich Drepper <drepper@gmail.com>
41134
41135 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41136
411372011-01-17 Ulrich Drepper <drepper@gmail.com>
41138
41139 * version.h (RELEASE): Bump for 2.13 release.
41140 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41141
41142 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41143
41144 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41145 MADV_NOHUGEPAGE.
41146 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41147 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41148 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41149 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41150 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41152
41153 * posix/getconf.c: Update copyright year.
41154 * catgets/gencat.c: Likewise.
41155 * csu/version.c: Likewise.
41156 * debug/catchsegv.sh: Likewise.
41157 * debug/xtrace.sh: Likewise.
41158 * elf/ldconfig.c: Likewise.
41159 * elf/ldd.bash.in: Likewise.
41160 * elf/sprof.c (print_version): Likewise.
41161 * iconv/iconv_prog.c: Likewise.
41162 * iconv/iconvconfig.c: Likewise.
41163 * locale/programs/locale.c: Likewise.
41164 * locale/programs/localedef.c: Likewise.
41165 * malloc/memusage.sh: Likewise.
41166 * malloc/mtrace.pl: Likewise.
41167 * nscd/nscd.c (print_version): Likewise.
41168 * nss/getent.c: Likewise.
41169
41170 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41171 PF_CAIF, and PF_ALG.
41172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41173
411742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41175
41176 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41177 (modules-names): Use them.
41178 (ifunc-test-modules, ifunc-pie-tests): Define.
41179 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41180 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41181 (test-extras): Likewise.
41182 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41183 $(compile-command.c).
41184 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41185 (all-built-dso): Define.
41186 (check-textrel.out, check-execstack.out): Depend on it.
41187
41188 * configure.in: Don't override --enable-multi-arch.
41189
411902011-01-15 Ulrich Drepper <drepper@gmail.com>
41191
41192 [BZ #6812]
41193 * nscd/hstcache.c (tryagain): Define.
41194 (cache_addhst): Return tryagain not notfound for temporary errors.
41195 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41196 failed.
41197
411982011-01-14 Ulrich Drepper <drepper@gmail.com>
41199
41200 [BZ #10563]
41201 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41202 to make the syscall.
41203 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41204
41205 [BZ #12378]
41206 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41207 and fall back to matching as normal character if the string ends before
41208 the matching ']' is found. This is what POSIX requires.
41209 * posix/testfnm.c: Adjust test result.
41210 * posix/globtest.sh: Adjust test result. Add new test.
41211 * posix/tst-fnmatch.input: Likewise.
41212 * posix/tst-fnmatch2.c: Add new test.
41213
412142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41215
41216 * elf/Makefile (check-execstack): Revert last change. Depend on
41217 check-execstack.h.
41218 (check-execstack.h): New target.
41219 (generated): Add check-execstack.h.
41220 * elf/check-execstack.c: Include "check-execstack.h".
41221 (main): Revert last change.
41222 (handle_file): Return zero if GNU_STACK is absent and
41223 DEFAULT_STACK_PERMS doesn't include PF_X.
41224
412252011-01-13 Ulrich Drepper <drepper@gmail.com>
41226
41227 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41228 in child fails because the descriptor is already closed.
41229 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41230 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41231 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41232
41233 [BZ #12397]
41234 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41235 syscall.
41236
41237 [BZ #10484]
41238 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41239 temporary buffer used to handle multi lookups locally.
41240 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41241
412422011-01-12 Ulrich Drepper <drepper@gmail.com>
41243
41244 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41245 loader is ld.so.
41246
412472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41248
41249 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41250 alignment for SSE2.
41251
412522011-01-12 Ulrich Drepper <drepper@gmail.com>
41253
41254 [BZ #12394]
41255 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41256 characters. When rounding increased number of integer digits recompute
41257 number of groups.
41258 * stdio-common/tst-grouping.c: New file.
41259 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41260
412612011-01-09 Ulrich Drepper <drepper@gmail.com>
41262
41263 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41264 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41265
41266 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41267 void.
41268 * bits/select.h: Likewise.
41269
412702011-01-08 Ulrich Drepper <drepper@gmail.com>
41271
41272 * po/ja.po: Update from translation team.
41273
412742011-01-04 David S. Miller <davem@sunset.davemloft.net>
41275
41276 [BZ #11155]
41277 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41278 implementation just like for lxstat, fxstatat, et al.
41279
412802010-12-27 Jim Meyering <meyering@redhat.com>
41281
41282 [BZ #12348]
41283 * posix/regexec.c (build_trtable): Return failure indication upon
41284 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41285
412862010-12-25 Ulrich Drepper <drepper@gmail.com>
41287
41288 [BZ #12201]
41289 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41290 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41291 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41292 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41293
41294 [BZ #12207]
41295 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41296
41297 [BZ #12204]
41298 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41299 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41300
413012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41302
41303 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41304 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41305 script has SORT_BY_INIT_PRIORITY.
41306 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41307 NO_CTORS_DTORS_SECTIONS is defined.
41308 * elf/soinit.c: Likewise.
41309 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41310 NO_CTORS_DTORS_SECTIONS is defined.
41311 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41312 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41313 * sysdeps/sh/init-first.c: Likewise.
41314 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41315
413162010-12-24 Ulrich Drepper <drepper@gmail.com>
41317
41318 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41319 always use the slow path.
41320
413212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41322
41323 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41324 similar rule which adds the sysdep directories to the header search in
41325 order to pick up the correct platform stackinfo.h.
41326 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41327 perform test if it is, otherwise return successfully without testing.
41328 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41329 DEFAULT_STACK_PERMS define in stackinfo.h.
41330 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41331 defined in stackinfo.h.
41332 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41333 DEFAULT_STACK_PERMS defined in stackinfo.h.
41334 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41335 * sysdeps/ia64/stackinfo.h: Likewise.
41336 * sysdeps/s390/stackinfo.h: Likewise.
41337 * sysdeps/sh/stackinfo.h: Likewise.
41338 * sysdeps/sparc/stackinfo.h: Likewise.
41339 * sysdeps/x86_64/stackinfo.h: Likewise.
41340 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41341 PF_X for powerpc64. Retain PF_X for powerpc32.
41342
413432010-12-19 Ulrich Drepper <drepper@gmail.com>
41344
41345 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41346 accurately.
41347 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41348 GETDENTS_64BIT_ALIGNED.
41349
413502010-12-14 Ulrich Drepper <dreper@gmail.com>
41351
41352 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41353
413542010-12-10 Andreas Schwab <schwab@redhat.com>
41355
41356 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41357 _GNU_SOURCE.
41358
41359 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41360 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41361 Remove __restrict.
41362 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41363 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41364
413652010-12-09 Ulrich Drepper <drepper@gmail.com>
41366
41367 [BZ #11655]
41368 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41369 are initialized.
41370
413712010-12-09 Jakub Jelinek <jakub@redhat.com>
41372
41373 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41374
413752010-12-03 Ulrich Drepper <drepper@gmail.com>
41376
41377 * po/it.po: Update from translation team.
41378
413792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41380
41381 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41382 unused codes.
41383
413842010-11-30 Ulrich Drepper <drepper@gmail.com>
41385
41386 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41387
413882010-11-24 Andreas Schwab <schwab@redhat.com>
41389
41390 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41391 specially.
41392 (gaih_getanswer_slice): Likewise.
41393
413942010-10-20 Jakub Jelinek <jakub@redhat.com>
41395
41396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41397
413982010-05-31 Petr Baudis <pasky@suse.cz>
41399
41400 [BZ #11149]
41401 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41402 silently even in the chroot mode.
41403
414042010-11-22 Ulrich Drepper <drepper@gmail.com>
41405
41406 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41407 last patch a bit. Pretty printing
41408
414092010-05-31 Petr Baudis <pasky@suse.cz>
41410
41411 [BZ #10085]
41412 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41413 initialization of skip_initgroups_dyn.
41414
414152010-11-19 Ulrich Drepper <drepper@gmail.com>
41416
41417 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41418 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41419
414202010-11-16 Ulrich Drepper <drepper@gmail.com>
41421
41422 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41423
414242010-11-11 Andreas Schwab <schwab@redhat.com>
41425
41426 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41427 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41428 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41429 ($(objpfx)tst-fnmatch-mem): New rule.
41430 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41431 * posix/tst-fnmatch.c (main): Call mtrace.
41432
414332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41434
41435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41436 Support Intel processor model 6 and model 0x2c.
41437
414382010-11-10 Luis Machado <luisgpm@br.ibm.com>
41439
41440 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41441 signed comparison.
41442
414432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41444
41445 [BZ #12205]
41446 * string/test-strncasecmp.c (check_result): New function.
41447 (do_one_test): Use it.
41448 (check1): New function.
41449 (test_main): Use it.
41450 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41451 Support strcasecmp and strncasecmp.
41452
414532010-11-08 Ulrich Drepper <drepper@gmail.com>
41454
41455 [BZ #12194]
41456 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41457 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41458
414592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41460
41461 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41462 IFUNC support.
41463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41464 memset-x86-64.
41465 * sysdeps/x86_64/multiarch/bzero.S: New file.
41466 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41467 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41468 * sysdeps/x86_64/multiarch/memset.S: New file.
41469 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41471 Set bit_Prefer_SSE_for_memop for Intel processors.
41472 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41473 Define.
41474 (index_Prefer_SSE_for_memop): Define.
41475 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41476
414772010-11-04 Luis Machado <luisgpm@br.ibm.com>
41478
41479 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41480 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41481
414822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41483
41484 [BZ #12191]
41485 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41486 (__x86_64_raw_data_cache_size_half): Likewise.
41487 (__x86_64_raw_shared_cache_size): Likewise.
41488 (__x86_64_raw_shared_cache_size_half): Likewise.
41489
41490 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41491 (__x86_64_raw_data_cache_size_half): Likewise.
41492 (__x86_64_raw_shared_cache_size): Likewise.
41493 (__x86_64_raw_shared_cache_size_half): Likewise.
41494 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41495 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41496 and __x86_64_raw_shared_cache_size_half. Round
41497 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41498 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41499 to multiple of 256 bytes.
41500
415012010-11-03 Ulrich Drepper <drepper@gmail.com>
41502
41503 [BZ #12167]
41504 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41505 of inacessible symlinks. Verify result of symlink before returning it.
41506 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41507 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41508
415092010-10-28 Erich Ritz <erichritz@gmail.com>
41510
41511 * math/math.h (isinf): Fix typo in comment.
41512
415132010-11-01 Ulrich Drepper <drepper@gmail.com>
41514
41515 * po/da.po: Update from translation team.
41516
415172010-10-26 Ulrich Drepper <drepper@gmail.com>
41518
41519 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41520 is added to the list.
41521
415222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41523 Ulrich Drepper <drepper@gmail.com>
41524
41525 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41526 the global list here. Move code to...
41527 (_dl_add_to_namespace_list): ...here. New function.
41528 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41529 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41530 * elf/dl-load.c (lose): Don't remove the element from the list.
41531 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41532 (_dl_map_object): Likewise.
41533
415342010-10-25 Ulrich Drepper <drepper@gmail.com>
41535
41536 [BZ #12159]
41537 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41538 into all bytes of SSE register.
41539 Patch by Richard Li <richardpku@gmail.com>.
41540
415412010-10-24 Ulrich Drepper <drepper@gmail.com>
41542
41543 [BZ #12140]
41544 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41545 perturbing.
41546
415472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41548
41549 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41550 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41551 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41552 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41554 submachine.
41555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41556
415572010-10-22 Andreas Schwab <schwab@redhat.com>
41558
41559 * include/dlfcn.h (__RTLD_SECURE): Define.
41560 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41561 mode & __RTLD_SECURE instead.
41562 (open_path): Rename preloaded parameter to secure.
41563 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41564 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41565 * elf/dl-deps.c (openaux): Likewise.
41566 * elf/rtld.c (struct map_args): Remove is_preloaded.
41567 (map_doit): Don't use it.
41568 (dl_main): Likewise.
41569 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41570 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41571
415722010-09-09 Andreas Schwab <schwab@redhat.com>
41573
41574 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41575 (sysd-rules-targets): Remove duplicates.
41576 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41577 rtld-%.$o dependency.
41578
415792010-10-18 Andreas Schwab <schwab@redhat.com>
41580
41581 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41582 _dl_map_object do it.
41583
415842010-10-19 Ulrich Drepper <drepper@gmail.com>
41585
41586 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41587 fast fma builtins, define the macros in the C99 standard.
41588 (FP_FAST_FMAF): Likewise.
41589 (FP_FAST_FMAL): Likewise.
41590 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41591
41592 * bits/mathdef.h: Update copyright year.
41593 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41594
415952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41596
41597 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41598 builtins, define the macros in the C99 standard.
41599 (FP_FAST_FMAF): Likewise.
41600 (FP_FAST_FMAL): Likewise.
41601 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41602 multiply/add.
41603 (FP_FAST_FMAF): Likewise.
41604
416052010-10-15 Jakub Jelinek <jakub@redhat.com>
41606
41607 [BZ #3268]
41608 * math/libm-test.inc (fma_test): Some new testcases.
41609 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41610 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41611 y and infinite z. Do multiplication by C already in long double.
41612 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41614 y and infinite z. Do bitwise or of inexact bit into u.d.
41615 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41616 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41617 * sysdeps/i386/fpu/s_fma.S: Removed.
41618 * sysdeps/i386/fpu/s_fmal.S: Removed.
41619
416202010-10-16 Jakub Jelinek <jakub@redhat.com>
41621
41622 [BZ #3268]
41623 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41625 computation is not scheduled after fetestexcept. Fix value
41626 of minimum denormal long double.
41627
416282010-10-14 Jakub Jelinek <jakub@redhat.com>
41629
41630 [BZ #3268]
41631 * math/libm-test.inc (fma_test): Add some more tests.
41632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41633 correctly.
41634
416352010-10-15 Andreas Schwab <schwab@redhat.com>
41636
41637 * scripts/data/localplt-s390-linux-gnu.data: New file.
41638 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41639
416402010-10-13 Jakub Jelinek <jakub@redhat.com>
41641
41642 [BZ #3268]
41643 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41644 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41645 instead of dbl-64.
41646 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41647 inlines.
41648 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41650 if one of x and y is very large and the other is subnormal.
41651 * sysdeps/s390/fpu/s_fmaf.c: New file.
41652 * sysdeps/s390/fpu/s_fma.c: New file.
41653 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41654 * sysdeps/powerpc/fpu/s_fma.S: New file.
41655 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41656 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41657 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41658
416592010-10-12 Jakub Jelinek <jakub@redhat.com>
41660
41661 [BZ #3268]
41662 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41663 fma tests.
41664 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41665 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41666 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41667 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41668 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41669 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41671
416722010-10-12 Ulrich Drepper <drepper@redhat.com>
41673
41674 [BZ #12078]
41675 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41676 * posix/bug-regex31.input: Add test case.
41677
416782010-10-11 Ulrich Drepper <drepper@gmail.com>
41679
41680 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41681 * posix/bug-regex31.input: New file.
41682
41683 [BZ #12078]
41684 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41685 (parse_sub_exp): Fix last change, use postorder.
41686
41687 * posix/bug-regex31.c: New file.
41688 * posix/Makefile: Add rules to build and run bug-regex31.
41689
41690 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41691
41692 [BZ #12078]
41693 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41694
41695 [BZ #12108]
41696 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41697 to have entries in sys_siglist.
41698
41699 [BZ #12093]
41700 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41701 be NULL.
41702
417032010-10-07 Jakub Jelinek <jakub@redhat.com>
41704
41705 [BZ #3268]
41706 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41707 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41708 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41709 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41710 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41711 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41712 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41713 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41714 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41715 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41716 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41717 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41718 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41719 * math/ftestexcept.c (fetestexcept): Likewise.
41720 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41721 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41722 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41723 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41724 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41725 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41726 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41727
417282010-10-11 Ulrich Drepper <drepper@gmail.com>
41729
41730 [BZ #12107]
41731 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41732 newline.
41733
417342010-10-06 Ulrich Drepper <drepper@gmail.com>
41735
41736 * string/bug-strstr1.c: New file.
41737 * string/Makefile: Add rules to build and run bug-strstr1.
41738
417392010-10-05 Eric Blake <eblake@redhat.com>
41740
41741 [BZ #12092]
41742 * string/str-two-way.h (two_way_long_needle): Always clear memory
41743 when skipping input due to the shift table.
41744
417452010-10-03 Ulrich Drepper <drepper@gmail.com>
41746
41747 [BZ #12005]
41748 * malloc/mcheck.c: Handle large requests.
41749
41750 [BZ #12077]
41751 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41752 for strncmp and strncasecmp.
41753 * string/stratcliff.c: Add tests for strcmp and strncmp.
41754 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41755
417562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41757
41758 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41759 __set_fpscr.
41760
417612010-09-30 Andreas Jaeger <aj@suse.de>
41762
41763 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41764 (CGROUP_SUPER_MAGIC): Define.
41765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41766 Handle btrfs and cgroup file systems.
41767 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41768 Likewise.
41769
417702010-09-27 Luis Machado <luisgpm@br.ibm.com>
41771
41772 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41773 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41774
417752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41776
41777 [BZ #12067]
41778 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41779 trying to locate the ELF header.
41780
417812010-09-27 Andreas Schwab <schwab@redhat.com>
41782
41783 [BZ #11611]
41784 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41785 Mask out sign-bit copies when constructing f_fsid.
41786
417872010-09-24 Petr Baudis <pasky@suse.cz>
41788
41789 * debug/stack_chk_fail_local.c: Add missing licence exception.
41790 * debug/warning-nop.c: Likewise.
41791
417922010-09-15 Joseph Myers <joseph@codesourcery.com>
41793
41794 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41795 implementing getdents64 using getdents syscall, set d_type if
41796 __ASSUME_GETDENTS32_D_TYPE.
41797
417982010-09-16 Andreas Schwab <schwab@redhat.com>
41799
41800 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41801 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41802
418032010-09-21 Ulrich Drepper <drepper@redhat.com>
41804
41805 [BZ #12037]
41806 * posix/unistd.h: Undo change of feature selection for ftruncate from
41807 2010-01-11.
41808
418092010-09-20 Ulrich Drepper <drepper@redhat.com>
41810
41811 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41812 detection.
41813
418142010-09-20 Andreas Schwab <schwab@redhat.com>
41815
41816 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41817 fanotify_mark.
41818 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41819
418202010-09-14 Andreas Schwab <schwab@redhat.com>
41821
41822 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41823 variables after CHECK_SP call.
41824 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41825
418262010-09-13 Andreas Schwab <schwab@redhat.com>
41827 Ulrich Drepper <drepper@redhat.com>
41828
41829 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41830 re-relocationg ld.so.
41831 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41832 _dl_init_paths call.
41833 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41834 here anymore.
41835
418362010-09-14 Ulrich Drepper <drepper@redhat.com>
41837
41838 * resolv/res_init.c (__res_vinit): Count the default server we added.
41839
418402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41841 Ulrich Drepper <drepper@redhat.com>
41842
41843 [BZ #11968]
41844 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41845 (____longjmp_chk): Use %ebx for saving value across system call.
41846 Add unwind info.
41847
418482010-09-06 Andreas Schwab <schwab@redhat.com>
41849
41850 * manual/Makefile: Don't mix pattern rules with normal rules.
41851
418522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41853
41854 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41855 operation.
41856 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41857 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41858 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41859 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41861 Likewise.
41862
418632010-09-04 Ulrich Drepper <drepper@redhat.com>
41864
41865 [BZ #11979]
41866 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41867 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41868
418692010-09-02 Ulrich Drepper <drepper@redhat.com>
41870
41871 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41872 * sysdeps/x86_64/addmul_1.S: Likewise.
41873 * sysdeps/x86_64/lshift.S: Likewise.
41874 * sysdeps/x86_64/mul_1.S: Likewise.
41875 * sysdeps/x86_64/rshift.S: Likewise.
41876 * sysdeps/x86_64/sub_n.S: Likewise.
41877 * sysdeps/x86_64/submul_1.S: Likewise.
41878
418792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41880
41881 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41882 Define __sched_param instead of SCHED_* and sched_param when
41883 <bits/sched.h> is included with __need_schedparam defined.
41884 * bits/sched.h [__need_schedparam]
41885 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41886 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41887 (__defined_schedparam): Define to 1.
41888 (__sched_param): New structure, identical to sched_param.
41889 (__need_schedparam): Undefine.
41890
418912010-08-31 Mike Frysinger <vapier@gentoo.org>
41892
41893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41894 (epoll_create1): Declare.
41895
41896 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41897
418982010-08-31 Andreas Schwab <schwab@redhat.com>
41899
41900 [BZ #7066]
41901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41902 shifting retval into place.
41903
419042010-09-01 Ulrich Drepper <drepper@redhat.com>
41905
41906 * nis/rpcsvc/nis.h: Update copyright notice.
41907 * nis/rpcsvc/nis.x: Likewise.
41908 * nis/rpcsvc/nis_callback.h: Likewise.
41909 * nis/rpcsvc/nis_callback.x: Likewise.
41910 * nis/rpcsvc/nis_object.x: Likewise.
41911 * nis/rpcsvc/nis_tags.h: Likewise.
41912 * nis/rpcsvc/yp.h: Likewise.
41913 * nis/rpcsvc/yp.x: Likewise.
41914 * nis/rpcsvc/ypupd.h: Likewise.
41915 * nis/yp_xdr.c: Likewise.
41916 * nis/ypupdate_xdr.c: Likewise.
41917
41918 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41919 mainly the body of pmap_getport. Add parameters to specify timeouts.
41920 (pmap_getport): Use __libc_rpc_getport.
41921 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41922 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41923 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41924
419252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41926
41927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41928 fanotify_mark.
41929
419302010-08-27 Roland McGrath <roland@redhat.com>
41931
41932 * sysdeps/i386/i686/multiarch/Makefile
41933 (CFLAGS-varshift.c): New variable.
41934
419352010-08-27 Ulrich Drepper <drepper@redhat.com>
41936
41937 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41938 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41939
41940 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41941
41942 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41943
419442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41945
41946 * sysdeps/x86_64/strlen.S: Unroll the loop.
41947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41948 strlen-sse2 strlen-sse2-bsf.
41949 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41950 __strlen_no_bsf if bit_Slow_BSF is set.
41951 (__strlen_sse42): Removed.
41952 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41953 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41954
419552010-08-25 Roland McGrath <roland@redhat.com>
41956
41957 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41958 * sysdeps/x86_64/multiarch/varshift.c: New file.
41959 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41960 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41961 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41962 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41963
419642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41965
41966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41967 strlen-sse2 strlen-sse2-bsf.
41968 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41969 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41970 (__strlen_sse2): Removed.
41971 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41972 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41974 bit_Slow_BSF for Atom.
41975 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41976 (index_Slow_BSF): Define.
41977 (HAS_SLOW_BSF): Define.
41978
419792010-08-25 Ulrich Drepper <drepper@redhat.com>
41980
41981 [BZ #10851]
41982 * resolv/res_init.c (__res_vinit): When no server address at all
41983 is given default to loopback.
41984
419852010-08-24 Roland McGrath <roland@redhat.com>
41986
41987 * configure.in: Remove config-name.h generation.
41988 * configure: Regenerated.
41989 * config-name.in: File removed.
41990 * scripts/config-uname.sh: New file.
41991 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41992 ($(objdir)config-name.h): New target.
41993
41994 * sunrpc/rpc_parse.h: Avoid nested comment.
41995
419962010-08-24 Richard Henderson <rth@redhat.com>
41997 Ulrich Drepper <drepper@redhat.com>
41998 H.J. Lu <hongjiu.lu@intel.com>
41999
42000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42002 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42003 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42004 _mm_alignr_epi8 with _mm_loadu_si128.
42005 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42006 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42007 (__m128i_shift_right): Removed.
42008 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42009 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42010 * sysdeps/x86_64/multiarch/varshift.h: New file.
42011 * sysdeps/x86_64/multiarch/varshift.S: New file.
42012
420132010-08-21 Mike Frysinger <vapier@gentoo.org>
42014
42015 * configure.in: Move assembler checks to before sysdep dir checking.
42016
420172010-08-20 Petr Baudis <pasky@suse.cz>
42018
42019 * LICENSES: Sync the sunrpc license.
42020
420212010-08-19 Ulrich Drepper <drepper@redhat.com>
42022
42023 * sunrpc/auth_des.c: Update copyright notice once again.
42024 * sunrpc/auth_none.c: Likewise.
42025 * sunrpc/auth_unix.c: Likewise.
42026 * sunrpc/authdes_prot.c: Likewise.
42027 * sunrpc/authuxprot.c: Likewise.
42028 * sunrpc/bindrsvprt.c: Likewise.
42029 * sunrpc/clnt_gen.c: Likewise.
42030 * sunrpc/clnt_perr.c: Likewise.
42031 * sunrpc/clnt_raw.c: Likewise.
42032 * sunrpc/clnt_simp.c: Likewise.
42033 * sunrpc/clnt_tcp.c: Likewise.
42034 * sunrpc/clnt_udp.c: Likewise.
42035 * sunrpc/clnt_unix.c: Likewise.
42036 * sunrpc/des_crypt.c: Likewise.
42037 * sunrpc/des_soft.c: Likewise.
42038 * sunrpc/get_myaddr.c: Likewise.
42039 * sunrpc/getrpcport.c: Likewise.
42040 * sunrpc/key_call.c: Likewise.
42041 * sunrpc/key_prot.c: Likewise.
42042 * sunrpc/openchild.c: Likewise.
42043 * sunrpc/pm_getmaps.c: Likewise.
42044 * sunrpc/pm_getport.c: Likewise.
42045 * sunrpc/pmap_clnt.c: Likewise.
42046 * sunrpc/pmap_prot.c: Likewise.
42047 * sunrpc/pmap_prot2.c: Likewise.
42048 * sunrpc/pmap_rmt.c: Likewise.
42049 * sunrpc/rpc/auth.h: Likewise.
42050 * sunrpc/rpc/auth_unix.h: Likewise.
42051 * sunrpc/rpc/clnt.h: Likewise.
42052 * sunrpc/rpc/des_crypt.h: Likewise.
42053 * sunrpc/rpc/key_prot.h: Likewise.
42054 * sunrpc/rpc/netdb.h: Likewise.
42055 * sunrpc/rpc/pmap_clnt.h: Likewise.
42056 * sunrpc/rpc/pmap_prot.h: Likewise.
42057 * sunrpc/rpc/pmap_rmt.h: Likewise.
42058 * sunrpc/rpc/rpc.h: Likewise.
42059 * sunrpc/rpc/rpc_des.h: Likewise.
42060 * sunrpc/rpc/rpc_msg.h: Likewise.
42061 * sunrpc/rpc/svc.h: Likewise.
42062 * sunrpc/rpc/svc_auth.h: Likewise.
42063 * sunrpc/rpc/types.h: Likewise.
42064 * sunrpc/rpc/xdr.h: Likewise.
42065 * sunrpc/rpc_clntout.c: Likewise.
42066 * sunrpc/rpc_cmsg.c: Likewise.
42067 * sunrpc/rpc_common.c: Likewise.
42068 * sunrpc/rpc_cout.c: Likewise.
42069 * sunrpc/rpc_dtable.c: Likewise.
42070 * sunrpc/rpc_hout.c: Likewise.
42071 * sunrpc/rpc_main.c: Likewise.
42072 * sunrpc/rpc_parse.c: Likewise.
42073 * sunrpc/rpc_parse.h: Likewise.
42074 * sunrpc/rpc_prot.c: Likewise.
42075 * sunrpc/rpc_sample.c: Likewise.
42076 * sunrpc/rpc_scan.c: Likewise.
42077 * sunrpc/rpc_scan.h: Likewise.
42078 * sunrpc/rpc_svcout.c: Likewise.
42079 * sunrpc/rpc_tblout.c: Likewise.
42080 * sunrpc/rpc_util.c: Likewise.
42081 * sunrpc/rpc_util.h: Likewise.
42082 * sunrpc/rpcinfo.c: Likewise.
42083 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42084 * sunrpc/rpcsvc/key_prot.x: Likewise.
42085 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42086 * sunrpc/rpcsvc/mount.x: Likewise.
42087 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42088 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42089 * sunrpc/rpcsvc/rex.x: Likewise.
42090 * sunrpc/rpcsvc/rstat.x: Likewise.
42091 * sunrpc/rpcsvc/rusers.x: Likewise.
42092 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42093 * sunrpc/rpcsvc/spray.x: Likewise.
42094 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42095 * sunrpc/rtime.c: Likewise.
42096 * sunrpc/svc.c: Likewise.
42097 * sunrpc/svc_auth.c: Likewise.
42098 * sunrpc/svc_authux.c: Likewise.
42099 * sunrpc/svc_raw.c: Likewise.
42100 * sunrpc/svc_run.c: Likewise.
42101 * sunrpc/svc_simple.c: Likewise.
42102 * sunrpc/svc_tcp.c: Likewise.
42103 * sunrpc/svc_udp.c: Likewise.
42104 * sunrpc/svc_unix.c: Likewise.
42105 * sunrpc/svcauth_des.c: Likewise.
42106 * sunrpc/xcrypt.c: Likewise.
42107 * sunrpc/xdr.c: Likewise.
42108 * sunrpc/xdr_array.c: Likewise.
42109 * sunrpc/xdr_float.c: Likewise.
42110 * sunrpc/xdr_mem.c: Likewise.
42111 * sunrpc/xdr_rec.c: Likewise.
42112 * sunrpc/xdr_ref.c: Likewise.
42113 * sunrpc/xdr_sizeof.c: Likewise.
42114 * sunrpc/xdr_stdio.c: Likewise.
42115
42116 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42117 handling.
42118
421192010-08-19 Andreas Schwab <schwab@redhat.com>
42120
42121 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42122
421232010-08-19 Luis Machado <luisgpm@br.ibm.com>
42124
42125 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42126 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42127 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42128 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42129 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42130 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42131 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42132 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42133 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42134 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42135 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42136 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42137 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42138 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42139
421402010-07-26 Anton Blanchard <anton@samba.org>
42141
42142 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42143 * malloc/arena.c (heap_trim): Likewise.
42144
421452010-08-16 Ulrich Drepper <drepper@redhat.com>
42146
42147 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42148 here. Not...
42149 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42150 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42151
421522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42153
42154 * sysdeps/i386/elf/Makefile: New file.
42155
421562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42157
42158 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42159 from fanotify_init.
42160 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42162
421632010-08-15 Ulrich Drepper <drepper@redhat.com>
42164
42165 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42166 of strncasecmp_l.
42167 * sysdeps/multiarch/strcmp.S: Likewise.
42168
421692010-08-14 Ulrich Drepper <drepper@redhat.com>
42170
42171 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42172 strncase_l-nonascii.
42173 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42174 Add strncase_l-ssse3.
42175 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42176 * sysdeps/x86_64/strcmp.S: Likewise.
42177 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42178 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42179 * sysdeps/x86_64/strncase.S: New file.
42180 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42181 * sysdeps/x86_64/strncase_l.S: New file.
42182 * string/Makefile (strop-tests): Add strncasecmp.
42183 * string/test-strncasecmp.c: New file.
42184
42185 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42186 warning.
42187
42188 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42189 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42190
421912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42192
42193 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42194
421952010-08-12 Ulrich Drepper <drepper@redhat.com>
42196
42197 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42198 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42199 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42200
422012010-05-01 Alan Modra <amodra@gmail.com>
42202
42203 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42204 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42205 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42206 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42207 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42208 tidying. Don't tail-call __sigjmp_save for static lib.
42209 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42210 save location.
42211 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42212 (CALL_MCOUNT): Add eh info, and nop after bl.
42213 (TAIL_CALL_SYSCALL_ERROR): New macro.
42214 (PSEUDO_RET): Use it.
42215 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42216 Correct save location of integer regs and cr.
42217 (_dl_profile_resolve): Correct cr save location. Delete nops
42218 after bl when SHARED. Reduce cfi size a little by better
42219 placement of cfi directives.
42220 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42221 make a stack frame. Instead use parm save area as a temp.
42222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42223 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42225 Don't make a stack frame for parent, use parm save area.
42226 Increase child stack frame to 112 bytes. Don't save unused reg,
42227 and adjust reg usage. Set up cfi on error recovery and
42228 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42230 (__makecontext): Add dummy nop after jump to exit.
42231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42232 Use correct parm save area and cr save, reduce stack frame.
42233 Correct cfi for possible PSEUDO_RET frame setup.
42234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42235 Branch to local label emitted by PSEUDO_RET rather than
42236 __syscall_error.
42237
422382010-08-12 Andreas Schwab <schwab@redhat.com>
42239
42240 [BZ #11904]
42241 * locale/programs/locale.c (print_assignment): New function.
42242 (show_locale_vars): Use it.
42243
422442010-08-11 Ulrich Drepper <drepper@redhat.com>
42245
42246 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42247 field.
42248 (struct statfs64): Likewise.
42249 (_STATFS_F_FLAGS): Define.
42250 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42251 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42252 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42253 (ST_VALID): Define locally.
42254 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42255 __statvfs_getflags, use the provided value.
42256 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42257 __ASSUME_STATFS_F_FLAGS.
42258
42259 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42260
42261 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42262 Add sys/fanotify.h.
42263 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42264 fanotify_mask for GLIBC_2.13.
42265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42266 fanotify_init and fanotify_mark.
42267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42268 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42269
42270 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42271 Add prlimit.
42272 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42273 prlimit64 for GLIBC_2.13.
42274 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42275 prlimit64.
42276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42277 syscall.
42278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42279 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42280 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42281 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42282 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42283 add prlimit alias.
42284 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42285
42286 [BZ #11903]
42287 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42288 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42289
42290 * nss/Makefile: Add rules to build and run tst-nss-test1.
42291 * shlib-versions: Add entry for libnss_test1.
42292 * nss/nss_test1.c: New file.
42293 * nss/tst-nss-test1.c: New file.
42294
42295 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42296 (__nss_configure_lookup): Set appropriate entry in
42297 __nss_configure_lookup to true.
42298 * nss/nsswitch.h: Define enum with indeces of databases in
42299 databases and __nss_database_custom arrays. Declare
42300 __nss_database_custom.
42301 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42302 to avoid using nscd when custom rules are installed.
42303 * nss/getXXbyYY_r.c: Likewise.
42304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42305
42306 * nss/nss_files/files-parse.c: Whitespace fixes.
42307
423082010-08-09 Ulrich Drepper <drepper@redhat.com>
42309
42310 [BZ #11883]
42311 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42312 * posix/fnmatch_loop.c: Likewise.
42313
423142010-07-17 Andi Kleen <ak@linux.intel.com>
42315
42316 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42317 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42318 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42319 * Versions.def [GLIBC_2.13]: Add.
42320
423212010-08-06 Ulrich Drepper <drepper@redhat.com>
42322
42323 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42324 Also fail if tpwd after pwuid call is NULL.
42325
423262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42327
42328 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42329 when converting to ms.
42330
423312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42332
42333 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42334 EOPNOTSUPP errors with ENOTTY.
42335 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42336 EOPNOTSUPP errors with ENOTTY.
42337
423382010-07-31 Ulrich Drepper <drepper@redhat.com>
42339
42340 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42341 Add strcasecmp_l-ssse3.
42342 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42343 strcasecmp.
42344 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42345 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42346 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42347
423482010-07-30 Ulrich Drepper <drepper@redhat.com>
42349
42350 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42351
42352 * string/Makefile (strop-tests): Add strcasecmp.
42353 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42354 strcasecmp_l-nonascii.
42355 (gen-as-const-headers): Add locale-defines.sym.
42356 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42357 * sysdeps/x86_64/strcasecmp.S: New file.
42358 * sysdeps/x86_64/strcasecmp_l.S: New file.
42359 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42360 * sysdeps/x86_64/locale-defines.sym: New file.
42361 * string/test-strcasecmp.c: New file.
42362
42363 * string/test-strcasestr.c: Test both ends of the range of characters.
42364 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42365
423662010-07-29 Roland McGrath <roland@redhat.com>
42367
42368 [BZ #11856]
42369 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42370
423712010-07-27 Ulrich Drepper <drepper@redhat.com>
42372
42373 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42374 for ld.so.
42375
423762010-07-27 Andreas Schwab <schwab@redhat.com>
42377
42378 * manual/memory.texi (Malloc Tunable Parameters): Document
42379 M_PERTURB.
42380
423812010-07-26 Roland McGrath <roland@redhat.com>
42382
42383 [BZ #11840]
42384 * configure.in (-fgnu89-inline check): Set and substitute
42385 gnu89_inline, not libc_cv_gnu89_inline.
42386 * configure: Regenerated.
42387 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42388
423892010-07-26 Ulrich Drepper <drepper@redhat.com>
42390
42391 * string/test-strnlen.c: New file.
42392 * string/Makefile (strop-tests): Add strnlen.
42393 * string/tester.c (test_strnlen): Add a few more test cases.
42394 * string/tst-strlen.c: Better error reporting.
42395
42396 * sysdeps/x86_64/strnlen.S: New file.
42397
423982010-07-24 Ulrich Drepper <drepper@redhat.com>
42399
42400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42401 lower-latency instructions.
42402
424032010-07-23 Ulrich Drepper <drepper@redhat.com>
42404
42405 * string/test-strcasestr.c: New file.
42406 * string/test-strstr.c: New file.
42407 * string/Makefile (strop-tests): Add strstr and strcasestr.
42408 * string/str-two-way.h: Don't undefine MAX.
42409 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42410
424112010-07-21 Andreas Schwab <schwab@redhat.com>
42412
42413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42414 strcasestr-nonascii.
42415 (CFLAGS-strcasestr-nonascii.c): Define.
42416 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42418 Remove unused attribute.
42419
424202010-07-20 Roland McGrath <roland@redhat.com>
42421
42422 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42423 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42424 ld.so.cache was broken. With it, there is no way to disable dsocaps
42425 like LD_HWCAP_MASK can disable hwcaps.
42426
424272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42428
42429 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42430
424312010-07-16 Ulrich Drepper <drepper@redhat.com>
42432
42433 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42434 call in strcasestr.
42435 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42436 __strcasestr_sse42_nonascii.
42437 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42438 strcasestr-nonascii.c.
42439 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42440
424412010-06-15 Luis Machado <luisgpm@br.ibm.com>
42442
42443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42445 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42447
424482010-07-09 Ulrich Drepper <drepper@redhat.com>
42449
42450 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42451 fcntl.
42452
424532010-07-06 Andreas Schwab <schwab@redhat.com>
42454
42455 [BZ #11577]
42456 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42457 dl_signal_cerror.
42458
424592010-07-06 Ulrich Drepper <drepper@redhat.com>
42460
42461 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42462 _PC_PIPE_BUF using F_GETPIPE_SZ.
42463
424642010-07-05 Roland McGrath <roland@redhat.com>
42465
42466 * manual/arith.texi (Rounding Functions): Fix rint description
42467 implicit in round description.
42468
424692010-07-02 Ulrich Drepper <drepper@redhat.com>
42470
42471 * elf/Makefile: Fix linking for a few tests to make recent linker
42472 happy.
42473
424742010-06-30 Andreas Schwab <schwab@redhat.com>
42475
42476 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42477 $(common-objpfx)libc_nonshared.a.
42478
424792010-06-21 Luis Machado <luisgpm@br.ibm.com>
42480
42481 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42482 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42483 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42484 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42485 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42486 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42487 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42488 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42503 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42504 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42505 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42506 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42507 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42508 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42509 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42510 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42511 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42512 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42513 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42514 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42529
425302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42531
42532 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42533 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42534 * string/memmove.c (memmove): Renamed to ...
42535 (MEMMOVE): ...this. Default to memmove.
42536 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42537 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42538 (END_CHK): Define.
42539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42540 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42541 mempcpy-ssse3-back memmove-ssse3-back.
42542 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42543 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42544 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42545 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42546 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42547 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42548 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42549 * sysdeps/x86_64/multiarch/memmove.c: New file.
42550 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42551 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42552 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42553 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42554 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42555 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42556 Define.
42557 (index_Fast_Copy_Backward): Define.
42558 (HAS_ARCH_FEATURE): Define.
42559 (HAS_FAST_REP_STRING): Define.
42560 (HAS_FAST_COPY_BACKWARD): Define.
42561
425622010-06-21 Andreas Schwab <schwab@redhat.com>
42563
42564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42565 Restore proper fallback handling.
42566
425672010-06-19 Ulrich Drepper <drepper@redhat.com>
42568
42569 [BZ #11701]
42570 * posix/group_member.c (__group_member): Correct checking loop.
42571
42572 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42573 OOM in getpwuid_r correctly. Return error number when the caller
42574 should return, otherwise -1.
42575 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42576 call returning > 0 value.
42577 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42578
425792010-06-07 Andreas Schwab <schwab@redhat.com>
42580
42581 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42582 libc_nonshared.a from targets in modules-names.
42583
425842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42585
42586 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42587 requires it.
42588
425892010-06-10 Luis Machado <luisgpm@br.ibm.com>
42590
42591 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42592 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42593 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42594 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42595
425962010-06-02 Andreas Schwab <schwab@redhat.com>
42597
42598 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42599
426002010-06-14 Ulrich Drepper <drepper@redhat.com>
42601
42602 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42603 and F_GETPIPE_SZ.
42604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42608 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42609 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42610
426112010-06-14 Roland McGrath <roland@redhat.com>
42612
42613 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42614
426152010-06-07 Jakub Jelinek <jakub@redhat.com>
42616
42617 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42618 __REDIRECT followed by __THROW.
42619 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42620 * posix/getopt.h (getopt): Likewise.
42621
426222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42623
42624 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42625 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42626 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42627 in AT_FLAGS.
42628 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42629 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42630
426312010-05-28 Luis Machado <luisgpm@br.ibm.com>
42632
42633 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42634
426352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42636
42637 [BZ #11640]
42638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42639 Properly check family and model.
42640
426412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42642
42643 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42644
426452010-05-24 Luis Machado <luisgpm@br.ibm.com>
42646
42647 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42648
426492010-05-21 Ulrich Drepper <drepper@redhat.com>
42650
42651 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42652 symbol reference.
42653
426542010-05-19 Andreas Schwab <schwab@redhat.com>
42655
42656 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42657 symbol reference.
42658
426592010-05-21 Andreas Schwab <schwab@redhat.com>
42660
42661 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42662 and internal_recvmmsg.
42663 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42664 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42665 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42666 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42667
42668 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42669 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42670 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42671
426722010-05-20 Andreas Schwab <schwab@redhat.com>
42673
42674 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42675
426762010-05-17 Luis Machado <luisgpm@br.ibm.com>
42677
42678 POWER7 optimizations.
42679 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42680 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42681
426822010-05-19 Ulrich Drepper <drepper@redhat.com>
42683
42684 * version.h: Update for 2.13 development version.
42685
426862010-05-12 Andrew Stubbs <ams@codesourcery.com>
42687
42688 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42689 exceptions. Return 0.
42690
426912010-05-07 Roland McGrath <roland@redhat.com>
42692
42693 * elf/ldconfig.c (main): Add a const.
42694
426952010-05-06 Ulrich Drepper <drepper@redhat.com>
42696
42697 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42698 (args_options): Add no-idn option.
42699 (ahosts_keys_int): Add idn_flags to ai_flags.
42700 (parse_option): Handle 'i' option to clear idn_flags.
42701
42702 * malloc/malloc.c (_int_free): Possible race in the most recently
42703 added check. Only act on the data if no current modification
42704 happened.
42705
42706See ChangeLog.17 for earlier changes.