NEWS: Add 16712, 16713, 16714 to fixed bug list.
[glibc.git] / ChangeLog
blobe819c2db272be67a3c07eb4da94101d7734fe031
1 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17         [BZ #16634]
18         * elf/dl-load.c (open_verify): Add mode parameter.
19         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20         (open_path): Change from boolean 'secure' to complete flag 'mode'
21         (_dl_map_object): Adjust.
22         * elf/Makefile (tests): Add tst-dlopen-aout.
23         * elf/tst-dlopen-aout.c: New test.
25 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
27         [BZ #16714]
28         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29         (struct stat): Rename member pad0 to __glibc_reserved0.
31 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33         [BZ #16712]
34         * sysdeps/s390/s390-32/bits/wordsize.h
35         (__WORDSIZE32_SIZE_ULONG): New define.
36         * sysdeps/s390/s390-64/bits/wordsize.h
37         (__WORDSIZE32_SIZE_ULONG): Likewise.
38         * sysdeps/generic/stdint.h (SIZE_MAX):
39         Define as UL if __WORDSIZE32_SIZE_ULONG.
41 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43         [BZ #16713]
44         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45         (__glibc_reserved0): New variable.
46         (sa_flags): Change type to int.
48 2014-03-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50         * posix/Makefile (before-compile): Use += before-compile instead
51         of a :=.
53 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
55         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
56         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
58 2014-03-20  Andreas Schwab  <schwab@suse.de>
60         [BZ #16743]
61         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
62         non-matching result from nscd.
64 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
66         * scripts/bench.py: Moved to ...
67         * benchtests/scripts/bench.py: ... here.
68         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
70 2014-03-24  Andreas Schwab  <schwab@suse.de>
72         [BZ #16002]
73         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
74         alloca_account and account alloca use for struct in6ailist.
76 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
78         [BZ #16284]
79         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
80         rounding mode to recompute results that overflow to infinity or
81         underflow to zero.
82         * math/auto-libm-test-in: Don't mark tests as expected to fail for
83         bug 16284.
84         * math/auto-libm-test-out: Regenerated.
85         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
86         (ccosh_test): Likewise.
87         (csin_test_data): Use plus_oflow.
88         (csin_test): Use ALL_RM_TEST.
89         (csinh_test_data): Use plus_oflow.
90         (csinh_test): Use ALL_RM_TEST.
91         * sysdeps/i386/fpu/libm-test-ulps: Update.
92         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
96         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
97         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
98         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
100         [BZ #16731]
101         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
102         when x - 1 is zero.
103         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
104         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
105         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
106         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
107         argument is 1.
108         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
109         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
110         zero.
111         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
112         * sysdeps/i386/fpu/libm-test-ulps: Update.
113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
115 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
117         * scripts/bench.pl: Remove file.
118         * scripts/bench.py: New benchmark script.
119         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
120         * benchtests/README: Mention python dependency.
121         * scripts/pylintrc: New file.
122         * scripts/pylint: New file.
124         * bits/mathdef.h: Use #ifdef instead of #if.
125         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
126         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
127         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
128         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
129         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
130         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
132 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
133             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
135         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
137         and strpbrk-ppc64 objects.
138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
139         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
140         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
141         multiarch strpbrk for POWER7.
142         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
143         multiarch strpbrk for PPC64.
144         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
145         ifunc selector.
146         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
147         strpbrk for POWER7.
149 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
151         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
152         (atan_test): Likewise.
153         (atanh_test_data): Use NO_TEST_INLINE for two tests.
154         (atanh_test): Use ALL_RM_TEST.
155         (atan2_test_data): Likewise.
156         (cabs_test): Likewise.
157         (cacosh_test): Likewise.
158         (carg_test): Likewise.
159         (casin_test): Likewise.
160         (casinh_test): Likewise.
161         (cbrt_test): Likewise.
162         (csqrt_test): Likewise.
163         (erf_test): Likewise.
164         (erfc_test): Likewise.
165         (pow10_test): Likewise.
166         (exp2_test): Likewise.
167         (hypot_test): Likewise.
168         (j0_test): Likewise.
169         (j1_test): Likewise.
170         (lgamma_test): Likewise.
171         (gamma_test): Likewise.
172         (sincos_test): Likewise.
173         (tanh_test): Likewise.
174         (y0_test): Likewise.
175         (y1_test): Likewise.
176         * sysdeps/i386/fpu/libm-test-ulps: Update.
177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
179 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
181         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
183         and strcspn-ppc64 objects.
184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
185         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
186         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
187         multiarch strcspn for POWER7.
188         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
189         multiarch strcspn for PPC64.
190         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
191         ifunc selector.
192         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
193         strcspn for POWER7.
195 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
197         * math/gen-libm-test.pl (generate_testfile): Expect only function
198         name as argument to AUTO_TESTS_* and pass results for all rounding
199         modes to parse_args.
200         (parse_auto_input): Separate inputs of automatic tests from
201         outputs before storing in %auto_tests.
202         * math/libm-test.inc (acos_test_data): Update call to
203         AUTO_TESTS_f_f.
204         (acos_test): Use ALL_RM_TEST.
205         (acos_tonearest_test_data): Remove.
206         (acos_test_tonearest): Likewise.
207         (acos_towardzero_test_data): Likewise.
208         (acos_test_towardzero): Likewise.
209         (acos_downward_test_data): Likewise.
210         (acos_test_downward): Likewise.
211         (acos_upward_test_data): Likewise.
212         (acos_test_upward): Likewise.
213         (acosh_test_data): Update call to AUTO_TESTS_f_f.
214         (asin_test_data): Likewise.
215         (asin_test): Use ALL_RM_TEST.
216         (asin_tonearest_test_data): Remove.
217         (asin_test_tonearest): Likewise.
218         (asin_towardzero_test_data): Likewise.
219         (asin_test_towardzero): Likewise.
220         (asin_downward_test_data): Likewise.
221         (asin_test_downward): Likewise.
222         (asin_upward_test_data): Likewise.
223         (asin_test_upward): Likewise.
224         (asinh_test_data): Update call to AUTO_TESTS_f_f.
225         (atan_test_data): Likewise.
226         (atanh_test_data): Likewise.
227         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
228         (cabs_test_data): Update call to AUTO_TESTS_c_f.
229         (carg_test_data): Likewise.
230         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
231         (ccos_test_data): Update call to AUTO_TESTS_c_c.
232         (ccosh_test_data): Likewise.
233         (cexp_test_data): Likewise.
234         (clog_test_data): Likewise.
235         (clog10_test_data): Likewise.
236         (cos_test_data): Update call to AUTO_TESTS_f_f.
237         (cos_test): Use ALL_RM_TEST.
238         (cos_tonearest_test_data): Remove.
239         (cos_test_tonearest): Likewise.
240         (cos_towardzero_test_data): Likewise.
241         (cos_test_towardzero): Likewise.
242         (cos_downward_test_data): Likewise.
243         (cos_test_downward): Likewise.
244         (cos_upward_test_data): Likewise.
245         (cos_test_upward): Likewise.
246         (cosh_test_data): Update call to AUTO_TESTS_f_f.
247         (cosh_test): Use ALL_RM_TEST.
248         (cosh_tonearest_test_data): Remove.
249         (cosh_test_tonearest): Likewise.
250         (cosh_towardzero_test_data): Likewise.
251         (cosh_test_towardzero): Likewise.
252         (cosh_downward_test_data): Likewise.
253         (cosh_test_downward): Likewise.
254         (cosh_upward_test_data): Likewise.
255         (cosh_test_upward): Likewise.
256         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
257         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
258         (ctan_test_data): Likewise.
259         (ctan_test): Use ALL_RM_TEST.
260         (ctan_tonearest_test_data): Remove.
261         (ctan_test_tonearest): Likewise.
262         (ctan_towardzero_test_data): Likewise.
263         (ctan_test_towardzero): Likewise.
264         (ctan_downward_test_data): Likewise.
265         (ctan_test_downward): Likewise.
266         (ctan_upward_test_data): Likewise.
267         (ctan_test_upward): Likewise.
268         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
269         (ctanh_test): Use ALL_RM_TEST.
270         (ctanh_tonearest_test_data): Remove.
271         (ctanh_test_tonearest): Likewise.
272         (ctanh_towardzero_test_data): Likewise.
273         (ctanh_test_towardzero): Likewise.
274         (ctanh_downward_test_data): Likewise.
275         (ctanh_test_downward): Likewise.
276         (ctanh_upward_test_data): Likewise.
277         (ctanh_test_upward): Likewise.
278         (erf_test_data): Update call to AUTO_TESTS_f_f.
279         (erfc_test_data): Likewise.
280         (exp_test_data): Likewise.
281         (exp_test): Use ALL_RM_TEST.
282         (exp_tonearest_test_data): Remove.
283         (exp_test_tonearest): Likewise.
284         (exp_towardzero_test_data): Likewise.
285         (exp_test_towardzero): Likewise.
286         (exp_downward_test_data): Likewise.
287         (exp_test_downward): Likewise.
288         (exp_upward_test_data): Likewise.
289         (exp_test_upward): Likewise.
290         (exp10_test_data): Update call to AUTO_TESTS_f_f.
291         (exp10_test): Use ALL_RM_TEST.
292         (exp10_tonearest_test_data): Remove.
293         (exp10_test_tonearest): Likewise.
294         (exp10_towardzero_test_data): Likewise.
295         (exp10_test_towardzero): Likewise.
296         (exp10_downward_test_data): Likewise.
297         (exp10_test_downward): Likewise.
298         (exp10_upward_test_data): Likewise.
299         (exp10_test_upward): Likewise.
300         (exp2_test_data): Update call to AUTO_TESTS_f_f.
301         (expm1_test_data): Likewise.
302         (expm1_test): Use ALL_RM_TEST.
303         (expm1_tonearest_test_data): Remove.
304         (expm1_test_tonearest): Likewise.
305         (expm1_towardzero_test_data): Likewise.
306         (expm1_test_towardzero): Likewise.
307         (expm1_downward_test_data): Likewise.
308         (expm1_test_downward): Likewise.
309         (expm1_upward_test_data): Likewise.
310         (expm1_test_upward): Likewise.
311         (fma_test_data): Update call to AUTO_TESTS_fff_f.
312         (fma_test): Use ALL_RM_TEST.
313         (fma_towardzero_test_data): Remove.
314         (fma_test_towardzero): Likewise.
315         (fma_downward_test_data): Likewise.
316         (fma_test_downward): Likewise.
317         (fma_upward_test_data): Likewise.
318         (fma_test_upward): Likewise.
319         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
320         (j0_test_data): Update call to AUTO_TESTS_f_f.
321         (j1_test_data): Likewise.
322         (jn_test_data): Update call to AUTO_TESTS_if_f.
323         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
324         (log_test_data): Update call to AUTO_TESTS_f_f.
325         (log10_test_data): Likewise.
326         (log1p_test_data): Likewise.
327         (log2_test_data): Likewise.
328         (pow_test_data): Update call to AUTO_TESTS_ff_f.
329         (pow_tonearest_test_data): Likewise.
330         (sin_test_data): Update call to AUTO_TESTS_f_f.
331         (sin_test): Use ALL_RM_TEST.
332         (sin_tonearest_test_data): Remove.
333         (sin_test_tonearest): Likewise.
334         (sin_towardzero_test_data): Likewise.
335         (sin_test_towardzero): Likewise.
336         (sin_downward_test_data): Likewise.
337         (sin_test_downward): Likewise.
338         (sin_upward_test_data): Likewise.
339         (sin_test_upward): Likewise.
340         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
341         (sinh_test_data): Update call to AUTO_TESTS_f_f.
342         (sinh_test): Use ALL_RM_TEST.
343         (sinh_tonearest_test_data): Remove.
344         (sinh_test_tonearest): Likewise.
345         (sinh_towardzero_test_data): Likewise.
346         (sinh_test_towardzero): Likewise.
347         (sinh_downward_test_data): Likewise.
348         (sinh_test_downward): Likewise.
349         (sinh_upward_test_data): Likewise.
350         (sinh_test_upward): Likewise.
351         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
352         (sqrt_test): Use ALL_RM_TEST.
353         (sqrt_tonearest_test_data): Remove.
354         (sqrt_test_tonearest): Likewise.
355         (sqrt_towardzero_test_data): Likewise.
356         (sqrt_test_towardzero): Likewise.
357         (sqrt_downward_test_data): Likewise.
358         (sqrt_test_downward): Likewise.
359         (sqrt_upward_test_data): Likewise.
360         (sqrt_test_upward): Likewise.
361         (tan_test_data): Update call to AUTO_TESTS_f_f.
362         (tan_test): Use ALL_RM_TEST.
363         (tan_tonearest_test_data): Remove.
364         (tan_test_tonearest): Likewise.
365         (tan_towardzero_test_data): Likewise.
366         (tan_test_towardzero): Likewise.
367         (tan_downward_test_data): Likewise.
368         (tan_test_downward): Likewise.
369         (tan_upward_test_data): Likewise.
370         (tan_test_upward): Likewise.
371         (tanh_test_data): Update call to AUTO_TESTS_f_f.
372         (tgamma_test_data): Likewise.
373         (y0_test_data): Likewise.
374         (y1_test_data): Likewise.
375         (yn_test_data): Update call to AUTO_TESTS_if_f.
376         (main): Do not call removed functions.
378 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
380         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
381         (ldexp_test_data): Remove.
382         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
383         scalbn_test_data.
384         (scalb_test): Use ALL_RM_TEST.
386 2014-03-19  Andreas Schwab  <schwab@suse.de>
388         * nscd/nscd.service: Also invalidate netgroup cache on reload.
390 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
392         [BZ #16649]
393         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
394         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
395         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
397         (__ASSUME_PREADV): Undefine.
398         (__ASSUME_PWRITEV): Likewise.
400 2014-03-18  Roland McGrath  <roland@hack.frob.com>
402         * bits/mman-linux.h: Add comment about non-Linux use.
403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
404         bits/mman-linux.h resting place.
406         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
407         * bits/mman-linux.h: ... here.
409 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
411         * conform/conformtest.pl: Add standard definition when calling C
412         preprocessor on data files.
413         (checknamespace): Remove unused variable.
415 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
417         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
418         minus_oflow, plus_uflow and minus_uflow in expected results.
419         * math/libm-test.inc (scalbn_test_data): Add more tests of
420         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
421         minus_uflow.
422         (scalbn_test): Use ALL_RM_TEST.
423         (scalbln_test_data): Add more tests of negative arguments.  Use
424         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
425         (scalbln_test): Use ALL_RM_TEST.
427 2014-03-18  Roland McGrath  <roland@hack.frob.com>
429         * scripts/abilist.awk: Ignore symbols marked with .hidden.
431 2014-03-18  Will Newton  <will.newton@linaro.org>
433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
434         inaccurate comment.
436 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
438         * Makerules [!subdir] (check-abi): Exit with error status if a
439         test failed.
441 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
443         * math/libm-test.inc (nearbyint_test_data): Include all tests used
444         for rint.  Include results for all rounding modes.
445         (nearbyint_test): Use ALL_RM_TEST.
446         (rint_test_data): Include all tests used for nearbyint.
448 2014-03-17  Will Newton  <will.newton@linaro.org>
450         * nptl/sysdeps/pthread/pthread.h: Revert previous
451         change.
453         * sysdeps/generic/ldsodefs.h: Revert previous
454         change.
456         * libio/genops.c: Revert previous change.
457         * libio/libioP.h: Likewise.
458         * stdio-common/vfprintf.c: Likewise.
460         * sysdeps/generic/math_private.h: Revert previous
461         change.
463         * sysdeps/generic/math_private.h: Check whether
464         HAVE_RM_CTX is defined with #ifdef rather
465         than #if.
467         * argp/argp-fmtstream.h: Check whether
468         __STRICT_ANSI__ is defined with #ifdef rather
469         than #if.
470         * argp/argp.h: Likewise.
472         * libio/genops.c: Check whether
473         _IO_JUMPS_OFFSET is defined with #ifdef rather
474         than #if.
475         * libio/libioP.h: Likewise.
476         * stdio-common/vfprintf.c: Likewise.
478         * sysdeps/generic/ldsodefs.h: Check whether
479         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
480         than #if.
482         * nptl/sysdeps/pthread/pthread.h: Check
483         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
484         its value.
486 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
488         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
489         setting O_APPEND.
490         * libio/tst-ftell-active-handler.c (do_append_test): Add a
491         test case.
493         [BZ #16680]
494         * libio/fileops.c (_IO_file_open): Seek to end of file but
495         don't cache the offset.
496         (get_file_offset): Remove function.
497         (do_ftell): Use cached offset when available.
498         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
499         don't cache the offset.
500         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
501         case.
502         (do_one_test): Call it.
503         (do_ftell_test): Fix up expected old offset for a+ mode.
504         * libio/wfileops.c (do_ftell_wide): Used cached offset when
505         available.
507         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
508         up test status with function return status.
509         (do_write_test): Likewise.
510         (do_append_test): Likewise.
512         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
513         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
514         Remove.
516 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
518         * math/gen-libm-test.pl (parse_args): Handle results specified for
519         each rounding mode separately.
520         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
521         tests and results from lrint_tonearest_test_data,
522         lrint_towardzero_test_data, lrint_downward_test_data and
523         lrint_upward_test_data.
524         (lrint_test): Use ALL_RM_TEST.
525         (lrint_tonearest_test_data): Remove.
526         (lrint_test_tonearest): Likewise.
527         (lrint_towardzero_test_data): Likewise.
528         (lrint_test_towardzero): Likewise.
529         (lrint_downward_test_data): Likewise.
530         (lrint_test_downward): Likewise.
531         (lrint_upward_test_data): Likewise.
532         (lrint_test_upward): Likewise.
533         (llrint_test_data): Merge in per-rounding-mode tests and results
534         from llrint_tonearest_test_data, llrint_towardzero_test_data,
535         llrint_downward_test_data and llrint_upward_test_data.
536         (llrint_test): Use ALL_RM_TEST.
537         (llrint_tonearest_test_data): Remove.
538         (llrint_test_tonearest): Likewise.
539         (llrint_towardzero_test_data): Likewise.
540         (llrint_test_towardzero): Likewise.
541         (llrint_downward_test_data): Likewise.
542         (llrint_test_downward): Likewise.
543         (llrint_upward_test_data): Likewise.
544         (llrint_test_upward): Likewise.
545         (rint_test_data): Merge in per-rounding-mode tests and results
546         from rint_tonearest_test_data, rint_towardzero_test_data,
547         rint_downward_test_data and rint_upward_test_data.  Add
548         per-rounding-mode results for tests not in those arrays.
549         (rint_test): Use ALL_RM_TEST.
550         (rint_tonearest_test_data): Remove.
551         (rint_test_tonearest): Likewise.
552         (rint_towardzero_test_data): Likewise.
553         (rint_test_towardzero): Likewise.
554         (rint_downward_test_data): Likewise.
555         (rint_test_downward): Likewise.
556         (rint_upward_test_data): Likewise.
557         (rint_test_upward): Likewise.
558         (main): Don't call removed functions.
560 2014-03-14  Roland McGrath  <roland@hack.frob.com>
562         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
563         "Compiled on ..." crapola.  It is anti-useful.
565 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
567         * scripts/evaluate-test.sh: Handle fourth argument to determine
568         whether test run should stop on failure.
569         * Makeconfig (stop-on-test-failure): New variable.
570         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
571         $(stop-on-test-failure).
572         * Makefile (tests): Give a summary of results from testing and
573         exit with failure status if they include an ERROR or FAIL.
574         (xtests): Likewise.
575         * manual/install.texi (Configuring and compiling): Mention
576         stop-on-test-failure=y.
577         * INSTALL: Regenerated.
579 2014-03-14  Roland McGrath  <roland@hack.frob.com>
581         * scripts/versionlist.awk: New file.
582         * Makerules [$(build-shared) = yes]
583         (postclean-generated): Add Versions.def, not Versions.def.v and
584         Versions.def.v.i.
585         ($(common-objpfx)Versions.def.v.i): Target removed.
586         ($(common-objpfx)Versions.def): New target.
587         ($(common-objpfx)Versions.all): Depend on that rather that
588         $(common-objpfx)Versions.def.v.
589         * Versions.def: File removed.
591         * Makeconfig (+gccwarn): Add -Wundef.
592         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
593         a dl-sysdep.h breaking its contract.
594         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
595         * include/stackinfo.h: New file.
596         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
597         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
598         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
599         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
600         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
601         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
602         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
603         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
604         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
605         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
606         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
607         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
608         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
609         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
610         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
612 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
614         [BZ #16707]
615         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
616         implementation.
617         * math/libm-test.inc (round_test_data): Add more tests.
619 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
621         [BZ #16706]
622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
623         implementation.
624         * math/libm-test.inc (nearbyint_test_data): Add more tests.
626 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
628         [BZ #16701]
629         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
630         implementation.
631         * math/libm-test.inc (ceil_test_data): Add more tests.
633 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
635         * math/libm-test.inc (trunc_test_data): Add more tests related to
636         BZ#16414.
638 2014-03-14  Roland McGrath  <roland@hack.frob.com>
640         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
641         with #if rather than #ifdef.
642         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
644 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
646         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
647         first.  Disable AVX-512 GCC support if assembler doesn't support
648         it.
649         * sysdeps/x86_64/configure: Regenerated.
651 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
653         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
654         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
655         (__old_pthread_attr_setstack): Likewise.
656         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
657         [!_STACK_GROWS_DOWN]: Likewise.
659 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
661         * config.make.in (have-bash2): Delete.
662         * configure.ac (libc_cv_have_bash2): Delete.
663         * configure: Regenerate.
664         * elf/Makefile (common-ldd-rewrite): Rename to ...
665         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
666         (sh-ldd-rewrite): Delete.
667         (bash-ldd-rewrite): Delete.
668         (have-bash2): Delete checks.
669         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
671 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
673         * config.make.in (have-ksh): Delete.
674         (KSH): Delete.
675         * configure.ac (libc_cv_have_ksh): Delete.
676         * configure: Regenerate.
678 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
680         * elf/Makefile: Delete $(have-ksh) check.
681         ($(objpfx)sotruss): Change KSH to BASH.
682         * elf/sotruss.ksh: Rename to ...
683         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
684         function style to match POSIX.  Drop ksh vim mode setting.
686 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
688         * manual/time.texi (Specifying the Time Zone with TZ): Change
689         Tuesday to Thursday.
691 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
693         * debug/tst-longjmp_chk2.c: Update header comment.
694         (stackoverflow_handler): Add comment.  Call assert on pass value.
696 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
698         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
699         (HAVE_AVX512_ASM_SUPPORT): Likewise.
700         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
701         (La_x86_64_vector): Add zmm.
702         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
703         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
704         ($(objpfx)tst-audit10): New target.
705         ($(objpfx)tst-audit10.out): Likewise.
706         (tst-audit10-ENV): New.
707         (AVX512-CFLAGS): Likewise.
708         (CFLAGS-tst-audit10.c): Likewise.
709         (CFLAGS-tst-auditmod10a.c): Likewise.
710         (CFLAGS-tst-auditmod10b.c): Likewise.
711         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
712         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
713         * sysdeps/x86_64/configure: Regenerated.
714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
715         AVX-512 zmm register support.
716         (_dl_x86_64_save_sse): Likewise.
717         (_dl_x86_64_restore_sse): Likewise.
718         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
719         size vector registers.
720         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
721         (ZMM_SIZE): Likewise.
722         * sysdeps/x86_64/tst-audit10.c: New file.
723         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
724         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
726 2014-03-13  Roland McGrath  <roland@hack.frob.com>
728         * configure.ac (HAVE_EHDR_START): New check.
729         * configure: Regenerated.
730         * config.h.in (HAVE_EHDR_START): New #undef.
731         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
732         assuming the lowest-addressed segment maps the start of the file.
734 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
736         * INSTALL: Regenerated.
738 2014-03-13  Will Newton  <will.newton@linaro.org>
740         * manual/setjmp.texi (System V contexts): Improve
741         clarity and grammar of documentation.
743 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
745         [BZ #16381]
746         * elf/Makefile (tests): Add tst-pie2.
747         (tests-pie): Add tst-pie2.
748         * elf/tst-pie2.c: New file.
749         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
750         for ET_EXEC.
751         * elf/rtld.c (map_doit): Load executable as lt_executable.
752         (dl_main): Likewise.
754 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
756         [BZ #16642]
757         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
758         (__ASSUME_PSELECT): Undefine.
760 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
762         [BZ #16689]
763         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
764         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
765         static build.
766         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
767         selector for static builds.
769 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
771         [BZ #16695]
772         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
773         key in the buffer.
775 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
777         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
778         selector for static builds.
780 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
782         * sysdeps/mips/math_private.h [__mips_hard_float]
783         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
784         libc_feresetround_mips_ctx.
785         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
786         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
787         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
789         [BZ #16677]
790         * math/s_nextafter.c (__nextafter): Do not return value from
791         overflowing computation.
792         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
793         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
794         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
795         Likewise.
796         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
797         Likewise.
798         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
799         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
801 2014-03-11  Roland McGrath  <roland@hack.frob.com>
803         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
804         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
805         Move sfi_sp use from the load-multiple (that no longer sets sp) to
806         the new mov targetting sp.
808 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
810         [BZ #16683]
811         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
812         Define it for static builds as well.
813         (NO_BZERO_IMPL): Likewise.
815 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
817         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
818         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
819         multiarch strspn for PPC64.
820         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
821         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
823         (__libc_ifunc_impl_list): Likewise.
824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
825         multiarch optimizations
826         * string/strspn.c (strspn): Using macro to redefine symbol name.
828 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
829             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
831         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
832         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
833         multiarch strncat for PPC64.
834         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
835         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
837         (__libc_ifunc_impl_list): Likewise.
838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
839         multiarch optimizations
841 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
843         [BZ #16639]
844         * nscd/nscd.service: Make service type forking.
846 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
848         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
849         sign in non default rounding modes.
850         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
852 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
854         * math/libm-test.inc (ALL_RM_TEST): New macro.
855         (ceil_test): Use ALL_RM_TEST.
856         (cimag_test): Likewise.
857         (conj_test): Likewise.
858         (copysign_test): Likewise.
859         (cproj_test): Likewise.
860         (creal_test): Likewise.
861         (fabs_test): Likewise.
862         (floor_test): Likewise.
863         (fmax_test): Likewise.
864         (fmin_test): Likewise.
865         (fmod_test): Likewise.
866         (fpclassify_test): Likewise.
867         (frexp_test): Likewise.
868         (ilogb_test): Likewise.
869         (isfinite_test): Likewise.
870         (finite_test): Likewise.
871         (isgreater_test): Likewise.
872         (isgreaterequal_test): Likewise.
873         (isinf_test): Likewise.
874         (isless_test): Likewise.
875         (islessequal_test): Likewise.
876         (islessgreater_test): Likewise.
877         (isnan_test): Likewise.
878         (isnormal_test): Likewise.
879         (issignaling_test): Likewise.
880         (isunordered_test): Likewise.
881         (logb_test): Likewise.
882         (logb_downward_test_data): Remove.
883         (logb_test_downward): Likewise.
884         (lround_test): Use ALL_RM_TEST.
885         (llround_test): Likewise.
886         (modf_test): Likewise.
887         (nexttoward_test): Likewise.
888         (remainder_test): Likewise.
889         (drem_test): Likewise.
890         (remainder_tonearest_test_data): Likewise.
891         (remainder_test_tonearest): Likewise.
892         (drem_test_tonearest): Likewise.
893         (remainder_towardzero_test_data): Likewise.
894         (remainder_test_towardzero): Likewise.
895         (drem_test_towardzero): Likewise.
896         (remainder_downward_test_data): Likewise.
897         (remainder_test_downward): Likewise.
898         (drem_test_downward): Likewise.
899         (remainder_upward_test_data): Likewise.
900         (remainder_test_upward): Likewise.
901         (drem_test_upward): Likewise.
902         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
903         (round_test): Use ALL_RM_TEST.
904         (signbit_test): Likewise.
905         (trunc_test): Likewise.
906         (significand_test): Likewise.
907         (main): Don't call removed functions.
909 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
911         [BZ #16674]
912         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
913         || __USE_XOPEN2K8].
914         (ILL_ILLOPN): Likewise.
915         (ILL_ILLADR): Likewise.
916         (ILL_ILLTRP): Likewise.
917         (ILL_PRVOPC): Likewise.
918         (ILL_PRVREG): Likewise.
919         (ILL_COPROC): Likewise.
920         (ILL_BADSTK): Likewise.
921         (FPE_INTDIV): Likewise.
922         (FPE_INTOVF): Likewise.
923         (FPE_FLTDIV): Likewise.
924         (FPE_FLTOVF): Likewise.
925         (FPE_FLTUND): Likewise.
926         (FPE_FLTRES): Likewise.
927         (FPE_FLTINV): Likewise.
928         (FPE_FLTSUB): Likewise.
929         (SEGV_MAPERR): Likewise.
930         (SEGV_ACCERR): Likewise.
931         (BUS_ADRALN): Likewise.
932         (BUS_ADRERR): Likewise.
933         (BUS_OBJERR): Likewise.
934         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
935         (TRAP_TRACE): Likewise.
936         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
937         __USE_XOPEN2K8].
938         (CLD_KILLED): Likewise.
939         (CLD_DUMPED): Likewise.
940         (CLD_TRAPPED): Likewise.
941         (CLD_STOPPED): Likewise.
942         (CLD_CONTINUED): Likewise.
943         (POLL_IN): Likewise.
944         (POLL_OUT): Likewise.
945         (POLL_MSG): Likewise.
946         (POLL_ERR): Likewise.
947         (POLL_PRI): Likewise.
948         (POLL_HUP): Likewise.
949         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
950         Likewise.
951         (ILL_ILLOPN): Likewise.
952         (ILL_ILLADR): Likewise.
953         (ILL_ILLTRP): Likewise.
954         (ILL_PRVOPC): Likewise.
955         (ILL_PRVREG): Likewise.
956         (ILL_COPROC): Likewise.
957         (ILL_BADSTK): Likewise.
958         (FPE_INTDIV): Likewise.
959         (FPE_INTOVF): Likewise.
960         (FPE_FLTDIV): Likewise.
961         (FPE_FLTOVF): Likewise.
962         (FPE_FLTUND): Likewise.
963         (FPE_FLTRES): Likewise.
964         (FPE_FLTINV): Likewise.
965         (FPE_FLTSUB): Likewise.
966         (SEGV_MAPERR): Likewise.
967         (SEGV_ACCERR): Likewise.
968         (BUS_ADRALN): Likewise.
969         (BUS_ADRERR): Likewise.
970         (BUS_OBJERR): Likewise.
971         (BUS_MCEERR_AR): Likewise.
972         (BUS_MCEERR_AO): Likewise.
973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
974         (TRAP_TRACE): Likewise.
975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
976         __USE_XOPEN2K8].
977         (CLD_KILLED): Likewise.
978         (CLD_DUMPED): Likewise.
979         (CLD_TRAPPED): Likewise.
980         (CLD_STOPPED): Likewise.
981         (CLD_CONTINUED): Likewise.
982         (POLL_IN): Likewise.
983         (POLL_OUT): Likewise.
984         (POLL_MSG): Likewise.
985         (POLL_ERR): Likewise.
986         (POLL_PRI): Likewise.
987         (POLL_HUP): Likewise.
988         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
989         (ILL_ILLOPN): Likewise.
990         (ILL_ILLADR): Likewise.
991         (ILL_ILLTRP): Likewise.
992         (ILL_PRVOPC): Likewise.
993         (ILL_PRVREG): Likewise.
994         (ILL_COPROC): Likewise.
995         (ILL_BADSTK): Likewise.
996         (FPE_INTDIV): Likewise.
997         (FPE_INTOVF): Likewise.
998         (FPE_FLTDIV): Likewise.
999         (FPE_FLTOVF): Likewise.
1000         (FPE_FLTUND): Likewise.
1001         (FPE_FLTRES): Likewise.
1002         (FPE_FLTINV): Likewise.
1003         (FPE_FLTSUB): Likewise.
1004         (SEGV_MAPERR): Likewise.
1005         (SEGV_ACCERR): Likewise.
1006         (BUS_ADRALN): Likewise.
1007         (BUS_ADRERR): Likewise.
1008         (BUS_OBJERR): Likewise.
1009         (BUS_MCEERR_AR): Likewise.
1010         (BUS_MCEERR_AO): Likewise.
1011         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1012         (TRAP_TRACE): Likewise.
1013         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1014         __USE_XOPEN2K8].
1015         (CLD_KILLED): Likewise.
1016         (CLD_DUMPED): Likewise.
1017         (CLD_TRAPPED): Likewise.
1018         (CLD_STOPPED): Likewise.
1019         (CLD_CONTINUED): Likewise.
1020         (POLL_IN): Likewise.
1021         (POLL_OUT): Likewise.
1022         (POLL_MSG): Likewise.
1023         (POLL_ERR): Likewise.
1024         (POLL_PRI): Likewise.
1025         (POLL_HUP): Likewise.
1026         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1027         Likewise.
1028         (ILL_ILLOPN): Likewise.
1029         (ILL_ILLADR): Likewise.
1030         (ILL_ILLTRP): Likewise.
1031         (ILL_PRVOPC): Likewise.
1032         (ILL_PRVREG): Likewise.
1033         (ILL_COPROC): Likewise.
1034         (ILL_BADSTK): Likewise.
1035         (ILL_BADIADDR): Likewise.
1036         (ILL_BREAK): Likewise.
1037         (FPE_INTDIV): Likewise.
1038         (FPE_INTOVF): Likewise.
1039         (FPE_FLTDIV): Likewise.
1040         (FPE_FLTOVF): Likewise.
1041         (FPE_FLTUND): Likewise.
1042         (FPE_FLTRES): Likewise.
1043         (FPE_FLTINV): Likewise.
1044         (FPE_FLTSUB): Likewise.
1045         (FPE_DECOVF): Likewise.
1046         (FPE_DECDIV): Likewise.
1047         (FPE_DECERR): Likewise.
1048         (FPE_INVASC): Likewise.
1049         (FPE_INVDEC): Likewise.
1050         (SEGV_MAPERR): Likewise.
1051         (SEGV_ACCERR): Likewise.
1052         (SEGV_PSTKOVF): Likewise.
1053         (BUS_ADRALN): Likewise.
1054         (BUS_ADRERR): Likewise.
1055         (BUS_OBJERR): Likewise.
1056         (BUS_MCEERR_AR): Likewise.
1057         (BUS_MCEERR_AO): Likewise.
1058         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1059         (TRAP_TRACE): Likewise.
1060         (TRAP_BRANCH): Likewise.
1061         (TRAP_HWBKPT): Likewise.
1062         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1063         __USE_XOPEN2K8].
1064         (CLD_KILLED): Likewise.
1065         (CLD_DUMPED): Likewise.
1066         (CLD_TRAPPED): Likewise.
1067         (CLD_STOPPED): Likewise.
1068         (CLD_CONTINUED): Likewise.
1069         (POLL_IN): Likewise.
1070         (POLL_OUT): Likewise.
1071         (POLL_MSG): Likewise.
1072         (POLL_ERR): Likewise.
1073         (POLL_PRI): Likewise.
1074         (POLL_HUP): Likewise.
1075         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1076         (ILL_ILLOPN): Likewise.
1077         (ILL_ILLADR): Likewise.
1078         (ILL_ILLTRP): Likewise.
1079         (ILL_PRVOPC): Likewise.
1080         (ILL_PRVREG): Likewise.
1081         (ILL_COPROC): Likewise.
1082         (ILL_BADSTK): Likewise.
1083         (FPE_INTDIV): Likewise.
1084         (FPE_INTOVF): Likewise.
1085         (FPE_FLTDIV): Likewise.
1086         (FPE_FLTOVF): Likewise.
1087         (FPE_FLTUND): Likewise.
1088         (FPE_FLTRES): Likewise.
1089         (FPE_FLTINV): Likewise.
1090         (FPE_FLTSUB): Likewise.
1091         (SEGV_MAPERR): Likewise.
1092         (SEGV_ACCERR): Likewise.
1093         (BUS_ADRALN): Likewise.
1094         (BUS_ADRERR): Likewise.
1095         (BUS_OBJERR): Likewise.
1096         (BUS_MCEERR_AR): Likewise.
1097         (BUS_MCEERR_AO): Likewise.
1098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1099         (TRAP_TRACE): Likewise.
1100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1101         __USE_XOPEN2K8].
1102         (CLD_KILLED): Likewise.
1103         (CLD_DUMPED): Likewise.
1104         (CLD_TRAPPED): Likewise.
1105         (CLD_STOPPED): Likewise.
1106         (CLD_CONTINUED): Likewise.
1107         (POLL_IN): Likewise.
1108         (POLL_OUT): Likewise.
1109         (POLL_MSG): Likewise.
1110         (POLL_ERR): Likewise.
1111         (POLL_PRI): Likewise.
1112         (POLL_HUP): Likewise.
1113         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1114         (ILL_ILLOPN): Likewise.
1115         (ILL_ILLADR): Likewise.
1116         (ILL_ILLTRP): Likewise.
1117         (ILL_PRVOPC): Likewise.
1118         (ILL_PRVREG): Likewise.
1119         (ILL_COPROC): Likewise.
1120         (ILL_BADSTK): Likewise.
1121         (FPE_INTDIV): Likewise.
1122         (FPE_INTOVF): Likewise.
1123         (FPE_FLTDIV): Likewise.
1124         (FPE_FLTOVF): Likewise.
1125         (FPE_FLTUND): Likewise.
1126         (FPE_FLTRES): Likewise.
1127         (FPE_FLTINV): Likewise.
1128         (FPE_FLTSUB): Likewise.
1129         (SEGV_MAPERR): Likewise.
1130         (SEGV_ACCERR): Likewise.
1131         (BUS_ADRALN): Likewise.
1132         (BUS_ADRERR): Likewise.
1133         (BUS_OBJERR): Likewise.
1134         (BUS_MCEERR_AR): Likewise.
1135         (BUS_MCEERR_AO): Likewise.
1136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1137         (TRAP_TRACE): Likewise.
1138         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1139         __USE_XOPEN2K8].
1140         (CLD_KILLED): Likewise.
1141         (CLD_DUMPED): Likewise.
1142         (CLD_TRAPPED): Likewise.
1143         (CLD_STOPPED): Likewise.
1144         (CLD_CONTINUED): Likewise.
1145         (POLL_IN): Likewise.
1146         (POLL_OUT): Likewise.
1147         (POLL_MSG): Likewise.
1148         (POLL_ERR): Likewise.
1149         (POLL_PRI): Likewise.
1150         (POLL_HUP): Likewise.
1151         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1152         (ILL_ILLOPN): Likewise.
1153         (ILL_ILLADR): Likewise.
1154         (ILL_ILLTRP): Likewise.
1155         (ILL_PRVOPC): Likewise.
1156         (ILL_PRVREG): Likewise.
1157         (ILL_COPROC): Likewise.
1158         (ILL_BADSTK): Likewise.
1159         (FPE_INTDIV): Likewise.
1160         (FPE_INTOVF): Likewise.
1161         (FPE_FLTDIV): Likewise.
1162         (FPE_FLTOVF): Likewise.
1163         (FPE_FLTUND): Likewise.
1164         (FPE_FLTRES): Likewise.
1165         (FPE_FLTINV): Likewise.
1166         (FPE_FLTSUB): Likewise.
1167         (SEGV_MAPERR): Likewise.
1168         (SEGV_ACCERR): Likewise.
1169         (BUS_ADRALN): Likewise.
1170         (BUS_ADRERR): Likewise.
1171         (BUS_OBJERR): Likewise.
1172         (BUS_MCEERR_AR): Likewise.
1173         (BUS_MCEERR_AO): Likewise.
1174         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1175         (TRAP_TRACE): Likewise.
1176         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1177         __USE_XOPEN2K8].
1178         (CLD_KILLED): Likewise.
1179         (CLD_DUMPED): Likewise.
1180         (CLD_TRAPPED): Likewise.
1181         (CLD_STOPPED): Likewise.
1182         (CLD_CONTINUED): Likewise.
1183         (POLL_IN): Likewise.
1184         (POLL_OUT): Likewise.
1185         (POLL_MSG): Likewise.
1186         (POLL_ERR): Likewise.
1187         (POLL_PRI): Likewise.
1188         (POLL_HUP): Likewise.
1189         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1190         (ILL_ILLOPN): Likewise.
1191         (ILL_ILLADR): Likewise.
1192         (ILL_ILLTRP): Likewise.
1193         (ILL_PRVOPC): Likewise.
1194         (ILL_PRVREG): Likewise.
1195         (ILL_COPROC): Likewise.
1196         (ILL_BADSTK): Likewise.
1197         (ILL_DBLFLT): Likewise.
1198         (ILL_HARDWALL): Likewise.
1199         (FPE_INTDIV): Likewise.
1200         (FPE_INTOVF): Likewise.
1201         (FPE_FLTDIV): Likewise.
1202         (FPE_FLTOVF): Likewise.
1203         (FPE_FLTUND): Likewise.
1204         (FPE_FLTRES): Likewise.
1205         (FPE_FLTINV): Likewise.
1206         (FPE_FLTSUB): Likewise.
1207         (SEGV_MAPERR): Likewise.
1208         (SEGV_ACCERR): Likewise.
1209         (BUS_ADRALN): Likewise.
1210         (BUS_ADRERR): Likewise.
1211         (BUS_OBJERR): Likewise.
1212         (BUS_MCEERR_AR): Likewise.
1213         (BUS_MCEERR_AO): Likewise.
1214         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1215         (TRAP_TRACE): Likewise.
1216         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1217         __USE_XOPEN2K8].
1218         (CLD_KILLED): Likewise.
1219         (CLD_DUMPED): Likewise.
1220         (CLD_TRAPPED): Likewise.
1221         (CLD_STOPPED): Likewise.
1222         (CLD_CONTINUED): Likewise.
1223         (POLL_IN): Likewise.
1224         (POLL_OUT): Likewise.
1225         (POLL_MSG): Likewise.
1226         (POLL_ERR): Likewise.
1227         (POLL_PRI): Likewise.
1228         (POLL_HUP): Likewise.
1229         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1230         (ILL_ILLOPN): Likewise.
1231         (ILL_ILLADR): Likewise.
1232         (ILL_ILLTRP): Likewise.
1233         (ILL_PRVOPC): Likewise.
1234         (ILL_PRVREG): Likewise.
1235         (ILL_COPROC): Likewise.
1236         (ILL_BADSTK): Likewise.
1237         (FPE_INTDIV): Likewise.
1238         (FPE_INTOVF): Likewise.
1239         (FPE_FLTDIV): Likewise.
1240         (FPE_FLTOVF): Likewise.
1241         (FPE_FLTUND): Likewise.
1242         (FPE_FLTRES): Likewise.
1243         (FPE_FLTINV): Likewise.
1244         (FPE_FLTSUB): Likewise.
1245         (SEGV_MAPERR): Likewise.
1246         (SEGV_ACCERR): Likewise.
1247         (BUS_ADRALN): Likewise.
1248         (BUS_ADRERR): Likewise.
1249         (BUS_OBJERR): Likewise.
1250         (BUS_MCEERR_AR): Likewise.
1251         (BUS_MCEERR_AO): Likewise.
1252         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1253         (TRAP_TRACE): Likewise.
1254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1255         __USE_XOPEN2K8].
1256         (CLD_KILLED): Likewise.
1257         (CLD_DUMPED): Likewise.
1258         (CLD_TRAPPED): Likewise.
1259         (CLD_STOPPED): Likewise.
1260         (CLD_CONTINUED): Likewise.
1261         (POLL_IN): Likewise.
1262         (POLL_OUT): Likewise.
1263         (POLL_MSG): Likewise.
1264         (POLL_ERR): Likewise.
1265         (POLL_PRI): Likewise.
1266         (POLL_HUP): Likewise.
1267         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1268         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1270         [BZ #16670]
1271         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1272         before #include of <time.h>.
1273         [!__USE_XOPEN2K] (__need_timespec): Likewise.
1274         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1275         (test-xfail-UNIX98/sched.h/conform): Likewise.
1277 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1279         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1280         error absence of trapping exception support.
1281         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1283 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1285         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1286         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1287         * timezone/Makefile (testdata): Move definition above include of
1288         Rules.
1289         (test-zones): New variable.
1290         (tests-special): Add zone files.
1291         (build-testdata): Use $(evaluate-test).
1293         * elf/Makefile (tests-special): Rename tests to end with .out.
1294         ($(objpfx)noload-mem): Likewise.
1295         ($(objpfx)tst-leaks1-mem): Likewise.
1296         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1297         * iconv/Makefile (xtests-special): Change test-iconvconfig to
1298         $(objpfx)test-iconvconfig.out.
1299         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
1300         set -e inside subshell and redirect output to file.
1301         * iconvdata/Makefile (generated): Rename tests to end with .out.
1302         Correct type.
1303         (tests-special): Rename tests to end with .out.
1304         ($(objpfx)mtrace-tst-loading): Likewise.
1305         * intl/Makefile (generated): Likewise.
1306         (tests-special): Likewise.
1307         ($(objpfx)mtrace-tst-gettext): Likewise.
1308         * misc/Makefile (generated): Likewise.
1309         (tests-special): Likewise.
1310         ($(objpfx)tst-error1-mem): Likewise.
1311         * nptl/Makefile (tests-special): Likewise.
1312         ($(objpfx)tst-stack3-mem): Likewise.
1313         (generated): Likewise.
1314         * posix/Makefile (generated): Likewise.
1315         (tests-special): Likewise.
1316         (xtests-special): Likewise.
1317         ($(objpfx)tst-fnmatch-mem): Likewise.
1318         ($(objpfx)bug-regex2-mem): Likewise.
1319         ($(objpfx)bug-regex14-mem): Likewise.
1320         ($(objpfx)bug-regex21-mem): Likewise.
1321         ($(objpfx)bug-regex31-mem): Likewise.
1322         ($(objpfx)tst-vfork3-mem): Likewise.
1323         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1324         ($(objpfx)tst-pcre-mem): Likewise.
1325         ($(objpfx)tst-boost-mem): Likewise.
1326         ($(objpfx)bug-ga2-mem): Likewise.
1327         ($(objpfx)bug-glob2-mem): Likewise.
1328         * resolv/Makefile (generate): Likewise.
1329         (tests-special): Likewise.
1330         (xtests-special): Likewise.
1331         (generated): Likewise.
1332         ($(objpfx)mtrace-tst-leaks): Likewise.
1333         ($(objpfx)mtrace-tst-leaks2): Likewise.
1335         * scripts/merge-test-results.sh: New file.
1336         * Makefile (tests-special-notdir): New variable.
1337         (tests): Run merge-test-results.sh.
1338         (xtests): Likewise.
1339         * Rules (tests-special-notdir): New variable.
1340         (xtests-special-notdir): Likewise.
1341         (tests): Run merge-test-results.sh
1342         (xtests): Likewise.
1344         * Makeconfig (test-xfail-name): New variable.
1345         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1346         compute variable name for expected failures.
1347         * conform/Makefile (conformtest-headers-data): New variable.
1348         (conformtest-standards): Likewise.
1349         (conformtest-headers-ISO): Likewise.
1350         (conformtest-headers-ISO99): Likewise.
1351         (conformtest-headers-ISO11): Likewise.
1352         (conformtest-headers-POSIX): Likewise.
1353         (conformtest-headers-XPG3): Likewise.
1354         (conformtest-headers-XPG4): Likewise.
1355         (conformtest-headers-UNIX98): Likewise.
1356         (conformtest-headers-XOPEN2K): Likewise.
1357         (conformtest-headers-POSIX2008): Likewise.
1358         (conformtest-headers-XOPEN2K8): Likewise.
1359         (conformtest-header-list-base): Likewise.
1360         (conformtest-header-list-tests): Likewise.
1361         (conformtest-header-base): Likewise.
1362         (conformtest-header-tests): Likewise.
1363         (tests-special): Add $(conformtest-header-list-tests).  If
1364         [$(fast-check) && !$(cross-compiling)], add
1365         $(conformtest-header-tests) instead of
1366         $(objpfx)run-conformtest.out.
1367         (generated): Add $(conformtest-header-list-base).  If
1368         [$(fast-check) && !$(cross-compiling)], add
1369         $(conformtest-header-base).  Remove previous setting.
1370         ($(conformtest-header-list-tests)): New target.
1371         (test-xfail-run-conformtest): Remove variable.
1372         ($(objpfx)run-conformtest.out): Remove target.
1373         (test-xfail-ISO11/complex.h/conform): New variable.
1374         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1375         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1376         (test-xfail-XPG3/varargs.h/conform): Likewise.
1377         (test-xfail-XPG4/varargs.h/conform): Likewise.
1378         (test-xfail-UNIX98/varargs.h/conform): Likewise.
1379         (test-xfail-XPG4/ndbm.h/conform): Likewise.
1380         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1381         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1382         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1383         (test-xfail-XPG3/fcntl.h/conform): Likewise.
1384         (test-xfail-XPG3/ftw.h/conform): Likewise.
1385         (test-xfail-XPG3/grp.h/conform): Likewise.
1386         (test-xfail-XPG3/langinfo.h/conform): Likewise.
1387         (test-xfail-XPG3/limits.h/conform): Likewise.
1388         (test-xfail-XPG3/pwd.h/conform): Likewise.
1389         (test-xfail-XPG3/search.h/conform): Likewise.
1390         (test-xfail-XPG3/signal.h/conform): Likewise.
1391         (test-xfail-XPG3/stdio.h/conform): Likewise.
1392         (test-xfail-XPG3/stdlib.h/conform): Likewise.
1393         (test-xfail-XPG3/string.h/conform): Likewise.
1394         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1395         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1396         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1397         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1398         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1399         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1400         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1401         (test-xfail-XPG3/termios.h/conform): Likewise.
1402         (test-xfail-XPG3/time.h/conform): Likewise.
1403         (test-xfail-XPG3/unistd.h/conform): Likewise.
1404         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1405         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1406         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1407         (test-xfail-XPG4/netdb.h/conform): Likewise.
1408         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1409         (test-xfail-XPG4/signal.h/conform): Likewise.
1410         (test-xfail-XPG4/stdio.h/conform): Likewise.
1411         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1412         (test-xfail-XPG4/stropts.h/conform): Likewise.
1413         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1414         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1415         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1416         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1417         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1418         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1419         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1420         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1421         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1422         (test-xfail-XPG4/termios.h/conform): Likewise.
1423         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1424         (test-xfail-XPG4/unistd.h/conform): Likewise.
1425         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1426         (test-xfail-POSIX/sched.h/conform): Likewise.
1427         (test-xfail-POSIX/signal.h/conform): Likewise.
1428         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1429         (test-xfail-POSIX/tar.h/conform): Likewise.
1430         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1431         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1432         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1433         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1434         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1435         (test-xfail-UNIX98/sched.h/conform): Likewise.
1436         (test-xfail-UNIX98/signal.h/conform): Likewise.
1437         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1438         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1439         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1440         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1441         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1442         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1443         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1444         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1445         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1446         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1447         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1448         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1449         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1450         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1451         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1452         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1453         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1454         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1455         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1456         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1457         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1458         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1459         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1460         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1461         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1462         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1463         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1464         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1465         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1466         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1467         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1468         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1469         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1470         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1471         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1472         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1473         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1474         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1475         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1476         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1477         (test-xfail-POSIX2008/signal.h/conform): Likewise.
1478         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1479         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1480         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1481         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1482         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1483         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1484         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1485         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1486         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1487         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1488         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1489         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1490         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1491         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1492         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1493         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1494         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1495         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1496         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1497         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1498         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1499         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1500         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1501         (conformtest-cc-flags): Likewise.
1502         ($(conformtest-header-tests): New target.
1503         * conform/check-header-lists.sh: New file.
1504         * conform/run-conformtest.sh: Remove.
1506         * conform/conformtest.pl: Allow ' and \ in values given for
1507         constants.
1508         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1509         inclusion.
1510         [POSIX] (sys/types.h): Likewise.
1511         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1512         inclusion.
1513         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1514         inclusion.
1515         * conform/data/signal.h-data (SIGIO): Remove expectation.
1516         [XPG3] (SIGBUS): Do not expect.
1517         [POSIX || XPG3] (SIGPOLL): Likewise.
1518         [POSIX || XPG3] (SIGPROF): Likewise.
1519         [POSIX || XPG3] (SIGSYS): Likewise.
1520         [XPG3] (SIGTRAP): Likewise.
1521         [POSIX || XPG3] (SIGURG): Likewise.
1522         [POSIX || XPG3] (SIGVTALRM): Likewise.
1523         [POSIX || XPG3] (SIGXCPU): Likewise.
1524         [POSIX || XPG3] (SIGXFSZ): Likewise.
1525         [POSIX] (SA_SIGINFO): Expect.
1526         [XPG3] (siginfo_t): Do not expect type or contents.
1527         [POSIX] (si_pid): Do not expect element.
1528         [POSIX] (si_uid): Likewise.
1529         [POSIX] (si_addr): Likewise.
1530         [POSIX] (si_status): Likewise.
1531         [POSIX] (si_band): Likewise.
1532         [XPG4] (si_value): Likewise.
1533         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1534         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1535         [POSIX || XPG3] (ILL_ILLADR): Likewise.
1536         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1537         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1538         [POSIX || XPG3] (ILL_PRVREG): Likewise.
1539         [POSIX || XPG3] (ILL_COPROC): Likewise.
1540         [POSIX || XPG3] (ILL_BADSTK): Likewise.
1541         [POSIX || XPG3] (FPE_INTDIV): Likewise.
1542         [POSIX || XPG3] (FPE_INTOVF): Likewise.
1543         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1544         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1545         [POSIX || XPG3] (FPE_FLTUND): Likewise.
1546         [POSIX || XPG3] (FPE_FLTRES): Likewise.
1547         [POSIX || XPG3] (FPE_FLTINV): Likewise.
1548         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1549         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1550         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1551         [POSIX || XPG3] (BUS_ADRALN): Likewise.
1552         [POSIX || XPG3] (BUS_ADRERR): Likewise.
1553         [POSIX || XPG3] (BUS_OBJERR): Likewise.
1554         [POSIX || XPG3] (CLD_EXITED): Likewise.
1555         [POSIX || XPG3] (CLD_KILLED): Likewise.
1556         [POSIX || XPG3] (CLD_DUMPED): Likewise.
1557         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1558         [POSIX || XPG3] (CLD_STOPPED): Likewise.
1559         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1560         [POSIX || XPG3] (POLL_IN): Likewise.
1561         [POSIX || XPG3] (POLL_OUT): Likewise.
1562         [POSIX || XPG3] (POLL_MSG): Likewise.
1563         [POSIX || XPG3] (POLL_ERR): Likewise.
1564         [POSIX || XPG3] (POLL_PRI): Likewise.
1565         [POSIX || XPG3] (POLL_HUP): Likewise.
1566         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1567         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1568         (SIG*): Do not allow.
1569         [XPG3] (si_*): Likewise.
1570         [XPG3] (SI_*): Likewise.
1571         [XPG3 || XPG4] (sigev_*): Likewise.
1572         [XPG3 || XPG4] (SIGEV_*): Likewise.
1573         [XPG3 || XPG4] (sival_*): Likewise.
1574         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1575         [POSIX || XPG3] (BUS_*): Likewise.
1576         [POSIX || XPG3] (CLD_*): Likewise.
1577         [POSIX || XPG3] (FPE_*): Likewise.
1578         [POSIX || XPG3] (ILL_*): Likewise.
1579         [POSIX || XPG3] (POLL_*): Likewise.
1580         [POSIX || XPG3] (SEGV_*): Likewise.
1581         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1582         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1583         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1584         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1585         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1586         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1587         Specify type and value.
1588         (TVERSLEN): Likewise.
1589         (REGTYPE): Likewise.
1590         (AREGTYPE): Likewise.
1591         (LNKTYPE): Likewise.
1592         (SYMTYPE): Likewise.
1593         (CHRTYPE): Likewise.
1594         (BLKTYPE): Likewise.
1595         (DIRTYPE): Likewise.
1596         (FIFOTYPE): Likewise.
1597         (CONTTYPE): Likewise.
1598         (TSUID): Likewise.
1599         (TSGID): Likewise.
1600         (TSVTX): Likewise.
1601         (TUREAD): Likewise.
1602         (TUWRITE): Likewise.
1603         (TUEXEC): Likewise.
1604         (TGREAD): Likewise.
1605         (TGWRITE): Likewise.
1606         (TGEXEC): Likewise.
1607         (TOREAD): Likewise.
1608         (TOWRITE): Likewise.
1609         (TOEXEC): Likewise.
1610         [POSIX] (TSVTX): Expect constant.
1612 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
1614         * Makefile (tests): Change dependencies to ....
1615         (tests-special): ... additions to this variable.
1616         (tests): Depend on $(tests-special).
1617         * Makerules (check-abi-list): New variable.
1618         (check-abi): Depend on $(check-abi-list).
1619         [$(subdir) = elf] (tests-special): Add
1620         $(objpfx)check-abi-libc.out.
1621         [$(build-shared) = yes && subdir] (tests-special): Add
1622         $(check-abi-list).
1623         [$(build-shared) = yes && subdir] (tests): Do not depend on
1624         check-abi.
1625         * Rules (tests): Depend on $(tests-special).
1626         (xtests): Depend on $(xtests-special).
1627         * catgets/Makefile (tests): Change dependencies to ....
1628         (tests-special): ... additions to this variable.
1629         * conform/Makefile (tests): Change dependencies to ....
1630         (tests-special): ... additions to this variable.
1631         * elf/Makefile (tests): Change dependencies to ....
1632         (tests-special): ... additions to this variable.
1633         * grp/Makefile (tests): Change dependencies to ....
1634         (tests-special): ... additions to this variable.
1635         * iconv/Makefile (xtests): Change dependencies to ....
1636         (xtests-special): ... additions to this variable.
1637         * iconvdata/Makefile (tests): Change dependencies to ....
1638         (tests-special): ... additions to this variable.
1639         * intl/Makefile (tests): Change dependencies to ....
1640         (tests-special): ... additions to this variable.  Also add
1641         $(objpfx)tst-gettext.out.
1642         * io/Makefile (tests): Change dependencies to ....
1643         (tests-special): ... additions to this variable.
1644         * libio/Makefile (tests): Change dependencies to ....
1645         (tests-special): ... additions to this variable.
1646         * malloc/Makefile (tests): Change dependencies to ....
1647         (tests-special): ... additions to this variable.
1648         * misc/Makefile (tests): Change dependencies to ....
1649         (tests-special): ... additions to this variable.
1650         * nptl/Makefile (tests): Change dependencies to ....
1651         (tests-special): ... additions to this variable.
1652         * nptl_db/Makefile (tests): Change dependencies to ....
1653         (tests-special): ... additions to this variable.
1654         * posix/Makefile (tests): Change dependencies to ....
1655         (tests-special): ... additions to this variable.
1656         (xtests): Change dependencies to ....
1657         (xtests-special): ... additions to this variable.
1658         * resolv/Makefile (tests): Change dependencies to ....
1659         (tests-special): ... additions to this variable.
1660         (xtests): Change dependencies to ....
1661         (xtests-special): ... additions to this variable.
1662         * stdio-common/Makefile (tests): Change dependencies to ....
1663         (tests-special): ... additions to this variable.
1664         (do-tst-unbputc): Remove target.
1665         (do-tst-printf): Likewise.
1666         * stdlib/Makefile (tests): Change dependencies to ....
1667         (tests-special): ... additions to this variable.
1668         * string/Makefile (tests): Change dependencies to ....
1669         (tests-special): ... additions to this variable.
1670         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1671         (tests-special): ... additions to this variable.
1673         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1674         whole file.
1675         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1676         whole file.
1677         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1678         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1680         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1681         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1682         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1683         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1684         * conform/data/libgen.h-data [XPG3]: Likewise.
1685         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1686         * conform/data/ndbm.h-data [XPG3]: Likewise.
1687         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1688         * conform/data/netdb.h-data [XPG3]: Likewise.
1689         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1690         * conform/data/poll.h-data [XPG3]: Likewise.
1691         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1692         * conform/data/strings.h-data [XPG3]: Likewise.
1693         * conform/data/stropts.h-data [XPG3]: Likewise.
1694         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1695         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1696         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1697         Likewise.
1698         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1699         * conform/data/sys/time.h-data [XPG3]: Likewise.
1700         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1701         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1702         * conform/data/sys/un.h-data [XPG3]: Likewise.
1703         * conform/data/syslog.h-data [XPG3]: Likewise.
1704         * conform/data/ucontext.h-data [XPG3]: Likewise.
1705         * conform/data/utmpx.h-data [XPG3]: Likewise.
1706         * conform/data/varargs.h-data [UNIX98]: Enable file.
1708         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1710         * math/libm-test.inc (struct test_f_f_data): Move expected results
1711         into structure for each rounding mode.
1712         (struct test_ff_f_data): Likewise.
1713         (struct test_ff_f_data_nexttoward): Likewise.
1714         (struct test_fi_f_data): Likewise.
1715         (struct test_fl_f_data): Likewise.
1716         (struct test_if_f_data): Likewise.
1717         (struct test_fff_f_data): Likewise.
1718         (struct test_c_f_data): Likewise.
1719         (struct test_f_f1_data): Likewise.
1720         (struct test_fF_f1_data): Likewise.
1721         (struct test_ffI_f1_data): Likewise.
1722         (struct test_c_c_data): Likewise.
1723         (struct test_cc_c_data): Likewise.
1724         (struct test_f_i_data): Likewise.
1725         (struct test_ff_i_data): Likewise.
1726         (struct test_f_l_data): Likewise.
1727         (struct test_f_L_data): Likewise.
1728         (struct test_fFF_11_data): Likewise.
1729         (RM_): New macro.
1730         (RM_FE_DOWNWARD): Likewise.
1731         (RM_FE_TONEAREST): Likewise.
1732         (RM_FE_TOWARDZERO): Likewise.
1733         (RM_FE_UPWARD): Likewise.
1734         (RUN_TEST_LOOP_f_f): Update references to expected results.
1735         (RUN_TEST_LOOP_2_f): Likewise.
1736         (RUN_TEST_LOOP_fff_f): Likewise.
1737         (RUN_TEST_LOOP_c_f): Likewise.
1738         (RUN_TEST_LOOP_f_f1): Likewise.
1739         (RUN_TEST_LOOP_fF_f1): Likewise.
1740         (RUN_TEST_LOOP_fI_f1): Likewise.
1741         (RUN_TEST_LOOP_ffI_f1): Likewise.
1742         (RUN_TEST_LOOP_c_c): Likewise.
1743         (RUN_TEST_LOOP_cc_c): Likewise.
1744         (RUN_TEST_LOOP_f_i): Likewise.
1745         (RUN_TEST_LOOP_f_i_tg): Likewise.
1746         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1747         (RUN_TEST_LOOP_f_b): Likewise.
1748         (RUN_TEST_LOOP_f_b_tg): Likewise.
1749         (RUN_TEST_LOOP_f_l): Likewise.
1750         (RUN_TEST_LOOP_f_L): Likewise.
1751         (RUN_TEST_LOOP_fFF_11): Likewise.
1752         * math/gen-libm-test.pl (parse_args): Output four copies of
1753         expected results for each test.
1755         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1756         (__ASSUME_UTIMES): Remove.
1757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1758         (__ASSUME_UTIMES): Likewise.
1760         * math/gen-auto-libm-tests.c: Update comment on output format.
1761         (output_for_one_input_case): Generate before-rounding and
1762         after-rounding information as conditions on output flags not
1763         floating-point format.
1764         * math/auto-libm-test-out: Regenerated.
1765         * math/gen-libm-test.pl (cond_value): New function.
1766         (or_cond_value): Use cond_value.
1767         (generate_testfile): Handle conditional exceptions.
1769 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1771         * math/libm-test.inc (max_valid_error): New variable.
1772         (init_max_error): Take new argument specifying whether function
1773         results are exactly determined.  Set max_valid_error and bound
1774         other variables for errors based on this argument.
1775         (set_max_error): Do not record results above max_valid_error.
1776         (check_float_internal): Only accept errors of up to 0.5ulps if
1777         also at most max_valid_error.
1778         (START): Take new argument EXACT and pass it to init_max_error.
1779         (acos_test): Update call to START.
1780         (acos_test_tonearest): Likewise.
1781         (acos_test_towardzero): Likewise.
1782         (acos_test_downward): Likewise.
1783         (acos_test_upward): Likewise.
1784         (acosh_test): Likewise.
1785         (asin_test): Likewise.
1786         (asin_test_tonearest): Likewise.
1787         (asin_test_towardzero): Likewise.
1788         (asin_test_downward): Likewise.
1789         (asin_test_upward): Likewise.
1790         (asinh_test): Likewise.
1791         (atan_test): Likewise.
1792         (atanh_test): Likewise.
1793         (atan2_test): Likewise.
1794         (cabs_test): Likewise.
1795         (cacos_test): Likewise.
1796         (cacosh_test): Likewise.
1797         (carg_test): Likewise.
1798         (casin_test): Likewise.
1799         (casinh_test): Likewise.
1800         (catan_test): Likewise.
1801         (catanh_test): Likewise.
1802         (cbrt_test): Likewise.
1803         (ccos_test): Likewise.
1804         (ccosh_test): Likewise.
1805         (ceil_test): Likewise.
1806         (cexp_test): Likewise.
1807         (cimag_test): Likewise.
1808         (clog_test): Likewise.
1809         (clog10_test): Likewise.
1810         (conj_test): Likewise.
1811         (copysign_test): Likewise.
1812         (cos_test): Likewise.
1813         (cos_test_tonearest): Likewise.
1814         (cos_test_towardzero): Likewise.
1815         (cos_test_downward): Likewise.
1816         (cos_test_upward): Likewise.
1817         (cosh_test): Likewise.
1818         (cosh_test_tonearest): Likewise.
1819         (cosh_test_towardzero): Likewise.
1820         (cosh_test_downward): Likewise.
1821         (cosh_test_upward): Likewise.
1822         (cpow_test): Likewise.
1823         (cproj_test): Likewise.
1824         (creal_test): Likewise.
1825         (csin_test): Likewise.
1826         (csinh_test): Likewise.
1827         (csqrt_test): Likewise.
1828         (ctan_test): Likewise.
1829         (ctan_test_tonearest): Likewise.
1830         (ctan_test_towardzero): Likewise.
1831         (ctan_test_downward): Likewise.
1832         (ctan_test_upward): Likewise.
1833         (ctanh_test): Likewise.
1834         (ctanh_test_tonearest): Likewise.
1835         (ctanh_test_towardzero): Likewise.
1836         (ctanh_test_downward): Likewise.
1837         (ctanh_test_upward): Likewise.
1838         (erf_test): Likewise.
1839         (erfc_test): Likewise.
1840         (exp_test): Likewise.
1841         (exp_test_tonearest): Likewise.
1842         (exp_test_towardzero): Likewise.
1843         (exp_test_downward): Likewise.
1844         (exp_test_upward): Likewise.
1845         (exp10_test): Likewise.
1846         (exp10_test_tonearest): Likewise.
1847         (exp10_test_towardzero): Likewise.
1848         (exp10_test_downward): Likewise.
1849         (exp10_test_upward): Likewise.
1850         (pow10_test): Likewise.
1851         (exp2_test): Likewise.
1852         (expm1_test): Likewise.
1853         (expm1_test_tonearest): Likewise.
1854         (expm1_test_towardzero): Likewise.
1855         (expm1_test_downward): Likewise.
1856         (expm1_test_upward): Likewise.
1857         (fabs_test): Likewise.
1858         (fdim_test): Likewise.
1859         (floor_test): Likewise.
1860         (fma_test): Likewise.
1861         (fma_test_towardzero): Likewise.
1862         (fma_test_downward): Likewise.
1863         (fma_test_upward): Likewise.
1864         (fmax_test): Likewise.
1865         (fmin_test): Likewise.
1866         (fmod_test): Likewise.
1867         (fpclassify_test): Likewise.
1868         (frexp_test): Likewise.
1869         (hypot_test): Likewise.
1870         (ilogb_test): Likewise.
1871         (isfinite_test): Likewise.
1872         (finite_test): Likewise.
1873         (isgreater_test): Likewise.
1874         (isgreaterequal_test): Likewise.
1875         (isinf_test): Likewise.
1876         (isless_test): Likewise.
1877         (islessequal_test): Likewise.
1878         (islessgreater_test): Likewise.
1879         (isnan_test): Likewise.
1880         (isnormal_test): Likewise.
1881         (issignaling_test): Likewise.
1882         (isunordered_test): Likewise.
1883         (j0_test): Likewise.
1884         (j1_test): Likewise.
1885         (jn_test): Likewise.
1886         (ldexp_test): Likewise.
1887         (lgamma_test): Likewise.
1888         (gamma_test): Likewise.
1889         (lrint_test): Likewise.
1890         (lrint_test_tonearest): Likewise.
1891         (lrint_test_towardzero): Likewise.
1892         (lrint_test_downward): Likewise.
1893         (lrint_test_upward): Likewise.
1894         (llrint_test): Likewise.
1895         (llrint_test_tonearest): Likewise.
1896         (llrint_test_towardzero): Likewise.
1897         (llrint_test_downward): Likewise.
1898         (llrint_test_upward): Likewise.
1899         (log_test): Likewise.
1900         (log10_test): Likewise.
1901         (log1p_test): Likewise.
1902         (log2_test): Likewise.
1903         (logb_test): Likewise.
1904         (logb_test_downward): Likewise.
1905         (lround_test): Likewise.
1906         (llround_test): Likewise.
1907         (modf_test): Likewise.
1908         (nearbyint_test): Likewise.
1909         (nextafter_test): Likewise.
1910         (nexttoward_test): Likewise.
1911         (pow_test): Likewise.
1912         (pow_test_tonearest): Likewise.
1913         (pow_test_towardzero): Likewise.
1914         (pow_test_downward): Likewise.
1915         (pow_test_upward): Likewise.
1916         (remainder_test): Likewise.
1917         (drem_test): Likewise.
1918         (remainder_test_tonearest): Likewise.
1919         (drem_test_tonearest): Likewise.
1920         (remainder_test_towardzero): Likewise.
1921         (drem_test_towardzero): Likewise.
1922         (remainder_test_downward): Likewise.
1923         (drem_test_downward): Likewise.
1924         (remainder_test_upward): Likewise.
1925         (drem_test_upward): Likewise.
1926         (remquo_test): Likewise.
1927         (rint_test): Likewise.
1928         (rint_test_tonearest): Likewise.
1929         (rint_test_towardzero): Likewise.
1930         (rint_test_downward): Likewise.
1931         (rint_test_upward): Likewise.
1932         (round_test): Likewise.
1933         (scalb_test): Likewise.
1934         (scalbn_test): Likewise.
1935         (scalbln_test): Likewise.
1936         (signbit_test): Likewise.
1937         (sin_test): Likewise.
1938         (sin_test_tonearest): Likewise.
1939         (sin_test_towardzero): Likewise.
1940         (sin_test_downward): Likewise.
1941         (sin_test_upward): Likewise.
1942         (sincos_test): Likewise.
1943         (sinh_test): Likewise.
1944         (sinh_test_tonearest): Likewise.
1945         (sinh_test_towardzero): Likewise.
1946         (sinh_test_downward): Likewise.
1947         (sinh_test_upward): Likewise.
1948         (sqrt_test): Likewise.
1949         (sqrt_test_tonearest): Likewise.
1950         (sqrt_test_towardzero): Likewise.
1951         (sqrt_test_downward): Likewise.
1952         (sqrt_test_upward): Likewise.
1953         (tan_test): Likewise.
1954         (tan_test_tonearest): Likewise.
1955         (tan_test_towardzero): Likewise.
1956         (tan_test_downward): Likewise.
1957         (tan_test_upward): Likewise.
1958         (tanh_test): Likewise.
1959         (tgamma_test): Likewise.
1960         (trunc_test): Likewise.
1961         (y0_test): Likewise.
1962         (y1_test): Likewise.
1963         (yn_test): Likewise.
1964         (significand_test): Likewise.
1966         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1967         individual tests in comment.
1968         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1969         (prev_max_error): New variable.
1970         (prev_real_max_error): Likewise.
1971         (prev_imag_max_error): Likewise.
1972         (compare_ulp_data): Don't refer to test names in comment.
1973         (find_test_ulps): Remove function.
1974         (find_function_ulps): Likewise.
1975         (find_complex_function_ulps): Likewise.
1976         (init_max_error): Take function name as argument.  Look up ulps
1977         for that function.
1978         (print_ulps): Remove function.
1979         (print_max_error): Use prev_max_error instead of calling
1980         find_function_ulps.
1981         (print_complex_max_error): Use prev_real_max_error and
1982         prev_imag_max_error instead of calling find_complex_function_ulps.
1983         (check_float_internal): Take max_ulp parameter instead of calling
1984         find_test_ulps.  Don't call print_ulps.
1985         (check_float): Update call to check_float_internal.
1986         (check_complex): Update calls to check_float_internal.
1987         (START): Pass argument to init_max_error.
1988         * math/gen-libm-test.pl (%results): Don't include "kind"
1989         information.
1990         (parse_ulps): Don't handle ulps of individual tests.
1991         (print_ulps_file): Likewise.
1992         (output_ulps): Likewise.
1993         * math/README.libm-test: Update.
1994         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1995         individual tests.
1996         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1997         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1998         * sysdeps/arm/libm-test-ulps: Likewise.
1999         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2000         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2001         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2002         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2003         * sysdeps/microblaze/libm-test-ulps: Likewise.
2004         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2005         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2007         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2008         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2009         * sysdeps/sh/libm-test-ulps: Likewise.
2010         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2011         * sysdeps/tile/libm-test-ulps: Likewise.
2012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2014 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
2016         * math/libm-test.inc (print_complex_max_error): Check separately
2017         whether real and imaginary errors are within allowed range and
2018         pass 0 to print_complex_function_ulps instead of value within
2019         allowed range.
2021 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2023         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2024         formatting.
2025         (get_handles_fopen): Likewise.
2026         (do_write_test): Likewise.
2028         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2030         * libio/fileops.c (do_ftell): Use cached offset when
2031         available.
2032         * libio/iofwide.c (do_ftell_wide): Likewise.
2033         * libio/iofdopen.c (_IO_new_fdopen): Don't use
2034         _IO_file_attach.
2035         * libio/wfileops.c (_IO_fwide): Don't cache offset.
2037         [BZ #16532]
2038         * libio/libioP.h (get_file_offset): New function.
2039         * libio/fileops.c (get_file_offset): Likewise.
2040         (do_ftell): Likewise.
2041         (_IO_new_file_seekoff): Split out ftell logic.
2042         * libio/wfileops.c (do_ftell_wide): Likewise.
2043         (_IO_wfile_seekoff): Split out ftell logic.
2044         * libio/tst-ftell-active-handler.c: New test case.
2045         * libio/Makefile (tests): Add it.
2047 2014-03-03  Roland McGrath  <roland@hack.frob.com>
2049         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2050         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2052 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2054         [BZ #16639]
2055         * nscd/connections.c (nscd_init): Call do_exit.
2056         (start_threads): Call do_exit and notify_parent.
2057         (begin_drop_privileges): Call do_exit.
2058         (finish_drop_privileges): Likewise.
2059         * nscd/selinux.c (preserve_capabilities): Likewise.
2060         (install_real_capabilities): Likewise.
2061         (nscd_selinux_enabled): Likewise.
2062         (avc_create_thread): Likewise.
2063         (avc_alloc_lock): Likewise.
2064         (nscd_avc_init): Likewise.
2065         * nscd/nscd.c (parent_fd): New static variable.
2066         (main): Create a pipe between parent and child processes.
2067         Skip closing parent_fd.
2068         (monitor_child): New function.
2069         (do_exit): Likewise.
2070         (notify_parent): Likewise.
2071         * nscd/nscd.h (notify_parent): Likewise.
2072         (do_exit): Likewise.
2074 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
2076         * malloc/malloc.c (__libc_calloc): Revert last change.
2078 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2082 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2084         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2086         implementation.
2087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2088         (__libc_ifunc_impl_list): Likewise.
2089         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2090         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2091         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2092         * string/strrchr.c: Define STRRCHR.
2094 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
2096         * benchtest/bench-strtok.c (simple_strtok): Delete.
2097         (strtok_string): Use as benchmark.
2098         * string/strtok (STRTOK): New macro.
2100 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
2102         * manual/threads.texi: Add header and standard comments to all
2103         functions.
2105         * elf/dl-lookup.c (check_match): New function.
2106         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2107         (do_lookup_x): Remove nested function check_match. Use non-nested
2108         function check_match.
2110 2014-02-28  Roland McGrath  <roland@hack.frob.com>
2112         * csu/Makefile (generated, before-compile): Use += rather than =.
2113         * catgets/Makefile (generated, generated-dirs): Likewise.
2114         * debug/Makefile (generated): Likewise.
2115         * dlfcn/Makefile (generated): Likewise.
2116         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2117         * iconvdata/Makefile (before-compile, generated): Likewise.
2118         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2119         * libio/Makefile (generated): Likewise.
2120         * malloc/Makefile (generated): Likewise.
2121         * manual/Makefile (generated, generated-dirs): Likewise.
2122         * misc/Makefile (generated): Likewise.
2123         * posix/Makefile (generated): Likewise.
2124         * resolv/Makefile (generated): Likewise.
2125         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2126         * timezone/Makefile (generated, generated-dirs): Likewise.
2128         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2130 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2133         implementation.
2134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2135         POWER8 llround ifunc implementation.
2136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2137         POWER8 implementation.
2138         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2139         POWER8 llround implementation.
2141 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2144         implementation.
2145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2146         POWER8 llrint ifunc implementation.
2147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2148         POWER8 implementation.
2149         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2150         POWER8 llrint implementation.
2152 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2155         implementation.
2156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2157         POWER8 finite ifunc implementation.
2158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2159         POWER8 implementation.
2160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2161         Likewise.
2162         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2163         POWER8 finite implementation.
2164         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2166 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2169         implementation.
2170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2171         POWER8 isinf ifunc implementation.
2172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2173         POWER8 implementation.
2174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2175         Likewise.
2176         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2177         POWER8 isinf implementation.
2178         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2180 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2182         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2183         Add hwcap2 initialization.
2184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2185         implementation.
2186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2187         POWER8 isnan ifunc implementation.
2188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2189         POWER8 implementation.
2190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2191         Likewise.
2192         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2193         POWER8 isnan implementation.
2194         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2196 2014-02-27  Joey Ye  <joey.ye@arm.com>
2198         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2199         (_FP_NANFRAC_Q): Set to zero.
2201 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2203         [BZ #16623]
2204         * math/auto-libm-test-in: New test inputs.
2205         * math/auto-libm-test-out: Regenerate.
2206         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2207         and DA.
2208         (__cos): Likewise.
2209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2211 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2213         * scripts/evaluate-test.sh: Take new argument indicating whether
2214         failure is expected.
2215         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2216         indicating whether failure is expected.
2217         * conform/Makefile (test-xfail-run-conformtest): New variable.
2218         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2219         level.
2220         * posix/Makefile (test-xfail-annexc): New variable.
2221         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2223 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2225         * argp/Makefile: Include Makeconfig immediately after defining
2226         subdir.
2227         * assert/Makefile: Likewise.
2228         * benchtests/Makefile: Likewise.
2229         * catgets/Makefile: Likewise.
2230         * conform/Makefile: Likewise.
2231         * crypt/Makefile: Likewise.
2232         * csu/Makefile: Likewise.
2233         (all): Remove target.
2234         * ctype/Makefile: Include Makeconfig immediately after defining
2235         subdir.
2236         * debug/Makefile: Likewise.
2237         * dirent/Makefile: Likewise.
2238         * dlfcn/Makefile: Likewise.
2239         * gmon/Makefile: Likewise.
2240         * gnulib/Makefile: Likewise.
2241         * grp/Makefile: Likewise.
2242         * gshadow/Makefile: Likewise.
2243         * hesiod/Makefile: Likewise.
2244         * hurd/Makefile: Likewise.
2245         (all): Remove target.
2246         * iconvdata/Makefile: Include Makeconfig immediately after
2247         defining subdir.
2248         * inet/Makefile: Likewise.
2249         * intl/Makefile: Likewise.
2250         * io/Makefile: Likewise.
2251         * libio/Makefile: Likewise.
2252         (all): Remove target.
2253         * locale/Makefile: Include Makeconfig immediately after defining
2254         subdir.
2255         * login/Makefile: Likewise.
2256         * mach/Makefile: Likewise.
2257         (all): Remove target.
2258         * malloc/Makefile: Include Makeconfig immediately after defining
2259         subdir.
2260         (all): Remove target.
2261         * manual/Makefile: Include Makeconfig immediately after defining
2262         subdir.
2263         * math/Makefile: Likewise.
2264         * misc/Makefile: Likewise.
2265         * nis/Makefile: Likewise.
2266         * nss/Makefile: Likewise.
2267         * po/Makefile: Likewise.
2268         (all): Remove target.
2269         * posix/Makefile: Include Makeconfig immediately after defining
2270         subdir.
2271         * pwd/Makefile: Likewise.
2272         * resolv/Makefile: Likewise.
2273         * resource/Makefile: Likewise.
2274         * rt/Makefile: Likewise.
2275         * setjmp/Makefile: Likewise.
2276         * shadow/Makefile: Likewise.
2277         * signal/Makefile: Likewise.
2278         * socket/Makefile: Likewise.
2279         * soft-fp/Makefile: Likewise.
2280         * stdio-common/Makefile: Likewise.
2281         * stdlib/Makefile: Likewise.
2282         * streams/Makefile: Likewise.
2283         * string/Makefile: Likewise.
2284         * sunrpc/Makefile: Likewise.
2285         (all): Remove target.
2286         * sysvipc/Makefile: Include Makeconfig immediately after defining
2287         subdir.
2288         * termios/Makefile: Likewise.
2289         * time/Makefile: Likewise.
2290         * timezone/Makefile: Likewise.
2291         (all): Remove target.
2292         * wcsmbs/Makefile: Include Makeconfig immediately after defining
2293         subdir.
2294         * wctype/Makefile: Likewise.
2296 2014-02-26  Steve Ellcey  <sellcey@mips.com>
2298         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2299         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2300         (libc_feholdexcept_setround_mips): Ditto.
2301         (libc_feholdsetround): New.
2302         (libc_feholdsetroundf): New.
2303         (libc_feholdsetroundl): New.
2304         (libc_feupdateenv_test_mips): New.
2305         (libc_feupdateenv_test): New.
2306         (libc_feupdateenv_testf): New.
2307         (libc_feupdateenv_testl): New.
2308         (libc_feresetround): New.
2309         (libc_feresetroundf): New.
2310         (libc_feresetroundl): New.
2311         (libc_fetestexcept_mips): New.
2312         (libc_fetestexcept): New.
2313         (libc_fetestexceptf): New.
2314         (libc_fetestexceptl): New.
2315         (HAVE_RM_CTX): New.
2316         (libc_feholdexcept_setround_mips_ctx): New.
2317         (libc_feholdexcept_setround_ctx): New.
2318         (libc_feholdexcept_setroundf_ctx): New.
2319         (libc_feholdexcept_setroundl_ctx): New.
2320         (libc_fesetenv_mips_ctx): New.
2321         (libc_fesetenv_ctx): New.
2322         (libc_fesetenv_ctxf): New.
2323         (libc_fesetenv_ctxl): New.
2324         (libc_feupdateenv_mips_ctx): New.
2325         (libc_feupdateenv_ctx): New.
2326         (libc_feupdateenvf_ctx): New.
2327         (libc_feupdateenvl_ctx): New.
2328         (libc_feholdsetround_mips_ctx): New.
2329         (libc_feholdsetround_ctx): New.
2330         (libc_feholdsetroundf_ctx): New.
2331         (libc_feholdsetroundl_ctx): New.
2332         (libc_feresetround_mips_ctx): New.
2333         (libc_feresetround_ctx): New.
2334         (libc_feresetroundf_ctx): New.
2335         (libc_feresetroundl_ctx): New.
2337 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
2339         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2341         * manual/ipc.texi: New file.
2342         * manual/Makefile (chapters): Add ipc.
2343         * manual/job.texi: Add "Inter-Process Communication" to next.
2344         * manual/process.texi: Add "Inter-Process Communication" to prev.
2346 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2350 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
2352         * malloc/malloc.c (__libc_calloc): Simplify implementation.
2354         * manual/arith.texi: Fix spaces after sentences.
2355         * manual/charset.texi: Likewise.
2356         * manual/errno.texi: Likewise.
2357         * manual/install.texi: Likewise.
2358         * manual/llio.texi: Likewise.
2359         * manual/locale.texi: Likewise.
2360         * manual/maint.texi: Likewise.
2361         * manual/math.texi: Likewise.
2362         * manual/memory.texi: Likewise.
2363         * manual/message.texi: Likewise.
2364         * manual/probes.texi: Likewise.
2365         * manual/resource.texi: Likewise.
2366         * manual/signal.texi: Likewise.
2367         * manual/socket.texi: Likewise.
2368         * manual/stdio.texi: Likewise.
2369         * manual/string.texi: Likewise.
2370         * manual/time.texi: Likewise.
2371         * manual/users.texi: Likewise.
2373 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
2375         [BZ #16632]
2376         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2377         _DEFAULT_SOURCE is defined.
2379 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
2380             Carlos O'Donell  <carlos@redhat.com>
2382         [BZ #16613]
2383         * elf/dl-tls.c (_dl_count_modids): New function.
2384         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2385         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2386         audit library and increment generation counter.
2387         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2388         * elf/tst-audit9.c: New file.
2389         * elf/tst-auditmod9a.c: New file.
2390         * elf/tst-auditmod9b.c: New file.
2391         * elf/Makefile: Add rules to build and run tst-audit9.
2393 2014-02-25  Florian Weimer  <fweimer@redhat.com>
2395         [BZ #15347]
2396         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2398 2014-02-25  Will Newton  <will.newton@linaro.org>
2400         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2401         (__longjmp): Restore sp and lr before restoring callee
2402         saved registers.  Add longjmp and longjmp_target
2403         SystemTap probe point.
2404         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2405         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2406         Define to zero to match jmpbuf layout.
2407         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2408         (__sigsetjmp): Save sp and lr before saving callee
2409         saved registers.  Add setjmp SystemTap probe point.
2411 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2413         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2415 2014-02-24  Andreas Schwab  <schwab@suse.de>
2417         [BZ #15804]
2418         * elf/pldd.c (wait_for_ptrace_stop): New function.
2419         (main): Call it after attaching.
2421 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2423         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2424         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2425         Versions files is now verboten.
2426         * hurd/Versions (libc: GLIBC_2.0):
2427         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2428         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2429         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2430         * mach/Versions: Likewise.
2432         * csu/Versions: Remove unused %include.
2433         * resolv/Versions: Likewise.
2435 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2437         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2438         ($(objpfx)check-local-headers.out): Likewise.
2439         ($(objpfx)begin-end-check.out): Likewise.
2440         * Makerules (check-abi-%.out): Likewise.
2441         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2442         ($(objpfx)test2.cat): Likewise.
2443         ($(objpfx)de/libc.cat): Likewise.
2444         ($(objpfx)test-gencat.out): Likewise.
2445         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2446         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2447         ($(objpfx)noload-mem): Likewise.
2448         ($(objpfx)tst-pathopt.out): Likewise.
2449         ($(objpfx)tst-rtld-load-self.out): Likewise.
2450         ($(objpfx)tst-array1-cmp.out): Likewise.
2451         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2452         ($(objpfx)tst-array2-cmp.out): Likewise.
2453         ($(objpfx)tst-array3-cmp.out): Likewise.
2454         ($(objpfx)tst-array4-cmp.out): Likewise.
2455         ($(objpfx)tst-array5-cmp.out): Likewise.
2456         ($(objpfx)tst-array5-static-cmp.out): Likewise.
2457         ($(objpfx)check-textrel.out): Likewise.
2458         ($(objpfx)check-execstack.out): Likewise.
2459         ($(objpfx)check-localplt.out): Likewise.
2460         ($(objpfx)order2-cmp.out): Likewise.
2461         ($(objpfx)tst-leaks1-mem): Likewise.
2462         ($(objpfx)tst-leaks1-static-mem): Likewise.
2463         ($(objpfx)tst-initorder-cmp.out): Likewise.
2464         ($(objpfx)tst-initorder2-cmp.out): Likewise.
2465         ($(objpfx)tst-unused-dep.out): Likewise.
2466         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2467         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2468         * iconv/Makefile (test-iconvconfig): Likewise.
2469         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2470         ($(objpfx)iconv-test.out): Likewise.
2471         ($(objpfx)tst-tables.out): Likewise.
2472         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2473         ($(objpfx)tst-gettext.out): Likewise.
2474         ($(objpfx)tst-translit.out): Likewise.
2475         ($(objpfx)tst-gettext2.out): Likewise.
2476         ($(objpfx)tst-gettext4.out): Likewise.
2477         ($(objpfx)tst-gettext6.out): Likewise.
2478         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2479         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2480         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2481         ($(objpfx)tst-fopenloc-mem.out): Likewise.
2482         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2483         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2484         * posix/Makefile ($(objpfx)globtest.out): Likewise.
2485         ($(objpfx)wordexp-tst.out): Likewise.
2486         ($(objpfx)annexc.out): Likewise.
2487         ($(objpfx)tst-fnmatch-mem): Likewise.
2488         ($(objpfx)bug-regex2-mem): Likewise.
2489         ($(objpfx)bug-regex14-mem): Likewise.
2490         ($(objpfx)bug-regex21-mem): Likewise.
2491         ($(objpfx)bug-regex31-mem): Likewise.
2492         ($(objpfx)tst-vfork3-mem): Likewise.
2493         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2494         ($(objpfx)tst-pcre-mem): Likewise.
2495         ($(objpfx)tst-boost-mem): Likewise.
2496         ($(objpfx)tst-getconf.out): Likewise.
2497         ($(objpfx)bug-ga2-mem): Likewise.
2498         ($(objpfx)bug-glob2-mem): Likewise.
2499         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2500         ($(objpfx)mtrace-tst-leaks2): Likewise.
2501         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2502         ($(objpfx)tst-printf.out): Likewise.
2503         ($(objpfx)tst-setvbuf1.out): Likewise.
2504         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2505         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2506         ($(objpfx)tst-fmtmsg.out): Likewise.
2507         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2508         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2510         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2511         * bits/sigaction.h [__USE_MISC]: Likewise.
2512         * bits/waitstatus.h: Update #endif comments.
2513         * ctype/ctype.h: Likewise.
2514         * dirent/dirent.h: Likewise.
2515         [__USE_MISC]: Remove redundant conditionals.
2516         * grp/grp.h: Update #endif comments.
2517         [__USE_GNU]: Remove redundant conditionals.
2518         [__USE_MISC]: Likewise.
2519         * inet/netinet/in.h [__USE_GNU]: Likewise.
2520         * io/sys/stat.h [__USE_MISC]: Likewise.
2521         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2522         * libio/bits/stdio.h: Update #endif comments.
2523         [__USE_MISC]: Remove redundant conditionals.
2524         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2525         * libio/stdio.h: Update #endif comments.
2526         [__USE_MISC]: Remove redundant conditionals.
2527         * math/bits/math-finite.h [__USE_MISC]: Likewise.
2528         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2529         * math/math.h: Update #else and #endif comments.
2530         [__USE_MISC]: Remove redundant conditionals.
2531         * misc/sys/uio.h: Update #endif comments.
2532         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2533         * posix/glob.h [__USE_MISC]: Likewise.
2534         * posix/sys/types.h: Update #endif comments.
2535         [__USE_MISC]: Remove redundant conditionals.
2536         * posix/sys/wait.h: Update #endif comments.
2537         [__USE_MISC]: Remove redundant conditionals.
2538         * posix/unistd.h: Update #endif comments.
2539         [__USE_MISC]: Remove redundant conditionals.
2540         * pwd/pwd.h [__USE_GNU]: Likewise.
2541         [__USE_MISC]: Likewise.
2542         * resolv/netdb.h [__USE_GNU]: Likewise.
2543         * signal/signal.h: Update #endif comments.
2544         [__USE_MISC]: Remove redundant conditionals.
2545         * stdlib/stdlib.h: Update #else and #endif comments.
2546         [__USE_MISC]: Remove redundant conditionals.
2547         [__USE_GNU]: Likewise.
2548         * string/bits/string2.h [__USE_MISC]: Likewise.
2549         * string/string.h: Update #endif comments.
2550         [__USE_MISC]: Remove redundant conditionals.
2551         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2552         Likewise.
2553         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2554         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2555         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2556         Likewise.
2557         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2558         Likewise.
2559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2560         comments.
2561         [__USE_MISC]: Remove redundant conditionals.
2562         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2563         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2564         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2565         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2566         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2567         Likewise.
2568         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2569         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2570         Likewise.
2571         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2572         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2573         Likewise.
2574         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2575         Likewise.
2576         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2577         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2578         Likewise.
2579         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2580         Likewise.
2581         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2582         * sysdeps/x86/bits/string.h: Update #endif comments.
2583         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2584         conditionals.
2585         * time/sys/time.h: Update #endif comments.
2586         * time/time.h: Likewise.
2587         [__USE_MISC]: Remove redundant conditionals.
2589 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
2591         [BZ #16600]
2592         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2594 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
2596         * Versions.def (librt): Add GLIBC_2.17.
2598 2014-02-21  Adam Conrad  <adconrad@0c3.net>
2600         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2601         synonym for _SYS_AUXV_H to allow direct inclusion.
2602         * sysdeps/sparc/bits/hwcap.h: Likewise.
2603         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2604         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2605         * sysdeps/sparc/sysdep.h: Likewise.
2607 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2609         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2611 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2613         * benchtests/bench-strrchr.c: Print length instead of position.
2615 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
2617         [BZ #16611]
2618         * sysdeps/unix/sysv/linux/kernel-features.h
2619         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2620         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2621         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2622         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2623         Likewise.
2624         [__i386__ || __powerpc__ || __sh__ || __sparc__]
2625         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2626         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2627         (__ASSUME_SENDMMSG): Define instead of using previous
2628         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2629         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2630         (__ASSUME_SENDMMSG_SYSCALL): Define.
2631         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2632         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2633         Likewise.
2634         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2635         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2636         Likewise.
2637         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2638         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2639         Likewise.
2640         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2641         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2642         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2643         [__ASSUME_SENDMMSG]: Change conditionals to
2644         [__ASSUME_SENDMMSG_SOCKETCALL].
2645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2646         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2647         Define.
2648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2649         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2650         Likewise.
2651         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2652         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2653         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2654         [!__ASSUME_SENDMMSG]: Change conditional to
2655         [!__ASSUME_SENDMMSG_SOCKETCALL].
2656         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2657         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2658         Define.
2660         [BZ #16610]
2661         * sysdeps/unix/sysv/linux/kernel-features.h
2662         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2663         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2664         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2665         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2666         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2667         [__i386__ || __sparc__]
2668         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2669         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2670         (__ASSUME_RECVMMSG): Define instead of using previous
2671         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2672         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2673         (__ASSUME_RECVMMSG_SYSCALL): Define.
2674         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2675         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2676         Likewise.
2677         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2678         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2679         Likewise.
2680         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2682         Likewise.
2683         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2684         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2685         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2686         [__ASSUME_RECVMMSG]: Change condition to
2687         [__ASSUME_RECVMMSG_SOCKETCALL].
2688         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2689         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2690         Define.
2691         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2694         Likewise.
2695         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2696         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2697         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2698         [!__ASSUME_RECVMMSG]: Change condition to
2699         [!__ASSUME_RECVMMSG_SOCKETCALL].
2700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2701         (__ASSUME_RECVMMSG_SYSCALL): Define.
2703         [BZ #16609]
2704         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2705         __powerpc__ || __s390__ || __sh__ || __sparc__]
2706         (__ASSUME_SOCKETCALL): Define.
2707         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2708         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2709         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2710         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2711         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2712         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2713         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2714         (__ASSUME_ACCEPT4): Define instead of using previous
2715         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2716         __powerpc__ || __sparc__ || __s390__)] condition.
2717         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2718         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2719         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2720         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2721         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2722         [!__ASSUME_ACCEPT4]: Change condition to
2723         [!__ASSUME_ACCEPT4_SOCKETCALL].
2724         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2725         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2726         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2727         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2728         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2729         __ASSUME_ACCEPT4_SYSCALL.
2730         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2731         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2733         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2734         __ASSUME_ACCEPT4_SYSCALL.
2735         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2736         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2737         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2738         [__ASSUME_ACCEPT4]: Change condition to
2739         [__ASSUME_ACCEPT4_SOCKETCALL].
2740         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2741         (__ASSUME_SOCKETCALL): Define.
2742         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2743         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2744         (__ASSUME_SOCKETCALL): Define.
2745         (__ASSUME_ACCEPT4): Remove.
2746         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2747         Define.
2748         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2749         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2750         Likewise.
2751         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2752         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2754         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2755         macro.
2756         (HWCAP_ARM_LPAE): Likewise.
2757         (HWCAP_ARM_EVTSTRM): Likewise.
2758         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2759         Add vpfd32, lpae and evtstrm.
2760         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2761         Increase to 22.
2763 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2765         * math/auto-libm-test-in: Add tests of clog10.
2766         * math/auto-libm-test-out: Regenerated.
2767         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2768         * sysdeps/i386/fpu/libm-test-ulps: Update.
2769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2771 2014-02-18  Andreas Schwab  <schwab@suse.de>
2773         [BZ #16574]
2774         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2775         Store non-zero if the second buffer was newly allocated.
2776         (send_dg): Likewise.
2777         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2778         to send_vc and send_dg.
2779         (res_nsend): Pass NULL for ansp2_malloced.
2780         * resolv/res_query.c (__libc_res_nquery): Add parameter
2781         answerp2_malloced and pass it down to __libc_res_nsend.
2782         (res_nquery): Pass additional NULL to __libc_res_nquery.
2783         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2784         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2785         second answer buffer if answerp2_malloced was set.
2786         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2787         (__libc_res_nquerydomain): Add parameter
2788         answerp2_malloced and pass it down to __libc_res_nquery.
2789         (res_nquerydomain): Pass additional NULL to
2790         __libc_res_nquerydomain.
2791         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2792         additional NULL to __libc_res_nsend and __libc_res_nquery.
2793         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2794         additional NULL to __libc_res_nsearch.
2795         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2796         parameter of __libc_res_nsearch to check for separately allocated
2797         second buffer.
2798         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2799         __libc_res_nquery.
2800         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2801         additional NULL to __libc_res_nquery.
2802         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2803         __libc_res_nsearch.
2804         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2805         * include/resolv.h: Update prototypes of __libc_res_nquery,
2806         __libc_res_nsearch, __libc_res_nsend.
2808 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2810         * math/auto-libm-test-in: Add tests of fma.
2811         * math/auto-libm-test-out: Regenerated.
2812         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2813         (fma_towardzero_test_data): Likewise.
2814         (fma_downward_test_data): Likewise.
2815         (fma_upward_test_data): Likewise.
2816         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2817         mpc_mode.
2818         (rounding_modes): Add values for new field.
2819         (func_calc_method): Add value mpfr_fff_f.
2820         (func_calc_desc): Add mpfr_fff_f union field.
2821         (test_function): Add field exact_args.
2822         (FUNC): Add macro argument EXACT_ARGS.
2823         (FUNC_mpfr_f_f): Update call to FUNC.
2824         (FUNC_mpfr_f_f): Likewise.
2825         (FUNC_mpfr_ff_f): Likewise.
2826         (FUNC_mpfr_if_f): Likewise.
2827         (FUNC_mpc_c_f): Likewise.
2828         (FUNC_mpc_c_c): Likewise.
2829         (test_functions): Add fma.  Update calls to FUNC.
2830         (handle_input_arg): Add argument exact_args.
2831         (add_test): Update call to handle_input_arg.
2832         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2833         (output_for_one_input_case): Update call to calc_generic_results.
2834         Recalculate exact zero results in each rounding mode.
2836         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2837         non-negative before setting low bit.
2838         * math/auto-libm-test-in: Mark one asin test possibly having
2839         spurious underflow.
2840         * math/auto-libm-test-out: Regenerated.
2841         * sysdeps/i386/fpu/libm-test-ulps: Update.
2842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2844 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2846         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2847         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2848         ports/sysdeps/unix/sysv/linux/microblaze.
2849         * README: Add missing listing for microblaze*-*-linux-gnu.
2851 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2853         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2854         * sysdeps/unix/sysv/linux/ia64: Move directory from
2855         ports/sysdeps/unix/sysv/linux/ia64.
2856         * README: Update listing for ia64-*-linux-gnu.
2858 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2859             Joseph Myers  <joseph@codesourcery.com>
2861         * Makeconfig (test-name): New variable.
2862         (evaluate-test): Likewise.
2863         * Makerules (do-test-clean): Remove .test-result files.
2864         (common-mostlyclean): Likewise.
2865         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2866         * scripts/evaluate-test.sh: New file.
2868 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2870         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2871         separate $(objpfx)tst-fopenloc-cmp.out and
2872         $(objpfx)tst-fopenloc-mem.out targets.
2873         (tests): Update dependencies.
2874         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2875         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2876         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2877         (tst-rxspencer-no-utf8-ARGS): New variable.
2878         (tst-rxspencer-no-utf8-ENV): Likewise.
2879         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2880         instead of $(objpfx)tst-rxspencer-mem.
2881         ($(objpfx)tst-rxspencer-mem): Change target to
2882         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2883         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2884         * posix/tst-rxspencer-no-utf8.c: New file.
2886         * elf/Makefile ($(objpfx)order.out): Remove rule.
2887         [$(run-built-tests) = yes] (tests): Depend on
2888         $(objpfx)order-cmp.out.
2889         ($(objpfx)order-cmp.out): New rule.
2890         [$(run-built-tests) = yes] (tests): Depend on
2891         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2892         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2893         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2894         $(objpfx)tst-array5-static-cmp.out.
2895         ($(objpfx)tst-array1.out): Remove rule.
2896         ($(objpfx)tst-array1-cmp.out): New rule.
2897         ($(objpfx)tst-array1-static.out): Remove rule.
2898         ($(objpfx)tst-array1-static-cmp.out): New rule.
2899         ($(objpfx)tst-array2.out): Remove rule.
2900         ($(objpfx)tst-array2-cmp.out): New rule.
2901         ($(objpfx)tst-array3.out): Remove rule.
2902         ($(objpfx)tst-array3-cmp.out): New rule.
2903         ($(objpfx)tst-array4.out): Remove rule.
2904         ($(objpfx)tst-array4-cmp.out): New rule.
2905         ($(objpfx)tst-array5.out): Remove rule.
2906         ($(objpfx)tst-array5-cmp.out): New rule.
2907         ($(objpfx)tst-array5-static.out): Remove rule.
2908         ($(objpfx)tst-array5-static-cmp.out): New rule.
2909         [$(run-built-tests) = yes] (tests): Depend on
2910         $(objpfx)order2-cmp.out.
2911         ($(objpfx)order2.out): Remove rule.
2912         ($(objpfx)order2-cmp.out): New rule.
2913         ($(objpfx)tst-initorder.out): Remove rule.
2914         [$(run-built-tests) = yes] (tests): Depend on
2915         $(objpfx)tst-initorder-cmp.out.
2916         ($(objpfx)tst-initorder-cmp.out): New rule.
2917         ($(objpfx)tst-initorder2.out): Remove rule.
2918         [$(run-built-tests) = yes] (tests): Depend on
2919         $(objpfx)tst-initorder2-cmp.out.
2920         ($(objpfx)tst-initorder2-cmp.out): New rule.
2921         [$(run-built-tests) = yes] (tests): Depend on
2922         $(objpfx)tst-unused-dep-cmp.out.
2923         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2924         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2925         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2926         on $(objpfx)tst-setvbuf1-cmp.out.
2927         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2928         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2929         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2930         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2931         ($(objpfx)tst-svc.out): Remove rule.
2932         ($(objpfx)tst-svc-cmp.out): New rule.
2934 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2936         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2937         * ctype/ctype.h [__USE_MISC]: Likewise.
2938         * dirent/dirent.h [__USE_MISC]: Likewise.
2939         * grp/grp.h [__USE_MISC]: Likewise.
2940         * io/fcntl.h [__USE_MISC]: Likewise.
2941         * io/sys/stat.h [__USE_MISC]: Likewise.
2942         * libio/stdio.h [__USE_MISC]: Likewise.
2943         * posix/unistd.h [__USE_MISC]: Likewise.
2944         * pwd/pwd.h [__USE_MISC]: Likewise.
2945         * stdlib.h [__USE_MISC]: Likewise.
2946         * string/bits/string2.h [__USE_MISC]: Likewise.
2947         * string/string.h [__USE_MISC]: Likewise.
2948         * time/time.h [__USE_MISC]: Likewise.
2950 2014-02-13  Andreas Schwab  <schwab@suse.de>
2952         [BZ #16574]
2953         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2954         second answer buffer if it was separately allocated.
2956 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2958         * sysdeps/mips/math-tests.h: Include <features.h>.
2959         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2960         (ROUNDING_TESTS_long_double): Do not define.
2961         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2962         (EXCEPTION_TESTS_long_double): Likewise.
2963         * sysdeps/mips/mips64/libm-test-ulps: Update.
2965         * include/features.h (__USE_BSD): Remove macro definitions.
2966         (__USE_SVID): Likewise.
2967         (_BSD_SOURCE): Likewise.
2968         (_SVID_SOURCE): Likewise.
2969         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2970         from definition of _DEFAULT_SOURCE.
2971         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2972         [_DEFAULT_SOURCE].
2973         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2974         * bits/mman.h [__USE_BSD]: Likewise.
2975         * bits/termios.h [__USE_BSD]: Likewise.
2976         * bits/waitstatus.h [__USE_BSD]: Likewise.
2977         * ctype/ctype.h [__USE_SVID]: Likewise.
2978         * dirent/dirent.h [__USE_BSD]: Likewise.
2979         * grp/grp.h [__USE_SVID]: Likewise.
2980         [__USE_BSD]: Likewise.
2981         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2982         * io/fcntl.h [__USE_BSD]: Likewise.
2983         * io/ftw.h [__USE_BSD]: Likewise.
2984         * io/sys/stat.h [__USE_BSD]: Likewise.
2985         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2986         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2987         * libio/stdio.h [__USE_SVID]: Likewise.
2988         [__USE_BSD]: Likewise.
2989         * math/math.h [__USE_SVID]: Likewise.
2990         [__USE_BSD]: Likewise.
2991         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2992         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2993         * misc/search.h [__USE_SVID]: Likewise.
2994         * misc/sys/mman.h [__USE_BSD]: Likewise.
2995         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2996         * misc/sys/uio.h [__USE_BSD]: Likewise.
2997         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2998         * posix/glob.h [__USE_BSD]: Likewise.
2999         * posix/regex.h [__USE_BSD]: Likewise.
3000         * posix/sys/types.h [__USE_BSD]: Likewise.
3001         [__USE_SVID]: Likewise.
3002         * posix/sys/utsname.h [__USE_SVID]: Likewise.
3003         * posix/sys/wait.h [__USE_BSD]: Likewise.
3004         [__USE_SVID]: Likewise.
3005         * posix/unistd.h [__USE_BSD]: Likewise.
3006         [__USE_SVID]: Likewise.
3007         * pwd/pwd.h [__USE_SVID]: Likewise.
3008         * resolv/netdb.h [__USE_BSD]: Likewise.
3009         * setjmp/setjmp.h [__USE_BSD]: Likewise.
3010         * signal/signal.h [__USE_BSD]: Likewise.
3011         [__USE_SVID]: Likewise.
3012         * socket/sys/socket.h [__USE_BSD]: Likewise.
3013         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3014         * stdlib/stdlib.h [__USE_BSD]: Likewise.
3015         [__USE_SVID]: Likewise.
3016         * string/bits/string2.h [__USE_BSD]: Likewise.
3017         [__USE_SVID]: Likewise.
3018         * string/bits/string3.h [__USE_BSD]: Likewise.
3019         * string/endian.h [__USE_BSD]: Likewise.
3020         * string/string.h [__USE_SVID]: Likewise.
3021         [__USE_BSD]: Likewise.
3022         * string/strings.h [__USE_BSD]: Likewise.
3023         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3024         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3025         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3026         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3027         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3028         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3029         Likewise.
3030         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3031         Likewise.
3032         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3033         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3034         Likewise.
3035         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3036         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3039         Likewise.
3040         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3041         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3042         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3043         Likewise.
3044         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3045         Likewise.
3046         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3047         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3048         * termios/termios.h [__USE_BSD]: Likewise.
3049         * time/sys/time.h [__USE_BSD]: Likewise.
3050         * time/time.h [__USE_BSD]: Likewise.
3051         [__USE_SVID]: Likewise.
3053         * Makefile (subdir_targets): Remove subdir_lint.out.
3055         * stdio-common/Makefile (do-tst-unbputc): Remove target.
3056         (do-tst-printf): Likewise.
3057         (tests): Depend directly on $(objpfx)tst-unbputc.out and
3058         $(objpfx)tst-printf.out.
3060         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3062         * Makerules (check-abi-%): Change target to
3063         $(objpfx)check-abi-%.out.
3064         (check-abi target): Update dependencies.
3065         (check-abi-pattern variable): Redirect output of diff to $@.
3066         (check-abi variable): Likewise.
3067         * elf/Makefile (check-abi): Update dependencies.
3069         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3070         unused.
3071         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3072         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3073         subnormal range.
3074         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3075         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3076         value has largest subnormal exponent.
3077         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3078         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3079         * sysdeps/aarch64/soft-fp/sfp-machine.h
3080         (_FP_TININESS_AFTER_ROUNDING): New macro.
3081         * sysdeps/alpha/soft-fp/sfp-machine.h
3082         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3083         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3084         Likewise.
3085         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3086         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3087         * sysdeps/mips/soft-fp/sfp-machine.h
3088         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3089         * sysdeps/powerpc/soft-fp/sfp-machine.h
3090         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3091         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3092         Likewise.
3093         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3094         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3095         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3096         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3097         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3098         Likewise.
3100 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
3102         [BZ #16545]
3103         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3104         model 1.
3106 2014-02-12  Richard Henderson  <rth@redhat.com>
3108         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3109         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3110         * sysdeps/unix/sysv/linux/alpha: Move directory from
3111         ports/sysdeps/unix/sysv/linux/alpha.
3112         * README: Update listing for alpha-*-linux-gnu.
3114 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3116         * include/features.h: Update comment documenting feature test
3117         macros.
3118         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3119         _DEFAULT_SOURCE.
3120         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3121         (_SVID_SOURCE): Likewise.
3122         (_DEFAULT_SOURCE): Update description of default features.
3123         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3124         with _GNU_SOURCE.
3125         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3126         (S_ISVTX): Likewise.
3127         * manual/math.texi (Mathematical Constants): Likewise.
3128         * manual/signal.texi (Interrupted Primitives): Likewise.
3129         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3130         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3131         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3132         Don't refer to _SVID_SOURCE in warning text.
3134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3136         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3137         already defined.
3138         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3139         * sysdeps/mips/dl-lookup.c: Remove.
3140         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3142 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3144         [BZ #16447]
3145         * math/auto-libm-test-in: Add testcase for expl.
3146         * math/auto-libm-test-out: Regenerate.
3147         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3148         calculation of unsafe.
3149         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3151 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3153         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3154         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3155         ports/sysdeps/unix/sysv/linux/aarch64.
3156         * README: Update listing for aarch64*-*-linux-gnu.
3158 2014-02-11  Will Newton  <will.newton@linaro.org>
3160         * manual/probes.texi (Mathematical Function Probes): Use
3161         "triggered" instead of "hit".
3163 2014-02-11  Will Newton  <will.newton@linaro.org>
3165         * manual/probes.texi (Internal Probes): Add documentation
3166         of setjmp, longjmp and longjmp_target probes.
3168 2014-02-11  Will Newton  <will.newton@linaro.org>
3170         * include/stap-probe.h: Add comment about probe argument
3171         format.
3173 2014-02-11  Will Newton  <will.newton@linaro.org>
3175         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3176         definition.  (tr_where, tr_freehook, tr_mallochook,
3177         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3179 2014-02-11  David S. Miller  <davem@davemloft.net>
3181         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3182         processing int_tests.
3184 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3186         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3187         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3188         * sysdeps/unix/sysv/linux/mips: Move directory from
3189         ports/sysdeps/unix/sysv/linux/mips.
3190         * README: Update listing for mips-*-linux-gnu and
3191         mips64-*-linux-gnu.
3193 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3195         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3196         * sysdeps/unix/sysv/linux/m68k: Move directory from
3197         ports/sysdeps/unix/sysv/linux/m68k.
3198         * README: Update listing for m68k-*-linux-gnu.
3200 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3202         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3203         * sysdeps/unix/sysv/linux/generic: Move directory from
3204         ports/sysdeps/unix/sysv/linux/generic.
3205         * sysdeps/unix/sysv/linux/tile: Move directory from
3206         ports/sysdeps/unix/sysv/linux/tile.
3207         * README: Update listing for tile*-*-linux-gnu.
3209 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3211         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3212         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3213         * catgets/open_catalog.c (__open_catalog): Likewise.
3214         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3215         * debug/confstr_chk.c: Likewise.
3216         * debug/fread_chk.c (__fread_chk): Likewise.
3217         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3218         * debug/getgroups_chk.c: Likewise.
3219         * debug/mbsnrtowcs_chk.c: Likewise.
3220         * debug/mbsrtowcs_chk.c: Likewise.
3221         * debug/mbstowcs_chk.c: Likewise.
3222         * debug/memcpy_chk.c: Likewise.
3223         * debug/memmove_chk.c: Likewise.
3224         * debug/mempcpy_chk.c: Likewise.
3225         * debug/memset_chk.c: Likewise.
3226         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3227         * debug/strcat_chk.c (__strcat_chk): Likewise.
3228         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3229         * debug/strncat_chk.c (__strncat_chk): Likewise.
3230         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3231         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3232         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3233         * debug/wcpncpy_chk.c: Likewise.
3234         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3235         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3236         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3237         * debug/wcsncpy_chk.c: Likewise.
3238         * debug/wcsnrtombs_chk.c: Likewise.
3239         * debug/wcsrtombs_chk.c: Likewise.
3240         * debug/wcstombs_chk.c: Likewise.
3241         * debug/wmemcpy_chk.c: Likewise.
3242         * debug/wmemmove_chk.c: Likewise.
3243         * debug/wmempcpy_chk.c: Likewise.
3244         * debug/wmemset_chk.c: Likewise.
3245         * dirent/scandirat.c (SCANDIRAT): Likewise.
3246         * dlfcn/dladdr1.c (dladdr1): Likewise.
3247         * dlfcn/dladdr.c (dladdr): Likewise.
3248         * dlfcn/dlclose.c (dlclose_doit): Likewise.
3249         * dlfcn/dlerror.c (__dlerror): Likewise.
3250         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3251         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3252         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3253         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3254         * dlfcn/dlsym.c (dlsym_doit): Likewise.
3255         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3256         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3257         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3258         Likewise.
3259         * elf/dl-conflict.c: Likewise.
3260         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3261         * elf/dl-dst.h: Likewise.
3262         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3263         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3264         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3265         * elf/dl-init.c (call_init, _dl_init): Likewise.
3266         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3267         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3268         _dl_map_object_from_fd, open_verify, open_path,
3269         _dl_map_object): Likewise.
3270         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3271         Likewise.
3272         * elf/dl-minimal.c (__libc_memalign): Likewise.
3273         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3274         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3275         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3276         * elf/dl-sym.c (do_sym): Likewise.
3277         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3278         _dl_tls_get_addr_soft): Likewise.
3279         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3280         * elf/dl-writev.h (_dl_writev): Likewise.
3281         * elf/ldconfig.c (search_dir): Likewise.
3282         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3283         dl_main): Likewise.
3284         * elf/setup-vdso.h (setup_vdso): Likewise.
3285         * grp/compat-initgroups.c (compat_call): Likewise.
3286         * grp/fgetgrent.c (fgetgrent): Likewise.
3287         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3288         * grp/putgrent.c (putgrent): Likewise.
3289         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3290         Likewise.
3291         * hurd/hurdinit.c: Likewise.
3292         * iconvdata/8bit-gap.c (struct): Likewise.
3293         * iconvdata/ansi_x3.110.c : Likewise.
3294         * iconvdata/big5.c : Likewise.
3295         * iconvdata/big5hkscs.c : Likewise.
3296         * iconvdata/cp1255.c: Likewise.
3297         * iconvdata/cp1258.c : Likewise.
3298         * iconvdata/cp932.c : Likewise.
3299         * iconvdata/euc-cn.c: Likewise.
3300         * iconvdata/euc-jisx0213.c : Likewise.
3301         * iconvdata/euc-jp.c: Likewise.
3302         * iconvdata/euc-jp-ms.c : Likewise.
3303         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3304         * iconvdata/gb18030.c : Likewise.
3305         * iconvdata/gbbig5.c (const): Likewise.
3306         * iconvdata/gbgbk.c: Likewise.
3307         * iconvdata/gbk.c : Likewise.
3308         * iconvdata/ibm1364.c : Likewise.
3309         * iconvdata/ibm930.c : Likewise.
3310         * iconvdata/ibm932.c: Likewise.
3311         * iconvdata/ibm933.c : Likewise.
3312         * iconvdata/ibm935.c : Likewise.
3313         * iconvdata/ibm937.c : Likewise.
3314         * iconvdata/ibm939.c : Likewise.
3315         * iconvdata/ibm943.c: Likewise.
3316         * iconvdata/iso_11548-1.c: Likewise.
3317         * iconvdata/iso-2022-cn.c : Likewise.
3318         * iconvdata/iso-2022-cn-ext.c : Likewise.
3319         * iconvdata/iso-2022-jp-3.c: Likewise.
3320         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3321         * iconvdata/iso-2022-kr.c : Likewise.
3322         * iconvdata/iso646.c (gconv_end): Likewise.
3323         * iconvdata/iso_6937-2.c : Likewise.
3324         * iconvdata/iso_6937.c : Likewise.
3325         * iconvdata/iso8859-1.c: Likewise.
3326         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3327         * iconvdata/shift_jisx0213.c : Likewise.
3328         * iconvdata/sjis.c : Likewise.
3329         * iconvdata/t.61.c : Likewise.
3330         * iconvdata/tcvn5712-1.c : Likewise.
3331         * iconvdata/tscii.c: Likewise.
3332         * iconvdata/uhc.c : Likewise.
3333         * iconvdata/unicode.c (gconv_end): Likewise.
3334         * iconvdata/utf-16.c (gconv_end): Likewise.
3335         * iconvdata/utf-32.c (gconv_end): Likewise.
3336         * iconvdata/utf-7.c (base64): Likewise.
3337         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3338         * iconv/gconv_close.c (__gconv_close): Likewise.
3339         * iconv/gconv_open.c (__gconv_open): Likewise.
3340         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3341         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3342         internal_ucs4le_loop_single, ucs4le_internal_loop,
3343         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3344         * iconv/iconv.c (iconv): Likewise.
3345         * iconv/iconv_close.c: Likewise.
3346         * iconv/loop.c (SINGLE): Likewise.
3347         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3348         * include/atomic.h: Likewise.
3349         * inet/inet6_option.c (option_alloc): Likewise.
3350         * intl/bindtextdom.c (set_binding_values): Likewise.
3351         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3352         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3353         * intl/localealias.c (read_alias_file): Likewise.
3354         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3355         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3356         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3357         * libio/fmemopen.c (fmemopen): Likewise.
3358         * libio/iofgets.c (_IO_fgets): Likewise.
3359         * libio/iofgets_u.c (fgets_unlocked): Likewise.
3360         * libio/iofgetws.c (fgetws): Likewise.
3361         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3362         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3363         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3364         adjust_wide_data, _IO_wfile_seekoff): Likewise.
3365         * locale/findlocale.c (_nl_find_locale): Likewise.
3366         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3367         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3368         Likewise.
3369         * locale/setlocale.c (setlocale): Likewise.
3370         * login/programs/pt_chown.c (main): Likewise.
3371         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3372         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3373         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3374         mmap, mmap64, mremap, munmap): Likewise.
3375         * math/e_exp2l.c: Likewise.
3376         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3377         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3378         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3379         * math/s_catan.c (__catan): Likewise.
3380         * math/s_catanf.c (__catanf): Likewise.
3381         * math/s_catanh.c (__catanh): Likewise.
3382         * math/s_catanhf.c (__catanhf): Likewise.
3383         * math/s_catanhl.c (__catanhl): Likewise.
3384         * math/s_catanl.c (__catanl): Likewise.
3385         * math/s_ccosh.c (__ccosh): Likewise.
3386         * math/s_ccoshf.c (__ccoshf): Likewise.
3387         * math/s_ccoshl.c (__ccoshl): Likewise.
3388         * math/s_cexp.c (__cexp): Likewise.
3389         * math/s_cexpf.c (__cexpf): Likewise.
3390         * math/s_cexpl.c (__cexpl): Likewise.
3391         * math/s_clog10.c (__clog10): Likewise.
3392         * math/s_clog10f.c (__clog10f): Likewise.
3393         * math/s_clog10l.c (__clog10l): Likewise.
3394         * math/s_clog.c (__clog): Likewise.
3395         * math/s_clogf.c (__clogf): Likewise.
3396         * math/s_clogl.c (__clogl): Likewise.
3397         * math/s_csin.c (__csin): Likewise.
3398         * math/s_csinf.c (__csinf): Likewise.
3399         * math/s_csinh.c (__csinh): Likewise.
3400         * math/s_csinhf.c (__csinhf): Likewise.
3401         * math/s_csinhl.c (__csinhl): Likewise.
3402         * math/s_csinl.c (__csinl): Likewise.
3403         * math/s_csqrt.c (__csqrt): Likewise.
3404         * math/s_csqrtf.c (__csqrtf): Likewise.
3405         * math/s_csqrtl.c (__csqrtl): Likewise.
3406         * math/s_ctan.c (__ctan): Likewise.
3407         * math/s_ctanf.c (__ctanf): Likewise.
3408         * math/s_ctanh.c (__ctanh): Likewise.
3409         * math/s_ctanhf.c (__ctanhf): Likewise.
3410         * math/s_ctanhl.c (__ctanhl): Likewise.
3411         * math/s_ctanl.c (__ctanl): Likewise.
3412         * math/w_pow.c: Likewise.
3413         * math/w_powf.c: Likewise.
3414         * math/w_powl.c: Likewise.
3415         * math/w_scalb.c (sysv_scalb): Likewise.
3416         * math/w_scalbf.c (sysv_scalbf): Likewise.
3417         * math/w_scalbl.c (sysv_scalbl): Likewise.
3418         * misc/error.c (error_tail): Likewise.
3419         * misc/pselect.c (__pselect): Likewise.
3420         * nis/nis_callback.c (__nis_create_callback): Likewise.
3421         * nis/nis_call.c (__nisfind_server): Likewise.
3422         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3423         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3424         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3425         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3426         * nis/nis_lookup.c (nis_lookup): Likewise.
3427         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3428         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3429         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3430         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3431         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3432         internal_getgrgid_r): Likewise.
3433         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3434         Likewise.
3435         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3436         internal_getpwuid_r): Likewise.
3437         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3438         internal_getspnam_r): Likewise.
3439         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3440         _nss_nis_getaliasbyname_r): Likewise.
3441         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3442         _nss_nis_getntohost_r): Likewise.
3443         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3444         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3445         Likewise.
3446         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3447         internal_nis_gethostent_r, internal_gethostbyname2_r,
3448         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3449         _nss_nis_gethostbyname4_r): Likewise.
3450         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3451         initgroups_netid): Likewise.
3452         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3453         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3454         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3455         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3456         _nss_nis_getprotobynumber_r): Likewise.
3457         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3458         _nss_nis_getsecretkey): Likewise.
3459         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3460         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3461         Likewise.
3462         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3463         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3464         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3465         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3466         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3467         _nss_nis_getspnam_r): Likewise.
3468         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3469         Likewise.
3470         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3471         _nss_nisplus_getntohost_r): Likewise.
3472         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3473         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3474         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3475         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3476         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3477         Likewise.
3478         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3479         _nss_nisplus_getnetbyaddr_r): Likewise.
3480         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3481         _nss_nisplus_getprotobynumber_r): Likewise.
3482         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3483         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3484         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3485         Likewise.
3486         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3487         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3488         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3489         _nss_nisplus_getspnam_r): Likewise.
3490         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3491         * nscd/aicache.c (addhstaiX): Likewise.
3492         * nscd/cache.c (cache_search, prune_cache): Likewise.
3493         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3494         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3495         * nscd/grpcache.c (addgrbyX): Likewise.
3496         * nscd/hstcache.c (addhstbyX): Likewise.
3497         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3498         * nscd/mem.c (gc, mempool_alloc): Likewise.
3499         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3500         Likewise.
3501         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3502         Likewise.
3503         * nscd/nscd_getai.c (__nscd_getai): Likewise.
3504         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3505         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3506         Likewise.
3507         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3508         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3509         * nscd/nscd_helper.c (__readvall, open_socket,
3510         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3511         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3512         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3513         * nscd/pwdcache.c (addpwbyX): Likewise.
3514         * nscd/selinux.c (preserve_capabilities): Likewise.
3515         * nscd/servicescache.c (addservbyX): Likewise.
3516         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3517         * posix/fnmatch.c (fnmatch): Likewise.
3518         * posix/getopt.c (_getopt_internal_r): Likewise.
3519         * posix/glob.c (glob, glob_in_dir): Likewise.
3520         * posix/wordexp.c (exec_comm_child): Likewise.
3521         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3522         gaih_getanswer_slice): Likewise.
3523         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3524         * resolv/res_init.c: Likewise.
3525         * resolv/res_mkquery.c (res_nmkquery): Likewise.
3526         * resolv/res_query.c (__libc_res_nquery): Likewise.
3527         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3528         Likewise.
3529         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3530         * stdio-common/perror.c (perror): Likewise.
3531         * stdio-common/printf_fp.c (___printf_fp): Likewise.
3532         * stdio-common/tmpnam.c (tmpnam): Likewise.
3533         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3534         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3535         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3536         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3537         * stdlib/putenv.c (putenv): Likewise.
3538         * stdlib/setenv.c (__add_to_environ): Likewise.
3539         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3540         * stdlib/strtol_l.c (INTERNAL): Likewise.
3541         * string/memmem.c (memmem): Likewise.
3542         * string/strerror.c (strerror): Likewise.
3543         * string/strnlen.c (__strnlen): Likewise.
3544         * string/test-memmem.c (simple_memmem): Likewise.
3545         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3546         * sunrpc/pm_getport.c (__get_socket): Likewise.
3547         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3548         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3549         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3550         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3551         Likewise.
3552         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3553         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3554         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3555         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3556         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3557         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3558         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3559         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3560         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3561         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3562         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3563         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3565         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3566         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3567         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3568         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3569         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3570         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3571         Likewise.
3572         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3573         Likewise.
3574         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3575         Likewise.
3576         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3577         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3578         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3579         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3580         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3581         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3582         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3583         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3584         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3585         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3586         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3587         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3588         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3589         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3591         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3592         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3593         Likewise.
3594         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3595         Likewise.
3596         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3597         Likewise.
3598         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3600         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3601         Likewise.
3602         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3603         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3604         * sysdeps/posix/opendir.c (__opendirat): Likewise.
3605         * sysdeps/posix/sleep.c: Likewise.
3606         * sysdeps/posix/tempname.c: Likewise.
3607         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3608         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3609         Likewise.
3610         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3611         elf_machine_rela): Likewise.
3612         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3613         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3614         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3615         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3616         Likewise.
3617         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3618         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3619         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3620         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3621         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3622         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3623         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3624         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3625         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3626         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3627         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3628         elf_machine_lazy_rel): Likewise.
3629         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3630         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3631         elf_machine_lazy_rel): Likewise.
3632         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3633         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3634         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3635         * sysdeps/unix/grantpt.c (grantpt): Likewise.
3636         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3637         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3638         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3639         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3640         Likewise.
3641         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3642         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3643         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3644         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3645         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3646         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3647         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3648         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3649         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3650         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3651         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3652         Likewise.
3653         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3654         (__posix_fallocate64_l64): Likewise.
3655         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3656         (posix_fallocate): Likewise.
3657         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3658         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3659         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3660         getifaddrs_internal): Likewise.
3661         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3662         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3663         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3664         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3665         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3666         (__posix_fallocate64_l64): Likewise.
3667         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3668         Likewise.
3669         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3670         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3671         Likewise.
3672         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3673         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3674         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3677         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3678         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3679         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3680         Likewise.
3681         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3682         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3683         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3684         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3685         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3686         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3687         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3688         Likewise.
3689         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3690         (posix_fallocate): Likewise.
3691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3692         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3693         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3694         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3695         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3696         Likewise.
3697         * time/asctime.c (asctime_internal): Likewise.
3698         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3699         * time/tzset.c (__tzset_parse_tz): Likewise.
3700         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3701         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3702         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3703         * wcsmbs/wcsmbsload.h: Likewise.
3705 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3707         [BZ #15894]
3708         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3710 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3712         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3713         arena_get2): Remove THREAD_STATS conditionals.
3714         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3715         __malloc_stats, int): Likewise.
3717 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3719         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3720         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3722 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3724         * manual/setjmp.texi: Fix typos/grammar errors.
3726 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3728         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3729         Only return early when n is <= 0.  Delete unused return statement.
3731 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3733         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3734         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3735         * debug/tst-longjmp_chk3.c: New file.
3737 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3739         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3740         (test_main): Replace code with set_fortify_handler call.
3741         * debug/test-strcpy_chk.c: Likewise.
3742         * debug/tst-chk1.c: Likewise.
3743         * debug/tst-longjmp_chk.c: Likewise.
3744         * test-skeleton.c: Include fcntl.h & paths.h
3745         (set_fortify_handler): Define.
3747 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3749         * debug/tst-longjmp_chk.c: Add header comment and include
3750         ../test-skeleton.c.
3751         (do_test): Mark static.
3752         (TEST_FUNCTION): Define.
3754 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3756         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3757         (IP_PMTUDISC_INTERFACE): Likewise.
3758         (IP_MULTICAST_IF): Likewise.
3759         (IP_MULTICAST_TTL): Likewise.
3760         (IP_MULTICAST_LOOP): Likewise.
3761         (IP_ADD_MEMBERSHIP): Likewise.
3762         (IP_DROP_MEMBERSHIP): Likewise.
3763         (IP_UNBLOCK_SOURCE): Likewise.
3764         (IP_BLOCK_SOURCE): Likewise.
3765         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3766         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3767         (IP_MSFILTER): Likewise.
3768         (MCAST_JOIN_GROUP): Likewise.
3769         (MCAST_BLOCK_SOURCE): Likewise.
3770         (MCAST_UNBLOCK_SOURCE): Likewise.
3771         (MCAST_LEAVE_GROUP): Likewise.
3772         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3773         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3774         (MCAST_MSFILTER): Likewise.
3775         (IP_MULTICAST_ALL): Likewise.
3776         (IP_UNICAST_IF): Likewise.
3778 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3780         * timezone/Makefile: Delete $(have-ksh) check.
3781         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3782         * timezone/tzselect.ksh: Add +x mode bits.
3784 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3786         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3787         (ANON_INODE_FS_MAGIC): Likewise.
3788         (BDEVFS_MAGIC): Likewise.
3789         (BINFMTFS_MAGIC): Likewise.
3790         (BTRFS_TEST_MAGIC): Likewise.
3791         (CRAMFS_MAGIC_WEND): Likewise.
3792         (DEBUGFS_MAGIC): Likewise.
3793         (ECRYPTFS_SUPER_MAGIC): Likewise.
3794         (EXT3_SUPER_MAGIC): Likewise.
3795         (EXT4_SUPER_MAGIC): Likewise.
3796         (FUTEXFS_SUPER_MAGIC): Likewise.
3797         (HOSTFS_SUPER_MAGIC): Likewise.
3798         (HUGETLBFS_MAGIC): Likewise.
3799         (MINIX3_SUPER_MAGIC): Likewise.
3800         (MTD_INODE_FS_MAGIC): Likewise.
3801         (NILFS_SUPER_MAGIC): Likewise.
3802         (OPENPROM_SUPER_MAGIC): Likewise.
3803         (PIPEFS_MAGIC): Likewise.
3804         (PSTOREFS_MAGIC): Likewise.
3805         (QNX6_SUPER_MAGIC): Likewise.
3806         (RAMFS_MAGIC): Likewise.
3807         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3808         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3809         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3810         (SECURITYFS_MAGIC): Likewise.
3811         (SELINUX_MAGIC): Likewise.
3812         (SMACK_MAGIC): Likewise.
3813         (SOCKFS_MAGIC): Likewise.
3814         (SQUASHFS_MAGIC): Likewise.
3815         (STACK_END_MAGIC): Likewise.
3816         (TMPFS_MAGIC): Likewise.
3817         (USBDEVICE_SUPER_MAGIC): Likewise.
3818         (V9FS_MAGIC): Likewise.
3819         (XENFS_SUPER_MAGIC): Likewise.
3820         (CRAMFS_MAGIC): Fix typo in comment.
3821         (EXT2_SUPER_MAGIC): Update comment.
3822         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3824 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3826         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3827         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3828         * sysdeps/unix/sysv/linux/arm: Move directory from
3829         ports/sysdeps/unix/sysv/linux/arm.
3830         * README: Update listing for arm-*-linux-gnueabi.
3832         * README: Remove mention of am33.
3834 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3836         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3837         than the comma operator, to avoid "rhs of comma has no effect"
3838         compiler warnings.
3839         (__sigfillset, __sigandset, __sigorset): Likewise.
3840         * include/signal.h (__sigemptyset): Likewise.
3841         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3843 2014-02-07  Allan McRae  <allan@archlinux.org>
3845         * version.h (RELEASE): Set to "development".
3846         (VERSION): Set to "2.19.90"
3847         * NEWS: Add 2.20 section.
3849 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3851         [BZ #16529]
3852         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3854 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3856         * manual/contrib.texi: Update entry for Carlos O'Donell,
3857         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3859 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3861         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3863         * sysdeps/unix/sysv/linux/kernel-features.h
3864         [__LINUX_KERNEL_VERSION >= 0x020621]
3865         (__ASSUME_PROC_PID_TASK_COMM): Define.
3867 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3869         [BZ #16398]
3870         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3871         conversion when destination buffer does not have enough space.
3872         * libio/tst-ftell-partial-wide.c: New test case.
3873         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3875         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3876         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3877         Leonard and Allan McRae.
3879 2014-02-04  David S. Miller  <davem@davemloft.net>
3881         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3882         32-bit.
3884 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3887         file
3888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3889         New file
3890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3891         file.
3892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3893         file.
3894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3895         New file.
3896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3897         file.
3898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3899         file.
3900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3901         New file.
3902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3903         New file.
3904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3905         New file.
3906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3907         New file.
3908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3909         New file.
3910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3911         New file.
3913 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3915         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3916         * shlib-versions: Likewise.
3918 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3919             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3921         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3922         (abilist-pattern): New variable, set to %-le.abilist.
3924         * Makerules (abilist-pattern): New variable.
3925         (vpath): Use $(abilist-pattern) in place of %.abilist.
3926         (check-abi-% pattern rule): Likewise.
3927         (check-abi, update-abi): Likewise.
3929 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3933 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3937 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3939         * manual/startup.texi: Add next, previous, and top entries for
3940         the `Program Arguments' and `Environment Variables' nodes.
3942 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3944         * manual/macros.texi: Add comments before MTASC-safety macros.
3946         * manual/users.texi: Document MTASC-safety properties.
3948         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3949         pthread_getspecific, pthread_setspecific): Format with
3950         @deftypefun, and add @safety note.
3951         * manual/signal.texi: Move comments that analyze the above
3952         functions to their home place.
3954 2014-02-03  Allan McRae  <allan@archlinux.org>
3956         * po/sl.po: Update Slovenian translation from translation project.
3958 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3960         * manual/time.texi (timegm): Add missing blank after @c.
3961         Reported by Joseph Myers <joseph@codesourcery.com>.
3963 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3965         * manual/check-safety.sh: New.
3966         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3968         * manual/terminal.texi: Document MTASC-safety properties.
3970         * manual/filesys.texi: Document MTASC-safety properties.
3972         * manual/errno.texi: Document MTASC-safety properties.
3974         * manual/intro.texi: Document safety identifiers and
3975         conditionals.
3977         * manual/string.texi (wcstok): Fix prototype.
3978         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3980         * manual/time.texi: Document MTASC-safety properties.
3982         * manual/string.texi: Document MTASC-safety properties.
3984         * manual/threads.texi: Document MTASC-safety properties.
3986         * manual/stdio.texi: Document MTASC-safety properties.
3988         * manual/syslog.texi: Document MTASC-safety properties.
3990         * manual/sysinfo.texi: Document MTASC-safety properties.
3992         * manual/startup.texi: Document MTASC-safety properties.
3994         * manual/socket.texi: Document MTASC-safety properties.
3996         * manual/signal.texi: Document MTASC-safety properties.
3998 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4000         * manual/setjmp.texi: Document MTASC-safety properties.
4002         * manual/search.texi: Document MTASC-safety properties.
4004         * manual/resource.texi: Document MTASC-safety properties.
4006         * manual/process.texi: Document MTASC-safety properties.
4008         * manual/platform.texi: Document MTASC-safety properties.
4010         * manual/pipe.texi: Document MTASC-safety properties.
4012         * manual/pattern.texi: Document MTASC-safety properties.
4014         * manual/message.texi: Document MTASC-safety properties.
4016         [BZ #12751]
4017         * manual/memory.texi: Document MTASC-safety properties.
4019         * manual/math.texi: Document MTASC-safety properties.
4021         * manual/locale.texi: Document MTASC-safety properties.
4023         * manual/llio.texi: Document MTASC-safety properties.
4025         * manual/libdl.texi: New.
4027         * manual/lang.texi: Document MTASC-safety properties.
4029         * manual/job.texi: Document MTASC-safety properties.
4031         * manual/getopt.texi: Document MTASC-safety properties.
4033         * manual/ctype.texi: Document MTASC-safety properties.
4035 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
4037         [BZ #16046]
4038         * csu/libc-tls.c (static_map): Remove variable.
4039         (__libc_setup_tls): Use main executable's link map for TLS data.
4040         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4041         casing for LM_ID_BASE and GL(dl_nns).
4042         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4043         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
4044         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4045         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4046         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4047         member.
4048         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4049         l_phnum members.
4051 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
4053         * manual/debug.texi: Document MTASC-safety properties.
4055 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
4057         [BZ #16510]
4058         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4059         of __x86_64__ when disabling x87 inline functions.
4061 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
4063         * manual/charset.texi: Document MTASC-safety properties.
4065         * manual/crypt.texi: Document MTASC-safety properties.
4067         * manual/conf.texi: Document MTASC-safety properties.
4069         * manual/arith.texi: Document MTASC-safety properties.
4071         * manual/argp.texi: Document MTASC-safety properties.
4073         * manual/macros.texi: Introduce macros to document multi
4074         thread, asynchronous signal and asynchronous cancellation
4075         safety properties.
4076         * manual/intro.texi: Introduce the properties themselves.
4078 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4080         * sysdeps/sh/sh4/Makefile: New file.
4082 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
4084         * math/gen-libm-test.pl ($srcdir): New variable.
4085         ($auto_input): Use it.
4087 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4089         [BZ #16506]
4090         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4091         access beyond array bounds when parsing netgroups file.
4093         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4094         the old buffer before realloc.
4096 2014-01-27  Allan McRae  <allan@archlinux.org>
4098         * po/fr.po: Update French translation from translation project.
4100 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4102         * sysdeps/sh/libm-test-ulps: Regenerate.
4104 2014-01-24  David S. Miller  <davem@davemloft.net>
4106         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4108 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4110         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4111         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4113 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4115         [BZ #16474]
4116         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4117         string pointers after reallocation.
4119 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4121         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4122         __SH4A__ instead of __SH_FPU_ANY__.
4124 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4126         * sysdeps/sh/fpu_control.h: New file.
4127         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4128         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4129         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4130         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4131         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4132         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4133         * sysdeps/sh/sys/ucontext.h: Remove.
4134         * sysdeps/sh/sys: Remove directory.
4136 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4138         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4139         s390/sys/ucontext.h.
4140         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4141         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4143 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4145         [BZ #15605]
4146         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4148 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4150         [BZ#16431]
4151         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4152         Adjust the vDSO correctly for internal calls.
4153         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4155 2014-01-20  Allan McRae  <allan@archlinux.org>
4157         * po/ca.po: Update Catalan translation from translation project.
4159 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4161         * sysdeps/s390/sotruss-lib.c: New file.
4163 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4165         [BZ#16430]
4166         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4167         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4168         local calls issues by not having a PLT stub required for IFUNC calls.
4169         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4171 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4173         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4174         * math/test-fpucw-static.c: Likewise.
4176 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4178         [BZ #16453]
4179         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4181 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4183         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4184         implementation for powerpc.
4186 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4188         [BZ #14782]
4189         * sysdeps/posix/system.c (__libc_system): Do not enable
4190         asynchronous cancellation.
4192 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4194         [BZ #16427]
4195         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4196         handling only for numbers special also in the IEEE case.
4198 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4200         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4202 2014-01-11  Allan McRae  <allan@archlinux.org>
4204         * po/bg.po: Update Bulgarian translation from translation project.
4206         * po/de.po: Update German translation from translation project.
4208 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4210         * sysdeps/generic/gcc-compat.h: New file.
4212 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4214         * benchtests/asin-inputs: Correct slow inputs.
4215         * benchtests/acos-inputs: Likewise.
4217 2014-01-10  Allan McRae  <allan@archlinux.org>
4219         * po:sv.po: Update Swedish translation from translation project.
4221         * po/vi.po: Update Vietnamese translation from translation project.
4223         * po/eo.po: Update Esperanto translation from translation project.
4225         * po/cs.po: Update Czech translation from translation project.
4227         * po/nl.po: Update Dutch translation from translation project.
4229         * po/pl.po: Update Polish translation from translation project.
4231         * po/ru.po: Update Russian translation from translation project.
4233         * po/uk.po: Update Ukrainian translation from translation project.
4235 2014-01-08  Brooks Moses  <bmoses@google.com>
4237         * elf/dl-load.c: Fix comment typo.
4239 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
4241         * po/header.pot: Rename to...
4242         * po/pot.header: ... this.
4243         * po/Makefile: Use pot.header.
4245 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
4246             Maxim Kuvyrkov  <maxim@kugelworks.com>
4248         [BZ #16394]
4249         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4250         SRC and DEST against LEN.
4252 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4254         [BZ #16414]
4255         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4256         implementation.
4257         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4259 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4263 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
4265         [BZ #16408]
4266         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4267         for large positive arguments.
4269 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
4271         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4273         * math/auto-libm-test-in: Mark various tests with
4274         xfail-rounding:ldbl-128ibm.
4275         * math/auto-libm-test-out: Regenerated.
4277         [BZ #16407]
4278         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4279         Increase overflow threshold.
4281 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
4283         [BZ #14286]
4284         * stdio-common/vfprintf.c: Check for integer overflow.
4286 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4288         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4289         the first argument and return value of __tls_get_addr_internal.
4291 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4293         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4294         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4296 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4298         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4299         * sysdeps/s390/rtld-global-offsets.sym: New file.
4300         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4301         GLIBC_2.19 symbol.
4302         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4303         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4304         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4305         ... this.
4306         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4307         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4308         ... this.
4309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4310         Regenerate.
4311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4312         Regenerate.
4313         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4314         halfs of GPRs for high_gprs contexts.
4315         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4316         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
4317         field.
4318         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4319         uc_flags field.
4320         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4321         64 bit versions:
4322         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4323         for high GPRs (uc_high_gprs) and for future extensions
4324         (__reserved).
4325         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4326         for future extensions (__reserved).
4327         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4328         64 bit versions:
4329         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4330         SC_HIGHGPRS offset definition.
4331         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4332         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4334 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4336         * Versions.def: Add GLIBC_2.19 for libpthread.
4337         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4338         siglongjmp for libpthread with GLIBC_2.19 symver.
4339         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4340         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4341         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4342         * sysdeps/s390/__longjmp.c: New file.
4343         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4344         * sysdeps/s390/longjmp.c: New file.
4345         * sysdeps/s390/setjmp.S: New file.
4346         * sysdeps/s390/sigjmp.S: New file.
4347         * sysdeps/s390/v1-longjmp.c: New file.
4348         * sysdeps/s390/v1-setjmp.h: New file.
4349         * sysdeps/s390/v1-sigjmp.c: New file.
4350         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4351         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4352         GLIBC_2.19 version.
4353         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4354         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4355         versioned symbols for ____longjmp_chk.
4356         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4357         Likewise.
4358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4359         Regenerate.
4360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4361         Regenerate.
4362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4363         Regenerate.
4364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4365         Regenerate.
4366         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4367         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4368         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4369         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4370         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4371         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4372         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4373         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4374         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4375         * sysdeps/s390/rtld-__longjmp.c: New file.
4376         * sysdeps/s390/rtld-setjmp.S: New file.
4378 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
4380         [BZ #16400]
4381         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4382         Return -__logl (x) for small positive arguments without evaluating
4383         a polynomial.
4385 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
4387         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4388         Rename to ...
4389         (__ptrace_peeksiginfo_args): ... this.
4390         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4391         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4392         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4394 2014-01-06  Allan McRae  <allan@archlinux.org>
4396         * inet/netinet/in.h: Fix typo in comment.
4398 2014-01-05  Andreas Jaeger  <aj@suse.de>
4400         * sysdeps/i386/fpu/libm-test-ulps: Update.
4402 2014-01-05  Allan McRae  <allan@archlinux.org>
4404         * po/libc.pot: Regenerated.
4406         * malloc/memusagestat.c: Fix gettext call formatting.
4408 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4410         * nscd/nscd.c: Improve usage() output.
4412 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4414         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4415         * sysdeps/unix/sysv/linux/configure: Regenerated.
4416         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4417         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4419 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4421         [BZ #16390]
4422         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4423         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4425 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4428         extra tokens at end of #undef directive.
4429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4430         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4431         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4433 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4435         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4437         * math/auto-libm-test-in: Mark various tests with
4438         xfail-rounding:ldbl-128ibm.
4439         * math/auto-libm-test-out: Regenerated.
4441 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4443         [BZ #16386]
4444         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4445         numbers with subnormal high part when calculating exponent.
4447         [BZ #16385]
4448         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4449         fabs.
4451         [BZ #16384]
4452         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4453         M_LN2l.
4454         (__ieee754_acoshl): Use __log1pl not __log1p.
4456 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
4458         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4459         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4460         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4461         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4462         Convert to GNU style.
4463         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4464         mem2mem_check, mem2chunk_check, top_check, realloc_check,
4465         memalign_check, __malloc_set_state): Likewise.
4466         * malloc/mallocbug.c (main): Likewise.
4467         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4468         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4469         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4470         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4471         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4472         * malloc/malloc.h: Likewise.
4473         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4474         memalignhook, reallochook, mabort): Likewise.
4475         * malloc/mcheck.h: Likewise.
4476         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4477         mmap64, mremap, munmap, dest): Likewise.
4478         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4479         * malloc/morecore.c (__default_morecore): Likewise.
4480         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4481         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4482         _obstack_allocated_p, obstack_free, _obstack_memory_used,
4483         print_and_abort): Likewise.
4484         * malloc/obstack.h: Likewise.
4485         * malloc/set-freeres.c (__libc_freeres): Likewise.
4486         * malloc/tst-mallocstate.c (main): Likewise.
4487         * malloc/tst-mtrace.c (main): Likewise.
4488         * malloc/tst-realloc.c (do_test): Likewise.
4490 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4492         [BZ #16366]
4493         * nscd/netgroupcache.c (do_notfound): New function.
4494         (addgetnetgrentX): Use it.
4496         [BZ # 16365]
4497         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4498         NSS_STATUS_NOTFOUND.
4500 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
4502         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4505 2014-01-01  Allan McRae  <allan@archlinux.org>
4507         * scripts/update-copyrights: Update configure input file suffix.
4509         * NEWS: Update copyright year.
4510         * catgets/gencat.c: Likewise.
4511         * csu/version.c: Likewise.
4512         * debug/catchsegv.sh: Likewise.
4513         * debug/pcprofiledump.c: Likewise.
4514         * debug/xtrace.sh: Likewise.
4515         * elf/ldconfig.c: Likewise.
4516         * elf/ldd.bash.in: Likewise.
4517         * elf/pldd.c: Likewise.
4518         * elf/sotruss.ksh: Likewise.
4519         * elf/sprof.c: Likewise.
4520         * iconv/iconv_prog.c: Likewise.
4521         * iconv/iconvconfig.c: Likewise.
4522         * locale/programs/locale.c: Likewise.
4523         * locale/programs/localedef.c: Likewise.
4524         * login/programs/pt_chown.c: Likewise.
4525         * malloc/memusage.sh: Likewise.
4526         * malloc/memusagestat.c: Likewise.
4527         * malloc/mtrace.pl: Likewise.
4528         * manual/libc.texinfo: Likewise.
4529         * nscd/nscd.c: Likewise.
4530         * nss/getent.c: Likewise.
4531         * nss/makedb.c: Likewise.
4532         * posix/getconf.c: Likewise.
4533         * scripts/test-installation.pl: Likewise.
4535         * All files with FSF copyright notices: Update copyright dates
4536         using scripts/update-copyrights.
4537         * intl/plural.c: Regenerated.
4538         * locale/programs/charmap-kw.h: Likewise.
4539         * locale/programs/locfile-kw.h: Likewise.
4541 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
4543         * sysdeps/unix/sysv/linux/configure: Regenerated.
4544         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4545         the linux/fanotify.h header.
4546         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4547         HAVE_LINUX_FANOTIFY_H is defined.
4549 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4551         * benchtests/cos-inputs: New inputs.
4552         * benchtests/sin-inputs: Likewise.
4554         * benchtests/atan-inputs: New inputs. Fix name of multiple
4555         precision fallback inputs.
4557         * benchtests/atanh-inputs: New inputs.
4558         * benchtests/tanh-inputs: Likewise.
4560         * benchtests/acosh-inputs: New inputs.
4561         * benchtests/asinh-inputs: Likewise.
4563         * benchtests/cosh-inputs: New inputs.
4564         * benchtests/sinh-inputs: Likewise.
4566         * benchtests/acos-inputs: Add more inputs.
4567         * benchtests/asin-inputs: Likewise.
4569 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
4571         [BZ #16375]
4572         * manual/arith.texi: Fix spelling.
4573         * manual/charset.texi: Likewise.
4574         * manual/errno.texi: Likewise.
4575         * manual/filesys.texi: Likewise.
4576         * manual/lang.texi: Likewise.
4577         * manual/llio.texi: Likewise.
4578         * manual/locale.texi: Likewise.
4579         * manual/message.texi: Likewise.
4580         * manual/resource.texi: Likewise.
4581         * manual/search.texi: Likewise.
4582         * manual/setjmp.texi: Likewise.
4583         * manual/stdio.texi: Likewise.
4584         * manual/string.texi: Likewise.
4585         * manual/sysinfo.texi: Likewise.
4586         * manual/time.texi: Likewise.
4588 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
4590         * po/sl.po: New file.
4592 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
4594         * .gitignore: Add core/.gdbinit/.gdb_history.
4596 2013-12-27  Allan McRae  <allan@archlinux.org>
4598         [BZ #16369]
4599         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4600         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4602 2013-12-24  Brooks Moses  <bmoses@google.com>
4604         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4605         all compilers that claim C++98 compliance, not just GCC.
4606         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4607         Likewise.
4609 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4611         * NEWS: Restore accidentally deleted bug-fix entries.
4613 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4614             Ondřej Bílka  <neleai@seznam.cz>
4616         [BZ #15073]
4617         * malloc/malloc.c (_int_free): Perform sanity check only if we
4618         have_lock.
4620 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
4622         [BZ #12986]
4623         * manual/stdio.texi (String Input Conversions): Clarify that character
4624         classes are not supported.
4626 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4630 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
4632         [BZ #16337]
4633         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4634         Calculate results for small negative arguments directly rather
4635         than using reflection formula with special underflow handling.
4637         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4638         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4639         sysdeps/unix/bsd/bsd4.4/syscalls.list.
4640         (fchflags): Likewise.
4641         (revoke): Likewise.
4642         (setlogin): Likewise.
4643         (sigaltstack): Likewise.
4644         (wait4): Likewise.
4645         (sigblock): Remove.
4646         (sigsetmask): Likewise.
4647         (wait3): Likewise.
4648         (waitpid): Likewise.
4649         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4650         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4651         file.
4652         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4653         * sysdeps/unix/bsd/Makefile: ... here.
4654         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4655         * sysdeps/unix/bsd/Versions: ... here.
4656         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4657         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4658         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4659         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4660         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4661         * sysdeps/unix/bsd/sigblock.c: ... here.
4662         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4663         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4664         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4665         * sysdeps/unix/bsd/sigvec.c: ... here.
4666         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4667         * sysdeps/unix/bsd/tcdrain.c: ... here.
4668         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4669         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4670         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4671         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4672         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4673         * sysdeps/unix/bsd/wait.c: ... here.
4674         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4675         * sysdeps/unix/bsd/wait3.c: ... here.
4676         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4677         * sysdeps/unix/bsd/waitpid.c: ... here.
4679 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4681         [BZ #16356]
4682         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4683         round-to-nearest for [!USE_AS_EXPM1L].
4684         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4685         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4686         more tests of exp and exp10.  Expect some exp10 tests to miss
4687         exceptions or fail in directed rounding modes.
4688         * math/auto-libm-test-out: Regenerated.
4689         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4690         (exp10_test_tonearest): New function.
4691         (exp10_towardzero_test_data): New array.
4692         (exp10_test_towardzero): New function.
4693         (exp10_downward_test_data): New array.
4694         (exp10_test_downward): New function.
4695         (exp10_upward_test_data): New array.
4696         (exp10_test_upward): New function.
4697         (main): Call the new functions.
4698         * sysdeps/i386/fpu/libm-test-ulps: Update.
4699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4701 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4703         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4704         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4705         * math/auto-libm-test-out: Regenerated.
4706         * math/libm-test.inc (acosh_test_data): Add more tests.
4707         (atanh_test_data): Likewise.
4708         (ceil_test_data): Likewise.
4709         (copysign_test_data): Likewise.
4710         * sysdeps/i386/fpu/libm-test-ulps: Update.
4711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4713         * timezone/checktab.awk: Update from tzcode 2013i.
4714         * timezone/private.h: Likewise.
4715         * timezone/scheck.c: Likewise.
4716         * timezone/tzfile.h: Likewise.
4717         * timezone/tzselect.ksh: Likewise.
4718         * timezone/zdump.c: Likewise.
4719         * timezone/zic.c: Likewise.
4721         * math/auto-libm-test-in: Add tests of cpow.
4722         * math/auto-libm-test-out: Regenerated.
4723         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4724         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4725         mpc_cc_c.
4726         (func_calc_desc): Add mpc_cc_c union field.
4727         (test_functions): Add cpow.
4728         (special_fill_2pi): New function.
4729         (special_real_inputs): Add 2pi.
4730         (calc_generic_results): Handle mpc_cc_c.
4731         * sysdeps/i386/fpu/libm-test-ulps: Update.
4732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4734         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4735         csqrt, ctan and ctanh.
4736         * math/auto-libm-test-out: Regenerated.
4737         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4738         (TEST_COND_x86): Likewise.
4739         (ccos_test_data): Use AUTO_TESTS_c_c.
4740         (ccosh_test_data): Likewise.
4741         (cexp_test_data): Likewise.
4742         (clog_test_data): Likewise.
4743         (csqrt_test_data): Likewise.
4744         (ctan_test_data): Likewise.
4745         (ctan_tonearest_test_data): Likewise.
4746         (ctan_towardzero_test_data): Likewise.
4747         (ctan_downward_test_data): Likewise.
4748         (ctan_upward_test_data): Likewise.
4749         (ctanh_test_data): Likewise.
4750         (ctanh_tonearest_test_data): Likewise.
4751         (ctanh_towardzero_test_data): Likewise.
4752         (ctanh_downward_test_data): Likewise.
4753         (ctanh_upward_test_data): Likewise.
4754         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4755         mpc_c_c.
4756         (func_calc_desc): Add mpc_c_c union field.
4757         (FUNC_mpc_c_c): New macro.
4758         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4759         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4760         ctanh.
4761         (special_fill_min_subnorm_p120): New function.
4762         (special_real_inputs): Add min_subnorm_p120.
4763         (calc_generic_results): Handle mpc_c_c.
4764         * sysdeps/i386/fpu/libm-test-ulps: Update.
4765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4767 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4769         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4770         do_sin_slow): New functions.
4771         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4772         cslow2, csloww1, csloww2): Use the new functions.
4774         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4775         Use M to change sign of result instead of X.  Assume X is
4776         positive.
4777         (csloww1): Likewise.
4778         (__sin): Adjust.
4779         (__cos): Adjust.
4781         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4782         arguments A and DA.
4783         (__sin): Adjust.
4784         (__cos): Likewise.
4786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4787         (__cos): Likewise.
4788         (sloww1): Don't adjust sign of DX.
4789         (csloww1): Likewise.
4790         (sloww2): Use X directly and don't adjust sign of DX.
4791         (csloww2): Likewise.
4793 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4795         * math/auto-libm-test-in: Add tests of cabs and carg.
4796         * math/auto-libm-test-out: Regenerated.
4797         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4798         (carg_test_data): Likewise.
4799         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4800         mpc_c_f.
4801         (func_calc_desc): Add mpc_c_f union field.
4802         (test_functions): Add cabs and carg.
4803         (calc_generic_results): Handle mpc_c_f.
4805         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4806         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4807         as a macro and a compat symbol.
4808         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4809         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4810         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4811         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4812         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4814         not use .hidden.
4815         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4816         Likewise.
4817         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4818         Likewise.
4819         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4820         Likewise.
4821         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4822         Likewise.
4823         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4824         Likewise.
4825         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4826         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4827         from GLIBC_2.3.2.
4829 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4833 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4835         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4836         trailing whitespace removed.
4837         * scripts/config.guess: Update to version 2013-11-29.
4838         * scripts/config.sub: Update to version 2013-10-01.
4840         * math/auto-libm-test-in: Add tests of sincos.
4841         * math/auto-libm-test-out: Regenerated.
4842         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4843         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4844         mpfr_f_11.
4845         (func_calc_desc): Add mpfr_f_11 union field.
4846         (test_functions): Add sincos.
4847         (calc_generic_results): Handle mpfr_f_11.
4848         * sysdeps/i386/fpu/libm-test-ulps: Update.
4849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4851 2013-12-19  Andreas Schwab  <schwab@suse.de>
4853         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4854         CALL_MCOUNT.
4855         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4856         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4857         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4859 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4861         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4862         * sysdeps/i386/fpu/libm-test-ulps: Update.
4863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4865         [BZ #16293]
4866         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4867         round-to-nearest mode when using frndint.
4868         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4869         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4870         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4871         Likewise.
4872         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4873         sinh test to fail.
4874         * math/auto-libm-test-out: Regenerated.
4875         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4876         (TEST_COND_x86): Likewise.
4877         (expm1_tonearest_test_data): New array.
4878         (expm1_test_tonearest): New function.
4879         (expm1_towardzero_test_data): New array.
4880         (expm1_test_towardzero): New function.
4881         (expm1_downward_test_data): New array.
4882         (expm1_test_downward): New function.
4883         (expm1_upward_test_data): New array.
4884         (expm1_test_upward): New function.
4885         (main): Run the new test functions.
4886         * sysdeps/i386/fpu/libm-test-ulps: Update.
4887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4889         * include/features.h: Update comment documenting feature test
4890         macros.  Mention _DEFAULT_SOURCE in comment.
4891         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4892         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4893         _BSD_SOURCE and _SVID_SOURCE.
4894         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4895         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4896         !_SVID_SOURCE]: Likewise.
4897         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4898         (__USE_POSIX_IMPLICITLY): Define.
4899         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4900         (_POSIX_SOURCE): Undefine and redefine.
4901         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4902         (_POSIX_C_SOURCE): Likewise.
4903         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4904         (Feature Test Macros): Update documentation of default features.
4906 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4908         * benchtests/Makefile: Add bench-strtok.
4909         * benchtests/bench-strtok.c: New file: strtok benchtest.
4911 2013-12-19  Allan McRae  <allan@archlinux.org>
4913         * manual/install.texi: Suppress menu for plain text output.
4914         * INSTALL: Regenerated.
4916 2013-12-18  Brooks Moses  <bmoses@google.com>
4918         [BZ #15846]
4919         * misc/getauxval.c: Include errno.h.
4920         (__getauxval): Set errno to ENOENT if the requested type is not
4921         found.
4922         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4923         don't declare with __attribute_const__.
4924         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4925         * manual/startup.texi: Document that getauxval sets errno.
4927 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4929         * math/auto-libm-test-in: Add tests of jn and yn.
4930         * math/auto-libm-test-out: Regenerated.
4931         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4932         (yn_test_data): Likewise.
4933         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4934         mpfr_if_f.
4935         (func_calc_desc): Add mpfr_if_f union field.
4936         (FUNC_mpfr_if_f): New macro.
4937         (test_functions): Add jn and yn.
4938         (calc_generic_results): Assert type of second input for
4939         mpfr_ff_f.  Handle mpfr_if_f.
4940         (output_for_one_input_case): Disable all checking for arguments
4941         fitting floating-point types in case of an integer argument.
4942         * sysdeps/i386/fpu/libm-test-ulps: Update.
4943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4946         Don't expect fegetround reference in libm.so.
4948 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4950         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4951         $(config-cflags-nofma).
4953 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4955         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4956         * math/auto-libm-test-out: Regenerated.
4958         [BZ #16338]
4959         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4960         to determine exponent and adjust argument to have exponent of -1.
4961         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4962         log2.
4963         * math/auto-libm-test-out: Regenerated.
4964         * sysdeps/i386/fpu/libm-test-ulps: Update.
4965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4969         * manual/probes.texi: Remove cases when per-thread arenas are
4970         disabled.
4972 2013-12-18  Andreas Schwab  <schwab@suse.de>
4974         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4975         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4976         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4977         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4978         * sysdeps/i386/i686/multiarch/Makefile: Update.
4979         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4981 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4983         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4984         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4986 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4988         [BZ #15968]
4989         Support TZ transition times < 00:00:00.
4990         This is needed for version-3 tz-format files; it supports time
4991         stamps past 2037 for America/Godthab (the only entry in the tz
4992         database for which this change is relevant).
4993         * manual/time.texi (TZ Variable): Document transition times
4994         from -167:59:59 through -00:00:01.
4995         * time/tzset.c (tz_rule): Time of day is now signed.
4996         (__tzset_parse_tz): Parse negative time of day.
4998         Document TZ transition times >= 25:00:00.
4999         * manual/time.texi (TZ Variable): Document transition times from
5000         25:00:00 through 167:59:59.  These are already supported, and this
5001         support will help with version-3 tz-format files.
5003         * manual/time.texi (TZ Variable): Modernize North America example
5004         to reflect current (i.e., 2007-and-later) daylight saving rules.
5006         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5008 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5010         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5011         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5012         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5013         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5014         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5015         * sysdeps/unix/bsd/bsdstat.h: Likewise.
5016         * sysdeps/unix/bsd/clock.c: Likewise.
5017         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5018         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5019         * sysdeps/unix/bsd/init-posix.c: Likewise.
5020         * sysdeps/unix/bsd/poll.c: Likewise.
5021         * sysdeps/unix/bsd/ptsname.c: Likewise.
5022         * sysdeps/unix/bsd/seekdir.c: Likewise.
5023         * sysdeps/unix/bsd/setegid.c: Likewise.
5024         * sysdeps/unix/bsd/seteuid.c: Likewise.
5025         * sysdeps/unix/bsd/setgid.c: Likewise.
5026         * sysdeps/unix/bsd/setrgid.c: Likewise.
5027         * sysdeps/unix/bsd/setruid.c: Likewise.
5028         * sysdeps/unix/bsd/setsid.c: Likewise.
5029         * sysdeps/unix/bsd/setuid.c: Likewise.
5030         * sysdeps/unix/bsd/sigaction.c: Likewise.
5031         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5032         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5033         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5034         * sysdeps/unix/bsd/telldir.c: Likewise.
5035         * sysdeps/unix/bsd/times.c: Likewise.
5036         * sysdeps/unix/bsd/usleep.c: Likewise.
5038         * misc/Makefile (install-lib): Remove libbsd-compat.a.
5039         ($(objpfx)libbsd-compat.a): Remove rule.
5041         * include/features.h (__FAVOR_BSD): Do not define.
5042         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5043         features conflicting with POSIX.
5044         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5045         (_BSD_SOURCE): Remove description of not being a subset of other
5046         feature test macros.
5047         * manual/job.texi (getpgrp): Do not document BSD version.
5048         (getpgid): Do not document by reference to BSD getpgrp.
5049         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5050         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5051         * signal/signal.h [__FAVOR_BSD]: Likewise.
5052         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5053         instead of making contents conditional on [__FAVOR_BSD].
5054         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5056 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5060 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5062         [BZ #16314]
5063         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5064         values below 2**-450, not 2**-500.
5065         * math/auto-libm-test-in: Don't allow spurious underflow from
5066         hypot.
5067         * math/auto-libm-test-out: Regenerated.
5069         [BZ #16316]
5070         [BZ #16330]
5071         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5072         values of ha and hb and sort them after adjusting subnormal
5073         arguments.
5074         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5075         Likewise.
5076         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5077         values of ea and eb and sort them after adjusting subnormal
5078         arguments.
5079         * math/auto-libm-test-in: Do not expect some hypot tests of
5080         subnormals to fail.  Add more hypot tests.
5081         * math/auto-libm-test-out: Regenerated.
5083 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5085         [BZ #13304]
5086         * sysdeps/sh/s_fma.c: New file.
5087         * sysdeps/sh/s_fmaf.c: New file.
5088         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
5089         version.
5090         * sysdeps/sh/Implies: Add sh/soft-fp.
5092 2013-12-16  Roland McGrath  <roland@hack.frob.com>
5094         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
5095         level of indirection to members `objname', `errstring', `malloced'.
5096         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5097         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
5098         it as the __longjmp argument (just pass 1 instead).
5099         (_dl_catch_error): Initialize C with argument pointers and address of
5100         volatile local ERRCODE rather than copying values out of C at return.
5102 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
5104         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5105         * math/auto-libm-test-out: Regenerated.
5106         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5107         (hypot_test_data): Likewise.
5108         (pow_test_data): Likewise.
5109         (pow_tonearest_test_data): Likewise.
5110         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5111         mpfr_ff_f.
5112         (func_calc_desc): Add mpfr_ff_f union field.
5113         (FUNC_mpfr_ff_f): New macro.
5114         (test_functions): Add atan2, hypot and pow.
5115         (special_fill_min): New function.
5116         (special_fill_minus_min): Likewise.
5117         (special_fill_min_subnorm): Likewise.
5118         (special_fill_minus_min_subnorm): Likewise.
5119         (special_real_inputs): Add min, -min, min_subnorm and
5120         -min_subnorm.
5121         (calc_generic_results): Handle mpfr_ff_f.
5122         * sysdeps/i386/fpu/libm-test-ulps: Update.
5123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5125 2013-12-16  Will Newton  <will.newton@linaro.org>
5127         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5128         (Aligned Memory Blocks): Add documentation for aligned_alloc
5129         and suggest it as an alternative to posix_memalign.
5130         (Hooks for Malloc): Document __memalign_hook is also called
5131         for aligned_alloc.  (Summary of Malloc): Add summary for
5132         aligned alloc.  Document __memalign_hook is also called
5133         for aligned_alloc.
5135 2013-12-16  Will Newton  <will.newton@linaro.org>
5137         * manual/memory.texi (Malloc Examples): Clarify default
5138         alignment documentation.  Suggest posix_memalign rather
5139         than memalign or valloc.
5140         (Aligned Memory Blocks): Remove suggestion to use memalign
5141         or valloc.  Remove obsolete comment about BSD.
5142         Document memalign errno values and mark the function obsolete.
5143         Document posix_memalign returned error codes.  Mark valloc
5144         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5145         called for posix_memalign and valloc.
5146         (Summary of Malloc): Add posix_memalign to function summary.
5147         __memalign_hook is also called for posix_memalign and valloc.
5149 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5151         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5152         TAYLOR_SIN.
5153         (__sin): Adjust.
5154         (__cos): Likewise.
5155         (sloww): Use mynumber union.  Expand ternary operator into
5156         if-else statements.
5157         (cslow): use mynumber union.
5159 2013-12-16  Allan McRae  <allan@archlinux.org>
5161         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5162         * configure: Regenerated.
5164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5166         [BZ #14120]
5167         * configure.ac: Added --enable-maintainer-mode. Check for
5168         autoconf when enabled.
5169         * configure: Regenerated.
5171         * nscd/nscd.service: New file.
5172         * nscd/nscd.tmpfiles: New file.
5174 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5176         [BZ #12100]
5177         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5178         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5179         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5180         (strstr): Add __strstr_sse2_unaligned ifunc.
5181         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5182         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5183         (strcasestr): Remove __strcasestr_sse42 ifunc.
5184         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5188 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5190         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5191         * sysdeps/sh/bits/fenv.h: ... here.
5192         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5194 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5196         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5198 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5201         hypotf multiarch implementations.
5202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5203         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5204         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5205         multiarch hypot for PPC64.
5206         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5207         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5209         multiarch hypotf for PPC64.
5211 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5214         modff multiarch implementations.
5215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5218         multiarch modf for PPC64.
5219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5222         multiarch modff for PPC64.
5224 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5227         and logl multiarch implementations.
5228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5231         multiarch logb for PPC64.
5232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5235         multiarch logb for PPC64.
5236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5239         multiarch logb for PPC64.
5241 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5244         isinff multiarch implementation.
5245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5246         file.
5247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5249         multiarch isinf for PPC64.
5250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5251         file.
5252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5253         multiarch isinff for PPC64.
5255 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5258         finitef multiarch implementation.
5259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5260         file.
5261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5263         multiarch finite for PPC64.
5264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5265         file.
5266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5267         multiarch finitef for PPC64.
5269 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5272         lrint multiarch implementation.
5273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5274         file.
5275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5277         multiarch llrint for PPC64.
5278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5279         multiarch lrint for PPC64.
5281 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5284         copysignf multiarch implementation.
5285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5286         file.
5287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5288         file.
5289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5290         multiarch copysign for PPC64.
5291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5292         multiarch copysignf for PPC64.
5294 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5297         multiarch implementation.
5298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5299         file.
5300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5301         file.
5302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5303         file.
5304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5305         file.
5306         multiarch llround for PPC64.
5307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5308         multiarch trunc for PPC64.
5309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5310         multiarch truncf for PPC64.
5312 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5315         multiarch implementation.
5316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5317         file.
5318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5319         file.
5320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5321         file.
5322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5323         file.
5324         multiarch llround for PPC64.
5325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5326         multiarch round for PPC64.
5327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5328         multiarch roundf for PPC64.
5330 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5333         multiarch implementation.
5334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5335         file.
5336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5337         file.
5338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5339         file.
5340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5341         file.
5342         multiarch llround for PPC64.
5343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5344         multiarch floor for PPC64.
5345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5346         multiarch floorf for PPC64.
5348 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5351         multiarch implementation.
5352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5353         file.
5354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5355         file.
5356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5357         file.
5358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5359         file.
5360         multiarch llround for PPC64.
5361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5362         multiarch ceil for PPC64.
5363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5364         multiarch ceilf for PPC64.
5366 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5369         multiarch implementation.
5370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5371         file.
5372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5373         file.
5374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5375         file.
5376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5377         multiarch llround for PPC64.
5378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5379         multiarch lround for PPC64.
5381 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5384         multiarch implementation.
5385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5388         file.
5389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5392         multiarch isnan for PPC64.
5393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5394         multiarch isnanf for PPC64.
5396 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5398         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5399         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5400         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5401         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5402         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5405 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5407         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5408         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5412 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5415         multiarch implementations.
5416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5417         (__libc_ifunc_impl_list): Likewise.
5418         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5421         multiarch stpcpy for PPC64.
5423 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5426         multiarch implementations.
5427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5428         (__libc_ifunc_impl_list): Likewise.
5429         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5430         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5431         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5432         multiarch strcpy for PPC64.
5434 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5436         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5437         redefine function name.
5438         (_wordcopy_fwd_dest_aligned): Likewise.
5439         (_wordcopy_bwd_aligned): Likewise.
5440         (_wordcopy_bwd_dest_aligned): Likewise.
5441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5442         multiarch implementations.
5443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5444         (__libc_ifunc_impl_list): Likewise.
5445         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5446         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5449         multiarch wcscpy for PPC64.
5451 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5454         multiarch implementations.
5455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5456         (__libc_ifunc_impl_list): Likewise.
5457         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5458         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5459         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5460         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5461         multiarch wcscpy for PPC64.
5463 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5466         multiarch implementations.
5467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5468         (__libc_ifunc_impl_list): Likewise.
5469         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5470         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5471         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5472         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5473         multiarch wcsrchr for PPC64.
5475 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5478         multiarch implementations.
5479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5480         (__libc_ifunc_impl_list): Likewise.
5481         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5482         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5483         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5484         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5485         multiarch wcschr for PPC64.
5487 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5490         multiarch implementations.
5491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5492         (__libc_ifunc_impl_list): Likewise.
5493         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5494         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5495         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5496         multiarch strchrnul for PPC64.
5498 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5501         implementations.
5502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5503         (__libc_ifunc_impl_list): Likewise.
5504         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5505         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5506         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5507         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5508         strchr for PPC64.
5510 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5513         implementations.
5514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5515         (__libc_ifunc_impl_list): Likewise.
5516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5517         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5518         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5519         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5520         strncmp for PPC64.
5522 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5525         multiarch implementations.
5526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5527         (__libc_ifunc_impl_list): Likewise.
5528         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5529         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5530         strncasecmp for PPC64.
5531         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5532         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5533         multiarch strncasecmp_l for PPC64.
5535 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5538         multiarch implementations.
5539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5540         (__libc_ifunc_impl_list): Likewise.
5541         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5543         multiarch strcasecmp for PPC64.
5544         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5545         file.
5546         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5547         multiarch strcasecmp_l for PPC64.
5549 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5552         implementations.
5553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5554         (__libc_ifunc_impl_list): Likewise.
5555         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5556         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5557         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5558         strnlen for PPC64.
5560 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5563         implementations.
5564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5565         (__libc_ifunc_impl_list): Likewise.
5566         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5567         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5568         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5569         strlen for PPC64.
5571 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5574         implementations.
5575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5576         (__libc_ifunc_impl_list): Likewise.
5577         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5578         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5579         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5580         rawmemrchr for PPC64.
5582 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5585         implementation.
5586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5587         (__libc_ifunc_impl_list): Likewise.
5588         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5589         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5590         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5591         memrchr for PPC64.
5593 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5596         implementation.
5597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5598         (__libc_ifunc_impl_list): Likewise.
5599         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5600         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5601         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5602         memchr for PPC64.
5604 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5607         implementation.
5608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5609         (__libc_ifunc_impl_list): Likewise.
5610         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5611         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5612         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5613         mempcpy for PPC64.
5615 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5617         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5618         avoid cretion of __bzero symbol.
5619         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5620         Likewise.
5621         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5622         Likewise.
5623         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5624         Likewise.
5625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5626         multiarch implementations.
5627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5628         (__libc_ifunc_impl_list): Likewise.
5629         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5630         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5632         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5633         bzero for PPC32.
5634         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5635         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5636         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5637         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5638         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5639         memset for PPC64.
5640         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5642 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5644         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5646         implementations.
5647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5648         (__libc_ifunc_impl_list): Likewise.
5649         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5650         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5651         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5652         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5653         memcmp for PPC64.
5655 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5658         multiarch for POWER/PPC64.
5659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5660         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5661         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5667         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5668         memcpy for PPC64.
5670 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5672         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5673         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5674         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5675         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5676         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5677         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5678         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5679         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5680         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5681         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5682         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5683         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5684         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5685         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5686         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5695 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5697         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5699 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5701         * benchtests/Makefile (bench): Add exp2 and log2.
5702         (LDLIBS-bench-exp2): Add -lm.
5703         (LDLIBS-bench-log2): Likewise.
5704         * benchtests/exp2-inputs: New inputs file.
5705         * benchtests/log2-inputs: New inputs file.
5706         * benchtests/log-inputs: Add new inputs.
5707         * benchtests/tan-inputs: Likewise.
5709 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5711         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5712         definition...
5713         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5714         csloww1, csloww2): ... from here.
5716         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5717         instead of structures.
5718         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5719         (POLYNOMIAL): Likewise.
5720         (TAYLOR_SLOW): Likewise.
5721         (__sin): Likewise.
5722         (__cos): Likewise.
5723         (slow1): Likewise.
5724         (slow2): Likewise.
5725         (sloww): Likewise.
5726         (sloww1); Likewise.
5727         (sloww2): Likewise.
5728         (bsloww1): Likewise.
5729         (bsloww2): Likewise.
5730         (cslow2): Likewise.
5731         (csloww): Likewise.
5732         (csloww1): Likewise.
5733         (csloww2): Likewise.
5735 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5737         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5738         (__malloc_assert, __libc_realloc, __libc_calloc,
5739         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5740         memcpy and memset.
5741         * malloc/hooks.c (realloc_check): Likewise.
5743 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5745         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5746         * malloc/arena.c: Remove PER_THREAD conditional.
5747         [!PER_THREAD]: Remove code.
5748         (ptmalloc_unlock_all2): Likewise.
5749         (ptmalloc_init): Likewise.
5750         (_int_new_arena): Likewise.
5751         (arena_get2): Likewise.
5752         * malloc/hooks.c (__malloc_get_state): Likewise.
5753         (__malloc_set_state): Likewise.
5754         * malloc/malloc.c: Likewise.
5755         (struct malloc_state): Likewise.
5756         (struct malloc_par): Likewise.
5757         (__libc_realloc): Likewise.
5758         (__libc_mallopt): Likewise.
5760 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5762         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5764 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5766         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5767         macro to a function.  Check for zero perturb_byte.
5768         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5770 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5772         * malloc/malloc.c: (force_reg): Remove.
5773         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5774         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5775         force_reg by atomic_forced_read.
5776         * malloc/arena.c (ptmalloc_init): Likewise.
5777         * malloc/hooks.c (top_check): Likewise.
5779 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5783 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5787 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5789         * math/auto-libm-test-in: Add tests of lgamma.
5790         * math/auto-libm-test-out: Regenerated.
5791         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5792         (M_LOG_2_SQRT_PIl): Likewise.
5793         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5794         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5795         mpfr_f_f1.
5796         (func_calc_desc): Add mpfr_f_f1 union field.
5797         (ARGS1): New macro.
5798         (ARGS2): Likewise.
5799         (ARGS3): Likewise.
5800         (ARGS4): Likewise.
5801         (RET1): Likewise.
5802         (RET2): Likewise.
5803         (CALC): Likewise.
5804         (FUNC): Likewise.
5805         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5806         (test_functions): Add lgamma.
5807         (calc_generic_results): Handle mpfr_f_f1.
5808         * sysdeps/i386/fpu/libm-test-ulps: Update.
5809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5811 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5813         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5814         __mpn_add_n for PowerPC64/POWER7.
5815         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5816         __mpn_sub_n for PowerPC64/POWER7.
5818 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5820         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5821         __mpn_addmul_1 for PowerPC64.
5822         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5823         __mpn_submul_1 for PowerPC64.
5824         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5825         for PowerPC64.
5826         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5827         for PowerPC64.
5829 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5831         [BZ #15089]
5832         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5834 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5836         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5838 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5840         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5841         add multiarch folders.
5842         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5843         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5844         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5845         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5846         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5847         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5848         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5849         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5850         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5851         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5852         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5860 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5863         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5865         New file.
5866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5867         New file.
5868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5869         multiarch __ieee754_hypot for PowerPC32.
5870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5871         New file.
5872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5873         New file.
5874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5875         multiarch __ieee754_hypotf for PowerPC32.
5877 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5880         long_double_symbol only if __logbl is defined.
5881         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5882         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5884         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5886         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5887         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5888         path for implementation.
5889         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5890         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5892         logb, and logbl multiarch implementations for PowerPC32.
5893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5894         file.
5895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5896         file.
5897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5898         multiarch logb for PowerPC32.
5899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5900         file.
5901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5902         file.
5903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5904         multiarch logbf for PowerPC32.
5905         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5907         file.
5908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5909         multiarch logbl implementation for PowerPC32.
5911 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5914         and modff multiarch implementations.
5915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5916         New file.
5917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5918         New file.
5919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5920         multiarch modf for PowerPC32.
5921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5922         New file.
5923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5924         New file.
5925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5926         multiarch modff for PowerPC32.
5928 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5931         and lrintf multiarch implementations.
5932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5933         New file.
5934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5935         New file.
5936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5937         multiarch lrint for PowerPC32.
5938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5939         file: multiarch lrintf for PowerPC32.
5941 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5944         and lroundf multiarch implementations.
5945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5946         New file.
5947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5948         New file.
5949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5950         New file.
5951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5952         multiarch lround for PowerPC32.
5953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5954         file: multiarch lroundf for PowerPC32.
5956 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5959         copysign and copysignf multiarch implementations.
5960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5961         New file.
5962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5963         New file.
5964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5965         file: multiarch copysign for PowerPC32.
5966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5967         file: multiarch copysignf for PowerPC32.
5969 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5972         and truncf multiarch implementations.
5973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5974         New file.
5975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5976         file.
5977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5978         multiarch trunc for PowerPC32.
5979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5980         New file.
5981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5982         New file.
5983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5984         multiarch truncf for PowerPC32.
5986 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5989         and roundf multiarch implementations.
5990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5991         New file.
5992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5993         file.
5994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5995         multiarch round for PowerPC32.
5996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5997         New file.
5998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5999         New file.
6000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6001         multiarch roundf for PowerPC32.
6003 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6006         and floorf multiarch implementations.
6007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6008         New file.
6009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6010         file.
6011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6012         multiarch floor for PowerPC32.
6013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6014         New file.
6015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6016         New file.
6017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6018         multiarch floorf for PowerPC32.
6020 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6023         and ceilf multiarch implementations.
6024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6025         New file.
6026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6027         file.
6028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6029         multiarch ceil for PowerPC32.
6030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6031         New file.
6032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6033         file.
6034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6035         multiarch ceilf for PowerPC32.
6037 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6039         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6040         is defined.
6041         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6042         FINITEF is defined.
6043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6044         and finitef multiarch implementations.
6045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6046         New file.
6047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6048         file.
6049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6050         multiarch finite for PowerPC32.
6051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6052         New file.
6053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6054         file: multiarch finitef for PowerPC32.
6056 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6059         and isinff multiarch implementations.
6060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6061         file.
6062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6063         file.
6064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6065         multiarch isinf for PowerPC32.
6066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6067         New file.
6068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6069         multiarch isinff for PowerPC32.
6071 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6073         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6074         alias when __isnan is defined.
6075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6076         and isnanf multiarch implementations.
6077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6078         file.
6079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6080         file.
6081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6082         file.
6083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6084         file.
6085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6086         multiarch isnan for PowerPC32.
6087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6088         New file.
6089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6090         New file.
6091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6092         multiarch isnanf for PowerPC32.
6094 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6097         and sqrtf multiarch implementations.
6098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6099         file.
6100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6101         file.
6102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6103         multiarch sqrt for PowerPC32.
6104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6105         file.
6106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6107         file.
6108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6109         multiarch sqrtf for PowerPC32.
6111 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6114         and llroundf multiarch implementations.
6115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6116         New file.
6117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6118         New file.
6119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6120         New file.
6121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6122         file: multiarch llround for PowerPC32.
6123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6124         file: multiarch llroundf for PowerPC32.
6126 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6129         multiarch PowerPC32 fpu implementations.
6130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6131         New file.
6132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6133         New file.
6134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6135         multiarch llrint for PowerPC32.
6136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6137         New file.
6138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6139         New file.
6140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6141         file.
6143 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6147 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6149         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6150         file.
6151         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6152         file.
6153         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6154         file.
6155         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6156         multiarch wordcopy for PPC32.
6157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6158         wordcopy objects.
6159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6160         (__libc_ifunc_impl_list): Likewise.
6161         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6162         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6163         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6164         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6165         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6166         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6168 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6170         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6172         file.
6173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6174         file.
6175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6176         file.
6177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6178         multiarch wcscpy for PPC32.
6179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6180         multiarch objects.
6181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6182         (__libc_ifunc_impl_list): Likewise.
6183         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6184         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6185         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6186         sysdeps/powerpc/power6/wcscpy.c.
6188 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6190         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6192         file.
6193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6194         file.
6195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6196         file.
6197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6198         multiarch wcsrchr for PPC32.
6199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6200         multiarch objects.
6201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6202         (__libc_ifunc_impl_list): Likewise.
6203         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6204         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6205         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6206         sysdeps/powerpc/power6/wcsrchr.c.
6208 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6210         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6211         file.
6212         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6213         file.
6214         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6216         multiarch wcschr for PPc32.
6217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6218         multiarch objects.
6219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6220         (__libc_ifunc_impl_list): Likewise.
6221         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6222         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6223         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6224         sysdeps/powerpc/power6/wcschr.c.
6226 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6228         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6229         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6230         file.
6231         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6232         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6233         file: multiarch strchr for PPC32.
6234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6235         multiarch objects.
6236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6237         (__libc_ifunc_impl_list): Likewise.
6239 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6241         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6242         name.
6243         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6244         file.
6245         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6246         file.
6247         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6248         multiarch strchrnul for PPC32.
6249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6250         multiarch objects.
6251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6252         (__libc_ifunc_impl_list): Likewise.
6254 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6256         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6257         file.
6258         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6259         multiarch strncasecmp for PPC32.
6260         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6261         file.
6262         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6263         multiarch strncasecmp_l for PPC32.
6264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6265         strncasecmp multiarch objects.
6266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6267         (__libc_ifunc_impl_list): Likewise.
6269 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6271         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6272         file.
6273         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6274         multiarch strncasecmp for PPC32.
6275         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6276         New file.
6277         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6278         multiarch strcasecmp_l for PPC32.
6279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6280         multiarch objects.
6281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6282         (__libc_ifunc_impl_list): Likewise.
6284 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6286         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6287         file.
6288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6289         file.
6290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6291         multiarch strncmp for PPC32.
6292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6293         multiarch objects.
6294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6295         (__libc_ifunc_impl_list): Likewise.
6297 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6299         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6300         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6301         file.
6302         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6303         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6305         multiarch objects.
6306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6307         (__libc_ifunc_impl_list): Likewise.
6309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6311         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6312         file.
6313         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6314         file.
6315         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6317         multiarch objects.
6318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6319         (__libc_ifunc_impl_list): Likewise.
6321 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6323         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6324         file.
6325         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6326         file.
6327         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6328         multiarch rawmemchr for PPC32.
6329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6330         multiarch objects.
6331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6332         (__libc_ifunc_impl_list): Likewise.
6334 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6336         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6337         file.
6338         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6339         file.
6340         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6341         file: memrchr multiarch for PPC32.
6342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6343         multiarch objects.
6344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6345         (__libc_ifunc_impl_list): Likewise.
6347 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6349         * string/memchr.c (__memchr): Using macro to redefine symbol name.
6350         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6351         file.
6352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6354         multiarch memchr for PPC32.
6355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6356         multiarch objects.
6357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6358         (__libc_ifunc_impl_list): Likewise.
6360 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6362         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6363         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6364         file.
6365         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6366         file.
6367         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6368         file: multiarch mempcpy for PPC32.
6369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6370         multiarch objects.
6371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6372         (__libc_ifunc_impl_list): Likewise.
6374 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6376         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6380         multiarch bzero for PPC32.
6381         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6382         file.
6383         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6384         file.
6385         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6386         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6387         file: multiarch memset for PPC32.
6388         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6390         memset multiarch objects.
6391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6392         (__libc_ifunc_impl_list): Likewise.
6394 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6397         file.
6398         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6400         memcmp for PPC32.
6401         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6403         multiarch objects.
6404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6405         (__libc_ifunc_impl_list): Likewise.
6407 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6412         file.
6413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6414         file.
6415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6416         file.
6417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6418         multiarch memcpy for PPC32.
6419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6420         multiarch objects.
6421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6422         (__libc_ifunc_impl_list): Likewise.
6424 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6427         support multiarch for POWER/PPC32.
6428         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6429         Likewise.
6430         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6432         Implies file to make multiarch folder appers before the fpu and
6433         default folder for power4 configuration.
6435 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6437         * scripts/bench.pl: Append volatile keyword to type.
6439 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6441         * sysdeps/sh/sotruss-lib.c: New file.
6442         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6444 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6448 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6450         [BZ #6810]
6451         * math/w_tgamma.c: Include <errno.h>.
6452         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6453         * math/w_tgammaf.c: Include <errno.h>.
6454         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6455         * math/w_tgammal.c: Include <errno.h>.
6456         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
6457         * math/auto-libm-test-in: Do not allow missing errno on tgamma
6458         underflow.  Add more tgamma tests.
6459         * math/auto-libm-test-out: Regenerated.
6460         * sysdeps/i386/fpu/libm-test-ulps: Update.
6461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6463         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6464         sin, sinh, tan, tanh, tgamma, y0 and y1.
6465         * math/auto-libm-test-out: Regenerated.
6466         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6467         (TEST_COND_x86): Likewise.
6468         (M_E2l): Remove macro.
6469         (M_E3l): Likewise.
6470         (M_2_SQRT_PIl): Likewise.
6471         (M_SQRT_PIl): Likewise.
6472         (M_1_DIV_El): Likewise.
6473         (log_test_data): Use AUTO_TESTS_f_f.
6474         (log10_test_data): Likewise.
6475         (log1p_test_data): Likewise.
6476         (log2_test_data): Likewise.
6477         (sin_test_data): Likewise.
6478         (sin_tonearest_test_data): Likewise.
6479         (sin_towardzero_test_data): Likewise.
6480         (sin_downward_test_data): Likewise.
6481         (sin_upward_test_data): Likewise.
6482         (sinh_test_data): Likewise.
6483         (sinh_tonearest_test_data): Likewise.
6484         (sinh_towardzero_test_data): Likewise.
6485         (sinh_downward_test_data): Likewise.
6486         (sinh_upward_test_data): Likewise.
6487         (tan_test_data): Likewise.
6488         (tan_tonearest_test_data): Likewise.
6489         (tan_towardzero_test_data): Likewise.
6490         (tan_downward_test_data): Likewise.
6491         (tan_upward_test_data): Likewise.
6492         (tanh_test_data): Likewise.
6493         (tgamma_test_data): Likewise.
6494         (y0_test_data): Likewise.
6495         (y1_test_data): Likewise.
6496         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6497         (special_real_inputs): Add pi/4.
6498         * sysdeps/i386/fpu/libm-test-ulps: Update.
6499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6501 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6503         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6504         "longjmp_target" static probes.
6505         (__longjmp): Rename to __longjmp_symbol.
6506         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6507         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6508         on which longjmp to generate.
6509         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6510         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6511         probe.
6512         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6513         (__sigjmp_save): Rename to __sigjmp_save_symbol.
6514         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6515         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6516         and __sigjmp_save_symbol based on which sigsetjmp to generated.
6517         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6519         __longjmp_symbol based on which __longjmp to generate.
6520         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6521         probe.
6522         (setjmp): Rename to setjmp_symbol.
6523         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6524         (_setjmp): Rename to _setjmp_symbol.
6525         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6526         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6527         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6528         which setjmp to generate.
6529         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6530         "longjmp_target" static probes.
6532 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6534         * benchtests/README: Add note about output arguments.
6535         * benchtests/bench-sincos.c: Remove file.
6536         * benchtests/sincos-inputs: New file.
6537         * scripts/bench.pl: Identify output arguments and define
6538         static variables for them.
6540         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6542         [BZ #15941]
6543         * Makefile (INSTALL): Add install-plain.texi as the primary
6544         dependency.
6545         * manual/install-plain.texi: New file.
6546         * manual/install.texi: Include node directive only for
6547         non-plaintext output.
6549 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
6551         * stdlib/longlong.h: Update from GCC.
6553         [BZ #6807]
6554         [BZ #15901]
6555         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6556         * math/w_j0f.c (y0f): Likewise.
6557         * math/w_j0l.c (__y0l): Likewise.
6558         * math/w_j1.c (y1): Likewise.
6559         * math/w_j1f.c (y1f): Likewise.
6560         * math/w_j1l.c (__y1l): Likewise
6561         * math/w_jn.c (yn): Likewise.
6562         * math/w_jnf.c (ynf): Likewise.
6563         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6564         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
6565         value for Bessel function domain errors outside _SVID_ mode.
6566         Adjust sign of return value for yn (negative integer, 0).
6567         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6568         by zero in return for negative x and set sign appropriately for
6569         negative n.
6570         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6571         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6572         * math/libm-test.inc (y0_test_data): Add more tests and adjust
6573         expectations in error cases.
6574         (y1_test_data): Likewise.
6575         (yn_test_data): Likewise.
6576         * sysdeps/i386/fpu/libm-test-ulps: Update.
6577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6579 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6581         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6582         "64" to "64-v1".  Add "64-v2".
6583         (abi-64-options): Rename to ...
6584         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
6585         (abi-64-condition): Rename to ...
6586         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
6587         (abi-64-ld-soname): Rename to ...
6588         (abi-64-v1-ld-soname): ... this.
6589         (abi-64-v2-options): Define.
6590         (abi-64-v2-condition): Likewise.
6591         (abi-64-v2-ld-soname): Likewise.
6592         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6593         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6598 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6599             Alan Modra  <amodra@gmail.com>
6601         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6602         New versions for use with the ELFv2 ABI.
6603         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6604         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6605         declaration.
6606         (struct La_ppc64v2_retval): Likewise.
6607         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6608         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6609         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6610         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6611         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6612         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6613         Do not save or restore CR.
6614         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6615         (_dl_profile_resolve): Do no save or restore CR.  Support extended
6616         return values for ELFv2 ABI.  Fix location of FPR return registers.
6617         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6618         updated values for _CALL_ELF == 2.
6619         (La_regs, La_retval, int_retval): Likewise.
6621 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6623         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6624         (FRAME_MIN_SIZE_PARM): Likewise.
6625         (FRAME_BACKCHAIN): Likewise.
6626         (FRAME_CR_SAVE): Likewise.
6627         (FRAME_LR_SAVE): Likewise.
6628         (FRAME_TOC_SAVE): Likewise.
6629         (FRAME_PARM_SAVE): Likewise.
6630         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6631         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6632         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6633         (call_mcount_parm_offset): New macro.
6634         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6635         (PROF): Use symbolic stack frame offsets.
6636         (TAIL_CALL_SYSCALL_ERROR): Likewise.
6637         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6638         Redefine in terms of FRAME_MIN_SIZE.
6639         (_dl_runtime_resolve): Use symbolic stack frame offsets.
6640         (_dl_profile_resolve): Likewise.  Update comment.
6641         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6642         symbols stack frame offsets.
6643         (__sigsetjmp): Likewise.
6644         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6645         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6646         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6647         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6650         (FRAME_BACKCHAIN): Remove.
6651         (FRAME_CR_SAVE): Likewise.
6652         (FRAME_LR_SAVE): Likewise.
6653         (FRAME_COMPILER_DW): Likewise.
6654         (FRAME_LINKER_DW): Likewise.
6655         (FRAME_TOC_SAVE): Likewise.
6656         (FRAME_PARM_SAVE): Likewise.
6657         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6658         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6659         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6661         (CHECK_SP): Use symbolic stack frame offsets.
6662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6663         zone" instead of caller's parameter save area for temp storage.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6665         Likewise.  Also, use symbolic stack frame offsets.
6666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6667         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6668         our own stack frame instead of the caller's.
6669         (__socket): Use symbolic stack frame offsets.
6671 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6672             Alan Modra  <amodra@gmail.com>
6674         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6675         Define.
6676         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6677         PPC64_LOCAL_ENTRY_OFFSET): Define.
6678         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6679         New function.
6680         (elf_machine_fixup_plt): Call it.
6681         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6682         reloc arguments.
6683         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6684         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6685         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6686         r2 before calling target.
6688 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6689             Alan Modra  <amodra@gmail.com>
6691         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6692         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6693         versions of macros to support ELFv2 ABI.
6694         (LOCALENTRY): New macro.
6695         (ENTRY, EALIGN): Use it.
6696         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6697         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6698         fall through into ENTRY entry point.
6699         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6700         Only define if _CALL_ELF != 2.
6702         (elf_machine_matches_host): Verify ABI version matches.
6703         (RTLD_START): Use LOCALENTRY.
6704         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6705         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6706         (PLT_ENTRY_WORDS): New macro.
6707         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6708         (elf_machine_runtime_setup): Support ELFv2 ABI.
6709         (elf_machine_fixup_plt): Likewise.
6710         (elf_machine_plt_conflict): Likewise.
6711         (resolve_ifunc): Likewise.
6712         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6713         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6714         Likewise.
6715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6716         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6718         (makecontext): Support ELFv2 ABI.
6719         * elf/elf.h (EF_PPC64_ABI): Define.
6721 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6723         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6724         New assembler macro.
6725         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6726         [ASSEMBLER] (ENTRY): ... but instead here ...
6727         [ASSEMBLER] (EALIGN): ... and here.
6728         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6729         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6730         [!ASSEMBLER] (ENTRY_2): Use it.
6731         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6732         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6733         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6734         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6735         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6737         Use PPC64_LOAD_FUNCPTR.
6739 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6741         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6743 2013-12-04  Alan Modra  <amodra@gmail.com>
6745         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6746         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6747         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6748         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6751         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6752         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6753         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6754         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6755         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6757 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6760         (__makecontext): Fix incorrect CFI when backtracing out of
6761         context created via makecontext.
6762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6763         (__setcontext): Fix incorrect CFI during switch to new context.
6764         (__novec_setcontext): Likewise.
6766 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6768         [BZ #4772]
6769         * time/strptime_l.c (__strptime_internal): Allow modifiers
6770         in strptime.
6771         * time/tst-strptime.c (day_tests): Add testcase.
6774 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6776         * scripts/bench.pl: Skip over blank lines.
6778 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6780         [BZ #926]
6781         * manual/time.texi (Calendar Time): Clarify what timezone functions
6782         use.
6784 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6788 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6790         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6791         implementation.
6792         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6793         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6794         * debug/memset_chk.c (__memset_chk): Likewise.
6795         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6796         * debug/strncpy_chk.c: Likewise.
6798 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6800         [BZ #15268]
6801         [BZ #15425]
6802         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6803         (__ieee754_exp): For possibly underflowing results, check size of
6804         result and force underflow exception if required.
6805         * math/auto-libm-test-in: Add more tests of exp.
6806         * math/auto-libm-test-out: Regenerated.
6807         * sysdeps/i386/fpu/libm-test-ulps: Update.
6808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6810         [BZ #16283]
6811         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6812         * math/w_exp2f.c (__exp2f): Likewise.
6813         * math/w_exp2l.c (__exp2l): Likewise.
6814         * math/auto-libm-test-in: Do not allow missing errno on exp2
6815         underflow.
6816         * math/auto-libm-test-out: Regenerated.
6818 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6820         [BZ #16274]
6821         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6822         handle filename validation.
6823         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6824         (do_open): Delete.
6826 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6828         [BZ #6786]
6829         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6830         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6831         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6832         <float.h>.
6833         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6834         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6835         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6836         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6837         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6838         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6839         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6840         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6841         Add more erfc tests.
6842         * math/auto-libm-test-out: Regenerated.
6843         * sysdeps/i386/fpu/libm-test-ulps: Update.
6844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6846         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6847         exp2, expm1, j0 and j1.
6848         * math/auto-libm-test-out: Regenerated.
6849         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6850         (erfc_test_data): Likewise.
6851         (exp_test_data): Likewise.
6852         (exp_tonearest_test_data): Likewise.
6853         (exp_towardzero_test_data): Likewise.
6854         (exp_downward_test_data): Likewise.
6855         (exp_upward_test_data): Likewise.
6856         (exp10_test_data): Likewise.
6857         (exp2_test_data): Likewise.
6858         (expm1_test_data): Likewise.
6859         (j0_test_data): Likewise.
6860         (j1_test_data): Likewise.
6861         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6862         (input_flag_type): Add flag_xfail_rounding.
6863         (input_flags): Add xfail-rounding.
6864         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6865         (output_for_one_input_case): Handle flag_xfail_rounding.
6866         * sysdeps/i386/fpu/libm-test-ulps: Update.
6867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6869 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6871         [BZ #16289]
6872         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6873         division by 0.
6875 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6877         [BZ #16195]
6878         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6879         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6880         (STAP_PROBE0): New macro.
6881         (STAP_PROBE1): Likewise.
6882         (STAP_PROBE2): Likewise.
6883         (STAP_PROBE3): Likewise.
6884         (STAP_PROBE4): Likewise.
6886 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6888         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6890 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6892         * benchtests/Makefile (bench): Add sqrt.
6893         (LDLIBS-bench-sqrt): New.
6894         * benchtests/sqrt-input: New.
6896 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6898         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6899         (GAIH_EAI): Likewise.
6900         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6901         (gaih_inet): Likewise.
6902         (getaddrinfo): Don't use GAIH_EAI.
6904         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6905         (struct gaih): Remove definition.
6907 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6909         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6910         Use HERRNOP directly.
6912 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6916 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6918         * math/gen-auto-libm-tests.c (test_functions): Add more
6919         single-argument functions.
6920         (special_fill_pi_2): New function.
6921         (special_fill_minus_pi_2): Likewise.
6922         (special_fill_pi_6): Likewise.
6923         (special_fill_minus_pi_6): Likewise.
6924         (special_fill_pi_3): Likewise.
6925         (special_fill_2pi_3): Likewise.
6926         (special_fill_e): Likewise.
6927         (special_fill_1_e): Likewise.
6928         (special_fill_e_minus_1): Likewise.
6929         (special_real_inputs): Add more special inputs.
6930         (output_for_one_input_case): Do not require ERANGE on underflow to
6931         zero if round-to-nearest result does not underflow to zero, unless
6932         exact results required.
6933         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6934         atan, atanh, cbrt, cos and cosh.
6935         * math/auto-libm-test-out: Regenerated.
6936         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6937         (acos_tonearest_test_data): Likewise.
6938         (acos_towardzero_test_data): Likewise.
6939         (acos_downward_test_data): Likewise.
6940         (acos_upward_test_data): Likewise.
6941         (acosh_test_data): Likewise.
6942         (asin_test_data): Likewise.
6943         (asin_tonearest_test_data): Likewise.
6944         (asin_towardzero_test_data): Likewise.
6945         (asin_upward_test_data): Likewise.
6946         (asinh_test_data): Likewise.
6947         (atan_test_data): Likewise.
6948         (atanh_test_data): Likewise.
6949         (cbrt_test_data): Likewise.
6950         (cos_test_data): Likewise.
6951         (cos_tonearest_test_data): Likewise.
6952         (cos_towardzero_test_data): Likewise.
6953         (cos_downward_test_data): Likewise.
6954         (cos_upward_test_data): Likewise.
6955         (cosh_test_data): Likewise.
6956         (cosh_tonearest_test_data): Likewise.
6957         (cosh_towardzero_test_data): Likewise.
6958         (cosh_downward_test_data): Likewise.
6959         (cosh_upward_test_data): Likewise.
6960         * sysdeps/i386/fpu/libm-test-ulps: Update.
6961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6963 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6965         [BZ #6787]
6966         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6967         * math/w_exp10f.c (__exp10f): Likewise.
6968         * math/w_exp10l.c (__exp10l): Likewise.
6969         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6970         errno settings in existing tests.
6972         [BZ #14032]
6973         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6974         precision control set to double precision.
6975         * sysdeps/i386/fpu/w_sqrt.c: New file.
6976         * math/auto-libm-test-in: Add more tests.
6977         * math/auto-libm-test-out: Update.
6979         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6980         (sqrt_test_tonearest): New function.
6981         (sqrt_towardzero_test_data): New variable.
6982         (sqrt_test_towardzero): New function.
6983         (sqrt_downward_test_data): New variable.
6984         (sqrt_test_downward): New function.
6985         (sqrt_upward_test_data): New variable.
6986         (sqrt_test_upward): New function.
6987         (main): Call the new functions.
6989         * math/gen-auto-libm-tests.c: New file.
6990         * math/auto-libm-test-in: Likewise.
6991         * math/auto-libm-test-out: New generated file.
6992         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6993         variables.
6994         (%beautify): Add generated representations of zero.
6995         (top level): Set $auto_input and call parse_auto_input.
6996         (beautify): Remove trailing "f" from hex float constants.
6997         (parse_args): Handle XFAIL_TEST.
6998         (convert_condition): New function.
6999         (or_value): Likewise.
7000         (or_cond_value): Likewise.
7001         (generate_testfile): Handle AUTO_TESTS_* lines.
7002         (parse_auto_input): New function.
7003         * math/libm-test.inc (XFAIL_TEST): New macro.
7004         (ERRNO_UNCHANGED): Update value.
7005         (ERRNO_EDOM): Likewise.
7006         (ERRNO_ERANGE): Likewise.
7007         (IGNORE_RESULT): Likewise.
7008         (TEST_COND_flt_32): New macro.
7009         (TEST_COND_dbl_64): Likewise.
7010         (TEST_COND_ldbl_96_intel): Likewise.
7011         (TEST_COND_ldbl_96_m68k): Likewise.
7012         (TEST_COND_ldbl_128): Likewise.
7013         (TEST_COND_ldbl_128ibm): Likewise.
7014         (TEST_COND_long32): Likewise.
7015         (TEST_COND_long64): Likewise.
7016         (TEST_COND_before_rounding): Likewise.
7017         (TEST_COND_after_rounding): Likewise.
7018         (enable_test): Handle XFAIL_TEST flag.
7019         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7020         with finite results.
7021         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7022         auto-libm-test-out.
7024 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7025             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7027         [BZ #16214]
7028         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7029         __tls_get_addr_internal instead of __tls_get_offset in order to
7030         avoid GOT pointer dependency.  Make rtld export
7031         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7032         __tls_get_addr since we are a __tls_get_offset platform.
7033         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7034         GOT pointer being set up before.
7035         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7037 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7039         * manual/math.texi (Errors in Math Functions): Document accuracy
7040         goals.
7042         [BZ #15004]
7043         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7044         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7045         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7046         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7047         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7048         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7049         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7050         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7051         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7052         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7053         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7054         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7055         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7056         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7057         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7058         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7060         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7061         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7062         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7063         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7064         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7065         Likewise.
7066         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7067         Likewise.
7068         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7069         Likewise.
7070         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7071         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7072         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7073         atomic-feupdateenv and flt-rounds.
7074         * sysdeps/powerpc/nofpu/Versions (libc): Add
7075         __atomic_feholdexcept, __atomic_feclearexcept,
7076         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7077         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7078         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7080         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7081         here.
7082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7083         Update.
7085         * manual/arith.texi (FP Exceptions): Document that exceptions may
7086         not be raised when matherr is used.
7087         (Math Error Reporting): Document overflow in directed rounding
7088         modes.  Document that errno may not be set when finite values are
7089         returned on overflow.  Document intent to set errno on underflow
7090         only for underflow to zero.
7092         [BZ #16271]
7093         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7094         round-to-nearest then adjust result for other rounding modes.
7095         * include/fenv.h (fegetround): Use libm_hidden_proto.
7096         * math/fegetround.c (fegetround): Use libm_hidden_def.
7097         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7098         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7099         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7100         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7101         Likewise.
7102         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7103         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7104         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7105         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7107 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7109         [BZ #16077]
7110         * nss/Versions (libnss_files): Add
7111         _nss_files_gethostbyname3_r.
7112         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7113         New function.
7114         (HOST_DB_LOOKUP): Remove macro.
7115         (_nss_files_gethostbyname_r): Implement function without the
7116         HOST_DB_LOOKUP macro.
7117         (_nss_files_gethostbyname2_r): Likewise.
7119 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7121         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7123 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7125         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7126         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7127         warning.
7129 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7131         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7132         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7133         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7134         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7135         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7136         __fe_nomask_env_priv and attribute_hidden.
7137         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7138         (libc_feupdateenv_test_ppc): Likewise.
7139         (libc_feresetround_ppc): Likewise.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7141         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7142         compat_symbol macro.
7143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7144         (__fe_nomask_env): Likewise.
7145         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7147 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7149         * string/Makefile: Remove ifunc tests.
7150         * string/test-string.h: Define TEST_IFUNC.
7151         * string/test-bcopy-ifunc.c: Remove.
7152         * string/test-bzero-ifunc.c: Likewise.
7153         * string/test-memccpy-ifunc.c: Likewise.
7154         * string/test-memchr-ifunc.c: Likewise.
7155         * string/test-memcmp-ifunc.c: Likewise.
7156         * string/test-memcpy-ifunc.c: Likewise.
7157         * string/test-memmem-ifunc.c: Likewise.
7158         * string/test-memmove-ifunc.c: Likewise.
7159         * string/test-mempcpy-ifunc.c: Likewise.
7160         * string/test-memrchr-ifunc.c: Likewise.
7161         * string/test-memset-ifunc.c: Likewise.
7162         * string/test-rawmemchr-ifunc.c: Likewise.
7163         * string/test-stpcpy-ifunc.c: Likewise.
7164         * string/test-stpncpy-ifunc.c: Likewise.
7165         * string/test-strcasecmp-ifunc.c: Likewise.
7166         * string/test-strcasestr-ifunc.c: Likewise.
7167         * string/test-strcat-ifunc.c: Likewise.
7168         * string/test-strchr-ifunc.c: Likewise.
7169         * string/test-strchrnul-ifunc.c: Likewise.
7170         * string/test-strcmp-ifunc.c: Likewise.
7171         * string/test-strcpy-ifunc.c: Likewise.
7172         * string/test-strcspn-ifunc.c: Likewise.
7173         * string/test-strlen-ifunc.c: Likewise.
7174         * string/test-strncasecmp-ifunc.c: Likewise.
7175         * string/test-strncat-ifunc.c: Likewise.
7176         * string/test-strncmp-ifunc.c: Likewise.
7177         * string/test-strncpy-ifunc.c: Likewise.
7178         * string/test-strnlen-ifunc.c: Likewise.
7179         * string/test-strpbrk-ifunc.c: Likewise.
7180         * string/test-strrchr-ifunc.c: Likewise.
7181         * string/test-strspn-ifunc.c: Likewise.
7182         * string/test-strstr-ifunc.c: Likewise.
7184 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7186         * benchtests/Makefile: Remove ifunc tests.
7187         * benchtests/bench-string.h: Define TEST_IFUNC.
7188         * benchtests/bench-bcopy-ifunc.c: Remove.
7189         * benchtests/bench-bzero-ifunc.c: Likewise.
7190         * benchtests/bench-memccpy-ifunc.c: Likewise.
7191         * benchtests/bench-memchr-ifunc.c: Likewise.
7192         * benchtests/bench-memcmp-ifunc.c: Likewise.
7193         * benchtests/bench-memcpy-ifunc.c: Likewise.
7194         * benchtests/bench-memmem-ifunc.c: Likewise.
7195         * benchtests/bench-memmove-ifunc.c: Likewise.
7196         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7197         * benchtests/bench-memrchr-ifunc.c: Likewise.
7198         * benchtests/bench-memset-ifunc.c: Likewise.
7199         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7200         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7201         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7202         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7203         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7204         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7205         * benchtests/bench-strcat-ifunc.c: Likewise.
7206         * benchtests/bench-strchr-ifunc.c: Likewise.
7207         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7208         * benchtests/bench-strcmp-ifunc.c: Likewise.
7209         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7210         * benchtests/bench-strcpy-ifunc.c: Likewise.
7211         * benchtests/bench-strcspn-ifunc.c: Likewise.
7212         * benchtests/bench-strlen-ifunc.c: Likewise.
7213         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7214         * benchtests/bench-strncat-ifunc.c: Likewise.
7215         * benchtests/bench-strncmp-ifunc.c: Likewise.
7216         * benchtests/bench-strncpy-ifunc.c: Likewise.
7217         * benchtests/bench-strnlen-ifunc.c: Likewise.
7218         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7219         * benchtests/bench-strrchr-ifunc.c: Likewise.
7220         * benchtests/bench-strsep-ifunc.c: Likewise.
7221         * benchtests/bench-strspn-ifunc.c: Likewise.
7222         * benchtests/bench-strstr-ifunc.c: Likewise.
7224 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7226         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7228 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7230         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7231         * rt/aio.h: Likewise.
7232         * sysdeps/gnu/bits/utmp.h: Likewise.
7233         * sysdeps/gnu/bits/utmpx.h: Likewise.
7234         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7235         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7236         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7237         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7238         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7239         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7240         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7241         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7242         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7243         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7244         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7245         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7246         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7248         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7249         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7250         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7251         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7252         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7253         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7254         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7255         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7256         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7257         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7258         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7259         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7260         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7261         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7262         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7263         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7264         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7265         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7266         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7267         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7268         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7269         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7270         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7271         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7272         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7273         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7274         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7275         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7277 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7279         [BZ #16245]
7280         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7281         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7283 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7285         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7286         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7287         Likewise.
7289 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7291         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7292         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7293         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7294         (__fesetround): Remove define.
7295         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7296         rounding and exceptions handling.
7297         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7298         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7299         (__fe_nomask_env): Likewise.
7300         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7301         __fegetround instead of fegetround.
7302         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7303         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7305 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7307         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7308         it's there.
7310         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7312 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7314         [BZ #11157]
7315         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7316         (encrypt_r): Likewise.
7317         * malloc/obstack.h (obstack_free): Likewise.
7318         * posix/unistd.h (encrypt): Likewise.
7320 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7322         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7323         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7324         DL_CALL_DT_FINI() that call the functions directly.
7325         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7326         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7327         * elf/dl-fini.c: Likewise.
7329 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7331         * malloc/hooks.c (memalign_check): Add alignment rounding.
7332         * malloc/malloc.c (_mid_memalign): New function.
7333         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7334         Implement by calling _mid_memalign.
7335         * manual/probes.texi (Memory Allocation Probes): Remove
7336         memory_valloc_retry and memory_pvalloc_retry.
7338 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7340         * locale/programs/locarchive.c (open_archive): Add const
7341         qualifier to ARCHIVEFNAME and copy default fname to
7342         DEFAULT_FNAME.
7344         [BZ #15601]
7345         * libio/tst-widetext.input: Rename Oriya to Odia.
7346         * locale/iso-639.def: Likewise.
7348         * manual/probes.texi (Mathematical Function Probes): Add
7349         documentation for sin, cos, asin and acos probes.
7350         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7351         (__sin32): Add slowasin probe.
7352         (__cos32): Add slowacos probe.
7353         (__mpsin): Add slowsin probe.
7354         (__mpcos): Add slowcos probe.
7356 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
7358         [BZ #15483]
7359         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7360         thread-local __sim_exceptions_thread and global
7361         __sim_exceptions_global.
7362         (__sim_disabled_exceptions): Change to thread-local
7363         __sim_disabled_exceptions_thread and global
7364         __sim_disabled_exceptions_global.
7365         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7366         and global __sim_round_mode_global.
7367         (__simulate_exceptions): Use thread-local floating-point state and
7368         set global state from it as needed.
7369         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7370         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7371         __sim_round_mode_thread.
7372         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7373         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7374         and global __sim_exceptions_global.
7375         (__sim_disabled_exceptions): Change to thread-local
7376         __sim_disabled_exceptions_thread and global
7377         __sim_disabled_exceptions_global.
7378         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7379         and global __sim_round_mode_global.
7380         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7381         (SIM_SET_GLOBAL): Likewise.
7382         * sysdeps/powerpc/soft-fp/sfp-machine.h
7383         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7384         __sim_round_mode_thread.
7385         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7386         __sim_disabled_exceptions_thread.
7387         (__sim_exceptions): Change to __sim_exceptions_thread.
7388         (__sim_disabled_exceptions): Change to
7389         __sim_disabled_exceptions_thread.
7390         (__sim_round_mode): Change to __sim_round_mode_thread.
7391         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7392         thread-local floating-point state and set global state from it as
7393         needed.
7394         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7395         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7396         (__sim_disabled_exceptions): Remove extern declaration.
7397         (feenableexcept): Use thread-local floating-point state and set
7398         global state from it as needed.
7399         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7400         extern declaration.
7401         (__sim_disabled_exceptions): Likewise.
7402         (__sim_round_mode): Likewise.
7403         (__fegetenv): Use thread-local floating-point state.
7404         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7405         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7406         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7407         floating-point state and set global state from it as needed.
7408         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7409         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7410         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7411         Likewise.
7412         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7413         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7414         Likewise.
7415         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7416         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7417         Use __sim_round_mode_thread.
7418         * math/test-fenv-tls.c: New file.
7419         * math/Makefile (tests): Add test-fenv-tls.
7420         ($(objpfx)test-fenv-tls): Depend on
7421         $(common-objpfx)nptl/libpthread.so.
7423 2013-11-19  Andreas Schwab  <schwab@suse.de>
7425         * locale/programs/locale.c (show_info): Decode wordarray elements.
7426         * locale/categories.def (LC_MONETARY): Add element for
7427         _NL_MONETARY_CRNCYSTR.
7428         * locale/C-monetary.c (conversion_rate): New variable.
7429         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7430         element.
7432 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7434         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7435         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7437 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7439         * elf/Makefile (tst-auxv): New test.
7440         * elf/tst-auxv.c: New
7441         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7443 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7445         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7446         (hidden_proto): Caller changed.
7447         (hidden_tls_proto): New macro.
7448         (libc_hidden_tls_proto): Likewise.
7449         (rtld_hidden_tls_proto): Likewise.
7450         (libm_hidden_tls_proto): Likewise.
7451         (libresolv_hidden_tls_proto): Likewise.
7452         (librt_hidden_tls_proto): Likewise.
7453         (libdl_hidden_tls_proto): Likewise.
7454         (libnss_files_hidden_tls_proto): Likewise.
7455         (libnsl_hidden_tls_proto): Likewise.
7456         (libnss_nisplus_hidden_tls_proto): Likewise.
7457         (libutil_hidden_tls_proto): Likewise.
7459 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
7461         [BZ #10253]
7462         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7463         (decompose_rpath): Defer expansion to fillin_rpath.
7464         (_dl_init_paths): Pass linkmap to fillin_rpath.
7466 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7468         * benchtests/Makefile: Add strsep.
7469         * benchtests/bench-strsep.c: New file: strsep benchtest.
7470         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7472 2013-11-18  Andreas Schwab  <schwab@suse.de>
7474         * locale/programs/locale.c (show_info) [case byte]: Check for
7475         '\377' instead of '\177'.
7476         * locale/C-monetary.c (not_available): Always use "\377".
7477         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7478         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
7479         detect unavailable sign_posn locale elements.
7480         * locale/localeconv.c (__localeconv): For grouping and
7481         mon_grouping handle "\177" and "\377" like no grouping.
7482         (INT_ELEM): New macro.  Use it to set all numeric members.
7483         * locale/programs/ld-monetary.c (monetary_read)
7484         <tok_mon_grouping>: Normalize single -1 to the empty string.
7485         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7486         Likewise.
7488 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7490         [BZ #16055]
7491         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7492         when we match (nil).
7493         * stdio-common/tst-sscanf.c (struct test): Add testcase.
7495 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
7497         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7498         (NO_TEST_INLINE): Update value.
7499         (ERRNO_UNCHANGED): Likewise.
7500         (ERRNO_EDOM): Likewise.
7501         (ERRNO_ERANGE): Likewise.
7502         (IGNORE_RESULT): Likewise.
7503         (check_float_internal): Check signs of NaN results if
7504         TEST_NAN_SIGN used.
7505         (check_complex): Pass TEST_NAN_SIGN flag through to second
7506         check_float_internal call.
7507         (copysign_test_data): Add tests with quiet NaNs as second
7508         argument.  Use TEST_NAN_SIGN.
7509         (fabs_test_data): Add test of negative quiet NaN argument.  Use
7510         TEST_NAN_SIGN.
7511         (signbit_test_data): Add tests of quiet NaN argument.
7512         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7514         * math/gen-libm-test.pl (show_exceptions): Take extra argument
7515         $ignore_result.
7516         (parse_args): Handle function results specified as IGNORE.
7517         * math/libm-test.inc (IGNORE_RESULT): New macro.
7518         (check_float_internal): Do not check numerical result if flag
7519         IGNORE_RESULT set.
7520         (check_complex): Pass through IGNORE_RESULT to second
7521         check_float_internal call.
7522         (check_int): Do not check numerical result if flag IGNORE_RESULT
7523         set.
7524         (check_long): Likewise.
7525         (check_bool): Likewise.
7526         (check_longlong): Likewise.
7527         (lrint_test_data): Add tests of infinite and NaN arguments.
7528         (lrint_tonearest_test_data): Likewise.
7529         (lrint_towardzero_test_data): Likewise.
7530         (lrint_downward_test_data): Likewise.
7531         (lrint_upward_test_data): Likewise.
7532         (llrint_test_data): Likewise.
7533         (llrint_tonearest_test_data): Likewise.
7534         (llrint_towardzero_test_data): Likewise.
7535         (llrint_downward_test_data): Likewise.
7536         (llrint_upward_test_data): Likewise.
7537         (lround_test_data): Likewise.
7538         (llround_test_data): Likewise.
7540         * math/libm-test.inc (NO_TEST_INLINE): New macro.
7541         (ERRNO_UNCHANGED): Update value.
7542         (ERRNO_EDOM): Likewise.
7543         (ERRNO_ERANGE): Likewise.
7544         (NO_TEST_INLINE_FLOAT): New macro.
7545         (NO_TEST_INLINE_DOUBLE): Likewise.
7546         (enable_test): New function.
7547         (RUN_TEST_f_f): Check enable_test before running test.
7548         (RUN_TEST_2_f): Likewise.
7549         (RUN_TEST_fff_f): Likewise.
7550         (RUN_TEST_c_f): Likewise.
7551         (RUN_TEST_f_f1): Likewise.
7552         (RUN_TEST_fF_f1): Likewise.
7553         (RUN_TEST_fI_f1): Likewise.
7554         (RUN_TEST_ffI_f1): Likewise.
7555         (RUN_TEST_c_c): Likewise.
7556         (RUN_TEST_cc_c): Likewise.
7557         (RUN_TEST_f_i): Likewise.
7558         (RUN_TEST_f_i_tg): Likewise.
7559         (RUN_TEST_ff_i_tg): Likewise.
7560         (RUN_TEST_f_b): Likewise.
7561         (RUN_TEST_f_b_tg): Likewise.
7562         (RUN_TEST_f_l): Likewise.
7563         (RUN_TEST_f_L): Likewise.
7564         (RUN_TEST_fFF_11): Likewise.
7565         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7566         conditionals.
7567         (cosh_test_data): Likewise.
7568         (exp_test_data): Likewise.
7569         (expm1_test_data): Likewise.
7570         (hypot_test_data): Likewise.
7571         (pow_test_data): Likewise.
7572         (sinh_test_data): Likewise.
7573         (tanh_test_data): Likewise.
7574         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7575         flags argument.
7577         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7578         tests with quiet NaN input and output.
7579         (acosh_test_data): Likewise.
7580         (asin_test_data): Likewise.
7581         (asinh_test_data): Likewise.
7582         (atan_test_data): Likewise.
7583         (atanh_test_data): Likewise.
7584         (atan2_test_data): Likewise.
7585         (cbrt_test_data): Likewise.
7586         (cos_test_data): Likewise.
7587         (cosh_test_data): Likewise.
7588         (erf_test_data): Likewise.
7589         (erfc_test_data): Likewise.
7590         (exp_test_data): Likewise.
7591         (exp10_test_data): Likewise.
7592         (exp2_test_data): Likewise.
7593         (expm1_test_data): Likewise.
7594         (hypot_test_data): Likewise.
7595         (j0_test_data): Likewise.
7596         (j1_test_data): Likewise.
7597         (jn_test_data): Likewise.
7598         (lgamma_test_data): Likewise.
7599         (log_test_data): Likewise.
7600         (log10_test_data): Likewise.
7601         (log1p_test_data): Likewise.
7602         (log2_test_data): Likewise.
7603         (pow_test_data): Likewise.
7604         (scalb_test_data): Likewise.
7605         (sin_test_data): Likewise.
7606         (sincos_test_data): Likewise.
7607         (sinh_test_data): Likewise.
7608         (tan_test_data): Likewise.
7609         (tanh_test_data): Likewise.
7610         (tgamma_test_data): Likewise.
7611         (y0_test_data): Likewise.
7612         (y1_test_data): Likewise.
7613         (yn_test_data): Likewise.
7615         [BZ #16167]
7616         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7617         argument being NaN and avoid computations with second argument in
7618         that case.
7619         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7620         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7621         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7623 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
7625         * locale/iso-639.def: Add Chitwani Tharu (the).
7627 2013-11-14  Andreas Schwab  <schwab@suse.de>
7629         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7630         word instead of empty string.
7632 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7635         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7637         (__fe_nomask_env): Likewise.
7639 2013-11-13  Steve Ellcey  <sellcey@mips.com>
7641         * benchtests/bench-timing.h: Include time.h.
7643 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7645         [BZ #15997]
7646         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7647         to 3.4.0 for x32.
7648         * sysdeps/unix/sysv/linux/configure: Regenerated.
7650 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7652         [BZ #16151]
7653         * stdlib/strtod_l.c (round_and_return): Do not consider
7654         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7655         exponent one less than half the least subnormal exponent.
7656         * stdlib/test-strtod-round-data: Add more tests.
7657         * stdlib/tst-strtod-round.c (tests): Regenerated.
7659 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7661         [BZ #14143]
7662         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7663         (__fe_mask_env): Likewise.
7664         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7665         libm_hidden_proto and add function prototype.
7666         (__fe_mask_env): Add function prototype.
7667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7668         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7670         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7672         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7674 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7676         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7677         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7679 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7681         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7682         of htab_find_slot().
7684 2013-11-11  David S. Miller  <davem@davemloft.net>
7686         [BZ #16150]
7687         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7688         symbol in the non-vis3 case in static builds.
7689         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7690         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7691         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7692         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7694 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7696         [BZ #387]
7697         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7698         it is empty.
7700 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7702         * benchtests/Makefile: Add bench-strtod.
7703         * benchtests/bench-strtod.c: New file: strtod benchtest
7705 2013-11-11  Andreas Schwab  <schwab@suse.de>
7707         [BZ #16153]
7708         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7709         terminating NUL in key length.
7711 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7713         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7714         Add artificial ODP entry for vDSO symbol for PPC64.
7715         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7716         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7718 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7720         [BZ #15374]
7721         * nss/getent.c (services_keys): Recognize services starting with digit.
7723 2013-11-06  David S. Miller  <davem@davemloft.net>
7725         [BZ #15985]
7726         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7727         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7729 2013-11-06  Will Newton  <will.newton@linaro.org>
7731         * manual/memory.texi (Malloc Examples): Remove register
7732         keyword from examples.
7734 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7736         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7738 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7740         [BZ #6981]
7741         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7742         depending on [__GCC_IEC_559 > 0].
7743         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7744         depending on [__GCC_IEC_559_COMPLEX > 0].
7746 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7748         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7749         to iso-639.def.
7751 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7753         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7755 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7757         [BZ #16112]
7758         * malloc/malloc (malloc_info): Do not handle first bin as
7759         special case.
7761 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7763         * locale/iso-639.def: Add Central Nahuatl (nhn).
7765 2013-11-01  Bruno Haible  <bruno@clisp.org>
7767         [BZ #7003]
7768         * manual/math.texi (BSD Random): Specify range upper bound as
7769         in POSIX.
7771 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7773         * locale/iso-639.def: Add Meadow Mari (mhr).
7775 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7777         [BZ #14752], [BZ #15763]
7778         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7779         Validate name.
7780         * rt/tst_shm.c: Add test for escaping directory.
7782 2013-10-31  Andreas Schwab  <schwab@suse.de>
7784         [BZ #15917]
7785         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7786         followed by 'x' as part of digit sequence.
7787         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7789 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7791         [BZ #16037]
7792         * configure.ac: allow GNU Make 4.0 and greater.
7793         * configure: Regenerated.
7795 2013-10-30  Will Newton  <will.newton@linaro.org>
7797         [BZ #16038]
7798         * malloc/hooks.c (memalign_check): Limit alignment to the
7799         maximum representable power of two.
7800         * malloc/malloc.c (__libc_memalign): Likewise.
7801         * malloc/tst-memalign.c (do_test): Add test for very
7802         large alignment values.
7803         * malloc/tst-posix_memalign.c (do_test): Likewise.
7805 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7807         [BZ #11087]
7808         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7809         (munmap_chunk): Likewise.
7810         (mremap_chunk): Likewise.
7812 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7814         [BZ #15799]
7815         * stdlib/div.c (div): Remove obsolete code.
7816         * stdlib/ldiv.c (ldiv): Likewise.
7817         * stdlib/lldiv.c (lldiv): Likewise.
7819 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7821         [BZ #16071]
7822         * nss/nss_files/files-XXX.c (get_contents_ret): New
7823         enumerator.
7824         (get_contents): New function.
7825         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7827 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7829         * configure.in: Moved to ...
7830         * configure.ac: ... here. Change reference to configure.in
7831         to configure.ac.
7832         * sysdeps/arm/preconfigure.ac: ... here.
7833         configure.in to configure.ac.
7834         * sysdeps/gnu/configure.in: Moved to ...
7835         * sysdeps/gnu/configure.ac: ... here.
7836         * sysdeps/i386/configure.in: Moved to ...
7837         * sysdeps/i386/configure.ac: ... here.
7838         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7839         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7840         * sysdeps/mach/configure.in: Moved to ...
7841         * sysdeps/mach/configure.ac: ... here.
7842         * sysdeps/mach/hurd/configure.in: Moved to ...
7843         * sysdeps/mach/hurd/configure.ac: ... here.
7844         * sysdeps/powerpc/configure.in: Moved to ...
7845         * sysdeps/powerpc/configure.ac: ... here.
7846         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7847         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7848         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7849         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7850         * sysdeps/s390/s390-32/configure.in: Moved to ...
7851         * sysdeps/s390/s390-32/configure.ac: ... here.
7852         * sysdeps/s390/s390-64/configure.in: Moved to ...
7853         * sysdeps/s390/s390-64/configure.ac: ... here.
7854         * sysdeps/sh/configure.in: Moved to ...
7855         * sysdeps/sh/configure.ac: ... here.
7856         * sysdeps/sparc/configure.in: Moved to ...
7857         * sysdeps/sparc/configure.ac: ... here.
7858         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7859         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7860         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7861         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7862         * sysdeps/x86_64/configure.in: Moved to ...
7863         * sysdeps/x86_64/configure.ac: ... here.
7864         * sysdeps/x86_64/preconfigure.in: Moved to ...
7865         * sysdeps/x86_64/preconfigure.ac: ... here.
7866         * aclocal.m4: Change reference to configure.in to configure.ac.
7867         * config.h.in: Likewise.
7868         * manual/install.texi: Likewise.
7869         * manual/maint.texi: Likewise.
7870         * Makefile: Likewise.
7871         * malloc/Makefile: Likewise.
7872         * nscd/Makefile: Likewise.
7873         * Makeconfig: Change reference to configure.in and
7874         preconfigure.in to configure.ac and preconfigure.ac
7875         respectively.
7876         * INSTALL: Regenerated.
7877         * configure: Likewise.
7878         * sysdeps/gnu/configure: Likewise.
7879         * sysdeps/i386/configure: Likewise.
7880         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7881         * sysdeps/mach/configure: Likewise.
7882         * sysdeps/mach/hurd/configure: Likewise.
7883         * sysdeps/powerpc/configure: Likewise.
7884         * sysdeps/powerpc/powerpc32/configure: Likewise.
7885         * sysdeps/powerpc/powerpc64/configure: Likewise.
7886         * sysdeps/s390/s390-32/configure: Likewise.
7887         * sysdeps/s390/s390-64/configure: Likewise.
7888         * sysdeps/sh/configure: Likewise.
7889         * sysdeps/sparc/configure: Likewise.
7890         * sysdeps/unix/sysv/linux/configure: Likewise.
7891         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7892         * sysdeps/x86_64/configure: Likewise.
7893         * sysdeps/x86_64/preconfigure: Likewise.
7895 2013-10-29  Andreas Schwab  <schwab@suse.de>
7897         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7899 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7901         * benchtests/pow-inputs: Add new inputs.
7903         * benchtests/exp-inputs: Add new inputs.
7905         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7906         conditional check for return value.
7907         (__cos32): Likewise.
7909 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7911         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7912         to provide a boost for large inputs with word alignment.
7913         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7914         implementation based on optimized PPC64 strcpy.
7915         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7916         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7917         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7918         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7920 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7922         [BZ #2801]
7923         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7925 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7927         [BZ #14876]
7928         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7929         * time/tst-strptime.c (day_tests): Add testcase.
7931 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7933         [BZ #14029]
7934         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7936 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7938         [BZ #16074]
7939         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7940         MAP_FAILED on error.
7942 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7944         [BZ #16072]
7945         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7946         heap for large requests.
7948 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7950         [BZ #9954]
7951         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7952         result if the result has no associated interface.
7953         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7954         interface for all 127.X.Y.Z addresses.
7956 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7958         * locale/iso-639.def: Add Ligurian (lij)
7960 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7962         [BZ #15825]
7963         * sunrpc/rpc_main.c: Document rpcgen -5.
7965 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7967         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7969 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7971         [BZ #10278]
7972         * posix/glob.c: Match only directories when trailing slash is present.
7973         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7974         (main): Add testcase.
7976 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7978         [BZ #15670]
7979         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7981 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7983         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7984         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7985         AUTH_DES and cindex for FIPS 140-2.
7986         (DES Encryption): Add cindex FIPS 46-3.
7988         * locale/locarchive.h (struct locarhandle): Add fname.
7989         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7990         if an optional argument was specified to --list-archive,
7991         otherwise NULL.
7992         * locale/programs/locarchive.c (show_archive_content): Take new
7993         argument fname and pass it via ah.fname to open_archive.
7994         * locale/programs/localedef.h: Update decl.
7995         (open_archive): If AH->fname is non-null, open that file
7996         rather than the default file name, and don't ignore ENOENT.
7997         (create_archive): Set AH.fname to NULL.
7998         (delete_locales_from_archive): Likewise.
7999         (add_locales_to_archive): Likewise.
8000         * locale/programs/locfile.c (write_all_categories): Likewise.
8002 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8003             Aldy Hernandez  <aldyh@redhat.com>
8005         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8006         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8007         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8008         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8009         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8010         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8011         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8012         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8013         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8015         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8016         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8017         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8018         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8019         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8020         Likewise.
8021         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8022         Likewise.
8023         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8024         Likewise.
8025         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8026         Likewise.
8027         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8028         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8029         Likewise.
8030         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8031         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8032         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8033         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8034         Likewise.
8035         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8036         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8037         * sysdeps/powerpc/preconfigure: Likewise.
8038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8039         Likewise.
8040         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8041         Replace contents of file by #include of <fenv_libc.h>.
8042         * sysdeps/powerpc/soft-fp/sfp-machine.h
8043         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8044         and <sys/prctl.h>.
8045         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8048         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8050         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8052         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8054         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8056         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8058         Allow copysignl PLT reference to be missing.
8060 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8061             Joseph Myers  <joseph@codesourcery.com
8063         [BZ #15948]
8064         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8065         single character.
8066         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8068 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8070         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8071         * elf/tst-tls1.c: Likewise.
8072         * elf/tst-tls10.h: Likewise.
8073         * elf/tst-tls14.c: Likewise.
8074         * elf/tst-tls2.c: Likewise.
8075         * elf/tst-tls3.c: Likewise.
8076         * elf/tst-tls4.c: Likewise.
8077         * elf/tst-tls5.c: Likewise.
8078         * elf/tst-tls6.c: Likewise.
8079         * elf/tst-tls7.c: Likewise.
8080         * elf/tst-tls8.c: Likewise.
8081         * elf/tst-tls9.c: Likewise.
8082         * elf/tst-tlsmod1.c: Likewise.
8083         * elf/tst-tlsmod13.c: Likewise.
8084         * elf/tst-tlsmod13a.c: Likewise.
8085         * elf/tst-tlsmod14a.c: Likewise.
8086         * elf/tst-tlsmod16a.c: Likewise.
8087         * elf/tst-tlsmod16b.c: Likewise.
8088         * elf/tst-tlsmod2.c: Likewise.
8089         * elf/tst-tlsmod3.c: Likewise.
8090         * elf/tst-tlsmod4.c: Likewise.
8091         * elf/tst-tlsmod5.c: Likewise.
8092         * elf/tst-tlsmod6.c: Likewise.
8094 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8096         [BZ #12486]
8097         * malloc/malloc.c: remove checks for statistics.
8099 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8101         [BZ #15277]
8102         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8103         * inet/tst-network.c: Add testcase.
8105 2013-10-17  Andreas Schwab  <schwab@suse.de>
8107         [BZ #15218]
8108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8109         to determine canonical name.
8111 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8113         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8114         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8116         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8118         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8119         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8120         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8121         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8122         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8123         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8124         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8125         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8126         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8127         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8128         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8130         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8131         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8132         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8133         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8134         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8136         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8137         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8139         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8140         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8141         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8142         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8143         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8145         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8146         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8147         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8150         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8151         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8152         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8153         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8154         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8155         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8157         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8158         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8159         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8160         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8161         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8162         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8163         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8164         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8165         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8166         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8167         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8168         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8169         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8170         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8172 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8174         [BZ #16041]
8175         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8176         make result into a quiet NaN.
8178 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8180         * soft-fp/adddf3.c: Fix horizontal whitespace.
8181         * soft-fp/addsf3.c: Likewise.
8182         * soft-fp/addtf3.c: Likewise.
8183         * soft-fp/divdf3.c: Likewise.
8184         * soft-fp/divsf3.c: Likewise.
8185         * soft-fp/divtf3.c: Likewise.
8186         * soft-fp/double.h: Likewise.
8187         * soft-fp/eqdf2.c: Likewise.
8188         * soft-fp/eqsf2.c: Likewise.
8189         * soft-fp/eqtf2.c: Likewise.
8190         * soft-fp/extenddftf2.c: Likewise.
8191         * soft-fp/extended.h: Likewise.
8192         * soft-fp/extendsfdf2.c: Likewise.
8193         * soft-fp/extendsftf2.c: Likewise.
8194         * soft-fp/extendxftf2.c: Likewise.
8195         * soft-fp/fixdfdi.c: Likewise.
8196         * soft-fp/fixdfsi.c: Likewise.
8197         * soft-fp/fixdfti.c: Likewise.
8198         * soft-fp/fixsfdi.c: Likewise.
8199         * soft-fp/fixsfsi.c: Likewise.
8200         * soft-fp/fixsfti.c: Likewise.
8201         * soft-fp/fixtfdi.c: Likewise.
8202         * soft-fp/fixtfsi.c: Likewise.
8203         * soft-fp/fixtfti.c: Likewise.
8204         * soft-fp/fixunsdfdi.c: Likewise.
8205         * soft-fp/fixunsdfsi.c: Likewise.
8206         * soft-fp/fixunsdfti.c: Likewise.
8207         * soft-fp/fixunssfdi.c: Likewise.
8208         * soft-fp/fixunssfsi.c: Likewise.
8209         * soft-fp/fixunssfti.c: Likewise.
8210         * soft-fp/fixunstfdi.c: Likewise.
8211         * soft-fp/fixunstfsi.c: Likewise.
8212         * soft-fp/fixunstfti.c: Likewise.
8213         * soft-fp/floatdidf.c: Likewise.
8214         * soft-fp/floatdisf.c: Likewise.
8215         * soft-fp/floatditf.c: Likewise.
8216         * soft-fp/floatsidf.c: Likewise.
8217         * soft-fp/floatsisf.c: Likewise.
8218         * soft-fp/floatsitf.c: Likewise.
8219         * soft-fp/floattidf.c: Likewise.
8220         * soft-fp/floattisf.c: Likewise.
8221         * soft-fp/floattitf.c: Likewise.
8222         * soft-fp/floatundidf.c: Likewise.
8223         * soft-fp/floatundisf.c: Likewise.
8224         * soft-fp/floatunditf.c: Likewise.
8225         * soft-fp/floatunsidf.c: Likewise.
8226         * soft-fp/floatunsisf.c: Likewise.
8227         * soft-fp/floatunsitf.c: Likewise.
8228         * soft-fp/floatuntidf.c: Likewise.
8229         * soft-fp/floatuntisf.c: Likewise.
8230         * soft-fp/floatuntitf.c: Likewise.
8231         * soft-fp/fmadf4.c: Likewise.
8232         * soft-fp/fmasf4.c: Likewise.
8233         * soft-fp/fmatf4.c: Likewise.
8234         * soft-fp/gedf2.c: Likewise.
8235         * soft-fp/gesf2.c: Likewise.
8236         * soft-fp/getf2.c: Likewise.
8237         * soft-fp/ledf2.c: Likewise.
8238         * soft-fp/lesf2.c: Likewise.
8239         * soft-fp/letf2.c: Likewise.
8240         * soft-fp/muldf3.c: Likewise.
8241         * soft-fp/mulsf3.c: Likewise.
8242         * soft-fp/multf3.c: Likewise.
8243         * soft-fp/negdf2.c: Likewise.
8244         * soft-fp/negsf2.c: Likewise.
8245         * soft-fp/negtf2.c: Likewise.
8246         * soft-fp/op-1.h: Likewise.
8247         * soft-fp/op-2.h: Likewise.
8248         * soft-fp/op-4.h: Likewise.
8249         * soft-fp/op-8.h: Likewise.
8250         * soft-fp/op-common.h: Likewise.
8251         * soft-fp/quad.h: Likewise.
8252         * soft-fp/single.h: Likewise.
8253         * soft-fp/soft-fp.h: Likewise.
8254         * soft-fp/sqrtdf2.c: Likewise.
8255         * soft-fp/sqrtsf2.c: Likewise.
8256         * soft-fp/sqrttf2.c: Likewise.
8257         * soft-fp/subdf3.c: Likewise.
8258         * soft-fp/subsf3.c: Likewise.
8259         * soft-fp/subtf3.c: Likewise.
8260         * soft-fp/truncdfsf2.c: Likewise.
8261         * soft-fp/trunctfdf2.c: Likewise.
8262         * soft-fp/trunctfsf2.c: Likewise.
8263         * soft-fp/trunctfxf2.c: Likewise.
8264         * soft-fp/unorddf2.c: Likewise.
8265         * soft-fp/unordsf2.c: Likewise.
8266         * soft-fp/unordtf2.c: Likewise.
8268 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8270         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8271         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8273 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8275         * elf/dl-libc.c: Clear initfini list after freeing.
8277 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8279         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8280         * soft-fp/addsf3.c: Likewise.
8281         * soft-fp/addtf3.c: Likewise.
8282         * soft-fp/divdf3.c: Likewise.
8283         * soft-fp/divsf3.c: Likewise.
8284         * soft-fp/divtf3.c: Likewise.
8285         * soft-fp/double.h: Likewise.
8286         * soft-fp/eqdf2.c: Likewise.
8287         * soft-fp/eqsf2.c: Likewise.
8288         * soft-fp/eqtf2.c: Likewise.
8289         * soft-fp/extenddftf2.c: Likewise.
8290         * soft-fp/extended.h: Likewise.
8291         * soft-fp/extendsfdf2.c: Likewise.
8292         * soft-fp/extendsftf2.c: Likewise.
8293         * soft-fp/extendxftf2.c: Likewise.
8294         * soft-fp/fixdfdi.c: Likewise.
8295         * soft-fp/fixdfsi.c: Likewise.
8296         * soft-fp/fixdfti.c: Likewise.
8297         * soft-fp/fixsfdi.c: Likewise.
8298         * soft-fp/fixsfsi.c: Likewise.
8299         * soft-fp/fixsfti.c: Likewise.
8300         * soft-fp/fixtfdi.c: Likewise.
8301         * soft-fp/fixtfsi.c: Likewise.
8302         * soft-fp/fixtfti.c: Likewise.
8303         * soft-fp/fixunsdfdi.c: Likewise.
8304         * soft-fp/fixunsdfsi.c: Likewise.
8305         * soft-fp/fixunsdfti.c: Likewise.
8306         * soft-fp/fixunssfdi.c: Likewise.
8307         * soft-fp/fixunssfsi.c: Likewise.
8308         * soft-fp/fixunssfti.c: Likewise.
8309         * soft-fp/fixunstfdi.c: Likewise.
8310         * soft-fp/fixunstfsi.c: Likewise.
8311         * soft-fp/fixunstfti.c: Likewise.
8312         * soft-fp/floatdidf.c: Likewise.
8313         * soft-fp/floatdisf.c: Likewise.
8314         * soft-fp/floatditf.c: Likewise.
8315         * soft-fp/floatsidf.c: Likewise.
8316         * soft-fp/floatsisf.c: Likewise.
8317         * soft-fp/floatsitf.c: Likewise.
8318         * soft-fp/floattidf.c: Likewise.
8319         * soft-fp/floattisf.c: Likewise.
8320         * soft-fp/floattitf.c: Likewise.
8321         * soft-fp/floatundidf.c: Likewise.
8322         * soft-fp/floatundisf.c: Likewise.
8323         * soft-fp/floatunsidf.c: Likewise.
8324         * soft-fp/floatunsisf.c: Likewise.
8325         * soft-fp/floatuntidf.c: Likewise.
8326         * soft-fp/floatuntisf.c: Likewise.
8327         * soft-fp/floatuntitf.c: Likewise.
8328         * soft-fp/fmadf4.c: Likewise.
8329         * soft-fp/fmasf4.c: Likewise.
8330         * soft-fp/fmatf4.c: Likewise.
8331         * soft-fp/gedf2.c: Likewise.
8332         * soft-fp/gesf2.c: Likewise.
8333         * soft-fp/getf2.c: Likewise.
8334         * soft-fp/ledf2.c: Likewise.
8335         * soft-fp/lesf2.c: Likewise.
8336         * soft-fp/letf2.c: Likewise.
8337         * soft-fp/muldf3.c: Likewise.
8338         * soft-fp/mulsf3.c: Likewise.
8339         * soft-fp/multf3.c: Likewise.
8340         * soft-fp/negdf2.c: Likewise.
8341         * soft-fp/negsf2.c: Likewise.
8342         * soft-fp/negtf2.c: Likewise.
8343         * soft-fp/op-1.h: Likewise.
8344         * soft-fp/op-2.h: Likewise.
8345         * soft-fp/op-4.h: Likewise.
8346         * soft-fp/op-8.h: Likewise.
8347         * soft-fp/op-common.h: Likewise.
8348         * soft-fp/quad.h: Likewise.
8349         * soft-fp/single.h: Likewise.
8350         * soft-fp/soft-fp.h: Likewise.
8351         * soft-fp/sqrtdf2.c: Likewise.
8352         * soft-fp/sqrtsf2.c: Likewise.
8353         * soft-fp/sqrttf2.c: Likewise.
8354         * soft-fp/subdf3.c: Likewise.
8355         * soft-fp/subsf3.c: Likewise.
8356         * soft-fp/subtf3.c: Likewise.
8357         * soft-fp/truncdfsf2.c: Likewise.
8358         * soft-fp/trunctfdf2.c: Likewise.
8359         * soft-fp/trunctfsf2.c: Likewise.
8360         * soft-fp/trunctfxf2.c: Likewise.
8361         * soft-fp/unorddf2.c: Likewise.
8362         * soft-fp/unordsf2.c: Likewise.
8363         * soft-fp/unordtf2.c: Likewise.
8365 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
8367         [BZ #15672]
8368         * misc/error.c (error_tail): Fix possible buffer overflow.
8370 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
8372         [BZ #13028]
8373         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8374         address.
8376 2013-10-14  P. J. McDermott  <pj@pehjota.net>
8378         [BZ #832]
8379         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
8380         testing pipefail option.
8382 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8384         * soft-fp/double.h: Indent preprocessor directives inside #if.
8385         * soft-fp/extended.h: Likewise.
8386         * soft-fp/op-2.h: Likewise.
8387         * soft-fp/op-4.h: Likewise.
8388         * soft-fp/op-common.h: Likewise.
8389         * soft-fp/quad.h: Likewise.
8390         * soft-fp/single.h: Likewise.
8391         * soft-fp/soft-fp.h: Likewise.
8393 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
8395         * iconv/iconv_prog.c: Fix typos.
8396         * stdio-common/psiginfo-data.h: Likewise.
8398 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8400         [BZ #15764]
8401         * locale/setlocale.c: Fix typo.
8403 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8405         [BZ #16036]
8406         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8407         signaling NaN arguments.
8408         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8409         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8411         [BZ #14910]
8412         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8413         unordered operands.
8414         * soft-fp/gesf2.c (__gesf2): Likewise.
8415         * soft-fp/getf2.c (__getf2): Likewise.
8416         * soft-fp/ledf2.c (__ledf2): Likewise.
8417         * soft-fp/lesf2.c (__lesf2): Likewise.
8418         * soft-fp/letf2.c (__letf2): Likewise.
8420         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8421         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8422         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8423         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8424         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8425         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8426         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8427         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8428         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8429         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8430         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8431         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8432         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8433         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8434         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8435         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8436         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8437         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8438         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8439         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8440         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8441         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8442         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8443         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8444         * soft-fp/floattidf.c (__floattidf): Likewise.
8445         * soft-fp/floattisf.c (__floattisf): Likewise.
8446         * soft-fp/floattitf.c (__floattitf): Likewise.
8447         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8448         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8449         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8450         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8451         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8452         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8453         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8454         * soft-fp/gesf2.c (__gesf2): Likewise.
8455         * soft-fp/getf2.c (__getf2): Likewise.
8456         * soft-fp/ledf2.c (__ledf2): Likewise.
8457         * soft-fp/lesf2.c (__lesf2): Likewise.
8458         * soft-fp/letf2.c (__letf2): Likewise.
8460         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8461         Undefine and redefine.
8462         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8463         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8464         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8465         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8466         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8467         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8468         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8469         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8470         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8471         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8472         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8473         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8474         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8475         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8476         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8478         [BZ #16032]
8479         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8480         without decrementing exponent if mantissa >= that for the
8481         denominator, not >.
8482         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8483         denominator, not >.  Decrement exponent in < case instead of
8484         incrementing in >= case.
8485         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8486         without decrementing exponent if mantissa >= that for the
8487         denominator, not >.
8489         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8490         computing saturated result for unsigned overflow.
8492 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8493             Jeff Law  <law@redhat.com>
8495         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8496         (atan2Mp): Add systemtap probe marker.
8497         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8498         (__ieee754_log): Add systemtap probe marker.
8499         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8500         (atanMp): Add systemtap probe marker.
8501         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8502         (tanMp): Add systemtap probe marker.
8503         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8504         (__slowexp): Add systemtap probe marker.
8505         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8506         (__slowpow): Add systemtap probe marker.
8507         * manual/probes.texi: Document probes.
8509 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
8511         [BZ #15362]
8512         * libio/fileops.c (_IO_new_file_write): Return count of bytes
8513         written.
8514         (_IO_new_file_xsputn): Don't return EOF if nothing has been
8515         written.
8516         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8517         written to buffer but not flushed.
8518         * libio/iofwrite_u.c:  Likewise.
8519         * libio/iopadn.c:  Return bytes returned even if EOF was
8520         encountered.
8521         * libio/iowpadn.c:  Likewise.
8522         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8523         if _IO_padn does not write the whole buffer.
8524         [!COMPILE_WPRINTF] (PAD): Likewise.
8526 2013-10-10  David S. Miller  <davem@davemloft.net>
8528         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8529         directory block.
8531 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8533         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
8534         instead of FSF address.
8535         * soft-fp/fixdfti.c: Likewise.
8536         * soft-fp/fixsfti.c: Likewise.
8537         * soft-fp/fixtfti.c: Likewise.
8538         * soft-fp/fixunsdfti.c: Likewise.
8539         * soft-fp/fixunssfti.c: Likewise.
8540         * soft-fp/fixunstfti.c: Likewise.
8541         * soft-fp/floattidf.c: Likewise.
8542         * soft-fp/floattisf.c: Likewise.
8543         * soft-fp/floattitf.c: Likewise.
8544         * soft-fp/floatuntidf.c: Likewise.
8545         * soft-fp/floatuntisf.c: Likewise.
8546         * soft-fp/floatuntitf.c: Likewise.
8547         * soft-fp/trunctfxf2.c: Likewise.
8549         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
8550         * soft-fp/fixdfti.c: Likewise.
8551         * soft-fp/fixsfti.c: Likewise.
8552         * soft-fp/fixtfti.c: Likewise.
8553         * soft-fp/fixunsdfti.c: Likewise.
8554         * soft-fp/fixunssfti.c: Likewise.
8555         * soft-fp/fixunstfti.c: Likewise.
8556         * soft-fp/floattidf.c: Likewise.
8557         * soft-fp/floattisf.c: Likewise.
8558         * soft-fp/floattitf.c: Likewise.
8559         * soft-fp/floatuntidf.c: Likewise.
8560         * soft-fp/floatuntisf.c: Likewise.
8561         * soft-fp/floatuntitf.c: Likewise.
8562         * soft-fp/trunctfxf2.c: Likewise.
8564 2013-10-10  David S. Miller  <davem@davemloft.net>
8566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8568 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
8570         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8571         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8572         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8573         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8574         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8575         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8576         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8578         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8579         for NaNs before doing comparisons on argument.
8580         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8581         Likewise.
8583 2013-10-10  Will Newton  <will.newton@linaro.org>
8585         * malloc/hooks.c (memalign_check): Ensure the value of bytes
8586         passed to _int_memalign does not overflow.
8588 2013-10-10  Torvald Riegel  <triegel@redhat.com>
8590         * scripts/bench.pl: Add include-sources directive.
8591         * benchtests/README: Update documentation.
8593 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8595         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8596         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8597         instead of FP_INIT_ROUNDMODE.
8598         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8599         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8601         [BZ #16034]
8602         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
8603         copy class of input value.
8604         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
8605         not handle exceptions.
8606         * soft-fp/negsf2.c (__negsf2): Likewise.
8607         * soft-fp/negtf2.c (__negtf2): Likewise.
8608         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8610 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
8612         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8613         semicolon.  From Linux kernel.
8615 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
8617         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8619 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
8621         [BZ #156]
8622         * manual/socket.texi: Added statement about buffer
8623         for gethostbyname2_r.
8625 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
8627         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8628         Use .p2align directive instead, throughout.
8629         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8630         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8631         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8632         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8633         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8634         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8635         * sysdeps/x86_64/strchr.S: Likewise.
8636         * sysdeps/x86_64/strrchr.S: Likewise.
8638 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8640         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8642         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8644         * sysdeps/generic/math_private.h (__mpsin1): Remove
8645         declaration.
8646         (__mpcos1): Likewise.
8647         (__mpsin): New argument __range_reduce.
8648         (__mpcos): Likewise.
8649         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8650         (slow): Use __mpsin and __mpcos.
8651         (slow1): Likewise.
8652         (slow2): Likewise.
8653         (sloww): Likewise.
8654         (sloww1): Likewise.
8655         (sloww2): Likewise.
8656         (bsloww): Likewise.
8657         (bsloww1): Likewise.
8658         (bsloww2): Likewise.
8659         (cslow2): Likewise.
8660         (csloww): Likewise.
8661         (csloww1): Likewise.
8662         (csloww2): Likewise.
8663         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8664         range_reduce.  Merge in __mpsin1.
8665         (__mpcos): Likewise.
8666         (__mpsin1): Remove.
8667         (__mpcos1): Likewise.
8669 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8671         * locale/loadlocale.c (_nl_intern_locale_data): Use
8672         LOCFILE_ALIGNED_P.
8673         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8674         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8675         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8676         obstack data is appropriately aligned.
8677         (obstack_int32_grow_fast): Likewise.
8678         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8679         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8680         (add_locale_uint32_array): Likewise.
8682 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8684         * benchtests/Makefile: Remove ARGLIST and RET variables.
8685         ($(objpfx)bench-%.c): Pass only function name to the script.
8686         * benchtests/README: Update documentation.
8687         * benchtests/acos-inputs: Add new directives.
8688         * benchtests/acosh-inputs: Likewise.
8689         * benchtests/asin-inputs: Likewise.
8690         * benchtests/asinh-inputs: Likewise.
8691         * benchtests/atan-inputs: Likewise.
8692         * benchtests/atanh-inputs: Likewise.
8693         * benchtests/cos-inputs: Likewise.
8694         * benchtests/cosh-inputs: Likewise.
8695         * benchtests/exp-inputs: Likewise.
8696         * benchtests/log-inputs: Likewise.
8697         * benchtests/pow-inputs: Likewise.
8698         * benchtests/rint-inputs: Likewise.
8699         * benchtests/sin-inputs: Likewise.
8700         * benchtests/sinh-inputs: Likewise.
8701         * benchtests/tan-inputs: Likewise.
8702         * benchtests/tanh-inputs: Likewise.
8703         * scripts/bench.pl: Add support for new directives.
8705 2013-10-07  Alan Modra  <amodra@gmail.com>
8707         * README: Fix careless merge.
8709 2013-10-05  Alan Modra  <amodra@gmail.com>
8711         * NEWS: Mention powerpc64le support and bugs fixed.
8712         * README: Both big-endian and little-endian powerpc64 supported.
8714 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8716         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8717         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8718         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8719         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8721 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8723         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8724         match prototype.
8726 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8728         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8729         Move -mhard-float appending from
8730         ports/sysdeps/powerpc/powerpc32/Makefile.
8731         [$(with-fp) = yes] (ASFLAGS): Likewise.
8732         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8733         * sysdeps/powerpc/nofpu: Move directory from
8734         ports/sysdeps/powerpc/nofpu.
8735         * sysdeps/powerpc/soft-fp: Move directory from
8736         ports/sysdeps/powerpc/soft-fp.
8737         * sysdeps/powerpc/powerpc32/405: Move directory from
8738         ports/sysdeps/powerpc/powerpc32/405.
8739         * sysdeps/powerpc/powerpc32/440: Move directory from
8740         ports/sysdeps/powerpc/powerpc32/440.
8741         * sysdeps/powerpc/powerpc32/464: Move directory from
8742         ports/sysdeps/powerpc/powerpc32/464.
8743         * sysdeps/powerpc/powerpc32/476: Move directory from
8744         ports/sysdeps/powerpc/powerpc32/476.
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8746         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8748         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8750         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8752         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8754         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8755         * README: Update for powerpc-*-linux-gnu software floating point
8756         support in libc.
8758         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8759         case to powerpc/powerpc32*.
8760         * sysdeps/unix/sysv/linux/configure: Regenerated.
8762         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8763         (_FPU_MASK_OM): Define as 0x04.
8764         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8766         0x00c10080.
8767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8768         0x0000003c.
8769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8772         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8773         getcontext_e500.
8774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8775         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8776         setcontext_e500.
8777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8778         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8779         and setcontext_e500.
8781 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8783         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8785 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8787         * manual/threads.texi (Default Thread Attributes): Fix typo.
8789 2013-10-04  Will Newton  <will.newton@linaro.org>
8791         * malloc/Makefile: Add tst-memalign.
8792         * malloc/tst-memalign.c: New file.
8794         * malloc/tst-posix_memalign.c: Add comments.
8795         (do_test): Add comments and call free on all potentially
8796         allocated pointers. Add space after cast.
8798         * malloc/tst-pvalloc.c: Add comments.
8799         (do_test): Add comments and call free on all potentially
8800         allocated pointers. Remove duplicate check for NULL pointer.
8801         Add space after cast.
8803         * malloc/tst-valloc.c: Add comments.
8804         (do_test): Add comments and call free on all potentially
8805         allocated pointers. Remove duplicate check for NULL pointer.
8806         Add space after cast.
8808 2013-10-04  Alan Modra  <amodra@gmail.com>
8810         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8811         Use stdint types in rather than __attribute__((mode())).
8812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8814 2013-10-04  Alan Modra  <amodra@gmail.com>
8816         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8817         Correct handling of unaligned relocs for little-endian.
8818         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8820 2013-10-04  Alan Modra  <amodra@gmail.com>
8822         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8823         * configure: Regenerate.
8824         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8825         * shlib-versions: Likewise.
8827 2013-10-04  Alan Modra  <amodra@gmail.com>
8829         * string/tester.c (test_memrchr): Increment reported test cycle.
8831 2013-10-04  Alan Modra  <amodra@gmail.com>
8833         * string/test-memcpy.c (do_one_test): When reporting errors, print
8834         string address and don't overrun end of string.
8836 2013-10-04  Alan Modra  <amodra@gmail.com>
8838         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8839         insrdi.  Make better use of reg selection to speed exit slightly.
8840         Schedule entry path a little better.  Remove useless "are we done"
8841         checks on entry to main loop.  Handle wrapping around zero address.
8842         Correct main loop count.  Handle single left-over word from main
8843         loop inline rather than by using loop_small.  Remove extra word
8844         case in loop_small caused by wrong loop count.  Add little-endian
8845         support.
8846         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8847         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8848         cache hint.
8849         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8850         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8851         support.  Avoid rlwimi.
8852         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8854 2013-10-04  Alan Modra  <amodra@gmail.com>
8856         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8857         insrdi.  Formatting.
8858         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8859         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8860         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8861         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8862         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8863         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8865 2013-10-04  Alan Modra  <amodra@gmail.com>
8867         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8869         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8870         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8871         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8872         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8873         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8874         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8875         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8876         use of regs.  Use power7 mtocrf.  Tidy function tails.
8878 2013-10-04  Alan Modra  <amodra@gmail.com>
8880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8881         Formatting.  Consistently use rXXX register defines or rN defines.
8882         Use early exit labels that avoid restoring unused non-volatile regs.
8883         Make cr field use more consistent with rWORDn compares.  Rename
8884         regs used as shift registers for unaligned loop, using rN defines
8885         for short lifetime/multiple use regs.
8886         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8887         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8888         addi 1,1,64 to pop stack frame.  Simplify return value code.
8889         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8891 2013-10-04  Alan Modra  <amodra@gmail.com>
8893         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8894         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8895         rather than rlwimi.
8896         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8897         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8898         little-endian support.  Correct typos.
8899         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8900         rather than rlwimi.
8901         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8902         in loop and entry code to keep "and." results.
8903         (strchr): Add little-endian support.  Comment.  Move cntlzd
8904         earlier in tail.
8905         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8907 2013-10-04  Alan Modra  <amodra@gmail.com>
8909         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8910         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8911         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8912         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8914 2013-10-04  Alan Modra  <amodra@gmail.com>
8916         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8917         (rTMP): Define as r11.
8918         (strcmp): Add little-endian support.  Optimise tail.
8919         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8920         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8921         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8922         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8923         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8925         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8927 2013-10-04  Alan Modra  <amodra@gmail.com>
8929         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8930         little-endian support.  Remove unnecessary "are we done" tests.
8931         Handle "s" wrapping around zero and extremely large "size".
8932         Correct main loop count.  Handle single left-over word from main
8933         loop inline rather than by using small_loop.  Correct comments.
8934         Delete "zero" tail, use "end_max" instead.
8935         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8937 2013-10-04  Alan Modra  <amodra@gmail.com>
8939         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8940         support.  Don't branch over align.
8941         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8942         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8943         support.  Rearrange tmp reg use to suit.  Comment.
8944         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8946 2013-10-04  Alan Modra  <amodra@gmail.com>
8948         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8950 2013-10-04  Alan Modra  <amodra@gmail.com>
8952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8953         conditional form of branch and link when obtaining pc.
8954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8956 2013-10-04  Alan Modra  <amodra@gmail.com>
8958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8959         HIWORD/LOWORD.
8960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8963 2013-10-04  Alan Modra  <amodra@gmail.com>
8965         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8966         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8967         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8968         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8969         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8970         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8971         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8972         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8973         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8974         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8976 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8977             Alistair Popple <alistair@ozlabs.au.ibm.com>
8978             Alan Modra <amodra@gmail.com>
8980         [BZ #15723]
8981         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8982         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8983         _dl_hwcap access for little-endian.
8984         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8985         destroy vmx regs when saving unaligned.
8986         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8987         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8988         destroy vmx regs when saving unaligned.
8990 2013-10-04  Alan Modra  <amodra@gmail.com>
8992         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8993         Don't use a union to pack hi/low value.
8995 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8997         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8998         for little-endian.
8999         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9001         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9002         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9003         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9005 2013-10-04  Alan Modra  <amodra@gmail.com>
9007         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9008         constants to usual value for .cst8 section, and remove redundant
9009         high address load.
9010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9011         constant for 0x1p52.  Load little-endian words of double from
9012         correct stack offsets.
9014 2013-10-04  Alan Modra  <amodra@gmail.com>
9016         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9017         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9018         words of double from correct stack offsets.
9019         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9020         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9021         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9022         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9023         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9024         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9025         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9026         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9027         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9028         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9029         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9030         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9031         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9032         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9033         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9034         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9035         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9037 2013-10-04  Alan Modra  <amodra@gmail.com>
9039         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9040         64-bit int/double union.
9041         (_FPU_SETCW): Likewise.
9042         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9043         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9045 2013-10-04  Alan Modra  <amodra@gmail.com>
9047         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9048         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9050 2013-10-04  Alan Modra  <amodra@gmail.com>
9052         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9053         use vector int constants.
9054         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9056 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9058         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9059         array with long long.
9060         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9061         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9062         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9063         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9064         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9065         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9066         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9067         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9068         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9069         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9070         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9071         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9072         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9074 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9076         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9077         (__signbit): Likewise.  Correct for little-endian.
9078         (__signbitl): Call __signbit.
9079         (lrint): Correct for little-endian.
9080         (lrintf): Call lrint.
9082 2013-10-04  Alan Modra  <amodra@gmail.com>
9084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9085         union 32-bit int array member with 64-bit int array.
9086         (t515, tm256): Double rather than long double.
9087         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9089 2013-10-04  Alan Modra  <amodra@gmail.com>
9091         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9092         Delete.
9093         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9095         version of math_ldbl.h.
9097 2013-10-04  Alan Modra  <amodra@gmail.com>
9099         [BZ #15734], [BZ #15735]
9100         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9101         all uses of ieee875 long double macros and unions.  Simplify test
9102         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9103         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9104         normalize after ldbl_extract_mantissa, and don't add hidden bit
9105         already handled.  Don't treat low word of ieee854 mantissa like
9106         low word of IBM long double and mask off bit when testing for
9107         zero.
9108         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9109         all uses of ieee875 long double macros and unions.  Simplify tests
9110         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9111         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9112         two1022, instead use their values.  Recognise that tests for large
9113         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9114         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9115         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9116         test for 0.0L and nan.  Correct negation.
9117         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9118         ieee875 long double macros and unions.  Correct output for large
9119         magnitude x.  Correct absolute value calculation.
9120         (__erfcl): Likewise.
9121         * math/libm-test.inc: Add tests for errors discovered in IBM long
9122         double versions of fmodl, remainderl, erfl and erfcl.
9124 2013-10-04  Alan Modra  <amodra@gmail.com>
9126         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9127         all uses of ieee854 long double macros and unions.  Simplify tests
9128         for long doubles that are fully specified by the high double.
9129         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9130         Likewise.
9131         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9132         Remove dead code too.
9133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9134         (__ieee754_ynl): Likewise.
9135         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9136         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9137         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9138         Remove dead code too.
9139         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9140         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9141         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9142         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9143         Simplify.
9144         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9145         Simplify.
9146         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9147         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9148         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9149         Comment on variable precision.
9150         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9151         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9152         Likewise.
9153         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9154         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9155         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9156         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9157         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9159 2013-10-04  Alan Modra  <amodra@gmail.com>
9161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9163         all uses of ieee854 long double macros and unions.
9164         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9165         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9166         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9167         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9168         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9169         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9170         Likewise.
9171         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9172         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9173         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9174         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9175         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9177         Simplify sign and nan test too.
9178         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9179         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9180         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9181         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9182         Likewise.
9183         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9184         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9185         Likewise.
9186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9187         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9188         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9189         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9190         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9193 2013-10-04  Alan Modra  <amodra@gmail.com>
9195         * stdio-common/printf_size.c (__printf_size): Don't use
9196         union ieee854_long_double in fpnum union.
9197         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9198         signbit macro to retrieve sign from long double.
9199         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9200         retrieve sign from long double.
9201         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9202         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9203         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9204         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9205         * math/test-misc.c (main): Don't use union ieee854_long_double.
9207 2013-10-04  Alan Modra  <amodra@gmail.com>
9209         [BZ #15680]
9210         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9211         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9212         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9213         calculation.  Remove unnecessary test for denormal exponent.
9214         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9215         Correct handling of denormals.  Avoid undefined shift behaviour.
9216         Correct normalisation of low mantissa when low double is denormal.
9217         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9218         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9219         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9220         Correct normalisation of low mantissa.  Test for overflow of high
9221         mantissa and normalise.
9222         (ldbl_nearbyint): Use more readable constant for two52.
9223         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9224         (__mpn_construct_long_double): Fix test for overflow of high
9225         mantissa and correct normalisation.  Avoid undefined shift.
9227 2013-10-04  Alan Modra  <amodra@gmail.com>
9229         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9230         (union ibm_extended_long_double): Define as an array of ieee754_double.
9231         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9232         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9233         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9234         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9235         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9236         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9238         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9239         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9240         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9241         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9243 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9245         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9246         page size instead of calling getpagesize.
9248         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9249         (LOCFILE_ALIGN_MASK): Likewise.
9250         (LOCFILE_ALIGN_UP): Likewise.
9251         (LOCFILE_ALIGNED_P): Likewise.
9252         * locale/programs/ld-collate.c (collate_output): Use the new
9253         macros instead of __alignof__ (int32_t).
9254         * locale/weight.h (findidx): Likewise.
9256 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9258         [BZ #431]
9259         * manual/string.texi: Fix strncat and wcsncat.
9261 2013-10-03  Brooks Moses  <bmoses@google.com>
9263         [BZ #15915]
9264         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9265         * Makerules: ...here, and adjust associated comments.
9267 2013-10-02  Will Newton  <will.newton@linaro.org>
9269         * malloc/Makefile: Add tst-pvalloc.
9270         * malloc/tst-pvalloc.c: New file.
9272 2013-10-02  Will Newton  <will.newton@linaro.org>
9274         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9275         improve test coverage.
9277 2013-10-02  Will Newton  <will.newton@linaro.org>
9279         * malloc/Makefile: Add tst-posix_memalign.
9280         * malloc/tst-posix_memalign.c: New file.
9282 2013-10-01  Eric Blake  <eblake@redhat.com>
9284         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9285         Use __THROWNL rather than __THROW on static functions.
9287 2013-09-30  Petr Machata  <pmachata@redhat.com>
9289         * elf/elf.h (R_AARCH64_ABS16): New macro.
9290         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9291         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9292         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9293         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9294         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9295         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9296         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9297         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9298         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9299         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9300         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9301         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9302         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9303         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9304         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9305         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9306         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9307         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9308         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9309         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9310         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9311         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9312         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9313         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9314         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9315         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9316         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9317         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9318         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9319         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9320         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9321         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9322         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9323         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9324         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9325         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9326         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9327         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9328         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9329         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9330         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9331         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9332         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9333         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9334         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9335         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9336         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9337         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9338         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9339         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9340         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9341         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9342         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9343         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9344         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9345         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9346         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9347         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9348         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9349         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9350         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9351         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9352         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9353         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9354         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9355         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9356         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9357         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9358         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9359         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9360         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9361         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9362         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9363         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9364         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9365         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9366         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9367         (R_AARCH64_TLSDESC_LDR): Likewise.
9368         (R_AARCH64_TLSDESC_ADD): Likewise.
9369         (R_AARCH64_TLSDESC_CALL): Likewise.
9371 2013-09-30  Andreas Schwab  <schwab@suse.de>
9373         [BZ #15048]
9374         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9375         the nss database lookup.
9376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9379 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
9381         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9383 2013-09-28  P. J. McDermott  <pj@pehjota.net>
9385         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9386         ${Bash-specific parameter/pattern/string} parameter expansion.
9387         * sysdeps/unix/make-syscalls.sh: Likewise.
9389 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9391         * sysdeps/sh/stackguard-macros.h: New file.
9393 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
9395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9397         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9398         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9399         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9400         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9402 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9404         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9405         Fix thread ID register.
9407 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9409         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9410         [POSIX || UNIX98]: Require rather than permitting all symbols from
9411         <time.h>.
9412         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9413         element of struct sched_param.
9414         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9415         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9416         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9417         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9418         constant.
9420 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9422         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9423         argument calculation.
9425 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9427         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9428         Expect macro.
9429         [POSIX] (pthread_attr_t): Do not require type.
9430         [POSIX] (pthread_cond_t): Likewise.
9431         [POSIX] (pthread_condattr_t): Likewise.
9432         [POSIX] (pthread_key_t): Likewise.
9433         [POSIX] (pthread_mutex_t): Likewise.
9434         [POSIX] (pthread_mutexattr_t): Likewise.
9435         [POSIX] (pthread_once_t): Likewise.
9436         [POSIX] (pthread_t): Likewise.
9437         [POSIX-based standards] (pthread_atfork): Expect function.
9439 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9440             Richard Sandiford  <richard@codesourcery.com>
9442         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9443         (swap_endianness_p): New extern variable.
9444         (set_big_endian): New inline function.
9445         (maybe_swap_uint32): Likewise.
9446         (maybe_swap_uint32_array): Likewise.
9447         (maybe_swap_uint32_obstack): Likewise.
9448         * locale/programs/locfile.c: Include <stdbool.h>.
9449         (swap_endianness_p): New variable.
9450         (add_locale_uint32): Call maybe_swap_uint32.
9451         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9452         (write_locale_data): Call maybe_swap_uint32_array.
9453         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9454         maybe_swap_uint32.
9455         (obstack_int32_grow_fast): Likewise.
9456         (output_weightwc): Call maybe_swap_uint32_obstack.
9457         (collate_output): Likewise.
9458         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9459         (OPT_LITTLE_ENDIAN): Likewise.
9460         (options): Add --little-endian and --big-endian options.
9461         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9462         * locale/programs/locarchive.c: Include "locfile.h".
9463         (GET): New macro.
9464         (SET): Likewise.
9465         (INC): Likewise.
9466         (create_archive): Use the new macros to access fields of
9467         structures directly mapped from or written to locale archives.
9468         (oldlocrecentcmp): Likewise.
9469         (enlarge_archive): Likewise.
9470         (insert_name): Likewise.
9471         (add_alias): Likewise.
9472         (add_locale): Likewise.
9473         (delete_locales_from_archive): Likewise.
9474         (show_archive_content): Likewise.
9475         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
9476         locale data.
9478 2013-09-24  Roland McGrath  <roland@hack.frob.com>
9480         * manual/freemanuals.texi: Updated from (newly) canonical copy at
9481         http://www.gnu.org/doc/freemanuals.texi.
9482         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9484 2013-09-24  Will Newton  <will.newton@linaro.org>
9486         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9487         macro.
9489 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
9491         * locale/hashval.h (compute_hashval): Interpret bytes of key as
9492         unsigned char.
9494 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
9496         * manual/threads.texi (POSIX Threads): Fix a typo.
9498 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9500         [BZ #14547]
9501         * string/tst-strcoll-overflow.c: New test case.
9502         * string/Makefile (xtests): Add tst-strcoll-overflow.
9503         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9504         cache if string sizes may cause integer overflow.
9506         [BZ #14547]
9507         * string/strcoll_l.c (coll_seq): New members rule, idx,
9508         save_idx and back_us.
9509         (get_next_seq_nocache): New function.
9510         (do_compare_nocache): New function.
9511         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9512         when malloc fails.
9514 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
9516         [BZ #15754]
9517         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9518         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9519         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9521         [BZ #15754]
9522         * elf/Makefile (tests): Add tst-ptrguard1.
9523         (tests-static): Add tst-ptrguard1-static.
9524         (tst-ptrguard1-ARGS): Define.
9525         (tst-ptrguard1-static-ARGS): Define.
9526         * elf/tst-ptrguard1.c: New file.
9527         * elf/tst-ptrguard1-static.c: New file.
9528         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9529         * sysdeps/i386/stackguard-macros.h: Likewise.
9530         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9531         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9532         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9533         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9534         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9535         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9537 2013-09-23  Hector Marco  <hecmargi@upv.es>
9538             Ismael Ripoll  <iripoll@disca.upv.es>
9539             Carlos O'Donell  <carlos@redhat.com>
9541         [BZ #15754]
9542         * sysdeps/generic/stackguard-macros.h: Define
9543         __pointer_chk_guard_local and POINTER_CHK_GUARD.
9544         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9545         Define __pointer_chk_guard_local.
9546         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9547         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9549 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
9551         [BZ #15859]
9552         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9554 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
9556         * include/string.h (__ffs): Declare as hidden.
9557         * string/ffs.c (__ffs): Define as hidden.
9558         * sysdeps/i386/ffs.c (__ffs): Likewise.
9559         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9560         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9561         * sysdeps/s390/ffs.c (__ffs): Likewise.
9562         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9564 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
9566         * NEWS: Mention malloc probes.
9568         * malloc/arena.c (new_heap): New memory_heap_new probe.
9569         (grow_heap): New memory_heap_more probe.
9570         (shrink_heap): New memory_heap_less probe.
9571         (heap_trim): New memory_heap_free probe.
9572         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9573         (systrim): New memory_sbrk_less probe.
9574         * manual/probes.texi: Document them.
9576         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9577         * manual/probes.texi: Document it.
9579         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9580         (__libc_realloc): Add memory_realloc_retry probe.
9581         (__libc_memalign): Add memory_memalign_retry probe.
9582         (__libc_valloc): Add memory_valloc_retry probe.
9583         (__libc_pvalloc): Add memory_pvalloc_retry probe.
9584         (__libc_calloc): Add memory_calloc_retry probe.
9585         * manual/probes.texi: Document them.
9587         * malloc/arena.c (get_free_list): Add probe
9588         memory_arena_reuse_free_list.
9589         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9590         and memory_arena_reuse.
9591         (arena_get2) [!PER_THREAD]: Likewise.
9592         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9593         memory_arena_reuse_realloc.
9594         * manual/probes.texi: Document them.
9596         * malloc/malloc.c (__libc_free): Add
9597         memory_mallopt_free_dyn_thresholds probe.
9598         (__libc_mallopt): Add multiple memory_mallopt probes.
9599         * manual/probes.texi: Document them.
9601         * malloc/malloc.c: Include stap-probe.h.
9602         (__libc_mallopt): Add memory_mallopt probe.
9603         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9604         * manual/probes.texi: New.
9605         * manual/Makefile (chapters): Add probes.
9606         * manual/threads.texi: Set next node.
9608 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
9610         [BZ #15963, #13985]
9611         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9612         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9613         Add `Chinese' to `nan' entry name.
9615 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9617         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9618         (POLYNOMIAL): Likewise.
9619         (TAYLOR_SINCOS): Likewise.
9620         (TAYLOR_SLOW): Likewise.
9621         (__sin): Use TAYLOR_SINCOS.
9622         (__cos): Likewise.
9623         (slow): Use TAYLOR_SLOW.
9624         (sloww): Likewise.
9625         (bsloww): Likewise.
9626         (csloww): Likewise.
9628 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9630         * stdlib/strtod_l.c: Fix buffer overrun.
9632 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9634         * benchtests/Makefile (bench): Add sincos.
9635         * benchtests/bench-sincos.c: New file.
9637         * math/libm-test.inc (cos_test_data): New test inputs.
9638         (sin_test_data): Likewise.
9640         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9641         macro.
9642         (__sin): Use it.
9643         (__cos): Likewise.
9644         (slow1): Likewise.
9645         (slow2): Likewise.
9646         (sloww1): Likewise.
9647         (sloww2): Likewise.
9648         (bsloww1): Likewise.
9649         (bsloww2): Likewise.
9650         (cslow2): Likewise.
9651         (csloww1): Likewise.
9652         (csloww2): Likewise.
9654         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9655         function.
9656         (__sin): Use it.
9657         (__cos): Likewise.
9659         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9660         gotos.
9661         (__cos): Likewise.
9663 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9665         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9666         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9667         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9668         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9669         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9670         * elf/cache.c (print_entry): Handle the new cache flags.
9672 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9673             Aldy Hernandez  <aldyh@redhat.com>
9675         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9676         Change condition to [_SOFT_FLOAT].
9677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9689         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9692         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9693         declaration.
9695 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9697         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9698         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9699         (__longjmp): Use LOAD_GP to load saved GPRs.
9700         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9701         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9702         (__sigsetjmp): Use SAVE_GP to save GPRs.
9704         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9705         Do not append -msoft-float.
9706         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9708 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9710         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9712 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9714         [BZ #15966]
9715         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9716         (_FPU_GETCW): Use initial "__" on variable and field names but not
9717         on macro parameter name.
9718         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9719         parentheses around reference to macro parameter.
9721 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9723         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9724         prototype.
9725         (ctype_startup): Use uint32_t in cast and sizeof for
9726         ctype->charnames.
9728 2013-09-11  Jia Liu  <proljc@gmail.com>
9730         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9731         __daddr_t_defined.
9732         [__FreeBSD__]: Likewise.
9734 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9737         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9738         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9739         (strchr): Remove __strchr_sse42 ifunc selection.
9740         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9741         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9743 2013-09-11  Will Newton  <will.newton@linaro.org>
9745         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9746         parameter to RES. Remove hardcoded 1000 value.
9747         * benchtests/bench-skeleton.c (main): Pass RES parameter
9748         to TIMING_INIT and multiply result by 1000.
9750 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9754 2013-09-11  Andreas Schwab  <schwab@suse.de>
9756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9757         if not defined.
9758         (O_TMPFILE) [__USE_GNU]: Define.
9759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9760         Define.
9762 2013-09-11  Will Newton  <will.newton@linaro.org>
9764         [BZ #15857]
9765         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9766         does not overflow.
9768 2013-09-11  Will Newton  <will.newton@linaro.org>
9770         [BZ #15856]
9771         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9772         does not overflow.
9774 2013-09-11  Will Newton  <will.newton@linaro.org>
9776         [BZ #15855]
9777         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9778         does not overflow.
9780 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9782         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9783         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9784         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9785         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9786         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9788 2013-09-10  Allan McRae  <allan@archlinux.org>
9790         [BZ #15748]
9791         * manual/arith.texi (Parsing of Floats): Clarify
9792         cross-reference.
9794         [BZ #15849]
9795         * manual/install.texi (Running make install): Mention
9796         --enable-pt-chown.
9797         * INSTALL: Regenerated.
9799 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9801         * csu/init-first.c (_init): Remove the !SHARED condition around
9802         FPU control word initialization.
9803         * elf/dl-support.c (_dl_fpu_control): New variable.
9804         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9805         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9806         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9807         * math/test-fpucw-static.c: New file.
9808         * math/test-fpucw-ieee.c: New file.
9809         * math/test-fpucw-ieee-static.c: New file.
9810         * math/Makefile (tests): Add `test-fpucw-ieee' and
9811         `$(tests-static)'.
9812         (tests-static): New variable.
9813         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9814         dependency to...
9815         [($(build-shared),yes)]
9816         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9817         ... this.
9818         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9819         New dependency.
9821 2013-09-09  Allan McRae  <allan@archlinux.org>
9823         [BZ #15939]
9824         * manual/string.texi (Collation Functions): Fix typo in
9825         strcoll example.
9826         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9828         [BZ #15893]
9829         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9831         [BZ #15892]
9832         * libio/memstream.c (open_memstream): Fix memory leak.
9833         * libio/wmemstream.c (open_wmemstream): Likewise.
9835         [BZ #15895]
9836         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9838 2013-09-09  Will Newton  <will.newton@linaro.org>
9840         * malloc/Makefile: Add tst-realloc to tests.
9841         * malloc/tst-realloc.c: New file.
9843 2013-09-09  Allan McRae  <allan@archlinux.org>
9845         [BZ #15844]
9846         * COPYING: Update from GNU website to fix FSF address.
9847         * COPYING.LIB: Likewise.
9849 2013-09-06  David S. Miller  <davem@davemloft.net>
9851         * po/zh_TW.po: Update Chinese (traditional) translation from
9852         translation project.
9854 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9855             Joseph Myers  <joseph@codesourcery.com>
9857         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9858         "localeinfo.h".
9859         (obstack_chunk_alloc): New macro.
9860         (obstack_chunk_free): Likewise.
9861         (record_offset): New function.
9862         (init_locale_data): Likewise.
9863         (align_locale_data): Likewise.
9864         (add_locale_empty): Likewise.
9865         (add_locale_raw_data): Likewise.
9866         (add_locale_raw_obstack): Likewise.
9867         (add_locale_string): Likewise.
9868         (add_locale_wstring): Likewise.
9869         (add_locale_uint32): Likewise.
9870         (add_locale_uint32_array): Likewise.
9871         (add_locale_char): Likewise.
9872         (start_locale_structure): Likewise.
9873         (end_locale_structure): Likewise.
9874         (start_locale_prelude): Likewise.
9875         (end_locale_prelude): Likewise.
9876         (write_locale_data): Take locale_file structure rather than an
9877         iovec.
9878         * locale/programs/locfile.h: Include "obstack.h".
9879         (struct locale_file): Change to store locale file contents instead
9880         of header.
9881         (init_locale_data): New prototype.
9882         (align_locale_data): Likewise.
9883         (add_locale_empty): Likewise.
9884         (add_locale_raw_data): Likewise.
9885         (add_locale_raw_obstack): Likewise.
9886         (add_locale_string): Likewise.
9887         (add_locale_wstring): Likewise.
9888         (add_locale_uint32): Likewise.
9889         (add_locale_uint32_array): Likewise.
9890         (add_locale_char): Likewise.
9891         (start_locale_structure): Likewise.
9892         (end_locale_structure): Likewise.
9893         (start_locale_prelude): Likewise.
9894         (end_locale_prelude): Likewise.
9895         (write_locale_data): Update prototype.
9896         * locale/programs/3level.h (struct TABLE): Remove result field.
9897         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9898         Use new locale_file interface.
9899         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9900         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9901         * locale/programs/ld-address.c (address_output): Use new
9902         locale_file interface.
9903         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9904         NO_ADD_LOCALE.
9905         (collate_finish): Don't call collseq_table_finalize.
9906         (collate_output): Use new locale_file interface.
9907         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9908         in file.
9909         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9910         (TABLE): Move defines earlier in file.
9911         (ELEMENT): Likewise.
9912         (DEFAULT): Likewise.
9913         (wctrans_table_add): Move macro and inline function earlier in
9914         file.
9915         (struct wctype_table): Move type earlier in file.
9916         (add_locale_wctype_table): New static prototype.
9917         (struct locale_ctype_t): Use logical types instead of struct iovec
9918         pointers for members.
9919         (ctype_output): Use new locale_file interface.
9920         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9921         new locale_file interface.
9922         (allocate_arrays): Update for use of new locale_file interface.
9923         * locale/programs/ld-identification.c (identification_output): Use
9924         new locale_file interface.
9925         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9926         * locale/programs/ld-messages.c (messages_output): Likewise.
9927         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9928         * locale/programs/ld-name.c (name_output): Likewise.
9929         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9930         * locale/programs/ld-paper.c (paper_output): Likewise.
9931         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9932         * locale/programs/ld-time.c (time_output): Likewise.
9934 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9936         * benchtests/Makefile: Add memrchr benchmark.
9937         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9938         benchmark as memrchr.
9939         * benchtests/bench-memrchr-ifunc.c: New file.
9940         * benchtests/bench-memrchr.c: New file.
9942 2013-09-06   Will Newton  <will.newton@linaro.org>
9944         * benchtests/Makefile (string-bench): Add memcpy.
9946 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9947             Cong Wang  <amwang@redhat.com>
9949         [BZ #15850]
9950         * sysdeps/unix/sysv/linux/bits/in.h
9951         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9952         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9953         before __USE_KERNEL_IPV6_DEFS uses.
9954         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9955         IPPROTO_BEETPH.
9956         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9957         sockaddr_in6, or ipv6_mreq.
9959 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9961         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9962         memory access for final bytes in some large inputs.
9963         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9965 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9967         * string/test-memrchr.c: New file.
9968         * string/test-memrchr-ifunc.c: New file.
9969         * string/Makefile: Add new memrchr testcase.
9971 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9973         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9974         fanotify_init returns EPERM.
9976 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9978         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9979         errors.
9980         (top level): Treat second token from macro or constant entries for
9981         allowed headers as allowed.
9982         * include/complex.h: Condition internal declarations on
9983         [!_ISOMAC].
9984         * include/fenv.h: Condition include of <stdbool.h> and internal
9985         declarations on [!_ISOMAC].
9987 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9989         [BZ #15923]
9990         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9992 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9994         * configure.in (--enable-versioning): Remove configure option.
9995         (libc_cv_asm_symver_directive): Remove configure test.
9996         (libc_cv_ld_version_script_option): Likewise.
9997         (VERSIONING): Remove variable and AC_SUBST.
9998         (DO_VERSIONING): Remove AC_DEFINE.
9999         * configure: Regenerated.
10000         * config.h.in (DO_VERSIONING): Remove macro.
10001         * Makerules [$(versioning) = yes]: Change conditionals to
10002         [$(build-shared) = yes].
10003         * config.make.in (versioning): Remove variable.
10004         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10005         [$(build-shared) = yes].
10006         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10007         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10008         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10009         [$(build-shared) = yes].
10010         * extra-lib.mk [$(versioning) = yes]: Likewise.
10011         * hurd/Makefile [$(versioning) = yes]: Likewise.
10012         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10013         [SHARED].
10014         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10015         [SHARED].
10016         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10017         [SHARED && !NO_HIDDEN].
10018         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10019         [SHARED].
10020         [SHARED && DO_VERSIONING]: Likewise..
10021         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10022         [$(build-shared) = yes].
10023         * manual/install.texi (--disable-versioning): Remove
10024         documentation.
10025         * INSTALL: Regenerated.
10026         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10027         to [SHARED].
10028         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10029         [$(build-shared) = yes].
10030         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10031         * sysdeps/i386/i686/multiarch/strstr-c.c
10032         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10033         [SHARED && !NO_HIDDEN].
10034         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10035         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10036         * sysdeps/powerpc/powerpc32/dl-machine.c
10037         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10038         * sysdeps/powerpc/powerpc32/sysdep.h
10039         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10040         to [SHARED && PIC && !NO_HIDDEN].
10041         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10042         conditional to [SHARED].
10044 2013-09-04   Will Newton  <will.newton@linaro.org>
10046         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10047         * benchtests/bench-string.h: Include bench-timing.h instead
10048         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10049         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10050         call to HP_TIMING_DIFF_INIT.
10051         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10052         instead of hp-timing.h macros.
10053         * benchtests/bench-memchr.c: Likewise.
10054         * benchtests/bench-memcmp.c: Likewise.
10055         * benchtests/bench-memcpy.c: Likewise.
10056         * benchtests/bench-memmem.c: Likewise.
10057         * benchtests/bench-memmove.c: Likewise.
10058         * benchtests/bench-memset.c: Likewise.
10059         * benchtests/bench-rawmemchr.c: Likewise.
10060         * benchtests/bench-strcasecmp.c: Likewise.
10061         * benchtests/bench-strcasestr.c: Likewise.
10062         * benchtests/bench-strcat.c: Likewise.
10063         * benchtests/bench-strchr.c: Likewise.
10064         * benchtests/bench-strcmp.c: Likewise.
10065         * benchtests/bench-strcpy.c: Likewise.
10066         * benchtests/bench-strcpy_chk.c: Likewise.
10067         * benchtests/bench-strlen.c: Likewise.
10068         * benchtests/bench-strncasecmp.c: Likewise.
10069         * benchtests/bench-strncat.c: Likewise.
10070         * benchtests/bench-strncmp.c: Likewise.
10071         * benchtests/bench-strncpy.c: Likewise.
10072         * benchtests/bench-strnlen.c: Likewise.
10073         * benchtests/bench-strpbrk.c: Likewise.
10074         * benchtests/bench-strrchr.c: Likewise.
10075         * benchtests/bench-strspn.c: Likewise.
10076         * benchtests/bench-strstr.c: Likewise.
10078 2013-09-04  Will Newton  <will.newton@linaro.org>
10080         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10082 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10084         [BZ #15427]
10085         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10086         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10087         * math/libm-test.inc (lgamma_test_data): Add more tests.
10088         * sysdeps/i386/fpu/libm-test-ulps: Update.
10089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10091 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10093         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10095         Add ifunc.
10096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10097         Add strcmp-sse2-unaligned
10098         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10100 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10102         * Versions.def (libc): Add GLIBC_2.19.
10104 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10106         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10107         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10109 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10111         [BZ #14155]
10112         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10113         intermediate calculations in recurrence.
10114         (__ieee754_ynf): Likewise.
10115         * math/libm-test.inc (jn_test_data): Do not allow spurious
10116         underflow exception.  Add more tests.
10117         (yn_test_data): Add more tests.
10118         * sysdeps/i386/fpu/libm-test-ulps: Update.
10119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10121 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10123         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10125 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10127         * csu/init-first.c: Fix then/than typos.
10128         * locale/programs/ld-collate.c: Likewise.
10129         * locale/programs/linereader.h: Likewise.
10130         * manual/charset.texi: Likewise.
10131         * manual/filesys.texi: Likewise.
10132         * manual/stdio.texi: Likewise.
10133         * manual/string.texi: Likewise.
10134         * stdlib/fmtmsg.c: Likewise.
10135         * sysdeps/i386/stpncpy.S: Likewise.
10136         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10137         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10138         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10139         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10141 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10143         * elf/dl-open.c: Fix typos.
10144         * iconvdata/gbbig5.c: Likewise.
10145         * iconvdata/iso-2022-jp.c: Likewise.
10146         * iconv/gconv_int.h: Likewise.
10147         * iconv/loop.c: Likewise.
10148         * nis/rpcsvc/nis.h: Likewise.
10149         * resolv/ns_name.c: Likewise.
10150         * stdio-common/vfscanf.c: Likewise.
10151         * streams/stropts.h: Likewise.
10152         * sunrpc/rpc_thread.c: Likewise.
10153         * sysdeps/i386/strpbrk.S: Likewise.
10154         * sysdeps/ieee754/k_standard.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10157         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10158         * sysdeps/mach/hurd/profil.c: Likewise.
10159         * sysdeps/s390/dl-procinfo.h: Likewise.
10160         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10161         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10162         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10163         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10164         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10166 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10168         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10171 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10173         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10174         aix specific files.
10175         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10176         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10177         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10178         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10179         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10180         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10181         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10182         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10184 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10185             Roland McGrath  <roland@hack.frob.com>
10187         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10188         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10190 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10192         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10193         __executable_start symbol instead of _start.
10195 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10197         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10198         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10199         Move macros to...
10200         * sysdeps/gnu/ldsodefs.h: ... this new file.
10202         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10203         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10204         instead of ELFOSABI_LINUX.
10206         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10207         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10208         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10209         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10210         Likewise.
10211         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10212         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10213         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10214         Likewise.
10215         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10216         (ibm_extended_long_double): Add ieee_nan member.
10217         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10218         (do_test): New function.
10220         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10221         TEST_TRUNC.
10222         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10223         functions, renamed from truncdfsf_test, trunctfsf_test,
10224         trunctfdf_test.
10225         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10226         functions.
10227         (do_test): Run all these.
10229 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10231         * argp/argp-help.c: Fix typos.
10232         * argp/argp-parse.c: Likewise.
10233         * debug/backtracesyms.c: Likewise.
10234         * elf/elf.h: Likewise.
10235         * malloc/malloc.c: Likewise.
10236         * nis/nis_print.c: Likewise.
10237         * resolv/res_comp.c: Likewise.
10238         * stdlib/stdlib.h: Likewise.
10239         * sunrpc/clnt_tcp.c: Likewise.
10240         * sunrpc/clnt_udp.c: Likewise.
10241         * sunrpc/clnt_unix.c: Likewise.
10242         * sysdeps/unix/bsd/ptsname.c: Likewise.
10243         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10244         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10248         Likewise.
10249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10250         Likewise.
10251         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10253 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10255         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10258 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10260         [BZ #15897]
10261         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10262         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10263         ($(objpfx)bug-dl-leaf): New rule.
10264         ($(objpfx)bug-dl-leaf.so): Likewise.
10265         ($(objpfx)bug-dl-leaf.out): Likewise.
10266         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10267         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10268         * dlfcn/bug-dl-leaf.c: New test.
10269         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10270         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10271         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10272         (dlclose): Likewise.
10273         (dlmopen): Likewise.
10275 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10277         * include/netdb.h [!_ISOMAC]:
10278         Don't include <tls.h>.
10279         (h_errno, __libc_h_errno): Move declaration and macros out of
10280         [_LIBC_REENTRANT].
10282         * include/resolv.h [_RESOLV_H_]:
10283         Don't include <tls.h>.
10284         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10285         * resolv/res_libc.c: Don't include <tls.h>.
10286         (_res): Use __attribute__ ((nocommon)) in place of
10287         __attribute__ ((section (".bss"))).
10289         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10290         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10292         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10294         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10295         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10297         * resolv/res_mkquery.c: Include <sys/time.h>.
10299         * inet/ifreq.c: Moved to ...
10300         * sysdeps/unix/ifreq.c: ... here.
10301         * inet/ifreq.c: New file, true stub version.
10303         * socket/sa_len.c: New file.
10304         * socket/Makefile (aux): Add it.
10305         * sysdeps/unix/sysv/linux/Makefile
10306         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10307         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10308         and #include <socket/sa_len.c>.
10309         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10310         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10312         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10313         * bits/socket.h: ... here.
10315         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10316         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10317         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10319 2013-08-27  Andreas Schwab  <schwab@suse.de>
10321         [BZ #15736]
10322         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10323         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10324         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10325         * string/test-strcasecmp.c (test_main): Run tests in several
10326         locales.
10327         * string/test-strncasecmp.c (test_main): Likewise.
10329         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10330         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10331         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10333         (__strncasecmp_ssse3) [PIC]: Likewise.
10335 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10337         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10339         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10340         instead of explicitly declaring xdecrypt.
10341         * nis/nss_nis/nis-publickey.c: Likewise.
10343 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10345         [BZ #15890]
10346         * nscd/aicache.c: Include res_hconf.h.
10347         (addhstaiX): Initialize res_hconf.
10349 2013-08-26  Andreas Schwab  <schwab@suse.de>
10351         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10352         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10354 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10356         * nscd/aicache.c (addhstaiX): Fix indentation.
10358 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
10360         * configure.ac: Quote $build_pt_chown test.
10361         * configure: Regenerated.
10363 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
10365         [BZ #15532]
10366         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10367         * math/s_cexpf.c (__cexpf): Likewise.
10368         * math/s_cexpl.c (__cexpl): Likewise.
10369         * math/libm-test.inc (cexp_test_data): Correct expected return
10370         value for NaN + i0.  Add another test.
10372 2013-08-22  David S. Miller  <davem@davemloft.net>
10374         * po/ca.po: Update Catalan translation from translation project.
10375         * po/uk.po: Add Ukrainian translations from translation project.
10377 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
10379         [BZ #15797]
10380         * math/s_fdim.c (__fdim): Check for infinite arguments if result
10381         is infinite, not alongside NaN test.
10382         * math/s_fdimf.c (__fdimf): Likewise.
10383         * math/s_fdiml.c (__fdiml): Likewise.
10384         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
10385         errno is unchanged.
10387 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
10389         * argp/argp-help.c: Fix typos.
10390         * crypt/speeds.c: Likewise.
10391         * csu/check_fds.c: Likewise.
10392         * elf/dl-load.c: Likewise.
10393         * elf/dl-open.c: Likewise.
10394         * elf/reldep3.c: Likewise.
10395         * elf/reldep.c: Likewise.
10396         * elf/sprof.c: Likewise.
10397         * iconv/iconv_charmap.c: Likewise.
10398         * iconv/skeleton.c: Likewise.
10399         * iconv/strtab.c: Likewise.
10400         * io/lockf64.c: Likewise.
10401         * libio/libioP.h: Likewise.
10402         * resolv/gai_notify.c: Likewise.
10403         * resolv/ns_name.c: Likewise.
10404         * resolv/ns_samedomain.c: Likewise.
10405         * resolv/res_send.c: Likewise.
10406         * stdlib/random.c: Likewise.
10407         * sunrpc/rpc/xdr.h: Likewise.
10408         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10409         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10410         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10411         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10412         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10413         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10416         * sysdeps/mach/hurd/check_fds.c: Likewise.
10417         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10418         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10419         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10420         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10421         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10422         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10423         * sysdeps/pthread/aio_notify.c: Likewise.
10424         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10425         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10427         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10428         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10430 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10432         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10433         version if bit_Slow_SSE4_2 is set.
10434         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10437 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10439         [BZ #15867]
10440         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10441         trampoline stack frame information.
10442         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10443         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10444         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10445         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10446         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10447         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10448         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10449         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10450         sa_flags value.
10451         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10452         interrupting a syscall and set with option SA_SIGINFO.
10454 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10456         [BZ #15531]
10457         * math/s_cproj.c (__cproj): Only return an infinity if one part of
10458         argument is infinite.
10459         * math/s_cprojf.c (__cprojf): Likewise.
10460         * math/s_cprojl.c (__cprojl): Likewise.
10461         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10462         * math/libm-test.inc (cproj_test_data): Add more tests.
10464         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10466         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10467         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10468         size.  Use __ffs to determine corresponding shift.
10470 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10471             Roland McGrath  <roland@hack.frob.com>
10473         * Makefile (INSTALL): Remove trailing blank lines from output of
10474         makeinfo.
10476 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10478         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10479         Align 32 bit compat elf_greg to 8 bytes.
10481 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10483         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10485 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10487         * string/strcoll_l.c (coll_seq): New structure.
10488         (get_next_seq_cached): New function.
10489         (get_next_seq): New function.
10490         (do_compare): New function.
10491         (STRCOLL): Use GNU style definition.  Simplify implementation
10492         by using get_next_seq, get_next_seq_cached and do_compare.
10494 2013-08-16  Florian Weimer  <fweimer@redhat.com>
10496         [BZ #14699]
10497         CVE-2013-4237
10498         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10499         member.
10500         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10501         member.
10502         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10503         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10504         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
10505         conditional.
10506         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10507         GETDENTS_64BIT_ALIGNED.
10508         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10509         * manual/filesys.texi (Reading/Closing Directory): Document
10510         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
10511         strongly.
10512         * manual/conf.texi (Limits for Files): Add portability note to
10513         NAME_MAX, PATH_MAX.
10514         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10516 2013-08-13  Andreas Schwab  <schwab@suse.de>
10518         [BZ #15749]
10519         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10520         of fabs.
10521         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10522         LDBL_MAX_EXP >= 16384]: Add tests for it.
10524 2013-08-12  David S. Miller  <davem@davemloft.net>
10526         * version.h (RELEASE): Set to "development".
10527         (VERSION): Set to "2.18.90".
10528         * NEWS: Add 2.19 section.
10530 2013-08-03  David S. Miller  <davem@davemloft.net>
10532         * po/ko.po: Update Korean translation from translation project.
10534 2013-08-01  David S. Miller  <davem@davemloft.net>
10536         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
10537         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10538         Bilka.
10540 2013-07-30  David S. Miller  <davem@davemloft.net>
10542         * po/fr.po: Update French translation from translation project.
10544 2013-07-28  David S. Miller  <davem@davemloft.net>
10546         * po/cs.po: Update Czech translation from translation project.
10548         * po/sv.po: Update Swedish translation from translation project.
10550 2013-07-27  David S. Miller  <davem@davemloft.net>
10552         * po/eo.po: Update Esperanto translation from translation project.
10554         * po/vi.po: Update Vietnamese translation from translation project.
10556         * po/de.po: Update German translation from translation project.
10558 2013-07-26  David S. Miller  <davem@davemloft.net>
10560         * po/bg.po: Update Bulgarian translation from translation project.
10562         * po/nl.po: Update Dutch translation from translation project.
10563         * po/pl.po: Update Polish translation from translation project.
10564         * po/ru.po: Update Russian translation from translation project.
10566 2013-07-24  David S. Miller  <davem@davemloft.net>
10568         * po/libc.pot: Update.
10570 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10572         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10573         variable page size.
10574         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10575         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10576         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10578 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10580         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10582 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10583             Andreas Schwab  <schwab@suse.de>
10584             Roland McGrath  <roland@hack.frob.com>
10585             Joseph Myers  <joseph@codesourcery.com>
10586             Carlos O'Donell  <carlos@redhat.com>
10588         [BZ #15755]
10589         * config.h.in: Define HAVE_PT_CHOWN.
10590         * config.make.in (build-pt-chown): New variable.
10591         * configure.in (--enable-pt_chown): New configure option.
10592         * configure: Regenerate.
10593         * login/Makefile: Include Makeconfig.  Build pt_chown only if
10594         build-pt-chown is enabled.
10595         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10596         pt_chown to fix pty ownership.
10597         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10598         CLOSE_ALL_FDS.
10599         * manual/install.texi (Configuring and compiling): Mention
10600         --enable-pt_chown. Add @findex for grantpt.
10601         * INSTALL: Regenerate.
10603 2013-07-20  David S. Miller  <davem@davemloft.net>
10605         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10606         difference between 32-bit and 64-bit.
10608 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
10610         [BZ #15711]
10611         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10612         Avoid system header dependency with -ffreestanding.
10613         ($(objpfx)bits/syscall%d): Likewise.
10615 2013-07-13  David S. Miller  <davem@davemloft.net>
10617         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10618         underflows from atanl/atan2l due to bug 15319.
10619         (casinh_test_data): Likewise.
10621 2013-07-07  David S. Miller  <davem@davemloft.net>
10623         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10625 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
10627         * sysdeps/i386/fpu/libm-test-ulps: Update.
10628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10630 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10632         * configure.in (--enable-lock-elision): Fix message text.
10633         * INSTALL: Regenerate.
10634         * configure: Regenerate.
10636 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10640 2013-07-03  Andreas Jaeger  <aj@suse.de>
10642         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10643         define.
10644         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10645         (ptrace_peeksiginfo_args): Add.
10646         (__ptrace_peeksiginfo_flags): Add.
10647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10648         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10649         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10651 2013-07-03  Allan McRae  <allan@archlinux.org>
10653         * sysdeps/i386/fpu/libm-test-ulps: Update.
10655 2013-07-02  David S. Miller  <davem@davemloft.net>
10657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10659 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10663 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10665         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10668 2013-07-02  Andi Kleen <ak@linux.intel.com>
10670         * config.h.in (ENABLE_LOCK_ELISION): Add.
10671         * configure.in (--enable-lock-elision): Add option.
10672         * manual/install.texi: Document --enable lock elision.
10673         * configure: Regenerate
10674         * INSTALL: Regenerate.
10676 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10678         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10679         SSE4.2 strcasecmp for libc.a.
10680         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10682 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10684         [BZ #13304]
10685         * soft-fp/op-common.h (_FP_FMA): New macro.
10686         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10687         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10688         (_FP_MUL_MEAT_1_imm): ... here.
10689         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10690         (_FP_MUL_MEAT_1_wide): ... here.
10691         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10692         (_FP_MUL_MEAT_1_hard): ... here.
10693         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10694         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10695         (_FP_MUL_MEAT_2_wide): ... here.
10696         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10697         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10698         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10699         (_FP_MUL_MEAT_2_gmp): ... here.
10700         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10701         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10702         (_FP_MUL_MEAT_4_wide): ... here.
10703         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10704         (_FP_MUL_MEAT_4_gmp): ... here.
10705         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10706         (_FP_WFRACBITS_DW_S): Likewise.
10707         (_FP_WFRACXBITS_DW_S): Likewise.
10708         (_FP_HIGHBIT_DW_S): Likewise.
10709         (FP_FMA_S): Likewise.
10710         (_FP_FRAC_HIGH_DW_S): Likewise.
10711         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10712         (_FP_WFRACBITS_DW_D): Likewise.
10713         (_FP_WFRACXBITS_DW_D): Likewise.
10714         (_FP_HIGHBIT_DW_D): Likewise.
10715         (FP_FMA_D): Likewise.
10716         (_FP_FRAC_HIGH_DW_D): Likewise.
10717         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10718         (_FP_WFRACBITS_DW_E): Likewise.
10719         (_FP_WFRACXBITS_DW_E): Likewise.
10720         (_FP_HIGHBIT_DW_E): Likewise.
10721         (FP_FMA_E): Likewise.
10722         (_FP_FRAC_HIGH_DW_E): Likewise.
10723         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10724         (_FP_WFRACBITS_DW_Q): Likewise.
10725         (_FP_WFRACXBITS_DW_Q): Likewise.
10726         (_FP_HIGHBIT_DW_Q): Likewise.
10727         (FP_FMA_Q): Likewise.
10728         (_FP_FRAC_HIGH_DW_Q): Likewise.
10729         * soft-fp/fmasf4.c: New file.
10730         * soft-fp/fmadf4.c: Likewise.
10731         * soft-fp/fmatf4.c: Likewise.
10733 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10736         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10737         Silvermont.
10738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10739         macro.
10740         (index_Slow_SSE4_2): Likewise.
10741         (index_Prefer_PMINUB_for_stringop): Likewise.
10742         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10743         bit_Slow_SSE4_2 is set.
10744         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10745         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10747 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10749         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10750         rtld_global._dl_hwcap2.
10751         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10752         POWER8.
10753         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10754         POWER8 feature descriptions defined in _dl_hwcap2.
10755         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10756         string handling for POWER8 feature bits.
10757         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10758         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10759         _dl_powerpc_cap_flags.
10760         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10761         * sysdeps/powerpc/rtld-global-offsets.sym
10762         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10763         _dl_hwcap2 in the rtld_global_ro structure.
10765 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10767         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10768         hardware capabilities in support of AT_HWCAP2.
10769         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10770         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10771         GLRO(dl_hwcap2).
10772         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10773         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10774         explicitly the unknown a_type display mechanism is used.
10775         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10776         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10777         struct member.
10778         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10779         to macro prototype for AT_HWCAP2 support.
10780         * sysdeps/i386/dl-procinfo.h: Likewise.
10781         * sysdeps/s390/dl-procinfo.h: Likewise.
10782         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10783         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10784         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10785         return -1 for unknown a_type display fallback.
10786         * sysdeps/sparc/dl-procinfo.h: Likewise.
10787         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10788         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10790 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10792         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10793         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10795 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10797         [BZ #12492]
10798         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10799         mprotect making __stack_prot writable.
10801 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10802             Joseph Myers  <joseph@codesourcery.com>
10804         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10805         as being properly aligned.
10807 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10809         * dlfcn/modstatic5.c: New file.
10810         * dlfcn/tststatic5.c: New file.
10811         * dlfcn/Makefile (tests): Add tststatic5.
10812         (tests-static): Likewise.
10813         (modules-names): Add modstatic5.
10814         (tststatic5-ENV): New variable.
10815         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10817         [BZ #15022]
10818         * elf/dl-support.c (_dl_main_map): New variable.
10819         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10820         (_dl_nns, _dl_load_adds): Set to 1.
10821         (_dl_initial_searchlist): Refer to _dl_main_map.
10822         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10823         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10824         call to _dl_get_origin.
10825         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10826         around call_map.
10827         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10828         * dlfcn/modstatic3.c: New file.
10829         * dlfcn/tststatic3.c: New file.
10830         * dlfcn/tststatic4.c: New file.
10831         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10832         (tests-static): Likewise.
10833         (modules-names): Add modstatic3.
10834         (tststatic3-ENV, tststatic4-ENV): New variables.
10835         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10836         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10838 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10840         * configure.in (CC): Require GCC version 4.4 or later.
10841         * configure: Regenerated.
10842         * manual/install.texi (Tools for Compilation): Update GCC version
10843         requirement.
10844         * INSTALL: Regenerated.
10846 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10848         [BZ #15674]
10849         * string/test-memcmp.c (check2): New.
10850         (main): Call check2.
10852         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10854 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10856         [BZ #15022]
10857         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10858         over to...
10859         (dl_open_worker) [!SHARED]: ... here.
10861 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10863         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10865 2013-06-25  Richard Henderson  <rth@redhat.com>
10867         * locale/programs/locarchive.c: Include <libc-internal.h>
10869 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10871         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10872         trailing whitespace removed.
10874 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10876         [BZ #10283]
10877         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10878         * locale/programs/locarchive.c: Include libc-mmap.h.
10879         (prepare_address_space): Take two new outputs (the mmap base and len).
10880         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10881         values.
10882         (create_archive): Declare new mmap base and len values for
10883         prepare_address_space, and store the result in ah.
10884         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10885         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10886         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10887         Declare new mmap base and len values for
10888         prepare_address_space, and store the result in new_ah.
10889         (open_archive): Declare new mmap base and len values for
10890         prepare_address_space, and store the result in ah.
10891         (close_archive): If ah->mmap_base is not NULL, use that and
10892         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10893         * sysdeps/generic/libc-mmap.h: New file.
10895 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10897         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10898         (ALIGN_UP): Likewise.
10899         (PTR_ALIGN_DOWN): Likewise.
10900         (PTR_ALIGN_UP): Likewise.
10902 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10904         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10905         entry mapped to PPC_PLATFORM_POWER8.
10906         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10907         POWER8.
10908         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10909         (_dl_string_platform): Add case for exporting platform position for
10910         POWER8.
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10912         search path to sysdeps/powerpc/powerpc32/power8 directory.
10913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10914         search path to sysdeps/powerpc/powerpc64/power8 directory.
10915         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10916         power7 directories.
10917         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10918         power7 directories.
10920 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10922         * INSTALL: Regenerate.
10924         * nscd/connections.c (nscd_init): Fix comment.
10926 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10928         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10930         [BZ #15667]
10931         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10932         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10934 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10936         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10937         DL_DST_REQ_STATIC.
10938         (DL_DST_REQ_STATIC): Remove macro.
10940 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10942         [BZ #7006]
10943         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10944         with a shift of 0 bits.
10946 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10948         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10949         $(tststatic-ENV).
10951 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10953         [BZ #15655]
10954         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10956 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10958         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10959         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10960         accepts -fno-tree-loop-distribute-patterns.
10961         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10962         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10963         recursive call.
10964         * string/memset.c (memset): Likewise.
10965         * string/test-memmove.c (simple_memmove): Disable loop transformation
10966         to library calls.
10967         * string/test-memset.c (simple_memset): Likewise.
10968         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10969         * benchtests/bench-memset.c (simple_memset): Likewise.
10970         * configure: Regenerated.
10972 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10974         * math/test-misc.c (main): Ignore fesetround failure when failures
10975         of subsequent rounding tests would be ignored.
10977         [BZ #15654]
10978         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10979         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10980         * math/fegetenv.c (__fegetenv): Return 0.
10981         * math/fegetexcept.c (fegetexcept): Return 0.
10982         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10983         FE_TONEAREST.
10984         * math/feholdexcpt.c (feholdexcept): Return 0.
10985         * math/fesetenv.c (__fesetenv): Return 0.
10986         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10987         argument FE_TONEAREST.
10988         * math/feupdateenv.c (__feupdateenv): Return 0.
10989         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10991 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10993         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10994         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10995         ($(objpfx)rtld-%.os rules): Use them.
10997 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10999         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11000         fields.
11002 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11004         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11005         length of target pattern, then descending length of dependency pattern.
11006         * configure.in (AWK): Require gawk 3.1.2 or newer.
11007         * manual/install.texi (Tools for Compilation): Say that we do.
11008         * configure: Regenerated.
11010         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11011         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11012         * scripts/sysd-rules.awk: ... this new script.
11013         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11014         than a glob-style pattern.
11016 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11018         * math/test-misc.c (main): Do not treat incorrectly rounded
11019         conversions as failure unless ROUNDING_TESTS passes.
11021 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11023         [BZ #15631]
11024         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11025         restore exception state around main square root computation, then
11026         check for inexactness explicitly.
11028         * math/libm-test.inc (fma_test_data): Add another test.
11030 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11032         * manual/threads.texi (Non-POSIX Extensions): New document
11033         node.  Document pthread_getattr_default_np and
11034         pthread_setattr_default_np.
11036         * Versions.def (libpthread): Add GLIBC_2.18.
11037         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11039         Likewise.
11040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11041         Likewise.
11042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11043         Likewise.
11044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11045         Likewise.
11046         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11047         Likewise.
11048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11049         Likewise.
11050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11051         Likewise.
11052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11053         Likewise.
11054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11055         Likewise.
11057 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11060         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11062 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11063             H.J. Lu  <hjl.tools@gmail.com>
11065         [BZ #15627]
11066         * sysdeps/x86_64/rtld-memset.c: Remove file.
11067         * sysdeps/x86_64/rtld-memset.S: New file.
11069 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11071         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11072         (test_in_one_mode): Take arguments for whether the rounding mode
11073         is supported for each floating-point type.
11074         (do_test): Pass new arguments to test_in_one_mode using
11075         ROUNDING_TESTS.
11077 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11079         * posix/tst-waitid.c (do_test): Distinguish different instances of
11080         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11081         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11082         before entering the kernel for waitpid.
11084 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11086         * NEWS: Fix note on clock function precision.  Text by Roland
11087         McGrath.
11089 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11091         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11092         it into place only when and if the sanity check passes.
11094 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11096         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11097         output for whether conversion result is exact.  Take argument
11098         indicating whether type is IBM long double.
11099         (round_for_all): Change need_exact field to ibm_ld.
11100         * stdlib/tst-strtod-round.c (struct exactness): New type.
11101         (struct test): Change bool ld_ok field to struct exactness exact.
11102         (TEST): Update all definitions for change to field.
11103         (tests): Regenerate array contents.
11104         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11105         field value.  Check for IBM long double here.
11106         (do_test): Update calls to test_in_one_mode.
11108 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11110         [BZ #12515]
11111         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11112         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11114 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11116         [BZ #15605]
11117         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11118         generated by the compiler on loop optimizations.
11119         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11120         general definitions.
11122 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11124         * math/bug-nextafter.c: Include <math-tests.h>.
11125         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11126         the relevant type.
11127         * math/bug-nexttoward.c: Include <math-tests.h>.
11128         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11129         the relevant type.
11130         * math/test-misc.c: Include <math-tests.h>.
11131         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11132         the relevant type.
11134 2013-06-12  Andreas Jaeger  <aj@suse.de>
11136         * po/ia.po: Update Interlingua translation from translation
11137         project.
11139 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11141         * include/fenv.h: Include stdbool.h.
11142         (struct rm_ctx): New structure.
11143         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11144         Define macro.
11145         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11146         (SET_RESTORE_ROUNDF): Likewise.
11147         (SET_RESTORE_ROUNDL): Likewise.
11148         (SET_RESTORE_ROUND_NOEX): Likewise.
11149         (SET_RESTORE_ROUND_NOEXF): Likewise.
11150         (SET_RESTORE_ROUND_NOEXL): Likewise.
11151         (SET_RESTORE_ROUND_53BIT): Likewise.
11152         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11153         (libc_feresetround_noexf_ctx): Likewise.
11154         (libc_feresetround_noexl_ctx): Likewise.
11155         (libc_feholdsetround_53bit_ctx): Likewise.
11156         (libc_feresetround_53bit_ctx): Likewise.
11157         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11158         (libc_feholdexcept_setround_sse_ctx): New function.
11159         (libc_fesetenv_sse_ctx): Likewise.
11160         (libc_feupdateenv_sse_ctx): Likewise.
11161         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11162         (libc_feholdexcept_setround_387_ctx): Likewise.
11163         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11164         (libc_feholdsetround_387_prec_ctx): Likewise.
11165         (libc_feholdsetround_387_ctx): Likewise.
11166         (libc_feholdsetround_387_53bit_ctx): Likewise.
11167         (libc_feholdsetround_sse_ctx): Likewise.
11168         (libc_feresetround_sse_ctx): Likewise.
11169         (libc_feresetround_387_ctx): Likewise.
11170         (libc_feupdateenv_387_ctx): Likewise.
11171         (libc_feholdexcept_setroundf_ctx): Define macro.
11172         (libc_fesetenvf_ctx): Likewise.
11173         (libc_feupdateenvf_ctx): Likewise.
11174         (libc_feholdsetroundf_ctx): Likewise.
11175         (libc_feresetroundf_ctx): Likewise.
11176         (libc_feholdexcept_setround_ctx): Likewise.
11177         (libc_fesetenv_ctx): Likewise.
11178         (libc_feupdateenv_ctx): Likewise.
11179         (libc_feholdsetround_ctx): Likewise.
11180         (libc_feresetround_ctx): Likewise.
11181         (libc_feholdexcept_setroundl_ctx): Likewise.
11182         (libc_feupdateenvl_ctx): Likewise.
11183         (libc_feholdsetroundl_ctx): Likewise.
11184         (libc_feresetroundl_ctx): Likewise.
11185         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11186         (libc_feresetround_53bit_ctx): Likewise.
11188 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11190         * locale/iso-639.def: Convert to UTF-8.
11192 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11194         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11195         (EXCEPTION_TESTS_double): Likewise.
11196         (EXCEPTION_TESTS_long_double): Likewise.
11197         (EXCEPTION_TESTS): Likewise.
11198         * math/libm-test.inc (test_exceptions): Only test exceptions if
11199         EXCEPTION_TESTS (FLOAT).
11201 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203         * benchtests/Makefile (string-bench): Add strcpy_chk and
11204         stpcpy_chk.
11205         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11206         * benchtests/bench-stpcpy_chk.c: New file.
11207         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11208         * benchtests/bench-strcpy_chk.c: New file.
11209         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11210         code.
11211         (do_test): Likewise.
11213 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11215         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11216         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11217         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11218         with tabs where appropriate.
11219         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11220         dl-procinfo.h.
11221         [PPC_PLATFORM_PPC440]: Likewise.
11222         [PPC_PLATFORM_PPC464]: Likewise.
11223         [PPC_PLATFORM_PPC476]: Likewise.
11224         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11225         ppc464, and ppc476 platform strings merging from ports/
11226         dl-procinfo.h.
11228 2013-06-11  Andreas Schwab  <schwab@suse.de>
11230         [BZ #14991]
11231         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11232         (from_ucs4_idx): Regenerate.
11233         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11234         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11235         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11236         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11237         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11238         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11239         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11240         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11241         from FROM_LOOP and TO_LOOP specific macros.
11242         (BODY): Handle combining characters.
11243         * iconvdata/BIG5HKSCS.irreversible: Update.
11244         * iconvdata/BIG5HKSCS.precomposed: New file.
11245         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11246         characters.
11247         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11249 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11251         * include/sys/time.h: Fix indentation and add copyright header.
11253         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11254         (do_test): Likewise.
11255         * string/test-memchr.c (do_one_test): Likewise.
11256         (do_test): Likewise.
11257         * string/test-memcmp.c (do_one_test): Likewise.
11258         (do_test): Likewise.
11259         * string/test-memcpy.c (do_one_test): Likewise.
11260         (do_test): Likewise.
11261         * string/test-memmem.c (do_one_test): Likewise.
11262         (do_test): Likewise.
11263         (do_random_tests): Likewise.
11264         * string/test-memmove.c (do_one_test): Likewise.
11265         (do_test): Likewise.
11266         * string/test-memset.c (do_one_test): Likewise.
11267         (do_test): Likewise.
11268         * string/test-rawmemchr.c (do_one_test): Likewise.
11269         (do_test): Likewise.
11270         * string/test-strcasecmp.c (do_one_test): Likewise.
11271         (do_test): Likewise.
11272         * string/test-strcasestr.c (do_one_test): Likewise.
11273         (do_test): Likewise.
11274         * string/test-strcat.c (do_one_test): Likewise.
11275         (do_test): Likewise.
11276         * string/test-strchr.c (do_one_test): Likewise.
11277         (do_test): Likewise.
11278         * string/test-strcmp.c (do_one_test): Likewise.
11279         (do_test): Likewise.
11280         * string/test-strcpy.c (do_one_test): Likewise.
11281         (do_test): Likewise.
11282         * string/test-string.h: Likewise.
11283         (test_init): Likewise.
11284         * string/test-strlen.c (do_one_test): Likewise.
11285         (do_test): Likewise.
11286         * string/test-strncasecmp.c (do_one_test): Likewise.
11287         (do_test): Likewise.
11288         * string/test-strncat.c (do_one_test): Likewise.
11289         (do_test): Likewise.
11290         * string/test-strncmp.c (do_one_test): Likewise.
11291         (do_test_limit): Likewise.
11292         (do_test): Likewise.
11293         * string/test-strncpy.c (do_one_test): Likewise.
11294         (do_test): Likewise.
11295         * string/test-strnlen.c (do_one_test): Likewise.
11296         (do_test): Likewise.
11297         * string/test-strpbrk.c (do_one_test): Likewise.
11298         (do_test): Likewise.
11299         * string/test-strrchr.c (do_one_test): Likewise.
11300         (do_test): Likewise.
11301         * string/test-strspn.c (do_one_test): Likewise.
11302         (do_test): Likewise.
11303         * string/test-strstr.c (do_one_test): Likewise.
11304         (do_test): Likewise.
11306         * benchtests/Makefile (string-bench): Add string benchmarks.
11307         * benchtests/bench-bcopy-ifunc.c: New file.
11308         * benchtests/bench-bcopy.c: New file.
11309         * benchtests/bench-bzero-ifunc.c: New file.
11310         * benchtests/bench-bzero.c: New file.
11311         * benchtests/bench-memccpy-ifunc.c: New file.
11312         * benchtests/bench-memccpy.c: New file.
11313         * benchtests/bench-memchr-ifunc.c: New file.
11314         * benchtests/bench-memchr.c: New file.
11315         * benchtests/bench-memcmp-ifunc.c: New file.
11316         * benchtests/bench-memcmp.c: New file.
11317         * benchtests/bench-memmem-ifunc.c: New file.
11318         * benchtests/bench-memmem.c: New file.
11319         * benchtests/bench-memmove-ifunc.c: New file.
11320         * benchtests/bench-memmove.c: New file.
11321         * benchtests/bench-mempcpy-ifunc.c: New file.
11322         * benchtests/bench-mempcpy.c: New file.
11323         * benchtests/bench-memset-ifunc.c: New file.
11324         * benchtests/bench-memset.c: New file.
11325         * benchtests/bench-rawmemchr-ifunc.c: New file.
11326         * benchtests/bench-rawmemchr.c: New file.
11327         * benchtests/bench-stpcpy-ifunc.c: New file.
11328         * benchtests/bench-stpcpy.c: New file.
11329         * benchtests/bench-stpncpy-ifunc.c: New file.
11330         * benchtests/bench-stpncpy.c: New file.
11331         * benchtests/bench-strcasecmp-ifunc.c: New file.
11332         * benchtests/bench-strcasecmp.c: New file.
11333         * benchtests/bench-strcasestr-ifunc.c: New file.
11334         * benchtests/bench-strcasestr.c: New file.
11335         * benchtests/bench-strcat-ifunc.c: New file.
11336         * benchtests/bench-strcat.c: New file.
11337         * benchtests/bench-strchr-ifunc.c: New file.
11338         * benchtests/bench-strchr.c: New file.
11339         * benchtests/bench-strchrnul-ifunc.c: New file.
11340         * benchtests/bench-strchrnul.c: New file.
11341         * benchtests/bench-strcmp-ifunc.c: New file.
11342         * benchtests/bench-strcmp.c: New file.
11343         * benchtests/bench-strcpy-ifunc.c: New file.
11344         * benchtests/bench-strcpy.c: New file.
11345         * benchtests/bench-strcspn-ifunc.c: New file.
11346         * benchtests/bench-strcspn.c: New file.
11347         * benchtests/bench-strlen-ifunc.c: New file.
11348         * benchtests/bench-strlen.c: New file.
11349         * benchtests/bench-strncasecmp-ifunc.c: New file.
11350         * benchtests/bench-strncasecmp.c: New file.
11351         * benchtests/bench-strncat-ifunc.c: New file.
11352         * benchtests/bench-strncat.c: New file.
11353         * benchtests/bench-strncmp-ifunc.c: New file.
11354         * benchtests/bench-strncmp.c: New file.
11355         * benchtests/bench-strncpy-ifunc.c: New file.
11356         * benchtests/bench-strncpy.c: New file.
11357         * benchtests/bench-strnlen-ifunc.c: New file.
11358         * benchtests/bench-strnlen.c: New file.
11359         * benchtests/bench-strpbrk-ifunc.c: New file.
11360         * benchtests/bench-strpbrk.c: New file.
11361         * benchtests/bench-strrchr-ifunc.c: New file.
11362         * benchtests/bench-strrchr.c: New file.
11363         * benchtests/bench-strspn-ifunc.c: New file.
11364         * benchtests/bench-strspn.c: New file.
11365         * benchtests/bench-strstr-ifunc.c: New file.
11366         * benchtests/bench-strstr.c: New file.
11368         * benchtests/Makefile: Disable parallel execution of targets.
11369         (string-bench): Add memcpy.
11370         (benchset): New variable to store a list of benchmark sets.
11371         (bench-func): Renamed from bench.
11372         (bench-set): New target.
11373         (bench): Depend on bench-func and bench-set.
11374         * benchtests/README: Add section on benchmark sets.
11375         * benchtests/bench-memcpy-ifunc.c: New file.
11376         * benchtests/bench-memcpy.c: New file.
11377         * benchtests/bench-string.h: New file.
11379 2013-06-11  Andreas Schwab  <schwab@suse.de>
11381         [BZ #15577]
11382         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11383         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11384         values in the triple.
11385         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11386         terminator in the group key.
11388 2013-06-11  Andreas Jaeger  <aj@suse.de>
11390         * po/zh_TW.po: Update Chinese (traditional) translation from
11391         translation project.
11393 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11395         * include/time.h (__clock_gettime): Add libc_hidden_proto.
11396         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11397         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
11398         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11399         (clock_getcpuclockid): Likewise.
11400         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11401         Add weak_alias and libc_hidden_def.
11402         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11403         * rt/clock_gettime.c (clock_gettime): Rename to
11404         __clock_gettime.  Add weak_alias and libc_hidden_def.
11405         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11406         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11407         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11408         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11409         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11410         Likewise.
11411         * rt/clock_settime.c (clock_settime): Rename to
11412         __clock_settime.  Add weak_alias and libc_hidden_def.
11413         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11415 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11417         * mach/err_boot.sub: Remove trailing whitespace.
11418         * mach/err_ipc.sub: Likewise.
11419         * mach/err_mach.sub: Likewise.
11421         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11422         (ROUNDING_TESTS_double): Likewise.
11423         (ROUNDING_TESTS_long_double): Likewise.
11424         (ROUNDING_TESTS): Likewise.
11425         * math/libm-test.inc: Include <math-tests.h>.
11426         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11427         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11428         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11429         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11431 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11433         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11434         of assigning.
11436 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11438         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11439         otherwise empty TRANS lines.
11440         * sysdeps/gnu/errlist.c: Regenerated.
11442         * catgets/gencat.c (error_print): Use (void) in function
11443         definition.
11444         * crypt/crypt_util.c (__init_des): Likewise.
11445         * crypt/speeds.c (Stop): Likewise.
11446         (main): Likewise.
11447         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11448         * inet/ruserpass.c (token): Likewise.
11449         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11450         * intl/localealias.c (extend_alias_table): Likewise.
11451         * intl/plural-exp.c (init_germanic_plural): Likewise.
11452         * libio/fcloseall.c (__fcloseall): Likewise.
11453         * libio/genops.c (_IO_flush_all): Likewise.
11454         (_IO_flush_all_linebuffered): Likewise.
11455         (_IO_cleanup): Likewise.
11456         (_IO_iter_begin): Likewise.
11457         (_IO_iter_end): Likewise.
11458         (_IO_list_lock): Likewise.
11459         (_IO_list_unlock): Likewise.
11460         (_IO_list_resetlock): Likewise.
11461         * libio/getchar.c (getchar): Likewise.
11462         * libio/getchar_u.c (getchar_unlocked): Likewise.
11463         * libio/getwchar.c (getwchar): Likewise.
11464         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11465         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11466         * login/getpt.c (__getpt): Likewise.
11467         * login/tst-utmp.c (main): Likewise.
11468         * malloc/hooks.c (__malloc_check_init): Likewise.
11469         * malloc/malloc.c (__malloc_stats): Likewise.
11470         * malloc/mtrace.c (tr_break): Likewise.
11471         (mtrace): Likewise.
11472         (muntrace): Likewise.
11473         * misc/fstab.c (endfsent): Likewise.
11474         * misc/getclktck.c (__getclktck): Likewise.
11475         * misc/getdtsz.c (__getdtablesize): Likewise.
11476         * misc/gethostid.c (gethostid): Likewise.
11477         * misc/getpagesize.c (__getpagesize): Likewise.
11478         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11479         (__get_nprocs): Likewise.
11480         (__get_phys_pages): Likewise.
11481         (__get_avphys_pages): Likewise.
11482         * misc/getttyent.c (getttyent): Likewise.
11483         (setttyent): Likewise.
11484         (endttyent): Likewise.
11485         * misc/getusershell.c (getusershell): Likewise.
11486         (endusershell): Likewise.
11487         (setusershell): Likewise.
11488         (initshells): Likewise.
11489         * misc/hsearch.c (__hdestroy): Likewise.
11490         * misc/sync.c (sync): Likewise.
11491         * misc/syslog.c (closelog_internal): Likewise.
11492         (closelog): Likewise.
11493         * misc/ttyslot.c (ttyslot): Likewise.
11494         * misc/vhangup.c (vhangup): Likewise.
11495         * posix/fork.c (__fork): Likewise.
11496         * posix/getegid.c (__getegid): Likewise.
11497         * posix/geteuid.c (__geteuid): Likewise.
11498         * posix/getgid.c (__getgid): Likewise.
11499         * posix/getpid.c (__getpid): Likewise.
11500         * posix/getppid.c (__getppid): Likewise.
11501         * posix/getuid.c (__getuid): Likewise.
11502         * posix/pause.c (pause): Likewise.
11503         * posix/setpgrp.c (setpgrp): Likewise.
11504         * posix/setsid.c (__setsid): Likewise.
11505         * posix/test-vfork.c (noop): Likewise.
11506         * resolv/gethnamaddr.c (_endhtent): Likewise.
11507         (_gethtent): Likewise.
11508         (ht_endhostent): Likewise.
11509         (gethostent): Likewise.
11510         (dns_service): Likewise.
11511         * stdlib/drand48.c (drand48): Likewise.
11512         * stdlib/lrand48.c (lrand48): Likewise.
11513         * stdlib/mrand48.c (mrand48): Likewise.
11514         * stdlib/rand.c (rand): Likewise.
11515         * stdlib/random.c (__random): Likewise.
11516         * stdlib/setenv.c (clearenv): Likewise.
11517         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11518         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11519         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11520         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11521         (__get_nprocs): Likewise.
11522         (__get_phys_pages): Likewise.
11523         (__get_avphys_pages): Likewise.
11524         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11525         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11526         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11527         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11528         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11529         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11530         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11531         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11532         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11533         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11534         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11535         * sysdeps/mach/hurd/sync.c (sync): Likewise.
11536         * sysdeps/posix/clock.c (clock): Likewise.
11537         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11538         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11539         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11540         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11541         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11542         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11543         (__get_nprocs_conf): Likewise.
11544         (__get_phys_pages): Likewise.
11545         (__get_avphys_pages): Likewise.
11546         * time/clock.c (clock): Likewise.
11547         * time/tzset.c (__tzname_max): Likewise.
11549 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
11551         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11552         (__bswap_32): Do not use "register".
11553         * crypt/crypt.c (_ufc_doit_r): Likewise.
11554         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11555         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11556         * gmon/gmon.c (__monstartup): Likewise.
11557         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11558         * hurd/hurdmalloc.c (more_memory): Likewise.
11559         (malloc): Likewise.
11560         (free): Likewise.
11561         (realloc): Likewise.
11562         (malloc_fork_prepare): Likewise.
11563         (malloc_fork_parent): Likewise.
11564         (malloc_fork_child): Likewise.
11565         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11566         (_svcauth_des): Likewise.
11567         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11568         * inet/inet_net.c (inet_network): Likewise.
11569         * inet/inet_netof.c (inet_netof): Likewise.
11570         * inet/rcmd.c (__validuser2_sa): Likewise.
11571         * io/fts.c (fts_open): Likewise.
11572         (fts_load): Likewise.
11573         (fts_close): Likewise.
11574         (fts_read): Likewise.
11575         (fts_children): Likewise.
11576         (fts_build): Likewise.
11577         (fts_stat): Likewise.
11578         (fts_sort): Likewise.
11579         (fts_alloc): Likewise.
11580         (fts_lfree): Likewise.
11581         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11582         (_IO_file_xsgetn): Likewise.
11583         (_IO_file_xsgetn_mmap): Likewise.
11584         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11585         (_IO_cookie_write): Likewise.
11586         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11587         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11588         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11589         * malloc/obstack.c (_obstack_begin): Likewise.
11590         (_obstack_begin_1): Likewise.
11591         (_obstack_newchunk): Likewise.
11592         (_obstack_allocated_p): Likewise.
11593         (obstack_free): Likewise.
11594         (_obstack_memory_used): Likewise.
11595         * misc/getttyent.c (getttynam): Likewise.
11596         (getttyent): Likewise.
11597         (skip): Likewise.
11598         (value): Likewise.
11599         * misc/getusershell.c (initshells): Likewise.
11600         * misc/syslog.c (__vsyslog_chk): Likewise.
11601         * misc/ttyslot.c (ttyslot): Likewise.
11602         * nis/nis_hash.c (__nis_hash): Likewise.
11603         * posix/fnmatch_loop.c (FCT): Likewise.
11604         * posix/getconf.c (print_all): Likewise.
11605         (main): Likewise.
11606         * posix/getopt.c (exchange): Likewise.
11607         * posix/glob.c (globfree): Likewise.
11608         (prefix_array): Likewise.
11609         (__glob_pattern_type): Likewise.
11610         * resolv/arpa/nameser.h (NS_GET16): Likewise.
11611         (NS_GET32): Likewise.
11612         (NS_PUT16): Likewise.
11613         (NS_PUT32): Likewise.
11614         * resolv/gethnamaddr.c (getanswer): Likewise.
11615         (gethostbyname2): Likewise.
11616         (gethostbyaddr): Likewise.
11617         (_gethtent): Likewise.
11618         (_gethtbyname2): Likewise.
11619         (_gethtbyaddr): Likewise.
11620         * resolv/ns_print.c (dst_s_get_int16): Likewise.
11621         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11622         * resolv/res_init.c (__res_vinit): Likewise.
11623         (net_mask): Likewise.
11624         * resolv/res_mkquery.c (outchar): Likewise.
11625         (PRINT): Likewise.
11626         * stdio-common/printf_fp.c (outchar): Likewise.
11627         (PRINT): Likewise.
11628         * stdio-common/printf_fphex.c (outchar): Likewise.
11629         (PRINT): Likewise.
11630         * stdio-common/printf_size.c (outchar): Likewise.
11631         (PRINT): Likewise.
11632         * stdio-common/test_rdwr.c (main): Likewise.
11633         * stdio-common/tfformat.c (matches): Likewise.
11634         * stdio-common/vfprintf.c (outchar): Likewise.
11635         (printf_unknown): Likewise.
11636         (buffered_vfprintf): Likewise.
11637         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11638         * stdio-common/xbug.c (AppendToBuffer): Likewise.
11639         (ReadFile): Likewise.
11640         * stdlib/qsort.c (SWAP): Likewise.
11641         (_quicksort): Likewise.
11642         * stdlib/setenv.c (__add_to_environ): Likewise.
11643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11644         * stdlib/strtol_l.c (__strtol_l): Likewise.
11645         * stdlib/tst-strtod.c (main): Likewise.
11646         * stdlib/tst-strtol.c (main): Likewise.
11647         * stdlib/tst-strtoll.c (main): Likewise.
11648         * string/bits/string2.h (__strcmp_cc): Likewise.
11649         (__strcmp_cg): Likewise.
11650         (__strcspn_c1): Likewise.
11651         (__strcspn_c2): Likewise.
11652         (__strcspn_c3): Likewise.
11653         (__strspn_c1): Likewise.
11654         (__strspn_c2): Likewise.
11655         (__strspn_c3): Likewise.
11656         (__strsep_1c): Likewise.
11657         (__strsep_2c): Likewise.
11658         (__strsep_3c): Likewise.
11659         * string/memccpy.c (__memccpy): Likewise.
11660         * string/stpcpy.c (__stpcpy): Likewise.
11661         * string/strcmp.c (strcmp): Likewise.
11662         * string/strrchr.c (strrchr): Likewise.
11663         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11664         Likewise.
11665         * sysdeps/mach/hurd/getcwd.c
11666         (_hurd_canonicalize_directory_name_internal): Likewise.
11667         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11668         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11669         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11670         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11671         Likewise, in both definitions.
11672         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11673         definitions.
11674         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11675         64] (__bswap_64): Likewise.
11676         * time/test_time.c (main): Likewise.
11677         * time/tzfile.c (__tzfile_read): Likewise.
11678         (__tzfile_compute): Likewise.
11679         * time/tzset.c (__tzset_parse_tz): Likewise.
11680         (tzset_internal): Likewise.
11681         (compute_change): Likewise.
11682         * wcsmbs/wcscat.c (__wcscat): Likewise.
11683         * wcsmbs/wcschr.c (wcschr): Likewise.
11684         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11685         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11686         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11687         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11688         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11689         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11690         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11691         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11692         * wcsmbs/wmemset.c (wmemset): Likewise.
11694 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11696         * scripts/config.guess: Update to version 2013-05-16.
11697         * scripts/config.sub: Update to version 2013-04-24.
11698         * scripts/install-sh: Update to version 2011-11-20.07.
11699         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11700         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11702 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11704         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11705         * elf/sln.c: Likewise.
11706         * hurd/hurd/ioctl.h: Likewise.
11707         * hurd/hurdmalloc.c: Likewise.
11708         * hurd/xattr.c: Likewise.
11709         * include/shlib-compat.h: Likewise.
11710         * inet/ruserpass.c: Likewise.
11711         * libio/iofgets_u.c: Likewise.
11712         * libio/iofgetws_u.c: Likewise.
11713         * locale/programs/ld-identification.c: Likewise.
11714         * locale/programs/ld-time.c: Likewise.
11715         * mach/msg-destroy.c: Likewise.
11716         * nss/nss_files/files-netgrp.c: Likewise.
11717         * resolv/res_data.c: Likewise.
11718         * soft-fp/op-1.h: Likewise.
11719         * soft-fp/op-2.h: Likewise.
11720         * soft-fp/op-4.h: Likewise.
11721         * soft-fp/op-common.h: Likewise.
11722         * stdio-common/printf_fphex.c: Likewise.
11723         * stdlib/strtod_l.c: Likewise.
11724         * sunrpc/rpc/clnt.h: Likewise.
11725         * sysdeps/generic/framestate.c: Likewise.
11726         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11727         * sysdeps/i386/bsd-setjmp.S: Likewise.
11728         * sysdeps/i386/__longjmp.S: Likewise.
11729         * sysdeps/i386/setjmp.S: Likewise.
11730         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11731         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11732         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11733         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11735         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11737         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11738         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11739         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11740         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11741         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11742         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11743         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11744         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11746         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11747         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11748         * sysdeps/ieee754/support.c: Likewise.
11749         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11750         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11751         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11752         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11753         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11754         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11755         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11756         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11757         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11758         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11759         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11760         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11761         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11762         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11763         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11764         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11765         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11768 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11770         * posix/transbug.c: Remove executable mode.
11772 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11774         * crypt/speeds.c: Remove trailing whitespace.
11775         * dlfcn/default.c: Likewise.
11776         * elf/ifuncdep2.c: Likewise.
11777         * elf/ifuncmain1.c: Likewise.
11778         * elf/ifuncmain1vis.c: Likewise.
11779         * elf/testobj.h: Likewise.
11780         * elf/tst-stackguard1.c: Likewise.
11781         * gmon/sys/gmon.h: Likewise.
11782         * hurd/hurdmsg.c: Likewise.
11783         * hurd/new-fd.c: Likewise.
11784         * hurd/ports-get.c: Likewise.
11785         * iconvdata/ibm1008_420.c: Likewise.
11786         * inet/tst-getni1.c: Likewise.
11787         * inet/tst-getni2.c: Likewise.
11788         * libio/ioungetc.c: Likewise.
11789         * libio/wfiledoalloc.c: Likewise.
11790         * manual/libm-err-tab.pl: Likewise.
11791         * math/w_dremf.c: Likewise.
11792         * misc/ftruncate.c: Likewise.
11793         * posix/bug-glob2.c: Likewise.
11794         * posix/tst-pcre.c: Likewise.
11795         * posix/wait4.c: Likewise.
11796         * resolv/README: Likewise.
11797         * resolv/res_debug.h: Likewise.
11798         * resolv/tst-inet_ntop.c: Likewise.
11799         * setjmp/bug269-setjmp.c: Likewise.
11800         * soft-fp/extended.h: Likewise.
11801         * soft-fp/op-1.h: Likewise.
11802         * soft-fp/op-2.h: Likewise.
11803         * soft-fp/op-4.h: Likewise.
11804         * soft-fp/op-8.h: Likewise.
11805         * soft-fp/testit.c: Likewise.
11806         * stdio-common/bug16.c: Likewise.
11807         * stdlib/random.c: Likewise.
11808         * sunrpc/rpcsvc/rquota.x: Likewise.
11809         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11810         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11811         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11812         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11813         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11814         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11815         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11816         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11817         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11818         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11819         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11820         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11821         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11822         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11823         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11824         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11825         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11826         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11827         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11828         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11829         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11830         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11831         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11832         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11833         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11834         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11835         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11836         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11837         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11838         * sysdeps/ieee754/s_lib_version.c: Likewise.
11839         * sysdeps/mach/hurd/check_fds.c: Likewise.
11840         * sysdeps/mach/hurd/getsockname.c: Likewise.
11841         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11842         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11843         * sysdeps/powerpc/bits/link.h: Likewise.
11844         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11845         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11846         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11847         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11848         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11849         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11850         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11851         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11852         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11853         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11854         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11855         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11856         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11857         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11858         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11859         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11860         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11862         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11863         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11864         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11865         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11866         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11867         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11868         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11869         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11870         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11871         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11872         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11873         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11874         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11875         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11877         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11878         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11879         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11880         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11881         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11882         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11883         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11884         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11885         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11886         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11887         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11888         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11889         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11890         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11891         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11892         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11893         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11896         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11897         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11898         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11899         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11900         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11901         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11902         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11903         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11904         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11905         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11906         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11907         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11908         * sysdeps/powerpc/sysdep.h: Likewise.
11909         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11910         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11911         * sysdeps/sh/dl-trampoline.S: Likewise.
11912         * sysdeps/sh/memset.S: Likewise.
11913         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11914         * sysdeps/sh/strlen.S: Likewise.
11915         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11916         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11917         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11918         * sysdeps/sparc/sparc32/rem.S: Likewise.
11919         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11920         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11921         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11922         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11923         * sysdeps/sparc/sparc32/urem.S: Likewise.
11924         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11925         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11926         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11927         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11928         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11929         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11930         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11931         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11932         * sysdeps/unix/bsd/times.c: Likewise.
11933         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11934         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11938         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11939         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11940         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11941         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11942         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11943         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11944         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11945         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11946         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11947         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11948         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11949         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11950         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11951         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11952         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11953         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11954         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11955         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11956         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11957         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11958         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11959         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11960         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11961         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11962         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11963         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11964         * sysdeps/x86_64/strcspn.S: Likewise.
11966 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11968         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11969         generated file.  Regenerate properly from gen-translit.pl.
11970         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11971         locale/C-translit.h.
11973 2013-06-05  Andreas Schwab  <schwab@suse.de>
11975         [BZ #15100]
11976         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11977         week as 6 instead of -1.
11978         * time/tst-strptime.c (day_tests): Add test case.
11980 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11982         * sysdeps/generic/math_private.h
11983         (libc_feholdexcept_setround_53bit): Replace with
11984         libc_feholdsetround_53bit.
11985         (libc_feupdateenv_53bit): Replace with
11986         libc_feresetround_53bit.
11987         (SET_RESTORE_ROUND_53BIT): Adjust.
11989 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11991         * string/test-strchrnul.c: Add copyright header.
11993         * posix/tst-getaddrinfo4.c: Increase test timeout.
11995 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11997         [BZ #15536]
11998         * math/libm-test.inc (MAX_EXP): Remove
11999         (MIN_EXP): Define.
12000         (ulp): Use MIN_EXP - MANT_DIG.
12001         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12003 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12005         * po/be.po: Revert last change.
12006         * po/zh_CN.po: Likewise.
12007         * po/header.pot: Likewise.
12009 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12011         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12012         link-libc-deps to empty as target-specific variable.
12013         * Makerules (link-libc-args): New variable.
12014         (libc-for-link): Likewise.
12015         (link-libc-deps): Likewise.
12016         (lib%.so): Depend on $(link-libc-deps).  Link with
12017         $(link-libc-args).
12018         (build-module): Link with $(link-libc-args).
12019         (build-module-asneeded): Likewise.
12020         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12021         list of objects.
12022         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12023         target-specific variable.
12024         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12025         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12026         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12027         libc.
12028         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12029         libc and ld.so.
12030         ($(objpfx)libpcprofile.so): Likewise.
12031         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12032         libc_nonshared.a.
12033         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12034         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12035         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12036         $(link-libc-deps).
12037         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12038         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12039         * login/Makefile ($(objpfx)libutil.so): Likewise.
12040         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12041         * math/Makefile ($(objpfx)libm.so): Likewise.
12042         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12043         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12044         variable instead of depending directly on libc.
12045         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12046         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12047         $(link-libc-deps).
12048         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12049         libc.
12050         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12051         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12052         ($(objpfx)libanl.so): Likewise.
12053         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12054         ld.so.
12055         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12056         $(link-libc-deps).
12057         * sysdeps/i386/fpu/Makefile: Remove file.
12058         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12059         ($(objpfx)libm.so): Remove dependency on ld.so.
12061 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12063         [BZ # 15553]
12064         * nis/yp_xdr.c (XDRMAXNAME): Define.
12065         (XDRMAXRECORD): Define.
12066         (xdr_domainname): Use XDRMAXNAME.
12067         (xdr_mapname): Likewise.
12068         (xdr_peername): Likewise.
12069         (xdr_keydat): Use XDRMAXRECORD.
12070         (xdr_valdat): Likewise.
12072 2013-05-30  Jeff Law  <law@redhat.com>
12074         [BZ #14256]
12075         * manual/errno.texi (ESTALE): Update to account for more than
12076         just NFS file systems.
12077         * sysdeps/gnu/errlist.c: Regenerated.
12079 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12081         [BZ #15465]
12082         * elf/Makefile (tests): Add tst-null-argv.
12083         (modules-names):  Add tst-null-argv-lib.
12084         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12085         (tst-null-argv-ENV): Set environment for tst-null-argv.
12086         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12087         (RTLD_PROGNAME): New macro.
12088         * elf/tst-null-argv.c: New test case.
12089         * elf/tst-null-argv-lib.c: Library for test case.
12090         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12091         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12092         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12093         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12094         * elf/dl-init.c (call_init): Likewise.
12095         (_dl_init): Likewise.
12096         * elf/dl-load.c (print_search_path): Likewise.
12097         (_dl_map_object): Likewise.
12098         * elf/dl-lookup.c (do_lookup_x): Likewise.
12099         (add_dependency): Likewise.
12100         (_dl_lookup_symbol_x): Likewise.
12101         (_dl_debug_bindings): Likewise.
12102         * elf/dl-open.c (_dl_show_scope): Likewise.
12103         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12104         * elf/dl-version.c (match_symbol): Likewise.
12105         (_dl_check_map_versions): Likewise.
12106         * elf/rtld.c (dl_main): Likewise.
12107         (print_unresolved): Use RTLD_PROGNAME.
12108         (print_missing_version): Likewise.
12109         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12110         (elf_machine_rela): Likewise.
12111         * sysdeps/powerpc/powerpc32/dl-machine.c
12112         (__process_machine_rela): Likewise.
12113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12114         Likewise.
12115         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12116         Likewise.
12117         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12118         Likewise.
12119         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12120         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12121         Likewise.
12122         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12123         Likewise.
12124         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12126 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12128         * po/be.po: Add descriptive title.
12129         * po/zh_CN.po: Likewise.
12130         * po/header.pot: Likewise.
12132 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12134         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12135         error message.
12136         (enlarge_archive): Likewise.
12138 2013-05-28  Ben North  <ben@redfrontdoor.org>
12140         * manual/arith.texi (frexp): It is the magnitude of the return
12141         value which lies in [0.5, 1), not the return value itself.
12143 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12147 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12149         * stdio-common/bug26.c (main): Correct fscanf template.
12151         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12152         declare _dl_skip_args.
12154         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12155         Don't declare.
12157         * manual/platform.texi: Add missing @end deftypefun.
12159 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12161         [BZ #15529]
12162         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12163         bit of mantissa of 2^16382.
12164         * math/libm-test.inc (hypot_test_data): Add more tests.
12166         * math/libm-test.inc: Add drem and pow10 to list of tested
12167         functions.
12168         (pow10_test): New function.
12169         (drem_test): Likewise.
12170         (drem_test_tonearest): Likewise.
12171         (drem_test_towardzero): Likewise.
12172         (drem_test_downward): Likewise.
12173         (drem_test_upward): Likewise.
12174         (main): Call the new functions.
12176         * math/libm-test.inc (finite_test_data): Remove.
12177         (finite_test): Run tests from isfinite_test_data.
12178         (gamma_test_data): Remove.
12179         (gamma_test): Run tests from lgamma_test_data.
12180         * sysdeps/i386/fpu/libm-test-ulps: Update.
12181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12183 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12185         * manual/platform.texi: Add PowerPC PPR function set documentation.
12186         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12187         implementation.
12189 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12191         * math/libm-test.inc (MAX_EXP): Define.
12192         (ULPDIFF): Define.
12193         (ulp): New function.
12194         (check_float_internal): Use ULPDIFF.
12195         (cpow_test): Disable failing test.
12196         (check_ulp): Test ulp() implemetnation.
12197         (main): Call check_ulp before starting tests.
12199 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12201         * math/gen-libm-test.pl (generate_testfile): Do not handle
12202         START_DATA and END_DATA.
12203         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12204         END_DATA.
12205         (acos_tonearest_test_data): Likewise.
12206         (acos_towardzero_test_data): Likewise.
12207         (acos_downward_test_data): Likewise.
12208         (acos_upward_test_data): Likewise.
12209         (acosh_test_data): Likewise.
12210         (asin_test_data): Likewise.
12211         (asin_tonearest_test_data): Likewise.
12212         (asin_towardzero_test_data): Likewise.
12213         (asin_downward_test_data): Likewise.
12214         (asin_upward_test_data): Likewise.
12215         (asinh_test_data): Likewise.
12216         (atan_test_data): Likewise.
12217         (atanh_test_data): Likewise.
12218         (atan2_test_data): Likewise.
12219         (cabs_test_data): Likewise.
12220         (cacos_test_data): Likewise.
12221         (cacosh_test_data): Likewise.
12222         (carg_test_data): Likewise.
12223         (casin_test_data): Likewise.
12224         (casinh_test_data): Likewise.
12225         (catan_test_data): Likewise.
12226         (catanh_test_data): Likewise.
12227         (cbrt_test_data): Likewise.
12228         (ccos_test_data): Likewise.
12229         (ccosh_test_data): Likewise.
12230         (ceil_test_data): Likewise.
12231         (cexp_test_data): Likewise.
12232         (cimag_test_data): Likewise.
12233         (clog_test_data): Likewise.
12234         (clog10_test_data): Likewise.
12235         (conj_test_data): Likewise.
12236         (copysign_test_data): Likewise.
12237         (cos_test_data): Likewise.
12238         (cos_tonearest_test_data): Likewise.
12239         (cos_towardzero_test_data): Likewise.
12240         (cos_downward_test_data): Likewise.
12241         (cos_upward_test_data): Likewise.
12242         (cosh_test_data): Likewise.
12243         (cosh_tonearest_test_data): Likewise.
12244         (cosh_towardzero_test_data): Likewise.
12245         (cosh_downward_test_data): Likewise.
12246         (cosh_upward_test_data): Likewise.
12247         (cpow_test_data): Likewise.
12248         (cproj_test_data): Likewise.
12249         (creal_test_data): Likewise.
12250         (csin_test_data): Likewise.
12251         (csinh_test_data): Likewise.
12252         (csqrt_test_data): Likewise.
12253         (ctan_test_data): Likewise.
12254         (ctan_tonearest_test_data): Likewise.
12255         (ctan_towardzero_test_data): Likewise.
12256         (ctan_downward_test_data): Likewise.
12257         (ctan_upward_test_data): Likewise.
12258         (ctanh_test_data): Likewise.
12259         (ctanh_tonearest_test_data): Likewise.
12260         (ctanh_towardzero_test_data): Likewise.
12261         (ctanh_downward_test_data): Likewise.
12262         (ctanh_upward_test_data): Likewise.
12263         (erf_test_data): Likewise.
12264         (erfc_test_data): Likewise.
12265         (exp_test_data): Likewise.
12266         (exp_tonearest_test_data): Likewise.
12267         (exp_towardzero_test_data): Likewise.
12268         (exp_downward_test_data): Likewise.
12269         (exp_upward_test_data): Likewise.
12270         (exp10_test_data): Likewise.
12271         (exp2_test_data): Likewise.
12272         (expm1_test_data): Likewise.
12273         (fabs_test_data): Likewise.
12274         (fdim_test_data): Likewise.
12275         (finite_test_data): Likewise.
12276         (floor_test_data): Likewise.
12277         (fma_test_data): Likewise.
12278         (fma_towardzero_test_data): Likewise.
12279         (fma_downward_test_data): Likewise.
12280         (fma_upward_test_data): Likewise.
12281         (fmax_test_data): Likewise.
12282         (fmin_test_data): Likewise.
12283         (fmod_test_data): Likewise.
12284         (fpclassify_test_data): Likewise.
12285         (frexp_test_data): Likewise.
12286         (gamma_test_data): Likewise.
12287         (hypot_test_data): Likewise.
12288         (ilogb_test_data): Likewise.
12289         (isfinite_test_data): Likewise.
12290         (isgreater_test_data): Likewise.
12291         (isgreaterequal_test_data): Likewise.
12292         (isinf_test_data): Likewise.
12293         (isless_test_data): Likewise.
12294         (islessequal_test_data): Likewise.
12295         (islessgreater_test_data): Likewise.
12296         (isnan_test_data): Likewise.
12297         (isnormal_test_data): Likewise.
12298         (issignaling_test_data): Likewise.
12299         (isunordered_test_data): Likewise.
12300         (j0_test_data): Likewise.
12301         (j1_test_data): Likewise.
12302         (jn_test_data): Likewise.
12303         (ldexp_test_data): Likewise.
12304         (lgamma_test_data): Likewise.
12305         (lrint_test_data): Likewise.
12306         (lrint_tonearest_test_data): Likewise.
12307         (lrint_towardzero_test_data): Likewise.
12308         (lrint_downward_test_data): Likewise.
12309         (lrint_upward_test_data): Likewise.
12310         (llrint_test_data): Likewise.
12311         (llrint_tonearest_test_data): Likewise.
12312         (llrint_towardzero_test_data): Likewise.
12313         (llrint_downward_test_data): Likewise.
12314         (llrint_upward_test_data): Likewise.
12315         (log_test_data): Likewise.
12316         (log10_test_data): Likewise.
12317         (log1p_test_data): Likewise.
12318         (log2_test_data): Likewise.
12319         (logb_test_data): Likewise.
12320         (logb_downward_test_data): Likewise.
12321         (lround_test_data): Likewise.
12322         (llround_test_data): Likewise.
12323         (modf_test_data): Likewise.
12324         (nearbyint_test_data): Likewise.
12325         (nextafter_test_data): Likewise.
12326         (nexttoward_test_data): Likewise.
12327         (pow_test_data): Likewise.
12328         (pow_tonearest_test_data): Likewise.
12329         (pow_towardzero_test_data): Likewise.
12330         (pow_downward_test_data): Likewise.
12331         (pow_upward_test_data): Likewise.
12332         (remainder_test_data): Likewise.
12333         (remainder_tonearest_test_data): Likewise.
12334         (remainder_towardzero_test_data): Likewise.
12335         (remainder_downward_test_data): Likewise.
12336         (remainder_upward_test_data): Likewise.
12337         (remquo_test_data): Likewise.
12338         (rint_test_data): Likewise.
12339         (rint_tonearest_test_data): Likewise.
12340         (rint_towardzero_test_data): Likewise.
12341         (rint_downward_test_data): Likewise.
12342         (rint_upward_test_data): Likewise.
12343         (round_test_data): Likewise.
12344         (scalb_test_data): Likewise.
12345         (scalbn_test_data): Likewise.
12346         (scalbln_test_data): Likewise.
12347         (signbit_test_data): Likewise.
12348         (sin_test_data): Likewise.
12349         (sin_tonearest_test_data): Likewise.
12350         (sin_towardzero_test_data): Likewise.
12351         (sin_downward_test_data): Likewise.
12352         (sin_upward_test_data): Likewise.
12353         (sincos_test_data): Likewise.
12354         (sinh_test_data): Likewise.
12355         (sinh_tonearest_test_data): Likewise.
12356         (sinh_towardzero_test_data): Likewise.
12357         (sinh_downward_test_data): Likewise.
12358         (sinh_upward_test_data): Likewise.
12359         (sqrt_test_data): Likewise.
12360         (tan_test_data): Likewise.
12361         (tan_tonearest_test_data): Likewise.
12362         (tan_towardzero_test_data): Likewise.
12363         (tan_downward_test_data): Likewise.
12364         (tan_upward_test_data): Likewise.
12365         (tanh_test_data): Likewise.
12366         (tgamma_test_data): Likewise.
12367         (trunc_test_data): Likewise.
12368         (y0_test_data): Likewise.
12369         (y1_test_data): Likewise.
12370         (yn_test_data): Likewise.
12371         (significand_test_data): Likewise.
12373         * math/gen-libm-test.pl (@functions): Remove variable.
12374         (generate_testfile): Don't handle START and END lines.
12375         * math/libm-test.inc (START): New macro.
12376         (END): Likewise.
12377         (END_COMPLEX): Likewise.
12378         (acos_test): Use END macro without arguments.
12379         (acos_test_tonearest): Likewise.
12380         (acos_test_towardzero): Likewise.
12381         (acos_test_downward): Likewise.
12382         (acos_test_upward): Likewise.
12383         (acosh_test): Likewise.
12384         (asin_test): Likewise.
12385         (asin_test_tonearest): Likewise.
12386         (asin_test_towardzero): Likewise.
12387         (asin_test_downward): Likewise.
12388         (asin_test_upward): Likewise.
12389         (asinh_test): Likewise.
12390         (atan_test): Likewise.
12391         (atanh_test): Likewise.
12392         (atan2_test): Likewise.
12393         (cabs_test): Likewise.
12394         (cacos_test): Use END_COMPLEX macro without arguments.
12395         (cacosh_test): Likewise.
12396         (carg_test): Use END macro without arguments.
12397         (casin_test): Use END_COMPLEX macro without arguments.
12398         (casinh_test): Likewise.
12399         (catan_test): Likewise.
12400         (catanh_test): Likewise.
12401         (cbrt_test): Use END macro without arguments.
12402         (ccos_test): Use END_COMPLEX macro without arguments.
12403         (ccosh_test): Likewise.
12404         (ceil_test): Use END macro without arguments.
12405         (cexp_test): Use END_COMPLEX macro without arguments.
12406         (cimag_test): Use END macro without arguments.
12407         (clog_test): Use END_COMPLEX macro without arguments.
12408         (clog10_test): Likewise.
12409         (conj_test): Likewise.
12410         (copysign_test): Use END macro without arguments.
12411         (cos_test): Likewise.
12412         (cos_test_tonearest): Likewise.
12413         (cos_test_towardzero): Likewise.
12414         (cos_test_downward): Likewise.
12415         (cos_test_upward): Likewise.
12416         (cosh_test): Likewise.
12417         (cosh_test_tonearest): Likewise.
12418         (cosh_test_towardzero): Likewise.
12419         (cosh_test_downward): Likewise.
12420         (cosh_test_upward): Likewise.
12421         (cpow_test): Use END_COMPLEX macro without arguments.
12422         (cproj_test): Likewise.
12423         (creal_test): Use END macro without arguments.
12424         (csin_test): Use END_COMPLEX macro without arguments.
12425         (csinh_test): Likewise.
12426         (csqrt_test): Likewise.
12427         (ctan_test): Likewise.
12428         (ctan_test_tonearest): Likewise.
12429         (ctan_test_towardzero): Likewise.
12430         (ctan_test_downward): Likewise.
12431         (ctan_test_upward): Likewise.
12432         (ctanh_test): Likewise.
12433         (ctanh_test_tonearest): Likewise.
12434         (ctanh_test_towardzero): Likewise.
12435         (ctanh_test_downward): Likewise.
12436         (ctanh_test_upward): Likewise.
12437         (erf_test): Use END macro without arguments.
12438         (erfc_test): Likewise.
12439         (exp_test): Likewise.
12440         (exp_test_tonearest): Likewise.
12441         (exp_test_towardzero): Likewise.
12442         (exp_test_downward): Likewise.
12443         (exp_test_upward): Likewise.
12444         (exp10_test): Likewise.
12445         (exp2_test): Likewise.
12446         (expm1_test): Likewise.
12447         (fabs_test): Likewise.
12448         (fdim_test): Likewise.
12449         (finite_test): Likewise.
12450         (floor_test): Likewise.
12451         (fma_test): Likewise.
12452         (fma_test_towardzero): Likewise.
12453         (fma_test_downward): Likewise.
12454         (fma_test_upward): Likewise.
12455         (fmax_test): Likewise.
12456         (fmin_test): Likewise.
12457         (fmod_test): Likewise.
12458         (fpclassify_test): Likewise.
12459         (frexp_test): Likewise.
12460         (gamma_test): Likewise.
12461         (hypot_test): Likewise.
12462         (ilogb_test): Likewise.
12463         (isfinite_test): Likewise.
12464         (isgreater_test): Likewise.
12465         (isgreaterequal_test): Likewise.
12466         (isinf_test): Likewise.
12467         (isless_test): Likewise.
12468         (islessequal_test): Likewise.
12469         (islessgreater_test): Likewise.
12470         (isnan_test): Likewise.
12471         (isnormal_test): Likewise.
12472         (issignaling_test): Likewise.
12473         (isunordered_test): Likewise.
12474         (j0_test): Likewise.
12475         (j1_test): Likewise.
12476         (jn_test): Likewise.
12477         (ldexp_test): Likewise.
12478         (lgamma_test): Likewise.
12479         (lrint_test): Likewise.
12480         (lrint_test_tonearest): Likewise.
12481         (lrint_test_towardzero): Likewise.
12482         (lrint_test_downward): Likewise.
12483         (lrint_test_upward): Likewise.
12484         (llrint_test): Likewise.
12485         (llrint_test_tonearest): Likewise.
12486         (llrint_test_towardzero): Likewise.
12487         (llrint_test_downward): Likewise.
12488         (llrint_test_upward): Likewise.
12489         (log_test): Likewise.
12490         (log10_test): Likewise.
12491         (log1p_test): Likewise.
12492         (log2_test): Likewise.
12493         (logb_test): Likewise.
12494         (logb_test_downward): Likewise.
12495         (lround_test): Likewise.
12496         (llround_test): Likewise.
12497         (modf_test): Likewise.
12498         (nearbyint_test): Likewise.
12499         (nextafter_test): Likewise.
12500         (nexttoward_test): Likewise.
12501         (pow_test): Likewise.
12502         (pow_test_tonearest): Likewise.
12503         (pow_test_towardzero): Likewise.
12504         (pow_test_downward): Likewise.
12505         (pow_test_upward): Likewise.
12506         (remainder_test): Likewise.
12507         (remainder_test_tonearest): Likewise.
12508         (remainder_test_towardzero): Likewise.
12509         (remainder_test_downward): Likewise.
12510         (remainder_test_upward): Likewise.
12511         (remquo_test): Likewise.
12512         (rint_test): Likewise.
12513         (rint_test_tonearest): Likewise.
12514         (rint_test_towardzero): Likewise.
12515         (rint_test_downward): Likewise.
12516         (rint_test_upward): Likewise.
12517         (round_test): Likewise.
12518         (scalb_test): Likewise.
12519         (scalbn_test): Likewise.
12520         (scalbln_test): Likewise.
12521         (signbit_test): Likewise.
12522         (sin_test): Likewise.
12523         (sin_test_tonearest): Likewise.
12524         (sin_test_towardzero): Likewise.
12525         (sin_test_downward): Likewise.
12526         (sin_test_upward): Likewise.
12527         (sincos_test): Likewise.
12528         (sinh_test): Likewise.
12529         (sinh_test_tonearest): Likewise.
12530         (sinh_test_towardzero): Likewise.
12531         (sinh_test_downward): Likewise.
12532         (sinh_test_upward): Likewise.
12533         (sqrt_test): Likewise.
12534         (tan_test): Likewise.
12535         (tan_test_tonearest): Likewise.
12536         (tan_test_towardzero): Likewise.
12537         (tan_test_downward): Likewise.
12538         (tan_test_upward): Likewise.
12539         (tanh_test): Likewise.
12540         (tgamma_test): Likewise.
12541         (trunc_test): Likewise.
12542         (y0_test): Likewise.
12543         (y1_test): Likewise.
12544         (yn_test): Likewise.
12545         (significand_test): Likewise.
12547 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
12549         [BZ #15381]
12550         * libio/genops.c (_IO_no_init): Initialize wide struct info.
12552 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12554         [BZ #14894]
12555         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12556         __ppc_mdoio and __ppc_mdoom.
12557         * manual/platform.texi: Document new functions __ppc_yield,
12558         __ppc_mdoio and __ppc_mdoom.
12560 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
12562         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12563         (main): Mention "tls" pseudo-hwcap is legacy.
12564         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12566 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12568         * math/gen-libm-test.pl (parse_args): Output only string of
12569         arguments as text for test name, not full call or descriptions of
12570         tests for extra outputs.
12571         (generate_testfile): Do not pass function name to parse_args.
12572         Generate this_func variable from START.
12573         * math/libm-test.inc (struct test_f_f_data): Rename test_name
12574         field to arg_str.
12575         (struct test_ff_f_data): Likewise.
12576         (test_ff_f_data_nexttoward): Likewise.
12577         (struct test_fi_f_data): Likewise.
12578         (struct test_fl_f_data): Likewise.
12579         (struct test_if_f_data): Likewise.
12580         (struct test_fff_f_data): Likewise.
12581         (struct test_c_f_data): Likewise.
12582         (struct test_f_f1_data): Likewise.  Remove field extra_name.
12583         (struct test_fF_f1_data): Likewise.
12584         (struct test_ffI_f1_data): Likewise.
12585         (struct test_c_c_data): Rename test_name field to arg_str.
12586         (struct test_cc_c_data): Likewise.
12587         (struct test_f_i_data): Likewise.
12588         (struct test_ff_i_data): Likewise.
12589         (struct test_f_l_data): Likewise.
12590         (struct test_f_L_data): Likewise.
12591         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
12592         and extra2_name.
12593         (COMMON_TEST_SETUP): New macro.
12594         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12595         (COMMON_TEST_CLEANUP): Likewise.
12596         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12597         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
12598         macros.
12599         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12600         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
12601         macros.
12602         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12603         (RUN_TEST_fff_f): Take argument string.  Call new setup and
12604         cleanup macros.
12605         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12606         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
12607         macros.
12608         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12609         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
12610         macros.
12611         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12612         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
12613         cleanup macros.
12614         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12615         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
12616         cleanup macros.
12617         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12618         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
12619         cleanup macros.
12620         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12621         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
12622         macros.
12623         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12624         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
12625         macros.
12626         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12627         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
12628         macros.
12629         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12630         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
12631         cleanup macros.
12632         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12633         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
12634         cleanup macros.
12635         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12636         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
12637         macros.
12638         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12639         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
12640         cleanup macros.
12641         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12642         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12643         macros.
12644         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12645         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12646         macros.
12647         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12648         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12649         cleanup macros.
12650         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12652 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12654         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12655         to _sifields.sigfault.
12656         (si_addr_lsb): Define new macro.
12657         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12658         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12659         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12661 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12663         [BZ #15441]
12664         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12665         returns -1.
12666         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12667         null return -1.
12668         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12669         loading the domain.
12671 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12673         * math/gen-libm-test.pl (parse_args): Do not include expected
12674         result in test name.
12675         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12676         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12677         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12678         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12679         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12682 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12684         * benchtests/Makefile: Sort function entries.
12686         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12687         tanh, asinh, acosh, atanh.
12688         * benchtests/acos-inputs: New file.
12689         * benchtests/acosh-inputs: New file.
12690         * benchtests/asin-inputs: New file.
12691         * benchtests/asinh-inputs: New file.
12692         * benchtests/atanh-inputs: New file.
12693         * benchtests/cosh-inputs: New file.
12694         * benchtests/log-inputs: New file.
12695         * benchtests/sinh-inputs: New file.
12696         * benchtests/tanh-inputs: New file.
12698 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12700         [BZ #15339]
12701         * posix/tst-getaddrinfo4.c: New test.
12702         * posix/Makefile (tests): Add it.
12704 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12706         [BZ #15339]
12707         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12708         when no services were used.
12709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12710         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12712 2013-05-21  Andreas Schwab  <schwab@suse.de>
12714         [BZ #15014]
12715         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12716         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12717         successful.
12718         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12719         redundant variable declarations and reallocation of buffer when
12720         parsing as IPv6 address.  Always set NSS status when called from
12721         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12722         buffer too small.  Correct computation of needed size.
12723         * nss/Makefile (tests): Add test-digits-dots.
12724         * nss/test-digits-dots.c: New test.
12726 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12728         * benchtests/Makefile: Remove instructions for adding
12729         benchmark tests.
12730         * benchtests/README: New file to explain how to execute and
12731         enhance the benchmark tests.
12733 2013-05-21  Andreas Schwab  <schwab@suse.de>
12735         [BZ #15493]
12736         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12737         * setjmp/tst-sigsetjmp.c: New test.
12739 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12741         * sysdeps/x86_64/memset.S (memset): New implementation.
12742         (__bzero): Likewise.
12743         (__memset_tail): New function.
12745 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12747         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12748         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12749         __memcpy_sse2_unaligned ifunc selection.
12750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12751         Add memcpy-sse2-unaligned.S.
12752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12753         Add: __memcpy_sse2_unaligned.
12755 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12757         [BZ #15490]
12758         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12759         math_force_eval before restoring floating-point envrionment.
12760         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12761         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12762         Likewise.
12763         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12764         <math_private.h>.
12765         (__nearbyintl): Use math_force_eval before restoring
12766         floating-point environment.
12767         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12769         * math/gen-libm-test.pl (special_functions): Remove.
12770         (parse_args): Don't handle TEST_extra.  Handle functions with no
12771         return value.
12772         * math/libm-test.inc (struct test_sincos_data): Replace with
12773         struct test_fFF_11_data.
12774         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12775         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12776         (sincos_test_data): Change element type to struct
12777         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12778         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12779         RUN_TEST_LOOP_sincos.
12780         * math/README.libm-test: Don't mention special handling of
12781         individual functions.
12782         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12783         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12784         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12786         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12789         * math/gen-libm-test.pl (get_variable): Remove function.
12790         (parse_args): Don't show pointer parameters to call in test
12791         names.  Use "extra output N" in test names for extra outputs
12792         rather than naming variables.
12794 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12796         [BZ #15488]
12797         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12798         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12799         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12800         double tests.
12801         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12802         disable.
12803         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12804         check_long_double.
12806         * math/gen-libm-test.pl (@tests): Remove variable.
12807         ($count): Likewise.
12808         (new_test): Remove function.
12809         (show_exceptions): New function.
12810         (special_functions): Use show_exceptions instead of new_test.
12811         (parse_args): Likewise.
12812         (generate_testfile): Pass only function name in generated call to
12813         print_max_error or print_complex_max_error.
12814         (get_ulps): Do not handle complex tests specially.
12815         (output_test): Rename to ...
12816         (get_all_ulps_for_test): ... this.  Return a string rather than
12817         printing to a file.  Require ulps to be present.
12818         (output_ulps): Generate arrays rather than #defines.
12819         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12820         (struct ulp_data): New type.
12821         (BUILD_COMPLEX_ULP): Remove macro.
12822         (compare_ulp_data): New function.
12823         (find_ulps): Likewise.
12824         (find_test_ulps): Likewise.
12825         (find_function_ulps): Likewise.
12826         (find_complex_function_ulps): Likewise.
12827         (print_max_error): Determine allowed ulps using
12828         find_function_ulps.
12829         (print_complex_max_error): Determine allowed ulps using
12830         find_complex_function_ulps.
12831         (check_float_internal): Determine max ulps using find_test_ulps.
12832         (check_float): Do not take max_ulp parameter.  Update call to
12833         check_float_internal.
12834         (check_complex): Likewise.
12835         (check_int): Do not take max_ulp parameter.
12836         (check_long): Likewise.
12837         (check_bool): Likewise.
12838         (check_longlong): Likewise.
12839         (struct test_f_f_data): Remove max_ulp field.
12840         (struct test_ff_f_data): Likewise.
12841         (struct test_ff_f_data_nexttoward): Likewise.
12842         (struct test_fi_f_data): Likewise.
12843         (struct test_fl_f_data): Likewise.
12844         (struct test_if_f_data): Likewise.
12845         (struct test_fff_f_data): Likewise.
12846         (struct test_c_f_data): Likewise.
12847         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12848         (struct test_fF_f1_data): Likewise.
12849         (struct test_ffI_f1_data): Likewise.
12850         (struct test_c_c_data): Remove max_ulp field.
12851         (struct test_cc_c_data): Likewise.
12852         (struct test_f_i_data): Likewise.
12853         (struct test_ff_i_data): Likewise.
12854         (struct test_f_l_data): Likewise.
12855         (struct test_f_L_data): Likewise.
12856         (struct test_sincos_data): Likewise.
12857         (RUN_TEST_f_f): Do not handle ulps.
12858         (RUN_TEST_LOOP_f_f): Likewise.
12859         (RUN_TEST_2_f): Likewise.
12860         (RUN_TEST_LOOP_2_f): Likewise.
12861         (RUN_TEST_fff_f): Likewise.
12862         (RUN_TEST_LOOP_fff_f): Likewise.
12863         (RUN_TEST_c_f): Likewise.
12864         (RUN_TEST_LOOP_c_f): Likewise.
12865         (RUN_TEST_f_f1): Likewise.
12866         (RUN_TEST_LOOP_f_f1): Likewise.
12867         (RUN_TEST_fF_f1): Likewise.
12868         (RUN_TEST_LOOP_fF_f1): Likewise.
12869         (RUN_TEST_fI_f1): Likewise.
12870         (RUN_TEST_LOOP_fI_f1): Likewise.
12871         (RUN_TEST_ffI_f1): Likewise.
12872         (RUN_TEST_LOOP_ffI_f1): Likewise.
12873         (RUN_TEST_c_c): Likewise.
12874         (RUN_TEST_LOOP_c_c): Likewise.
12875         (RUN_TEST_cc_c): Likewise.
12876         (RUN_TEST_LOOP_cc_c): Likewise.
12877         (RUN_TEST_f_i): Likewise.
12878         (RUN_TEST_LOOP_f_i): Likewise.
12879         (RUN_TEST_f_i_tg): Likewise.
12880         (RUN_TEST_LOOP_f_i_tg): Likewise.
12881         (RUN_TEST_ff_i_tg): Likewise.
12882         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12883         (RUN_TEST_f_b): Likewise.
12884         (RUN_TEST_LOOP_f_b): Likewise.
12885         (RUN_TEST_f_b_tg): Likewise.
12886         (RUN_TEST_LOOP_f_b_tg): Likewise.
12887         (RUN_TEST_f_l): Likewise.
12888         (RUN_TEST_LOOP_f_l): Likewise.
12889         (RUN_TEST_f_L): Likewise.
12890         (RUN_TEST_LOOP_f_L): Likewise.
12891         (RUN_TEST_sincos): Likewise.
12892         (RUN_TEST_LOOP_sincos): Likewise.
12894 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12896         [BZ #15480]
12897         [BZ #15485]
12898         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12899         main case of finite arguments, set rounding mode to FE_TONEAREST
12900         and discard exceptions.
12901         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12902         exceptions.
12903         (remainder_tonearest_test_data): New variable.
12904         (remainder_test_tonearest): New function.
12905         (remainder_towardzero_test_data): New variable.
12906         (remainder_test_towardzero): New function.
12907         (remainder_downward_test_data): New variable.
12908         (remainder_test_downward): New function.
12909         (remainder_upward_test_data): New variable.
12910         (remainder_test_upward): New function.
12911         (main): Call the new test functions.
12913         * math/libm-test.inc (struct test_f_f1_data): Remove field
12914         extra_init.
12915         (struct test_fF_f1_data): Likewise.
12916         (struct test_ffI_f1_data): Likewise.
12917         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12918         based on value of EXTRA_EXPECTED.
12919         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12920         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12921         EXTRA_VAR based on value of EXTRA_EXPECTED.
12922         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12923         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12924         EXTRA_VAR based on value of EXTRA_EXPECTED.
12925         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12926         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12927         EXTRA_VAR based on value of EXTRA_EXPECTED.
12928         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12929         * math/gen-libm-test.pl (parse_args): Don't output initializers
12930         for extra output values.
12932         * math/libm-test.inc (check_int): Expect result to be exactly
12933         equal to expected value and do not handle ulps.
12934         (check_long): Likewise.
12935         (check_longlong): Likewise.
12937         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12938         exceptions.
12939         (cimag_test_data): Likewise.
12940         (conj_test_data): Likewise.
12941         (copysign_test_data): Likewise.
12942         (cproj_test_data): Likewise.
12943         (creal_test_data): Likewise.
12944         (fabs_test_data): Likewise.
12945         (fdim_test_data): Likewise.
12946         (finite_test_data): Likewise.
12947         (floor_test_data): Likewise.
12948         (fmax_test_data): Likewise.
12949         (fmin_test_data): Likewise.
12950         (fmod_test_data): Likewise.
12951         (fpclassify_test_data): Likewise.
12952         (frexp_test_data): Likewise.
12953         (ilogb_test_data): Likewise.
12954         (isfinite_test_data): Likewise.
12955         (isgreater_test_data): Likewise.
12956         (isgreaterequal_test_data): Likewise.
12957         (isinf_test_data): Likewise.
12958         (isless_test_data): Likewise.
12959         (islessequal_test_data): Likewise.
12960         (islessgreater_test_data): Likewise.
12961         (isnan_test_data): Likewise.
12962         (isnormal_test_data): Likewise.
12963         (issignaling_test_data): Likewise.
12964         (isunordered_test_data): Likewise.
12965         (ldexp_test_data): Likewise.
12966         (lrint_test_data): Likewise.
12967         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12968         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12969         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12970         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12971         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12972         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12973         test input.
12974         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12975         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12976         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12977         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12978         that test input.
12979         (lrint_downward_test_data): Test for "inexact" exceptions.
12980         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12981         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12982         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12983         test input.
12984         (lrint_upward_test_data): Test for "inexact" exceptions.
12985         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12986         test input.
12987         (llrint_test_data): Test for "inexact" exceptions.
12988         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12989         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12990         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12991         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12992         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12993         (llrint_downward_test_data): Test for "inexact" exceptions.
12994         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12995         (llrint_upward_test_data): Test for "inexact" exceptions.
12996         (logb_test_data): Likewise.
12997         (logb_downward_test_data): Likewise.
12998         (nextafter_test_data): Likewise.
12999         (nexttoward_test_data): Likewise.
13000         (remainder_test_data): Likewise.
13001         (remquo_test_data): Likewise.
13002         (scalbn_test_data): Likewise.
13003         (scalbln_test_data): Likewise.
13004         (signbit_test_data): Likewise.
13005         (sqrt_test_data): Likewise.
13006         (significand_test_data): Likewise.
13008 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13010         [BZ #15424]
13011         * benchtests/bench-modf.c (struct args): Mark arg0 as
13012         volatile.
13013         * scripts/bench.pl: Mark members of struct args as volatile.
13015 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13017         [BZ # 15497]
13018         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13019         negative infinity on POWER6 or lower.
13020         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13022 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13024         [BZ #15442]
13025         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13026         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13027         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13028         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13029         (_FP_SETQNAN): New macro.
13030         (_FP_SETQNAN_SEMIRAW): Likewise.
13031         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13032         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13033         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13034         (FP_EXTEND): Use _FP_FRAC_SNANP.
13035         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13036         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13037         into account.
13038         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13039         New macro.
13040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13041         Likewise.
13043 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13045         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13046         with DIVIDE_BY_ZERO_EXCEPTION.
13047         (gamma_test_data): Likewise.
13048         (lgamma_test_data): Likewise.
13049         (log_test_data): Likewise.
13050         (log10_test_data): Likewise.
13051         (log2_test_data): Likewise.
13052         (tgamma_test_data): Likewise.
13054         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13055         (acos_test_tonearest): Likewise.
13056         (acos_test_towardzero): Likewise.
13057         (acos_test_downward): Likewise.
13058         (acos_test_upward): Likewise.
13059         (acosh_test): Likewise.
13060         (asin_test): Likewise.
13061         (asin_test_tonearest): Likewise.
13062         (asin_test_towardzero): Likewise.
13063         (asin_test_downward): Likewise.
13064         (asin_test_upward): Likewise.
13065         (asinh_test): Likewise.
13066         (atan_test): Likewise.
13067         (atanh_test): Likewise.
13068         (atan2_test): Likewise.
13069         (cabs_test): Likewise.
13070         (cacos_test): Likewise.
13071         (cacosh_test): Likewise.
13072         (casin_test): Likewise.
13073         (casinh_test): Likewise.
13074         (catan_test): Likewise.
13075         (catanh_test): Likewise.
13076         (cbrt_test): Likewise.
13077         (ccos_test): Likewise.
13078         (ccosh_test): Likewise.
13079         (cexp_test): Likewise.
13080         (clog_test): Likewise.
13081         (clog10_test): Likewise.
13082         (cos_test): Likewise.
13083         (cos_test_tonearest): Likewise.
13084         (cos_test_towardzero): Likewise.
13085         (cos_test_downward): Likewise.
13086         (cos_test_upward): Likewise.
13087         (cosh_test): Likewise.
13088         (cosh_test_tonearest): Likewise.
13089         (cosh_test_towardzero): Likewise.
13090         (cosh_test_downward): Likewise.
13091         (cosh_test_upward): Likewise.
13092         (cpow_test): Likewise.
13093         (csin_test): Likewise.
13094         (csinh_test): Likewise.
13095         (csqrt_test): Likewise.
13096         (ctan_test): Likewise.
13097         (ctan_test_tonearest): Likewise.
13098         (ctan_test_towardzero): Likewise.
13099         (ctan_test_downward): Likewise.
13100         (ctan_test_upward): Likewise.
13101         (ctanh_test): Likewise.
13102         (ctanh_test_tonearest): Likewise.
13103         (ctanh_test_towardzero): Likewise.
13104         (ctanh_test_downward): Likewise.
13105         (ctanh_test_upward): Likewise.
13106         (erf_test): Likewise.
13107         (erfc_test): Likewise.
13108         (exp_test): Likewise.
13109         (exp_test_tonearest): Likewise.
13110         (exp_test_towardzero): Likewise.
13111         (exp_test_downward): Likewise.
13112         (exp_test_upward): Likewise.
13113         (exp10_test): Likewise.
13114         (exp2_test): Likewise.
13115         (expm1_test): Likewise.
13116         (fmod_test): Likewise.
13117         (gamma_test): Likewise.
13118         (hypot_test): Likewise.
13119         (j0_test): Likewise.
13120         (j1_test): Likewise.
13121         (jn_test): Likewise.
13122         (lgamma_test): Likewise.
13123         (log_test): Likewise.
13124         (log10_test): Likewise.
13125         (log1p_test): Likewise.
13126         (log2_test): Likewise.
13127         (logb_test_downward): Likewise.
13128         (pow_test): Likewise.
13129         (pow_test_tonearest): Likewise.
13130         (pow_test_towardzero): Likewise.
13131         (pow_test_downward): Likewise.
13132         (pow_test_upward): Likewise.
13133         (remainder_test): Likewise.
13134         (remquo_test): Likewise.
13135         (sin_test): Likewise.
13136         (sin_test_tonearest): Likewise.
13137         (sin_test_towardzero): Likewise.
13138         (sin_test_downward): Likewise.
13139         (sin_test_upward): Likewise.
13140         (sincos_test): Likewise.
13141         (sinh_test): Likewise.
13142         (sinh_test_tonearest): Likewise.
13143         (sinh_test_towardzero): Likewise.
13144         (sinh_test_downward): Likewise.
13145         (sinh_test_upward): Likewise.
13146         (sqrt_test): Likewise.
13147         (tan_test): Likewise.
13148         (tan_test_tonearest): Likewise.
13149         (tan_test_towardzero): Likewise.
13150         (tan_test_downward): Likewise.
13151         (tan_test_upward): Likewise.
13152         (tanh_test): Likewise.
13153         (tgamma_test): Likewise.
13154         (y0_test): Likewise.
13155         (y1_test): Likewise.
13156         (yn_test): Likewise.
13158         * math/gen-libm-test.pl (adjust_arg): Remove function.
13159         (special_function): Remove argument $in_func.  Only handle
13160         generating output for tables of tests, not inside functions.
13161         (parse_args): Likewise.
13162         (generate_testfile): Remove variable $in_func.  Update call to
13163         parse_args.
13164         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13165         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13166         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13167         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13168         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13169         (MAX_VALUE_INIT): Rename macro to max_value.
13170         (MIN_VALUE_INIT): Rename macro to min_value.
13171         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13172         (plus_zero): Remove variable.
13173         (minus_zero): Likewise.
13174         (plus_infty): Likewise.
13175         (minus_infty): Likewise.
13176         (qnan_value): Likewise.
13177         (max_value): Likewise.
13178         (min_value): Likewise.
13179         (min_subnorm_value): Likewise.
13181 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13183         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13184         uint64_t or uint32_t usage.
13185         * crypt/sha256-block.c: Likewise.
13186         * crypt/sha256-crypt.c: Likewise.
13187         * crypt/sha256.c: Likewise.
13188         * crypt/sha512-block.c: Likewise.
13189         * crypt/sha512-crypt.c: Likewise.
13190         * crypt/sha512.c: Likewise.
13191         * debug/backtrace-tst.c: Likewise.
13192         * debug/pcprofiledump.c: Likewise.
13193         * elf/cache.c: Likewise.
13194         * elf/dl-cache.c: Likewise.
13195         * elf/dl-misc.c: Likewise.
13196         * elf/dl-profile.c: Likewise.
13197         * elf/dl-support.c: Likewise.
13198         * elf/ldconfig.c: Likewise.
13199         * elf/sprof.c: Likewise.
13200         * iconv/dummy-repertoire.c: Likewise.
13201         * iconv/iconv_charmap.c: Likewise.
13202         * iconv/skeleton.c: Likewise.
13203         * iconvdata/8bit-generic.c: Likewise.
13204         * iconvdata/cp737.h: Likewise.
13205         * iconvdata/cp775.h: Likewise.
13206         * iconvdata/ibm1008.h: Likewise.
13207         * iconvdata/ibm1025.h: Likewise.
13208         * iconvdata/ibm1046.h: Likewise.
13209         * iconvdata/ibm1097.h: Likewise.
13210         * iconvdata/ibm1112.h: Likewise.
13211         * iconvdata/ibm1122.h: Likewise.
13212         * iconvdata/ibm1123.h: Likewise.
13213         * iconvdata/ibm1124.h: Likewise.
13214         * iconvdata/ibm1129.h: Likewise.
13215         * iconvdata/ibm1130.h: Likewise.
13216         * iconvdata/ibm1132.h: Likewise.
13217         * iconvdata/ibm1133.h: Likewise.
13218         * iconvdata/ibm1137.h: Likewise.
13219         * iconvdata/ibm1140.h: Likewise.
13220         * iconvdata/ibm1141.h: Likewise.
13221         * iconvdata/ibm1142.h: Likewise.
13222         * iconvdata/ibm1143.h: Likewise.
13223         * iconvdata/ibm1144.h: Likewise.
13224         * iconvdata/ibm1145.h: Likewise.
13225         * iconvdata/ibm1146.h: Likewise.
13226         * iconvdata/ibm1147.h: Likewise.
13227         * iconvdata/ibm1148.h: Likewise.
13228         * iconvdata/ibm1149.h: Likewise.
13229         * iconvdata/ibm1153.h: Likewise.
13230         * iconvdata/ibm1154.h: Likewise.
13231         * iconvdata/ibm1155.h: Likewise.
13232         * iconvdata/ibm1156.h: Likewise.
13233         * iconvdata/ibm1157.h: Likewise.
13234         * iconvdata/ibm1158.h: Likewise.
13235         * iconvdata/ibm1160.h: Likewise.
13236         * iconvdata/ibm1161.h: Likewise.
13237         * iconvdata/ibm1162.h: Likewise.
13238         * iconvdata/ibm1163.h: Likewise.
13239         * iconvdata/ibm1164.h: Likewise.
13240         * iconvdata/ibm1166.h: Likewise.
13241         * iconvdata/ibm1167.h: Likewise.
13242         * iconvdata/ibm12712.h: Likewise.
13243         * iconvdata/ibm1390.h: Likewise.
13244         * iconvdata/ibm1399.h: Likewise.
13245         * iconvdata/ibm16804.h: Likewise.
13246         * iconvdata/ibm4517.h: Likewise.
13247         * iconvdata/ibm4899.h: Likewise.
13248         * iconvdata/ibm4909.h: Likewise.
13249         * iconvdata/ibm4971.h: Likewise.
13250         * iconvdata/ibm5347.h: Likewise.
13251         * iconvdata/ibm803.h: Likewise.
13252         * iconvdata/ibm856.h: Likewise.
13253         * iconvdata/ibm901.h: Likewise.
13254         * iconvdata/ibm902.h: Likewise.
13255         * iconvdata/ibm9030.h: Likewise.
13256         * iconvdata/ibm9066.h: Likewise.
13257         * iconvdata/ibm921.h: Likewise.
13258         * iconvdata/ibm922.h: Likewise.
13259         * iconvdata/ibm9448.h: Likewise.
13260         * iconvdata/isiri-3342.h: Likewise.
13261         * iconvdata/jis0201.h: Likewise.
13262         * include/link.h: Likewise.
13263         * include/netdb.h: Likewise.
13264         * inet/check_native.c: Likewise.
13265         * inet/check_pf.c: Likewise.
13266         * inet/getipv4sourcefilter.c: Likewise.
13267         * inet/getnameinfo.c: Likewise.
13268         * inet/getsourcefilter.c: Likewise.
13269         * inet/htonl.c: Likewise.
13270         * inet/setipv4sourcefilter.c: Likewise.
13271         * inet/setsourcefilter.c: Likewise.
13272         * inet/test-inet6_opt.c: Likewise.
13273         * inet/tst-network.c: Likewise.
13274         * locale/C-collate.c: Likewise.
13275         * locale/C-ctype.c: Likewise.
13276         * locale/C-time.c: Likewise.
13277         * locale/C-translit.h: Likewise.
13278         * locale/loadarchive.c: Likewise.
13279         * locale/programs/3level.h: Likewise.
13280         * locale/programs/charmap.c: Likewise.
13281         * locale/programs/charmap.h: Likewise.
13282         * locale/programs/ld-address.c: Likewise.
13283         * locale/programs/ld-collate.c: Likewise.
13284         * locale/programs/ld-ctype.c: Likewise.
13285         * locale/programs/ld-identification.c: Likewise.
13286         * locale/programs/ld-measurement.c: Likewise.
13287         * locale/programs/ld-messages.c: Likewise.
13288         * locale/programs/ld-monetary.c: Likewise.
13289         * locale/programs/ld-name.c: Likewise.
13290         * locale/programs/ld-numeric.c: Likewise.
13291         * locale/programs/ld-paper.c: Likewise.
13292         * locale/programs/ld-telephone.c: Likewise.
13293         * locale/programs/ld-time.c: Likewise.
13294         * locale/programs/linereader.c: Likewise.
13295         * locale/programs/locale.c: Likewise.
13296         * locale/programs/locarchive.c: Likewise.
13297         * locale/programs/locfile.h: Likewise.
13298         * locale/programs/repertoire.c: Likewise.
13299         * locale/programs/simple-hash.c: Likewise.
13300         * locale/programs/simple-hash.h: Likewise.
13301         * malloc/memusage.c: Likewise.
13302         * malloc/memusagestat.c: Likewise.
13303         * nis/nis_defaults.c: Likewise.
13304         * nis/nis_hash.c: Likewise.
13305         * nis/nis_print.c: Likewise.
13306         * nis/nis_xdr.c: Likewise.
13307         * nscd/connections.c: Likewise.
13308         * nscd/hstcache.c: Likewise.
13309         * nscd/nscd_gethst_r.c: Likewise.
13310         * nscd/nscd_getserv_r.c: Likewise.
13311         * nscd/nscd_helper.c: Likewise.
13312         * nscd/servicescache.c: Likewise.
13313         * nss/makedb.c: Likewise.
13314         * nss/nss_db/db-XXX.c: Likewise.
13315         * nss/nss_db/db-initgroups.c: Likewise.
13316         * nss/nss_db/db-netgrp.c: Likewise.
13317         * nss/nss_files/files-network.c: Likewise.
13318         * nss/nss_files/files-parse.c: Likewise.
13319         * posix/bug-regex5.c: Likewise.
13320         * posix/fnmatch_loop.c: Likewise.
13321         * posix/regcomp.c: Likewise.
13322         * posix/regexec.c: Likewise.
13323         * posix/tst-rfc3484-2.c: Likewise.
13324         * posix/tst-rfc3484-3.c: Likewise.
13325         * posix/tst-rfc3484.c: Likewise.
13326         * resolv/nss_dns/dns-canon.c: Likewise.
13327         * resolv/nss_dns/dns-network.c: Likewise.
13328         * resolv/res_init.c: Likewise.
13329         * resolv/res_mkquery.c: Likewise.
13330         * resolv/tst-aton.c: Likewise.
13331         * stdlib/cxa_atexit.c: Likewise.
13332         * stdlib/cxa_finalize.c: Likewise.
13333         * stdlib/gen-fpioconst.c: Likewise.
13334         * stdlib/strtol_l.c: Likewise.
13335         * string/tst-endian.c: Likewise.
13336         * sunrpc/auth_des.c: Likewise.
13337         * sunrpc/clnt_udp.c: Likewise.
13338         * sunrpc/rtime.c: Likewise.
13339         * sunrpc/svcauth_des.c: Likewise.
13340         * sunrpc/xdr.c: Likewise.
13341         * sunrpc/xdr_intXX_t.c: Likewise.
13342         * sunrpc/xdr_rec.c: Likewise.
13343         * sysdeps/generic/ldconfig.h: Likewise.
13344         * sysdeps/generic/ldsodefs.h: Likewise.
13345         * sysdeps/generic/memusage.h: Likewise.
13346         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13348         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13349         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13351         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13352         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13356         * sysdeps/posix/getaddrinfo.c: Likewise.
13357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13359         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13360         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13361         * sysdeps/powerpc/test-gettimebase.c: Likewise.
13362         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13363         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13364         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13365         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13366         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13367         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13368         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13369         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13370         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13371         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13372         * sysdeps/x86_64/dl-tls.h: Likewise.
13373         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13374         * time/alt_digit.c: Likewise.
13375         * time/era.c: Likewise.
13376         * wcsmbs/tst-c16c32-1.c: Likewise.
13378 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13380         * math/libm-test.inc (struct test_sincos_data): New type.
13381         (RUN_TEST_LOOP_sincos): New macro.
13382         (sincos_test_data): New variable.
13383         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13385 2013-05-16  Richard Henderson  <rth@redhat.com>
13387         * math/atest-exp2.c (LIMB64): New macro.
13388         (CONSTSZ): New macro.
13389         (mp_exp1, mp_exp_m1, mp_log2): New variables.
13390         (hexdig): Move ...
13391         (print_mpn_fp): ... to function scope.
13392         (read_mpn_hex): Remove.
13393         (get_log2): Remove.
13394         (exp2_mpn): Use mp_log2.
13395         (main): Use mp_exp1.
13397 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13399         * math/libm-test.inc: Remove comment about not testing "inexact"
13400         exceptions.
13401         (INEXACT_EXCEPTION): New macro.
13402         (NO_INEXACT_EXCEPTION): Likewise.
13403         (INVALID_EXCEPTION_OK): Update value.
13404         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13405         (OVERFLOW_EXCEPTION_OK): Likewise.
13406         (UNDERFLOW_EXCEPTION_OK): Likewise.
13407         (IGNORE_ZERO_INF_SIGN): Likewise.
13408         (ERRNO_UNCHANGED): Likewise.
13409         (ERRNO_EDOM): Likewise.
13410         (ERRNO_ERANGE): Likewise.
13411         (test_exceptions): Handle testing "inexact" exceptions.
13412         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13413         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13414         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13415         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13416         INEXACT_EXCEPTION.
13417         (rint_towardzero_test_data): Likewise.
13418         (rint_downward_test_data): Likewise.
13419         (rint_upward_test_data): Likewise.
13421         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13422         with OVERFLOW_EXCEPTION.
13423         (exp10_test_data): Likewise.
13424         (exp2_test_data): Likewise.
13425         (expm1_test_data): Likewise.
13426         (lgamma_test_data): Likewise.
13427         (pow_test_data): Likewise.
13428         (tgamma_test_data): Likewise.
13429         (yn_test_data): Remove duplicate test of overflow.
13431         * math/libm-test.inc (struct test_cc_c_data): New type.
13432         (RUN_TEST_LOOP_cc_c): New macro.
13433         (cpow_test_data): New variable.
13434         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13436         * math/libm-test.inc (struct test_f_L_data): New type.
13437         (RUN_TEST_LOOP_f_L): New macro.
13438         (llrint_test_data): New variable.
13439         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13440         (llrint_tonearest_test_data): New variable.
13441         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13442         (llrint_towardzero_test_data): New variable.
13443         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13444         (llrint_downward_test_data): New variable.
13445         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13446         (llrint_upward_test_data): New variable.
13447         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13448         (llround_test_data): New variable.
13449         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13451 2013-05-13  Peter Collingbourne  <pcc@google.com>
13453         * math/atest-exp2.c (get_log2): Remove const attribute.
13455 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13457         * math/libm-test.inc (struct test_f_l_data): New type.
13458         (RUN_TEST_LOOP_f_l): New macro.
13459         (lrint_test_data): New variable.
13460         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13461         (lrint_tonearest_test_data): New variable.
13462         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13463         (lrint_towardzero_test_data): New variable.
13464         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13465         (lrint_downward_test_data): New variable.
13466         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13467         (lrint_upward_test_data): New variable.
13468         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13469         (lround_test_data): New variable.
13470         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13472 2013-05-15  Peter Collingbourne  <pcc@google.com>
13474         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13475         (EXTRACT_WORDS64) Use where appropriate.
13476         (INSERT_WORDS64) Likewise.
13478         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13479         constraints with x constraints.
13480         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13482         * malloc/obstack.c (_obstack_compat): Add initializer.
13484 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13487         si_trapno and add si_addr_lsb to _sifields.sigfault.
13488         (si_trapno): Remove macro.
13489         (si_addr_lsb): Define new macro.
13490         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13492 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13494         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13495         instead of TEST_f_l.
13496         (llrint_test_tonearest): Likewise.
13497         (llrint_test_towardzero): Likewise.
13498         (llrint_test_downward): Likewise.
13499         (llrint_test_upward): Likewise.
13500         (llround_test): Likewise.
13502         * math/libm-test.inc (struct test_f_i_data): Add comment.
13503         (RUN_TEST_LOOP_f_b): New macro.
13504         (RUN_TEST_LOOP_f_b_tg): Likewise.
13505         (finite_test_data): New variable.
13506         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13507         (isfinite_test_data): New variable.
13508         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13509         (isinf_test_data): New variable.
13510         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13511         (isnan_test_data): New variable.
13512         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13513         (isnormal_test_data): New variable.
13514         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13515         (issignaling_test_data): New variable.
13516         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13517         (signbit_test_data): New variable.
13518         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13520         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13521         with INVALID_EXCEPTION.
13522         (acosh_test_data): Likewise.
13523         (asin_test_data): Likewise.
13524         (atanh_test_data): Likewise.
13525         (fmod_test_data): Likewise.
13526         (log_test_data): Likewise.
13527         (log10_test_data): Likewise.
13528         (log2_test_data): Likewise.
13529         (pow_test_data): Likewise.
13530         (sqrt_test_data): Likewise.
13531         (y0_test_data): Likewise.
13532         (y1_test_data): Likewise.
13533         (yn_test_data): Likewise.
13535         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13536         function contents.
13538         * math/libm-test.inc (struct test_ff_i_data): New type.
13539         (RUN_TEST_LOOP_ff_i_tg): New macro.
13540         (isgreater_test_data): New variable.
13541         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13542         (isgreaterequal_test_data): New variable.
13543         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13544         (isless_test_data): New variable.
13545         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13546         (islessequal_test_data): New variable.
13547         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13548         (islessgreater_test_data): New variable.
13549         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13550         (isunordered_test_data): New variable.
13551         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13553 2013-05-14  David S. Miller  <davem@davemloft.net>
13555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13557 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
13559         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13561         * math/libm-test.inc (struct test_fF_f1_data): Change type of
13562         extra_test to int.
13563         (struct test_f_i_data): Change type of max_ulp to int.
13565         * math/libm-test.inc (test_ffI_f1_data): New type.
13566         (RUN_TEST_LOOP_ffI_f1): New macro.
13567         (remquo_test_data): New variable.
13568         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13570         * setjmp/tst-setjmp-fp.c: New file.
13571         * setjmp/Makefile (tests): Add tst-setjmp-fp.
13572         (link-libm): New variable.
13573         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13575         * math/libm-test.inc (struct test_f_i_data): New type.
13576         (RUN_TEST_LOOP_f_i): New macro.
13577         (RUN_TEST_LOOP_f_i_tg): Likewise.
13578         (fpclassify_test_data): New variable.
13579         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13580         (ilogb_test_data): New variable.
13581         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13583         * math/libm-test.inc (scalbln_test): Correct function name in END
13584         call.
13586         * math/libm-test.inc (struct test_f_f1_data): Add comment.
13587         (RUN_TEST_LOOP_fI_f1): New macro.
13588         (frexp_test_data): New variable.
13589         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13591         * math/libm-test.inc (struct test_fF_f1_data): New type.
13592         (RUN_TEST_LOOP_fF_f1): New macro.
13593         (modf_test_data): New variable.
13594         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13596         * math/libm-test.inc (struct test_f_f1_data): New type.
13597         (RUN_TEST_LOOP_f_f1): New macro.
13598         (gamma_test_data): New variable.
13599         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13600         (lgamma_test_data): New variable.
13601         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13603 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
13605         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13606         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13607         (main): Comment "tls" pseudo-hwcap.
13609 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
13611         * math/libm-test.inc (struct test_fl_f_data): New type.
13612         (RUN_TEST_LOOP_fl_f): New variable.
13613         (scalbln_test_data): New variable.
13614         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13616         * math/libm-test.inc (struct test_fi_f_data): New type.
13617         (RUN_TEST_LOOP_fi_f): New macro.
13618         (ldexp_test_data): New variable.
13619         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13620         (scalbn_test_data): New variable.
13621         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13623         * math/libm-test.inc (struct test_c_f_data): New type.
13624         (RUN_TEST_LOOP_c_f): New macro.
13625         (cabs_test_data): New variable.
13626         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13627         (carg_test_data): New variable.
13628         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13629         (cimag_test_data): New variable.
13630         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13631         (creal_test_data): New variable.
13632         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13634         * math/libm-test.inc (struct test_if_f_data): New type.
13635         (RUN_TEST_LOOP_if_f): New macro.
13636         (jn_test_data): New variable.
13637         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13638         (yn_test_data): New variable.
13639         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13641         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13643 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13645         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13646         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13648 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13650         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13651         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13652         (bench-deps): Add bench-timing.h.
13653         * benchtests-bench-skeleton.c: Include bench-timing.h.
13654         (main): Use TIMING_* macros instead of clock_gettime.
13655         * benchtests/bench-timing.h: New file.
13657         [BZ #14582]
13658         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13659         Renamed from _LIB_VERSION.
13660         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13662 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13664         * math/libm-test.inc (struct test_fff_f_data): New type.
13665         (RUN_TEST_LOOP_fff_f): New macro.
13666         (fma_test_data): New variable.
13667         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13668         (fma_towardzero_test_data): New variable.
13669         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13670         (fma_downward_test_data): New variable.
13671         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13672         (fma_upward_test_data): New variable.
13673         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13675         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13676         (struct test_c_c_data): New type.
13677         (RUN_TEST_LOOP_c_c): New macro.
13678         (cacos_test_data): New variable.
13679         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13680         (cacosh_test_data): New variable.
13681         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13682         (casin_test_data): New variable.
13683         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13684         (casinh_test_data): New variable.
13685         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13686         (catan_test_data): New variable.
13687         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13688         (catanh_test_data): New variable.
13689         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13690         (ccos_test_data): New variable.
13691         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13692         (ccosh_test_data): New variable.
13693         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13694         (cexp_test_data): New variable.
13695         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13696         (clog_test_data): New variable.
13697         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13698         (clog10_test_data): New variable.
13699         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13700         (conj_test_data): New variable.
13701         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13702         (cproj_test_data): New variable.
13703         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13704         (csin_test_data): New variable.
13705         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13706         (csinh_test_data): New variable.
13707         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13708         (csqrt_test_data): New variable.
13709         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13710         (ctan_test_data): New variable.
13711         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13712         (ctan_tonearest_test_data): New variable.
13713         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13714         (ctan_towardzero_test_data): New variable.
13715         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13716         (ctan_downward_test_data): New variable.
13717         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13718         (ctan_upward_test_data): New variable.
13719         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13720         (ctanh_test_data): New variable.
13721         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13722         (ctanh_tonearest_test_data): New variable.
13723         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13724         (ctanh_towardzero_test_data): New variable.
13725         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13726         (ctanh_downward_test_data): New variable.
13727         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13728         (ctanh_upward_test_data): New variable.
13729         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13730         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13731         of BUILD_COMPLEX.
13733         * math/libm-test.inc (struct test_ff_f_data): New type.
13734         (struct test_ff_f_data_nexttoward): Likewise.
13735         (RUN_TEST_LOOP_2_f): New macro.
13736         (RUN_TEST_LOOP_ff_f): Likewise.
13737         (atan2_test_data): New variable.
13738         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13739         (copysign_test_data): New variable.
13740         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13741         (fdim_test_data): New variable.
13742         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13743         (fmax_test_data): New variable.
13744         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13745         (fmin_test_data): New variable.
13746         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13747         (fmod_test_data): New variable.
13748         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13749         (hypot_test_data): New variable.
13750         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13751         (nextafter_test_data): New variable.
13752         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13753         (nexttoward_test_data): New variable.
13754         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13755         (pow_test_data): New variable.
13756         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13757         (pow_tonearest_test_data): New variable.
13758         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13759         (pow_towardzero_test_data): New variable.
13760         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13761         (pow_downward_test_data): New variable.
13762         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13763         (pow_upward_test_data): New variable.
13764         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13765         (remainder_test_data): New variable.
13766         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13767         (scalb_test_data): New variable.
13768         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13769         * sysdeps/i386/fpu/libm-test-ulps: Update.
13771 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13773         * math/libm-test.inc (fma_test): Use max_value instead of local
13774         variable fltmax.
13775         (nextafter_test): Likewise.
13777         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13778         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13779         (acos_downward_test_data): New variable.
13780         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13781         (acos_upward_test_data): New variable.
13782         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13783         (acosh_test_data): New variable.
13784         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13785         (asin_test_data): New variable.
13786         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13787         (asin_tonearest_test_data): New variable.
13788         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13789         (asin_towardzero_test_data): New variable.
13790         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13791         (asin_downward_test_data): New variable.
13792         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13793         (asin_upward_test_data): New variable.
13794         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13795         (asinh_test_data): New variable.
13796         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13797         (atan_test_data): New variable.
13798         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13799         (atanh_test_data): New variable.
13800         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13801         (cbrt_test_data): New variable.
13802         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13803         (ceil_test_data): New variable.
13804         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13805         (cos_test_data): New variable.
13806         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13807         (cos_tonearest_test_data): New variable.
13808         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13809         (cos_towardzero_test_data): New variable.
13810         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13811         (cos_downward_test_data): New variable.
13812         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13813         (cos_upward_test_data): New variable.
13814         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13815         (cosh_test_data): New variable.
13816         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13817         (cosh_tonearest_test_data): New variable.
13818         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13819         (cosh_towardzero_test_data): New variable.
13820         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13821         (cosh_downward_test_data): New variable.
13822         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13823         (cosh_upward_test_data): New variable.
13824         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13825         (erf_test_data): New variable.
13826         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13827         (erfc_test_data): New variable.
13828         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13829         (exp_test_data): New variable.
13830         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13831         (exp_tonearest_test_data): New variable.
13832         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13833         (exp_towardzero_test_data): New variable.
13834         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13835         (exp_downward_test_data): New variable.
13836         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13837         (exp_upward_test_data): New variable.
13838         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13839         (exp10_test_data): New variable.
13840         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13841         (exp2_test_data): New variable.
13842         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13843         (expm1_test_data): New variable.
13844         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13845         (fabs_test_data): New variable.
13846         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13847         (floor_test_data): New variable.
13848         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13849         (j0_test_data): New variable.
13850         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13851         (j1_test_data): New variable.
13852         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13853         (log_test_data): New variable.
13854         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13855         (log10_test_data): New variable.
13856         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13857         (log1p_test_data): New variable.
13858         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13859         (log2_test_data): New variable.
13860         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13861         (logb_test_data): New variable.
13862         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13863         (logb_downward_test_data): New variable.
13864         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13865         (nearbyint_test_data): New variable.
13866         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13867         (rint_test_data): New variable.
13868         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13869         (rint_tonearest_test_data): New variable.
13870         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13871         (rint_towardzero_test_data): New variable.
13872         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13873         (rint_downward_test_data): New variable.
13874         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13875         (rint_upward_test_data): New variable.
13876         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13877         (round_test_data): New variable.
13878         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13879         (sin_test_data): New variable.
13880         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13881         (sin_tonearest_test_data): New variable.
13882         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13883         (sin_towardzero_test_data): New variable.
13884         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13885         (sin_downward_test_data): New variable.
13886         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13887         (sin_upward_test_data): New variable.
13888         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13889         (sinh_test_data): New variable.
13890         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13891         (sinh_tonearest_test_data): New variable.
13892         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13893         (sinh_towardzero_test_data): New variable.
13894         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13895         (sinh_downward_test_data): New variable.
13896         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13897         (sinh_upward_test_data): New variable.
13898         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13899         (sqrt_test_data): New variable.
13900         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13901         (tan_test_data): New variable.
13902         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13903         (tan_tonearest_test_data): New variable.
13904         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13905         (tan_towardzero_test_data): New variable.
13906         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13907         (tan_downward_test_data): New variable.
13908         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13909         (tan_upward_test_data): New variable.
13910         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13911         (tanh_test_data): New variable.
13912         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13913         (tgamma_test_data): New variable.
13914         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13915         (trunc_test_data): New variable.
13916         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13917         (y0_test_data): New variable.
13918         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13919         (y1_test_data): New variable.
13920         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13921         (significand_test_data): New variable.
13922         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13924 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13926         [BZ #12387]
13927         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13929 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13931         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13933 2013-05-10  Andreas Jaeger  <aj@suse.de>
13935         [BZ #15448]
13936         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13937         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13939 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13941         * math/gen-libm-test.pl (adjust_arg): New function.
13942         (special_functions): Handle generating output in both functions
13943         and arrays.
13944         (parse_args): Likewise.
13945         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13946         $in_func argument to parse_args.
13947         * math/libm-test.inc (struct test_f_f_data): New type.
13948         (IF_ROUND_INIT_): New macro.
13949         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13950         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13951         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13952         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13953         (ROUND_RESTORE_): Likewise.
13954         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13955         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13956         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13957         (ROUND_RESTORE_FE_UPWARD): Likewise.
13958         (RUN_TEST_LOOP_f_f): New macro.
13959         (acos_test_data): New variable.
13960         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13961         (acos_tonearest_test_data): New variable.
13962         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13964 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13966         * benchtests/bench-skeleton.c (startup): Fix coding style.
13968 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13970         [BZ #6809]
13971         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13972         negative infinity argument.
13973         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13974         negative infinity argument.
13975         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13976         negative infinity argument.
13977         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13978         domain errors.
13980 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13982         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13983         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13984         * iconv/iconv_prog.c (main): Likewise.
13985         * locale/programs/charmap-dir.c (charmap_readdir)
13986         (fopen_uncompressed): Likewise.
13987         * locale/programs/locfile.c (siblings_uncached)
13988         (write_locale_data): Use lstat64 instead of lstat.
13989         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13990         stat.
13992 2013-05-10  Andreas Jaeger  <aj@suse.de>
13994         [BZ #15395]
13995         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13996         localization.
13997         Include <locale.h>.
13999 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14001         * elf/dl-close.c (_dl_close_worker): Add comments.
14003 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #15359]
14006         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14007         high part of pi/2.
14008         (__ieee754_rem_pio2l): Update comments.
14010         [BZ #15429]
14011         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14012         high part of pi/2.
14013         (__ieee754_rem_pio2l): Update comments.
14015         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14016         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14018         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14019         M_PI_4l.
14021         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14022         (M_PI_34_LOG10El): Likewise.
14023         (M_PI2_LOG10El): Likewise.
14024         (M_PI4_LOG10El): Likewise.
14025         (M_PI_LOG10El): Likewise.
14027 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14031 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14033         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14034         (MINUS_ZERO_INIT): Likewise.
14035         (PLUS_INFTY_INIT): Likewise.
14036         (MINUS_INFTY_INIT): Likewise.
14037         (QNAN_VALUE_INIT): Likewise.
14038         (MAX_VALUE_INIT): Likewise.
14039         (MIN_VALUE_INIT): Likewise.
14040         (MIN_SUBNORM_VALUE_INIT): Likewise.
14041         (plus_zero): Initialize with PLUS_ZERO_INIT.
14042         (minus_zero): Initialize with MINUS_ZERO_INIT.
14043         (plus_infty): Initialize with PLUS_INFTY_INIT.
14044         (minus_infty): Initialize with MINUS_INFTY_INIT.
14045         (qnan_value): Initialize with QNAN_VALUE_INIT.
14046         (max_value): Initialize with MAX_VALUE_INIT.
14047         (min_value): Initialize with MIN_VALUE_INIT.
14048         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14050         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14051         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14052         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14053         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14055         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14056         (RUN_TEST_2_f): Likewise.
14057         (RUN_TEST_ff_f): Likewise.
14058         (RUN_TEST_fi_f): Likewise.
14059         (RUN_TEST_fl_f): Likewise.
14060         (RUN_TEST_fff_f): Likewise.
14061         (RUN_TEST_c_f): Likewise.
14062         (RUN_TEST_f_f1): Likewise.
14063         (RUN_TEST_fF_f1): Likewise.
14064         (RUN_TEST_fI_f1): Likewise.
14065         (RUN_TEST_ffI_f1): Likewise.
14066         (RUN_TEST_c_c): Likewise.
14067         (RUN_TEST_cc_c): Likewise.
14068         (RUN_TEST_f_i): Likewise.
14069         (RUN_TEST_f_i_tg): Likewise.
14070         (RUN_TEST_ff_i_tg): Likewise.
14071         (RUN_TEST_f_b): Likewise.
14072         (RUN_TEST_f_b_tg): Likewise.
14073         (RUN_TEST_f_l): Likewise.
14074         (RUN_TEST_f_L): Likewise.
14075         (RUN_TEST_sincos): Likewise.
14076         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14077         whether to show exceptions.  Do not include ");\n" in return
14078         value.
14079         (special_functions): Output call to RUN_TEST_sincos instead of
14080         check_float calls.  Update calls to new_test.
14081         (parse_args): Output call to single RUN_TEST_* macro instead of
14082         check_* calls and other assignments.  Update calls to new_test.
14084         [BZ #2546]
14085         [BZ #2560]
14086         [BZ #5159]
14087         [BZ #15426]
14088         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14089         input to result for tgamma overflow.
14090         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14091         (gamma_coeff): New variable.
14092         (NCOEFF): New macro.
14093         (gamma_positive): New function.
14094         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14095         underflow here.  Use gamma_positive instead of exp (lgamma) for
14096         other arguments.
14097         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14098         (gamma_coeff): New variable.
14099         (NCOEFF): New macro.
14100         (gammaf_positive): New function.
14101         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14102         underflow here.  Use gamma_positive instead of exp (lgamma) for
14103         other arguments.
14104         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14105         (gamma_coeff): New variable.
14106         (NCOEFF): New macro.
14107         (gammal_positive): New function.
14108         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14109         underflow here.  Use gamma_positive instead of exp (lgamma) for
14110         other arguments.
14111         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14112         (gamma_coeff): New variable.
14113         (NCOEFF): New macro.
14114         (gammal_positive): New function.
14115         (__ieee754_gammal_r): Handle positive infinity, overflow and
14116         underflow here.  Handle NaN the same as positive infinity.  Remove
14117         check x < 0xffffffff for negative integers.  Use gamma_positive
14118         instead of exp (lgamma) for other arguments.
14119         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14120         (gamma_coeff): New variable.
14121         (NCOEFF): New macro.
14122         (gammal_positive): New function.
14123         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14124         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14125         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14126         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14127         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14128         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14129         * sysdeps/generic/math_private.h (__gamma_productf): New
14130         prototype.
14131         (__gamma_product): Likewise.
14132         (__gamma_productl): Likewise.
14133         * math/Makefile (libm-calls): Add gamma_product.
14134         * math/libm-test.inc (tgamma_test): Add more tests.
14135         * sysdeps/i386/fpu/libm-test-ulps: Update.
14136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14138 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14140         * benchtests/bench-skeleton.c (main): Preheat CPU.
14142 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14144         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14146 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14148         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14149         and _dl_skip_args_internal.
14151 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14153         * manual/message.texi (Message Translation): Talk about users.
14154         Message to key mapping impacts design.
14156 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14158         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14160         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14162         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14163         * sysdeps/wordsize-64/glob64.c: ... here.
14165         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14166         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14167         New macros.
14169         * debug/getlogin_r_chk.c: Moved to ...
14170         * login/getlogin_r_chk.c: ... here.
14171         * debug/Makefile (routines): Move getlogin_r_chk to ...
14172         * login/Makefile (routines): ... here.
14173         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14174         * login/Versions (libc: GLIBC_2.4): ... here.
14176         * io/poll.c (__poll): Renamed from poll.
14177         Add libc_hidden_def.
14178         (poll): Define as weak alias.
14180         * debug/ptsname_r_chk.c: Moved to ...
14181         * login/ptsname_r_chk.c: ... here.
14182         * debug/Makefile (routines): Move ptsname_r_chk to ...
14183         * login/Makefile (routines): ... here.
14184         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14185         * login/Versions (libc: GLIBC_2.4): ... here.
14187         * posix/getlogin.c: Moved to ...
14188         * login/getlogin.c: ... here.
14189         * posix/getlogin_r.c: Moved to ...
14190         * login/getlogin_r.c: ... here.
14191         * posix/getlogin_r.c: Moved to ...
14192         * login/getlogin_r.c: ... here.
14193         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14194         * login/Makefile (routines): ... here.
14195         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14196         * login/Versions (libc: GLIBC_2.0): ... here.
14198         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14199         (setrlimit): Define as weak alias.
14201         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14202         Call __ names for open, ftruncate, and close.
14203         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14204         (truncate): Define as weak alias.
14206 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14208         * math/gen-libm-test.pl (parse_args): Initialize x before each
14209         test of frexp, modf and remquo.
14211         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14212         test signgam value.
14214 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14216         [BZ #15418]
14217         [BZ #15419]
14218         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14219         internal tests.
14220         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14222 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14224         * elf/dl-writev.h: New file.
14225         * elf/dl-misc.c: Include it.
14226         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14227         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14229 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14231         * math/libm-test.inc (noXFails): Remove variable.
14232         (noXPasses): Likewise.
14233         (BUILD_COMPLEX_INT): Remove macro.
14234         (print_screen): Remove xfail argument.
14235         (print_screen_max_error): Likewise.
14236         (update_stats): Likewise.
14237         (print_max_error): Likewise.  Update calls to other affected
14238         functions.
14239         (print_complex_max_error): Likewise.
14240         (test_single_exception): Update calls to print_screen.
14241         (test_single_errno): Likewise.
14242         (check_float_internal): Remove xfail argument.  Update calls to
14243         other affected functions.
14244         (check_float): Likewise.
14245         (check_complex): Likewise.
14246         (check_int): Likewise.
14247         (check_long): Likewise.
14248         (check_bool): Likewise.
14249         (check_longlong): Likewise.
14250         (main): Don't print noXFails and noXPasses.
14251         * math/gen-libm-test.pl (top level): Don't mention expected
14252         failure handling in comment.
14253         (new_test): Don't handle expected failures.
14254         (parse_args): Don't mention expected failure handling in comment.
14255         (generate_testfile): Don't handle expected failures.
14256         (parse_ulps): Likewise.
14257         (print_ulps_file): Likewise.
14258         (get_failure): Remove function.
14259         (output_test): Don't handle expected failures.
14260         * make/README.libm-test: Don't mention expected failure handling.
14262         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14263         (minus_zero): Likewise.
14264         (plus_infty): Likewise.
14265         (minus_infty): Likewise.
14266         (qnan_value): Likewise.
14267         (max_value): Likewise.
14268         (min_value): Likewise.
14269         (min_subnorm_value): Likewise.
14270         (initialize): Do not initialize those variables dynamically.
14272 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14274         * io/open.c (__open_2): Moved to ...
14275         * io/open_2.c: ... this new file.
14276         * io/open64.c (__open64_2): Moved to ...
14277         * io/open64_2.c: ... this new file.
14278         * io/openat.c (__openat_2): Moved to ...
14279         * io/openat_2.c: ... this new file.
14280         * io/openat64.c (__openat64_2): Moved to ...
14281         * io/openat64_2.c: ... this new file.
14282         * io/Makefile (routines): Add them.
14283         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14284         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14285         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14286         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14287         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14288         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14289         (__openat64): Add hidden_ver.
14290         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14291         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14293         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14294         Separately conditionalize setting of GLRO(dl_sysinfo) so
14295         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14296         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14298 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14300         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14302         definition.
14303         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14304         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14305         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14306         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14307         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14309 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14311         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14312         test signgam value.
14314         * math/libm-test.inc (hypot_test): Do not use
14315         IGNORE_ZERO_INF_SIGN.
14317 2013-05-03  Andreas Jaeger  <aj@suse.de>
14319         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14320         Linux 3.9.
14321         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14322         (PF_MAX): Adjust for VSOCK change.
14324 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14328 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14330         [BZ #15264]
14331         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14332         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14333         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14335 2013-05-02  David S. Miller  <davem@davemloft.net>
14337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14339 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14341         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14343 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14345         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14347 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14349         [BZ #14952]
14350         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14351         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14352         Use __attribute__ ((__gnu_inline__)).
14353         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14354         Don't use __attribute__ ((__gnu_inline__)).
14356 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
14358         [BZ #15423]
14359         * math/s_catan.c (__catan): Handle small real or imaginary part of
14360         input specially to avoid spurious underflow.
14361         * math/s_catanf.c (__catanf): Likewise.
14362         * math/s_catanh.c (__catanh): Likewise.
14363         * math/s_catanhf.c (__catanhf): Likewise.
14364         * math/s_catanhl.c (__catanhl): Likewise.
14365         * math/s_catanl.c (__catanl): Likewise.
14366         * math/libm-test.inc (catan_test): Add more tests.
14367         (catanh_test): Likewise.
14368         * sysdeps/i386/fpu/libm-test-ulps: Update.
14369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14375 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
14377         [BZ #15416]
14378         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14379         accurately for denominator in atan2.
14380         * math/s_catanf.c (__catanf): Likewise.
14381         * math/s_catanh.c (__catanh): Likewise.
14382         * math/s_catanhf.c (__catanhf): Likewise.
14383         * math/s_catanhl.c (__catanhl): Likewise.
14384         * math/s_catanl.c (__catanl): Likewise.
14385         * math/libm-test.inc (catan_test): Add more tests.
14386         (catanh_test): Likewise.
14387         * sysdeps/i386/fpu/libm-test-ulps: Update.
14388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14390 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14392         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14394         * benchtests/Makefile (bench): Remove slow benchmarks.
14395         * benchtests/atan-inputs: Add slow benchmark inputs.
14396         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14397         (BENCH_FUNC): Accept variant offset.
14398         (VARIANT): Define.
14399         * benchtests/bench-skeleton.c (main): Run benchmark for each
14400         variant.
14401         * benchtests/cos-inputs: Add slow benchmark inputs.
14402         * benchtests/exp-inputs: Likewise.
14403         * benchtests/pow-inputs: Likewise.
14404         * benchtests/sin-inputs: Likewise.
14405         * benchtests/slowatan-inputs: Remove.
14406         * benchtests/slowatan.c: Remove.
14407         * benchtests/slowcos-inputs: Remove.
14408         * benchtests/slowcos.c: Remove.
14409         * benchtests/slowexp-inputs: Remove.
14410         * benchtests/slowexp.c: Remove.
14411         * benchtests/slowpow-inputs: Remove.
14412         * benchtests/slowpow.c: Remove.
14413         * benchtests/slowsin-inputs: Remove.
14414         * benchtests/slowsin.c: Remove.
14415         * benchtests/slowtan-inputs: Remove.
14416         * benchtests/slowtan.c: Remove.
14417         * benchtests/tan-inputs: Add slow benchmark inputs.
14418         * scripts/bench.pl: Parse comments and directives.
14420         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14421         in CPPFLAGS.
14422         ($(objpfx)bench-%.c): Remove *-ITER.
14423         * benchtests/bench-modf.c: Remove definition of ITER.
14424         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14425         (main): Loop for DURATION seconds instead of fixed number of
14426         iterations.
14427         * scripts/bench.pl: Don't expect iterations in parameters.
14429 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14431         * io/fchdir.c (__fchdir): Renamed from fchdir.
14432         (fchdir): Define as weak alias.
14434 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14436         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14437         (ERRNO_EDOM): Likewise.
14438         (ERRNO_ERANGE): Likewise.
14439         (noErrnoTests): New variable.
14440         (init_max_error): Set errno to 0.
14441         (test_single_errno): New function.
14442         (test_errno): Likewise.
14443         (check_float_internal): Call test_errno.  Set errno to 0.
14444         (check_complex): Refer to errno tests in comment.
14445         (check_int): Call test_errno.  Set errno to 0.
14446         (check_long): Likewise.
14447         (check_bool): Likewise.
14448         (check_longlong): Likewise.
14449         (cos_test): Use ERRNO_* flags for errno tests instead of
14450         check_int.
14451         (expm1_test): Likewise.
14452         (fmod_test): Likewise.
14453         (ilogb_test): Likewise.
14454         (lgamma_test): Likewise.
14455         (pow_test): Likewise.
14456         (remainder_test): Likewise.
14457         (sin_test): Likewise.
14458         (tan_test): Likewise.
14459         (yn_test): Likewise.
14460         (initialize): Set errno to 0.
14461         (main): Print number of errno tests.
14462         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14464 2013-04-29  Andreas Jaeger  <aj@suse.de>
14466         [BZ #15084]
14467         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14468         and RES_USEVC.
14470         [BZ #15085]
14471         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14472         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14473         unimplemented.
14475         [BZ #15380]
14476         * stdlib/random.c (__initstate): Return NULL if
14477         __initstate fails.
14479         [BZ #15086]
14480         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14481         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14482         RES_SNGLKUPREOP.
14484 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14488 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14490         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14491         of individual tests.
14492         (casin_test): Likewise.
14493         (casinh_test): Likewise.
14495 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
14497         [BZ #15409]
14498         * math/s_catan.c (__catan): Handle arguments with large real or
14499         imaginary part separately without squaring.
14500         * math/s_catanf.c (__catanf): Likewise.
14501         * math/s_catanh.c (__catanh): Likewise.
14502         * math/s_catanhf.c (__catanhf): Likewise.
14503         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14504         and redefine.
14505         (__catanhl): Handle arguments with large real or imaginary part
14506         separately without squaring.
14507         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14508         and redefine.
14509         (__catanl): Handle arguments with large real or imaginary part
14510         separately without squaring.
14511         * math/libm-test.inc (catan_test): Add more tests.
14512         (catanh_test): Likewise.
14513         * sysdeps/i386/fpu/libm-test-ulps: Update.
14514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14516 2013-04-27  Andreas Jaeger  <aj@suse.de>
14518         [BZ #15007]
14519         * stdlib/stdlib.h: Update guards for qecvt.
14520         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14521         <stdlib.h>.
14523 2013-04-27  Allan McRae  <allan@archlinux.org>
14525         * sysdeps/i386/fpu/libm-test-ulps: Update.
14527 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
14529         [BZ #15406]
14530         * math/s_catan.c: Include <float.h>.
14531         (__catan): Ensure underflow exception occurs for underflowed
14532         result.
14533         * math/s_catanf.c: Include <float.h>.
14534         (__catanf): Ensure underflow exception occurs for underflowed
14535         result.
14536         * math/s_catanh.c: Include <float.h>.
14537         (__catanh): Ensure underflow exception occurs for underflowed
14538         result.
14539         * math/s_catanhf.c: Include <float.h>.
14540         (__catanhf): Ensure underflow exception occurs for underflowed
14541         result.
14542         * math/s_catanhl.c: Include <float.h>.
14543         (__catanhl): Ensure underflow exception occurs for underflowed
14544         result.
14545         * math/s_catanl.c: Include <float.h>.
14546         (__catanl): Ensure underflow exception occurs for underflowed
14547         result.
14548         * math/libm-test.inc (catan_test): Add more tests.
14549         (catanh_test): Likewise.
14551         [BZ #15405]
14552         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14553         underflowed result.
14554         * math/s_ccoshf.c (__ccoshf): Likewise.
14555         * math/s_ccoshl.c (__ccoshl): Likewise.
14556         * math/s_csin.c (__csin): Likewise.
14557         * math/s_csinf.c (__csinf): Likewise.
14558         * math/s_csinh.c (__csinh): Likewise.
14559         * math/s_csinhf.c (__csinhf): Likewise.
14560         * math/s_csinhl.c (__csinhl): Likewise.
14561         * math/s_csinl.c (__csinl): Likewise.
14562         * math/libm-test.inc (ccos_test): Add more tests.
14563         (ccosh_test): Likewise.
14564         (csin_test): Likewise.
14565         (csinh_test): Likewise.
14567 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14569         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14570         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14571         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14572         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14573         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14574         powerpc/power5+/fpu folders.
14575         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14578 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14582 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
14584         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14585         additions to variable.
14586         [$(config-machine) = x86_64] (modules-names): Likewise.
14587         ($(objpfx)tst-audit3): Remove dependency.
14588         ($(objpfx)tst-audit3.out): Likewise.
14589         ($(objpfx)tst-audit4): Likewise.
14590         ($(objpfx)tst-audit4.out): Likewise.
14591         ($(objpfx)tst-audit5): Likewise.
14592         ($(objpfx)tst-audit5.out): Likewise.
14593         ($(objpfx)tst-audit6): Likewise.
14594         ($(objpfx)tst-audit6.out): Likewise.
14595         ($(objpfx)tst-audit7): Likewise.
14596         ($(objpfx)tst-audit7.out): Likewise.
14597         (tst-audit3-ENV): Remove variable.
14598         (tst-audit4-ENV): Likewise.
14599         (tst-audit5-ENV): Likewise.
14600         (tst-audit6-ENV): Likewise.
14601         (tst-audit7-ENV): Likewise.
14602         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14603         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14604         addition to variable.
14605         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14606         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14607         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14608         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14609         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14610         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14611         tst-audit3, tst-audit4 and tst-audit5.
14612         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14613         tst-audit6 and tst-audit7.
14614         [$(subdir) = elf] (modules-names): Add audit modules for those
14615         tests.
14616         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14617         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14618         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14619         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14620         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14621         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14622         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14623         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14624         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14625         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14626         [$(subdir) = elf] (tst-audit3-ENV): New variable.
14627         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14628         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14629         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14630         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14631         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14632         Likewise.
14633         [$(subdir) = elf && $(config-cflags-avx) = yes]
14634         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14635         [$(subdir) = elf && $(config-cflags-avx) = yes]
14636         (CFLAGS-tst-auditmod4a.c): Likewise.
14637         [$(subdir) = elf && $(config-cflags-avx) = yes]
14638         (CFLAGS-tst-auditmod4b.c): Likewise.
14639         [$(subdir) = elf && $(config-cflags-avx) = yes]
14640         (CFLAGS-tst-auditmod6b.c): Likewise.
14641         [$(subdir) = elf && $(config-cflags-avx) = yes]
14642         (CFLAGS-tst-auditmod6c.c): Likewise.
14643         [$(subdir) = elf && $(config-cflags-avx) = yes]
14644         (CFLAGS-tst-auditmod7b.c): Likewise.
14645         * elf/tst-audit3.c: Move to ...
14646         * sysdeps/x86_64/tst-audit3.c: ... here.
14647         * elf/tst-audit4.c: Move to ...
14648         * sysdeps/x86_64/tst-audit4.c: ... here.
14649         * elf/tst-audit5.c: Move to ...
14650         * sysdeps/x86_64/tst-audit5.c: ... here.
14651         * elf/tst-audit6.c: Move to ...
14652         * sysdeps/x86_64/tst-audit6.c: ... here.
14653         * elf/tst-audit7.c: Move to ...
14654         * sysdeps/x86_64/tst-audit7.c: ... here.
14655         * elf/tst-auditmod3a.c: Move to ...
14656         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14657         * elf/tst-auditmod3b.c: Move to ...
14658         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14659         * elf/tst-auditmod4a.c: Move to ...
14660         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14661         * elf/tst-auditmod4b.c: Move to ...
14662         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14663         * elf/tst-auditmod5a.c: Move to ...
14664         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14665         * elf/tst-auditmod5b.c: Move to ...
14666         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14667         * elf/tst-auditmod6a.c: Move to ...
14668         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14669         * elf/tst-auditmod6b.c: Move to ...
14670         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14671         * elf/tst-auditmod6c.c: Move to ...
14672         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14673         * elf/tst-auditmod7a.c: Move to ...
14674         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14675         * elf/tst-auditmod7b.c: Move to ...
14676         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14678 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14680         [BZ #15366]
14681         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14682         define unconditionally.
14683         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14684         define unconditionally.
14685         (INT8_C, INT16_C, etc.): Likewise.
14687 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14689         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14690         __ehdr_start with hidden visibility.
14692         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14694 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14696         * math/libm-test.inc (cos_test): Use accurate hex constants.
14697         (sincost_test): Likewise.
14699 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14701         * math/libm-test.inc (catan_test): Add more tests.
14702         (catanh_test): Likewise.
14704         * math/s_catanf.c (__catanf): Use suffixed floating-point
14705         constants.
14706         * math/s_catanhf.c (__catanhf): Likewise.
14707         * math/s_catanhl.c (__catanhl): Likewise.
14708         * math/s_catanl.c (__catanl): Likewise.
14710         [BZ #15394]
14711         * math/s_catan.c (__catan): Calculate imaginary part of result
14712         with log1p not log unless computing log of number close to 0.
14713         * math/s_catanf.c (__catanf): Likewise.
14714         * math/s_catanl.c (__catanl): Likewise.
14715         * math/s_catanh.c (__catanh): Calculate real part of result with
14716         log1p not log unless computing log of number close to 0.
14717         * math/s_catanhf.c (__catanhf): Likewise.
14718         * math/s_catanhl.c (__catanhl): Likewise.
14719         * math/libm-test.inc (catan_test): Add more tests.
14720         (catanh_test): Likewise.
14721         * sysdeps/i386/fpu/libm-test-ulps: Update.
14722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14726         * benchtests/Makefile: Mention files in which fast and slow
14727         paths of math functions are implemented.
14729 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14731         * sysdeps/posix/timespec_get.c: New file.
14733 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14735         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14736         POWER.
14737         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14738         for POWER.
14739         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14740         powerpc/power5/fpu folders.
14741         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14742         * benchtests/Makefile: Add modf testcase.
14743         * benchtests/bench-modf.c: New file: Benchmark test for mo
14745 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14747         [BZ #14888]
14748         * time/Makefile (tests): Add tst-strptime-whitespace.
14749         * time/strptime_l.c (get_number): Use ISSPACE.
14750         (__strptime_internal): Likewise.
14751         * time/tst-strptime-whitespace.c: New test case.
14753 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14755         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14756         member.
14757         (_nss_files_init): Set it here.
14759 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14761         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14762         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14763         unsigned.
14765 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14767         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14769 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14772         size just once.
14774 2013-04-21  David S. Miller  <davem@davemloft.net>
14776         * po/ru.po: Update Russion translation from translation project.
14778 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14780         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14781         and setfsgid.
14783 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14785         * configure.in: Remove i386 configure warning. Remove i386 case.
14786         * configure: Regenerate.
14787         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14788         Add example to error message.
14789         * sysdeps/i386/configure: Regenerate.
14791 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14793         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14794         slowtan.
14795         * benchtests/cos-inputs: New file.
14796         * benchtests/slowcos-inputs: New file.
14797         * benchtests/slowcos.c: New file.
14798         * benchtests/slowtan-inputs: New file.
14799         * benchtests/slowtan.c: New file.
14800         * benchtests/tan-inputs: New file.
14802 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14804         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14805         considered kosher.
14807 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14809         * benchtests/Makefile: Include cppflags-iterator.mk to add
14810         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14812         * Makefile.in (bench-clean): New target.
14813         * benchtests/Makefile (bench-clean): Likewise.
14815 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14817         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14819 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14821         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14823 2013-04-15  Andreas Schwab  <schwab@suse.de>
14825         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14827         * nscd/pwdcache.c (cache_addpw): Likewise.
14828         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14829         more than recsize.
14831 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14833         * benchtests/Makefile (bench): Write all output to
14834         bench-out.tmp together.
14836 2013-04-15  Andreas Schwab  <schwab@suse.de>
14838         * nscd/nscd.c (main): Don't fork again after closing files.
14840 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14842         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14844         * benchtests/Rules (bench-deps): Collect dependencies into a
14845         single variable.  Add Makefile to dependencies.
14846         ($(objpfx)bench-%.c): Depend on bench-deps.
14848 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14849             Xavier Roche  <roche+kml2@exalead.com>
14851         [BZ #15361]
14852         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14853         just that it's a file descriptor.
14854         * manual/llio.texi (Synchronizing AIO Operations): Update description
14855         for EBADF error from aio_fsync.
14857 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14859         * Rules (bench): Move target definition...
14860         * benchtests/Makefile: ... here.
14862 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14864         * math/libm-test.inc (cos_test): Fix PI/2 test.
14865         (sincos_test): Likewise.
14866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14867         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14869 2013-04-11  Andreas Schwab  <schwab@suse.de>
14871         [BZ #13988]
14872         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14873         accept exponent character only when digits were seen.
14874         * stdio-common/Makefile (tests): Add bug26.
14875         * stdio-common/bug26.c: New file.
14877         [BZ #14293]
14878         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14879         non-freeable.
14881 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14883         * Makeconfig (rtld-prefix): Define built linker prefix.
14884         * Rules (run-bench): Use it.
14885         * math/Makefile (run-regen-ulps): Likewise.
14887         * Rules (bench): Remove eval.
14889 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14890             Roland McGrath  <roland@hack.frob.com>
14891             Ondrej Bilka  <neleai@seznam.cz>
14893         [BZ #15346]
14894         * time/getdate.c: Include ctype.h and alloca.h.
14895         (__getdate_r): Trim leading and trailing spaces of input.
14896         * time/tst-getdate.c (tests): Add tests with leading and
14897         trailing spaces.
14899 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14901         [BZ #14280]
14902         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14903         when computing value.
14905 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14907         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14908         Use testrun.sh to run libm tests.
14910         [BZ #15309]
14911         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14913 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14915         [BZ #15264]
14916         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14918 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14920         * Makefile.in (regen-ulps): New target.
14921         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14922         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14923         [ifneq (no,$(PERL)] (regen-ulps): New target.
14924         [ifeq (no,$(PERL)] (regen-ulps): New target.
14925         * math/libm-test.inc (ulps_file_name): Define.
14926         (output_dir): New variable.
14927         (options): Add "output-dir" option.
14928         (parse_opt): Handle 'o' case.
14929         (main): If output_dir is non-NULL use it as a prefix
14930         otherwise use "".
14931         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14933 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14935         [BZ #10060, #10062]
14936         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14937         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14938         fail configure if __sync_val_compare_and_swap is not inlined.
14939         * sysdeps/i386/configure: Regenerate.
14940         * configure.in: Build for i686 when configured for i386.
14941         * configure: Regenerate.
14942         * README: Remove i386 reference.
14944 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14946         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14947         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14949 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14951         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14952         (lmsnanval): New variables.
14953         (F): Add conversion tests.
14954         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14955         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14957         * stdio-common/tstdiomisc.c (F): Properly collect individual
14958         tests' results.
14960         [BZ #14686, #15336]
14961         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14962         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14963         Instead, use input NaN values or generate a qNaN by arithmetic
14964         operation.  Also fix bugs to comply with the standard.
14965         * math/libm-test.inc (remainder_test): Add more tests.
14967         [BZ #15335, #15342]
14968         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14969         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14970         input NaN values or generate a qNaN by arithmetic operation.
14972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14973         unreachable code.
14975         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14976         definitions.
14978 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14980         [BZ #14478]
14981         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14982         underflowed result.
14983         * math/s_cexpf.c (__cexpf): Likewise.
14984         * math/s_cexpl.c (__cexpl): Likewise.
14985         * math/libm-test.inc (cexp_test): Add more tests.
14987 2013-04-03  Andreas Schwab  <schwab@suse.de>
14989         [BZ #15330]
14990         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14991         order arrays from heap if bigger than alloca cutoff.
14993 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14995         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14996         (SNAN_TESTS_double): Refer to GCC PR56831.
14997         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14998         GCC PR56828.
15000 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15002         * Rules (bench): Move bench.out after the run is complete.
15004         * Rules (bench): Echo currently running benchmark.
15006         * benchtests/Makefile (bench): Add atan and slowatan.
15007         * benchtests/atan-inputs: New file.
15008         * benchtests/slowatan-inputs: New file.
15009         * benchtests/slowatan.c: New file.
15011         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15012         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15013         its value.
15015         [BZ #15305]
15016         * sysdeps/unix/sysv/linux/kernel-features.h
15017         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15018         __ASSUME_XFS_RESTRICTED_CHOWN.
15019         * sysdeps/unix/sysv/linux/pathconf.c
15020         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15021         Save and restore errno.
15023 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15025         [BZ #15327]
15026         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15027         arguments using __kernel_casinh.
15028         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15029         arguments using __kernel_casinhf.
15030         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15031         arguments using __kernel_casinhl.
15032         * math/libm-test.inc (cacosh_test): Add more tests.
15033         * sysdeps/i386/fpu/libm-test-ulps: Update.
15034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15036 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15038         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15041         * bench/Makefile (bench): Add sin and slowsin.
15042         * benchtests/sin-inputs: New file.
15043         * benchtests/slowsin-inputs: New file.
15044         * benchtests/slowsin.c: New file.
15046         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15047         (bench): Add slowexp and slowpow.
15048         (exp-ITER): Increase iterations.
15049         (pow-ITER): Likewise.
15050         * benchtests/exp-inputs: Change input.
15051         * benchtests/pow-inputs: Likewise.
15052         * benchtests/slowexp-inputs: New file.
15053         * benchtests/slowexp.c: New file.
15054         * benchtests/slowpow-inputs: New file.
15055         * benchtests/slowpow.c: New file.
15057 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15059         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15060         instructions.
15061         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15062         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15063         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15064         * benchtests/Makefile: Add rint benchtest.
15065         * benchtests/rint-inputs: Input for rint benchtest.
15067 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15069         * Versions.def (libm): Add GLIBC_2.18.
15070         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15071         hidden libm prototypes.
15072         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15073         * math/Makefile (libm-calls): Add s_issignaling.
15074         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15075         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15076         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15077         declaration.
15078         * math/math.h [__USE_GNU] (issignaling): New macro.
15079         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15080         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15081         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15082         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15083         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15084         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15085         * manual/arith.texi (issignaling): New section.
15086         * manual/libm-err-tab.pl (@all_functions): Update comment.
15087         * math/gen-libm-test.pl (parse_args): Apply special handling for
15088         issignaling.
15089         * math/libm-test.inc (print_float, issignaling_test): New
15090         functions.
15091         (check_float_internal): Add issignaling checks.
15092         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15093         default definition.
15094         * sysdeps/powerpc/math-tests.h: New file.
15095         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15096         tests.
15097         * math/test-snan.c (TEST_FUNC): Likewise.
15099 2013-03-30  David S. Miller  <davem@davemloft.net>
15101         * po/de.po: Update from translation team.
15103 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15105         [BZ #10357]
15106         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15107         imaginary part less than 1.0 and real part less than 0.5
15108         specially.
15109         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15110         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15111         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15112         (cacos_test): Add more tests.
15113         (casin_test): Likewise.
15114         (casinh_test): Likewise.
15115         * sysdeps/i386/fpu/libm-test-ulps: Update.
15116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15118 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15120         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15121         ONE with its value.
15123         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15124         (__pow_mp): Replace ONE and MONE with their values.
15125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15127         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15128         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15129         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15130         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15132         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15134         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15135         (__pow_mp): Replace ZERO and MZERO with their values.
15136         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15137         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15138         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15140         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15141         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15142         (__sqr): Likewise.
15144         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15146         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15148 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15150         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15151         Declare with __attribute__ ((weak)).
15152         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15153         Call __call_tls_dtors only if it's not NULL.
15155 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15157         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15158         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15159         magic __ehdr_start linker symbol if it's defined.
15160         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15161         them up here if it was already done.
15163         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15164         (_dl_aux_init): Use const in cast when setting it.
15165         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15166         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15167         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15169         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15170         Declare them here.
15171         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15172         * csu/libc-tls.c: Nor here.
15173         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15175         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15176         (__libc_message): Never call vsyslog.
15178 2013-03-28  Alan Modra  <amodra@gmail.com>
15180         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15181         Define as empty.
15182         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15183         Likewise.
15185 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15187         [BZ #15214]
15188         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15189         underflow.
15190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15192 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15194         [BZ #15304]
15195         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15196         Don't add gid passed as argument.
15198         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15200 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15202         [BZ #15307]
15203         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15204         imaginary part between 1.0 and 1.5 and real part less than 0.5
15205         specially.
15206         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15207         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15208         * math/libm-test.inc (cacos_test): Add more tests.
15209         (casin_test): Likewise.
15210         (casinh_test): Likewise.
15211         * sysdeps/i386/fpu/libm-test-ulps: Update.
15212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15214 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15216         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15217         constants.
15218         (norm): Likewise.
15219         (denorm): Likewise.
15220         (__dbl_mp): Likewise.
15221         (add_magnitudes): Likewise.
15222         (sub_magnitudes): Likewise.
15223         (__add): Likewise.
15224         (__sub): Likewise.
15225         (__mul): Likewise.
15226         (__sqr): Likewise.
15227         (__inv): Likewise.
15228         (__dvd): Likewise.
15230         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15231         commented code.
15232         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15233         (__dubcos): Likewise.
15234         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15235         (__ieee754_acos): Likewise.
15236         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15237         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15238         (__exp1): Likewise.
15239         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15240         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15241         (log1): Likewise.
15242         (my_log2): Likewise.
15243         (checkint): Likewise.
15244         * sysdeps/ieee754/dbl-64/e_remainder.c
15245         (__ieee754_remainder): Likewise.
15246         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15247         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15248         (bsloww): Likewise.
15249         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15251         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15252         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15253         MANTISSA_STORE_T to store computations on mantissa.  Use
15254         macros for rounding and division.
15255         (denorm): Likewise.
15256         (__dbl_mp): Likewise.
15257         (add_magnitudes): Likewise.
15258         (sub_magnitudes): Likewise.
15259         (__mul): Likewise.
15260         (__sqr): Likewise.
15261         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15262         powers of two in terms of TWOPOW macro.
15263         (mp_no): Make type of mantissa as MANTISSA_T.
15264         [!RADIXI]: Define RADIXI.
15265         [!TWO52]: Define TWO52.
15266         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15268 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15270         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15271         llroundl symbol when building for PPC32.
15273 2013-03-24  Mark H Weaver  <mhw@netris.org>
15275         * manual/arith.texi (Normalization Functions): Fix prototypes for
15276         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15278 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15280         [BZ #13889]
15281         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15282         high value to check if expl overflow.
15283         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15284         to check for underflow and overflow.
15285         * math/libm-test.inc: Add exp test.
15287 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15289         [BZ #11120]
15290         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15291         with NOT_IN_libc.
15293 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15295         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15296         symbol.
15298 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15300         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15301         wrap blocks consisting of several statements.
15303         * sysdeps/generic/math-tests.h: New file.
15304         * sysdeps/i386/fpu/math-tests.h: Likewise.
15305         * math/test-snan.c: Include it.
15306         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15308 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15310         [BZ #15285]
15311         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15312         (__ieee754_j0l): Do not improve calculations using cos of twice
15313         input for inputs above LDBL_MAX / 2.0L.
15314         (__ieee754_y0l): Likewise.
15315         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15316         (__ieee754_j1l): Do not improve calculations using cos of twice
15317         input for inputs above LDBL_MAX / 2.0L.
15318         (__ieee754_y1l): Likewise.
15319         * math/libm-test.inc (j0_test): Add another test.
15320         (j1_test): Likewise.
15321         (y0_test): Likewise.
15322         (y1_test): Likewise.
15323         * sysdeps/i386/fpu/libm-test-ulps: Update.
15325 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15327         * Rules ($(objpfx)bench-%.c): Include code from a C source
15328         file.
15330 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15332         [BZ #15287]
15333         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15334         imaginary part 1.0 and real part less than 0.5 specially.
15335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15337         * math/libm-test.inc (cacos_test): Add more tests.
15338         (casin_test): Likewise.
15339         (casinh_test): Likewise.
15340         * sysdeps/i386/fpu/libm-test-ulps: Update.
15341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15343 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15345         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15346         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15348 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15350         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15351         * config.make.in (config-cflags-sse4): Remove variable.
15352         (config-cflags-avx): Likewise.
15353         (config-cflags-sse2avx): Likewise.
15354         (config-cflags-novzeroupper): Likewise.
15355         (config-asflags-i686): Likewise.
15356         (have-mfma4): Likewise.
15357         (have-as-vis3): Likewise.
15358         (MIG): Likewise.
15359         * configure.in (MIG): Do not AC_SUBST.
15360         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15361         (libc_cv_cc_sse4): Do not AC_SUBST.
15362         (libc_cv_cc_avx): Likewise.
15363         (libc_cv_cc_sse2avx): Likewise.
15364         (libc_cv_cc_novzeroupper): Likewise.
15365         (libc_cv_cc_fma4): Likewise.
15366         (libc_cv_as_i686): Likewise.
15367         (libc_cv_sparc_as_vis3): Likewise.
15368         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15369         LIBC_CONFIG_VAR.
15370         (config-asflags-i686): Likewise.
15371         (config-cflags-avx): Likewise.
15372         (config-cflags-sse2avx): Likewise.
15373         (have-mfma4): Likewise.
15374         (config-cflags-novzeroupper): Likewise.
15375         * sysdeps/mach/configure.in (MIG): Likewise.
15376         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15377         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15378         LIBC_CONFIG_VAR.
15379         (config-cflags-avx): Likewise.
15380         (config-cflags-sse2avx): Likewise.
15381         (have-mfma4): Likewise.
15382         (config-cflags-novzeroupper): Likewise.
15383         * configure: Regenerated.
15384         * sysdeps/i386/configure: Likewise.
15385         * sysdeps/mach/configure: Likewise.
15386         * sysdeps/sparc/configure: Likewise.
15387         * sysdeps/x86_64/configure: Likewise.
15389 2013-03-20  Roland McGrath  <roland@hack.frob.com>
15391         [BZ #14812]
15392         * locale/programs/localedef.c (options): Put N_ translation marker
15393         on argument names, not just descriptions.
15395 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15397         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15399 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15401         [BZ #14176]
15402         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15404 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15406         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15407         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15408         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15409         [!BEFORE_ABORT] (before_abort): New function.
15410         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15411         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15412         (writev_for_fatal): New function.
15413         (WRITEV_FOR_FATAL): New macro; call that.
15414         (backtrace_and_maps): New function.
15415         (BEFORE_ABORT): New macro; call that.
15416         (struct str_list): Type removed.
15417         (__libc_message, __libc_fatal): Functions removed.
15418         Include <sysdeps/posix/libc_fatal.c> instead.
15420 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15422         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15423         constants.
15424         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15425         double constants.
15427 2013-03-19  Andreas Schwab  <schwab@suse.de>
15429         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15430         * sysdeps/gnu/configure: Regenerate.
15432         * configure.in: Substitute libc_cv_rtlddir.
15433         * configure: Regenerate.
15434         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15435         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15436         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15437         * elf/Makefile (install-others, CFLAGS-interp.c)
15438         (ldso_install, common-ldd-rewrite): Likewise.
15439         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15440         $(inst_slibdir)/$(rtld-installed-name).
15441         * scripts/rellns-sh: Add -p option.
15442         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15443         for source.
15445 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15447         * manual/nptl.texi: Renamed to ...
15448         * manual/threads.texi: ... this.
15449         * manual/Makefile (chapters): Update.
15451 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15453         [BZ #14812]
15454         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15455         on argument names, not just descriptions.
15456         * malloc/memusagestat.c (options): Likewise.
15457         * nss/getent.c (options): Likewise.
15459 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
15461         [BZ #14812]
15462         * iconv/iconv_prog.c (options): Put N_ translation marker
15463         on argument names, not just descriptions.
15464         * iconv/iconvconfig.c (options): Likewise.
15466 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
15468         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15469         implementation which is faster on all x86_64 architectures.
15470         Tested on AMD, Intel Nehalem, SNB, IVB.
15471         * sysdeps/x86_64/strnlen.S: Likewise.
15473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15474         Remove all multiarch strlen and strnlen versions.
15475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15476         Remove strlen and strnlen related parts.
15478         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15479         Inline strlen part.
15480         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15482         * sysdeps/x86_64/multiarch/strlen.S: Remove.
15483         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15484         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15485         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15486         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15487         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15489 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
15491         * manual/memory.texi (Malloc Tunable Parameters):
15492         Sort parameters alphabetically. Add comments for missing entries.
15494 2013-03-17  David S. Miller  <davem@davemloft.net>
15496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15498 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
15500         [BZ #15283]
15501         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15502         for arguments at most half maximum finite value.
15503         * math/libm-test.inc (j0_test): Add more tests.
15504         (j1_test): Likewise.
15505         (y0_test): Likewise.
15506         (y1_test): Likewise.
15507         * sysdeps/i386/fpu/libm-test-ulps: Update.
15508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15510         [BZ #14155]
15511         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15512         1 / x and functions P and Q for arguments above 0x1p256L.
15513         (__ieee754_y0l): Likewise.
15514         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15515         (__ieee754_y1l): Likewise.
15516         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15517         (j1_test): Likewise.
15518         (y0_test): Likewise.
15519         (y1_test): Likewise.
15521 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
15523         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15524         variable.
15526 2013-03-15  Roland McGrath  <roland@hack.frob.com>
15528         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15529         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15530         zero since it's initialized to EXEC_PAGESIZE.
15532         * sysdeps/unix/sysv/linux/ldsodefs.h
15533         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15534         * sysdeps/generic/ldsodefs.h: ... here.
15536 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
15538         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15540         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15541         math/test-snan.c.
15542         * math/test-snan.c: Renamed from
15543         sysdeps/powerpc/fpu/test-powerpc-snan.c.
15544         * math/Makefile (tests): Add test-snan.
15545         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15546         test-powerpc-snan.
15548         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15549         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
15550         functions.
15551         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
15552         __builtin_nan family of functions.
15553         * math/libm-test.inc (initialize): Initialize qnan_value with
15554         __builtin_nan family of functions.
15555         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15556         Remove variables.
15557         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15558         Remove functions.
15559         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
15560         storage class.  Initialize qNaN_var and sNaN_var with
15561         __builtin_nan and __builtin_nans families of functions,
15562         respectively.
15564         * math/libm-test.inc (acosh_test): Also test with qNaN input.
15565         (sqrt_test): Remove duplicate test with qNaN input.
15566         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15567         (round_test, signbit_test, significand_test): Note missing +/-Inf
15568         as well as qNaN tests.
15570         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15571         qNaN_var.  Fix a few strings, too.
15572         * math/libm-test.inc (nan_value): Rename to qnan_value.
15573         * math/gen-libm-test.pl (%beautify): Adjust to that.
15574         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15575         * math/test-misc.c (main): Likewise.
15576         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15577         to __qnan_bytes, and __qnan_union, respectively.
15578         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15579         Likewise.
15580         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15581         and lqnanval, respectively.
15582         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15583         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15584         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15585         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15587         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15588         * math/test-misc.c (main) [__x86_64__]: Enable test for long
15589         doubles.
15591         * math/test-misc.c (main): Fix copy'n'pastos.
15592         * misc/tst-efgcvt.c (special): Likewise.
15594         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15595         Remove declarations.
15597 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15599         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15600         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15601         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15602         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15604 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15607         macro to return vdso values correctly in IFUNC implementations.
15608         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15609         Optimization by using IFUNC.
15611 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15612             Richard Henderson  <rth@redhat.com>
15613             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15615         * Makefile.in (bench): New target.
15616         * NEWS: Mention the benchmark framework.
15617         * Rules (bench): Likewise.
15618         (binaries-bench): Generate binaries for functions to
15619         benchmark.
15620         * benchtests/Makefile: New makefile for benchmark tests.
15621         * benchtests/bench-skeleton.c: New skeleton file for benchmark
15622         programs.
15623         * benchtests/exp-inputs: New input file for EXP function.
15624         * benchtests/pow-inputs: New input file for POW function.
15625         * scripts/bench.pl: New script to generate source files for
15626         benchmark programs.
15628 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15630         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15631         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15632         computations on mantissa.  Use macros for rounding and
15633         division.
15634         (denorm): Likewise.
15635         (__dbl_mp): Likewise.
15636         (add_magnitudes): Likewise.
15637         (sub_magnitudes): Likewise.
15638         (__mul): Likewise.
15639         (__sqr): Likewise.
15640         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15641         powers of two in terms of TWOPOW macro.
15642         (mp_no): Make type of mantissa as MANTISSA_T.
15643         [!RADIXI]: Define RADIXI.
15644         [!TWO52]: Define TWO52.
15645         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15647         * manual/nptl.texi (cindex): Modify threads to pthreads.
15649 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15651         * sysdeps/x86_64/preconfigure: Regenerated.
15653 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15655         [BZ #14155]
15656         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15657         0x1p28 and above.
15658         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15659         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15660         0x1p28 and above.
15661         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15662         * math/libm-test.inc (j0_test): Do not allow one spurious
15663         underflow exception.
15664         (y1_test): Likewise.
15666 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15668         * manual/Makefile (chapters): Add nptl.
15669         * manual/debug.texi (Debugging Support): Add link to Threads
15670         chapter.
15671         * manual/nptl.texi: New file.
15673         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15675 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15677         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15678         for non-NULL pointer before the memory validity test. Pointed
15679         out by Holger Brunck <holger.brunck@keymile.com>.
15681 2013-03-13  Andreas Schwab  <schwab@suse.de>
15683         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15684         instead of .os.
15686 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15688         * timezone/zic.c: Update from tzcode 2013b.
15690 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15692         * manual/install.texi (Configuring and compiling):
15693         Mention i686 and i586.
15694         * INSTALL: Regenerate.
15696 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15698         * sysdeps/init_array/elf-init.c: New file.
15699         * csu/elf-init.c
15700         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15701         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15703         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15704         __gmon_start__ as global, but as static with a .preinit_array pointer.
15705         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15706         * sysdeps/init_array/crti.S: New file, empty except for comments.
15707         * sysdeps/init_array/crtn.S: Likewise.
15709 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15711         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15712         definining bcopy.
15713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15714         Remove Prefer_SSE_for_memop.
15715         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15716         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15717         HAS_PREFER_SSE_FOR_MEMOP.
15718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15719         memset-x86-64.
15720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15721         Remove bzero, memset ifunc support.
15722         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15723         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15727 2013-03-11  Andreas Schwab  <schwab@suse.de>
15729         [BZ #15234]
15730         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15731         by SHLIB_COMPAT.
15732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15733         (GLIBC_2.16): Remove pthread_atfork.
15735 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15737         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15738         (ptestcases.h): Likewise.
15740 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15742         * Makeconfig ($(common-objpfx)config.status): Depend on
15743         sysdeps/*/preconfigure{,.in} too.
15745 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15747         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15748         (__free_hook): Use void * instead of __malloc_ptr_t.
15749         (__malloc_hook): Likewise.
15750         (__realloc_hook): Likewise.
15751         (__memalign_hook): Likewise.
15752         (__after_morecore_hook): Likewise.
15753         * malloc/arena.c (save_malloc_hook): Likewise.
15754         (save_free_hook): Likewise.
15755         * malloc/hooks.c (malloc_hook_ini): Likewise.
15756         (realloc_hook_ini): Likewise.
15757         (memalign_hook_ini): Likewise.
15758         * malloc/malloc.c (malloc_hook_ini): Likewise.
15759         (realloc_hook_ini): Likewise.
15760         (memalign_hook_ini): Likewise.
15761         (__free_hook): Likewise.
15762         (__malloc_hook): Likewise.
15763         (__realloc_hook): Likewise.
15764         (__memalign_hook): Likewise.
15765         (__libc_malloc): Likewise.
15766         (__libc_free): Likewise.
15767         (__libc_realloc): Likewise.
15768         (__libc_memalign): Likewise.
15769         (__libc_valloc): Likewise.
15770         (__libc_pvalloc): Likewise.
15771         (__libc_calloc): Likewise.
15772         (__posix_memalign): Likewise.
15773         * malloc/morecore.c (__sbrk): Likewise.
15774         (__default_morecore): Likewise.
15776         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15778         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15779         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15780         __malloc_ptrdiff_t.
15782         * malloc/malloc.h (__malloc_size_t): Remove macro.
15783         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15784         __malloc_size_t.
15785         (old_memalign_hook): Likewise.
15786         (old_realloc_hook): Likewise.
15787         (struct hdr): Likewise.
15788         (flood): Likewise.
15789         (mallochook): Likewise.
15790         (memalignhook): Likewise.
15791         (reallochook): Likewise.
15792         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15793         (tr_old_realloc_hook): Likewise.
15794         (tr_old_memalign_hook): Likewise.
15795         (tr_mallochook): Likewise.
15796         (tr_reallochook): Likewise.
15797         (tr_memalignhook): Likewise.
15799 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15801         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15802         default_ldbl_pack and using as default implementation.
15803         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15804         implementation.
15805         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15806         redundant definition.
15807         (ldbl_insert_mantissa): Likewise.
15808         (ldbl_canonicalize): Likewise.
15809         (ldbl_nearbyint): Likewise.
15810         (ldbl_pack): Rename to ldbl_pack_ppc.
15811         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15812         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15813         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15815 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15818         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15819         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15820         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15822         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15823         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15824         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15826 2013-03-07  Andreas Jaeger  <aj@suse.de>
15828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15829         bits/mman-linux.h.
15831 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15833         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15834         Include mpa.h and declare __MPEXP.
15835         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15836         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15837         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15838         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15839         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15840         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15841         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15843         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15844         (__slowpow): Use long double EXPL and LOGL functions to
15845         compute POW.
15846         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15847         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15848         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15849         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15850         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15851         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15854         intermediate variable to calculate exponent.
15855         (__sqr): Likewise.
15856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15857         Likewise.
15858         (__sqr): Likewise.
15860         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15861         [!NO__SQR]: Define __sqr.
15862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15863         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15864         sysdeps/ieee754/dbl-64/mpa.c.
15865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15867         [BZ #12723]
15868         * posix/Makefile (tests): Add tst-pathconf.
15869         * posix/tst-pathconf.c: New test case.
15870         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15871         _PC_PIPE_BUF.
15872         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15874 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15876         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15878 2013-03-06  Andreas Jaeger  <aj@suse.de>
15880         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15881         definition via __MAP_ANONYMOUS.
15883         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15884         it's not part of Linux headers.
15886         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15887         (MAP_HUGE_MASK): Define.
15889         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15890         Define.
15891         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15893         Define.
15894         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15895         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15896         Define.
15897         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15898         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15899         Define.
15900         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15902         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15903         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15904         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15905         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15906         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15907         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15909         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15910         Handle f2fs.
15912         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15913         Handle f2fs and efivarfs.
15915         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15916         f2fs.
15918         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15919         (EFIVARFS_MAGIC): Add.
15920         (F2FS_LINK_MAX): Add.
15922 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15924         * stdio-common/vfprintf.c: Replace __builtin_expect with
15925         __glibc_unlikely.
15927 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15929         [BZ #13550]
15930         * sysdeps/generic/bp-sym.h: Remove file.
15931         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15932         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15933         <bp-sym.h> and <bp-asm.h>.
15934         (__longjmp): Don't use BP_SYM.
15935         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15936         and <bp-asm.h>.
15937         (memcpy): Don't use BP_SYM.
15938         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15939         <bp-sym.h> and <bp-asm.h>.
15940         (memcpy): Don't use BP_SYM.
15941         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15942         <bp-asm.h>.
15943         (memcpy): Don't use BP_SYM.
15944         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15945         <bp-asm.h>.
15946         (memset): Don't use BP_SYM.
15947         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15948         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15949         (__bzero): Don't use BP_SYM.
15950         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15951         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15952         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15953         <bp-sym.h> and <bp-asm.h>.
15954         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15955         pointers.
15956         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15957         <bp-sym.h> and <bp-asm.h>.
15958         (memcpy): Don't use BP_SYM.
15959         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15960         <bp-sym.h> and <bp-asm.h>.
15961         (memset): Don't use BP_SYM.
15962         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15963         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15964         (__bzero): Don't use BP_SYM.
15965         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15966         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15967         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15968         <bp-sym.h> and <bp-asm.h>.
15969         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15970         pointers.
15971         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15972         <bp-sym.h> and <bp-asm.h>.
15973         (memcpy): Don't use BP_SYM.
15974         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15975         <bp-sym.h> and <bp-asm.h>.
15976         (memset): Don't use BP_SYM.
15977         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15978         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15979         (__bzero): Don't use BP_SYM.
15980         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15981         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15982         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15983         <bp-sym.h> and <bp-asm.h>.
15984         (__memchr): Don't use BP_SYM.
15985         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15986         <bp-sym.h> and <bp-asm.h>.
15987         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15988         pointers.
15989         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15990         <bp-sym.h> and <bp-asm.h>.
15991         (memcpy): Don't use BP_SYM.
15992         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15993         <bp-sym.h> and <bp-asm.h>.
15994         (__mempcpy): Don't use BP_SYM.
15995         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15996         <bp-sym.h> and <bp-asm.h>.
15997         (__memrchr): Don't use BP_SYM.
15998         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15999         <bp-sym.h> and <bp-asm.h>.
16000         (memset): Don't use BP_SYM.
16001         (__bzero): Likewise.
16002         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16003         <bp-sym.h> and <bp-asm.h>.
16004         (__rawmemchr): Don't use BP_SYM.
16005         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16006         <bp-sym.h> and <bp-asm.h>.
16007         (__STRCMP): Don't use BP_SYM.
16008         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16009         <bp-sym.h> and <bp-asm.h>.
16010         (strchr): Don't use BP_SYM.
16011         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16012         <bp-sym.h> and <bp-asm.h>.
16013         (__strchrnul): Don't use BP_SYM.
16014         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16015         <bp-sym.h> and <bp-asm.h>.
16016         (strlen): Don't use BP_SYM.
16017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16018         <bp-sym.h> and <bp-asm.h>.
16019         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16020         pointers.
16021         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16022         <bp-sym.h> and <bp-asm.h>.
16023         (__strnlen): Don't use BP_SYM.
16024         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16025         <bp-sym.h> and <bp-asm.h>.
16026         (__GI__setjmp): Don't use BP_SYM.
16027         (_setjmp): Likewise.
16028         (__sigsetjmp): Likewise.
16029         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16030         (L(start_addresses)): Don't use BP_SYM.
16031         (_start): Likewise.
16032         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16033         <bp-asm.h>.
16034         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16035         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16036         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16037         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16038         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16039         <bp-asm.h>.
16040         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16041         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16042         about bounded pointers.
16043         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16044         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16045         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16046         <bp-asm.h>.
16047         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16048         about bounded pointers.  Remove GKM FIXME comments.
16049         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16050         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16051         <bp-asm.h>.
16052         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16053         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16054         Remove GKM FIXME comments.
16055         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16056         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16057         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16058         <bp-asm.h>.
16059         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16060         about bounded pointers.  Remove GKM FIXME comment.
16061         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16062         and <bp-asm.h>.
16063         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16064         pointers.
16065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16066         <bp-sym.h> and <bp-asm.h>.
16067         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16069         <bp-sym.h> and <bp-asm.h>.
16070         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16071         comment.
16073 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16075         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16076         call free(NULL).
16078 2013-03-05  David S. Miller  <davem@davemloft.net>
16080         * po/es.po: Update from translation team.
16082 2013-03-05  Andreas Jaeger  <aj@suse.de>
16084         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16085         <bits/mman-linux.h>.
16086         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16087         is fine.
16088         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16089         <bits/mman-linux.h> to end of file.
16090         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16091         is fine.
16092         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16093         <bits/mman-linux.h> to end of file.
16094         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16095         is fine.
16096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16097         <bits/mman-linux.h> to end of file.
16099         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16100         (MCL_CURRENT, MCL_FUTURE): Define here.
16102 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16104         [BZ #15232]
16105         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16106         attribute_hidden.
16107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16109 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16111         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16112         fourth parameter needed for rt_sigprocmask syscall.
16113         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16114         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16115         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16116         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16117         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16118         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16120 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16122         [BZ #13550]
16123         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16124         comment about bounded pointers.
16125         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16126         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16128 2013-03-04  Andreas Jaeger  <aj@suse.de>
16130         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16131         common definitions.
16133         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16134         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16135         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16136         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16137         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16138         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16140 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16142         [BZ #15055]
16143         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16144         __ieee754_sqrl instead of __sqrl.
16146 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16148         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16149         * sysdeps/powerpc/fpu_control.h: ... here.
16150         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16151         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16152         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16153         * sysdeps/powerpc/bits/mathinline.h: ... here.
16155 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16157         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16158         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16159         to just [NEED_DL_SYSINFO_DSO].
16160         * elf/dl-support.c: Likewise.
16161         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16162         * elf/rtld.c (dl_main): Likewise.
16163         * elf/setup-vdso.h (setup_vdso): Likewise.
16164         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16165         * sysdeps/unix/sysv/linux/dl-sysdep.c
16166         (_dl_discover_osversion): Likewise.
16168 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16170         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16171         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16173 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16175         * NEWS: Mention libm performance improvements and non-x86 PI
16176         futex support.
16178         * csu/libc-start.c (__pthread_initialize_minimal): Change
16179         function arguments.
16180         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16182 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16184         [BZ #13550]
16185         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16186         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16187         <bp-sym.h> and <bp-asm.h>.
16188         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16189         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16190         and <bp-asm.h>.
16191         (memcpy): Don't use BP_SYM.
16192         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16193         <bp-asm.h>.
16194         (__mpn_add_n): Don't use BP_SYM.
16195         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16196         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16197         and <bp-asm.h>.
16198         (__mpn_addmul_1): Don't use BP_SYM.
16199         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16200         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16201         <bp-sym.h>.
16202         (_setjmp): Don't use BP_SYM.
16203         (__novmx_setjmp): Likewise.
16204         (__GI__setjmp): Likewise.
16205         (__vmx_setjmp): Likewise.
16206         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16207         <bp-sym.h>.
16208         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16209         (__bzero): Don't use BP_SYM.
16210         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16211         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16212         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16213         <bp-sym.h> and <bp-asm.h>.
16214         (memcpy): Don't use BP_SYM.
16215         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16216         <bp-sym.h> and <bp-asm.h>.
16217         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16218         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16219         <bp-sym.h> and <bp-asm.h>.
16220         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16221         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16222         <bp-asm.h>.
16223         (__mpn_lshift): Don't use BP_SYM.
16224         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16225         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16226         <bp-asm.h>.
16227         (memset): Don't use BP_SYM.
16228         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16229         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16230         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16231         <bp-asm.h>.
16232         (__mpn_mul_1): Don't use BP_SYM.
16233         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16234         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16235         <bp-sym.h> and <bp-asm.h>.
16236         (memcmp): Don't use BP_SYM.
16237         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16238         <bp-sym.h> and <bp-asm.h>.
16239         (memcpy): Don't use BP_SYM.
16240         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16241         <bp-sym.h> and <bp-asm.h>.
16242         (memset): Don't use BP_SYM.
16243         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16244         <bp-sym.h> and <bp-asm.h>.
16245         (strncmp): Don't use BP_SYM.
16246         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16247         <bp-sym.h> and <bp-asm.h>.
16248         (memcpy): Don't use BP_SYM.
16249         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16250         <bp-sym.h> and <bp-asm.h>.
16251         (memset): Don't use BP_SYM.
16252         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16253         <bp-sym.h> and <bp-asm.h>.
16254         (__memchr): Don't use BP_SYM.
16255         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16256         <bp-sym.h> and <bp-asm.h>.
16257         (memcmp): Don't use BP_SYM.
16258         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16259         <bp-sym.h> and <bp-asm.h>.
16260         (memcpy): Don't use BP_SYM.
16261         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16262         <bp-sym.h> and <bp-asm.h>.
16263         (__mempcpy): Don't use BP_SYM.
16264         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16265         <bp-sym.h> and <bp-asm.h>.
16266         (__memrchr): Don't use BP_SYM.
16267         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16268         <bp-sym.h> and <bp-asm.h>.
16269         (memset): Don't use BP_SYM.
16270         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16271         <bp-sym.h> and <bp-asm.h>.
16272         (__rawmemchr): Don't use BP_SYM.
16273         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16274         <bp-sym.h> and <bp-asm.h>.
16275         (__STRCMP): Don't use BP_SYM.
16276         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16277         <bp-sym.h> and <bp-asm.h>.
16278         (strchr): Don't use BP_SYM.
16279         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16280         <bp-sym.h> and <bp-asm.h>.
16281         (__strchrnul): Don't use BP_SYM.
16282         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16283         <bp-sym.h> and <bp-asm.h>.
16284         (strlen): Don't use BP_SYM.
16285         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16286         <bp-sym.h> and <bp-asm.h>.
16287         (strncmp): Don't use BP_SYM.
16288         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16289         <bp-sym.h> and <bp-asm.h>.
16290         (__strnlen): Don't use BP_SYM.
16291         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16292         <bp-asm.h>.
16293         (__mpn_rshift): Don't use BP_SYM.
16294         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16295         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16296         <bp-sym.h> and <bp-asm.h>.
16297         (__sigsetjmp): Don't use BP_SYM.
16298         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16299         (L(start_addresses)): Don't use BP_SYM.
16300         (_start): Likewise.
16301         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16302         <bp-asm.h>.
16303         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16304         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16305         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16306         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16307         <bp-asm.h>.
16308         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16309         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16310         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16311         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16312         <bp-asm.h>.
16313         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16314         comments.
16315         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16316         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16317         <bp-asm.h>.
16318         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16319         FIXME comments.
16320         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16321         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16322         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16323         <bp-asm.h>.
16324         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16325         comment.
16326         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16327         and <bp-asm.h>.
16328         (strncmp): Don't use BP_SYM,
16329         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16330         <bp-asm.h>.
16331         (__mpn_sub_n): Don't use BP_SYM.
16332         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16333         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16334         and <bp-asm.h>.
16335         (__mpn_submul_1): Don't use BP_SYM.
16336         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16338         <bp-sym.h> and <bp-asm.h>.
16339         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16341         <bp-sym.h> and <bp-asm.h>.
16342         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16343         comment.
16345 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16348         Use ZK to minimize writes to Z.
16349         (sub_magnitudes): Simplify code a bit.
16350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16351         Use ZK to minimize writes to Z.
16352         (sub_magnitudes): Simplify code a bit.
16354 2013-02-27  Roland McGrath  <roland@hack.frob.com>
16356         * csu/gmon-start.c: Add special exception to license text.
16358 2013-02-27  Richard Henderson  <rth@redhat.com>
16360         * scripts/config.guess: Update from config.git.
16361         * scripts/config.sub: Likewise.
16363 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16365         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16367         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16369         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16371         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16373         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16375 2013-02-26  Roland McGrath  <roland@hack.frob.com>
16377         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16378         [$(build-shared = yes].
16380 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16382         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16383         (__mul): Reduce iterations for calculating mantissa.
16385         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16386         MPTWO.
16387         (__mpranred): Likewise.
16389         [BZ #15160]
16390         * malloc/memusagestat.c (main): Draw graphs for heap and stack
16391         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16393 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
16395         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16396         Define __attribute__.
16398 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16400         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16401         unused.
16402         * posix/regex_internal.h (__attribute): Remove.
16403         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16404         (re_string_context_at): Likewise.
16405         (bitset_not): Use __attribute__ and mark function as possibly
16406         unused.
16407         (bitset_merge): Likewise.
16408         (bitset_mask): Likewise.
16409         (re_string_char_size_at): Likewise.
16410         (re_string_wchar_at): Likewise.
16411         (re_string_elem_size_at): Likewise.
16413 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16415         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16416         code.
16417         (cc32): Likewise.
16419         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16420         (__acr): Likewise.
16421         (__cpy): Likewise.
16422         (norm): Likewise.
16423         (denorm): Likewise.
16424         (__dbl_mp): Likewise.
16425         (add_magnitudes): Likewise.
16426         (sub_magnitudes): Likewise.
16427         (__mul): Likewise.
16428         (__inv): Likewise.
16430         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16431         style.
16433         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16434         style.
16436         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16437         code.
16439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16440         up changes with default code.
16441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16442         Likewise.
16444 2013-02-24  Allan McRae  <allan@archlinux.org>
16446         * manual/socket.texi (The Internet Namespace): Order menu items
16447         to match that in the file.
16449         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16450         node listing of the info page menu.
16452 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16454         [BZ #13550]
16455         * sysdeps/i386/bp-asm.h: Remove file.
16456         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16457         (PARMS): Do not use macros from bp-asm.h.
16458         (S1): Likewise.
16459         (S2): Likewise.
16460         (SIZE): Likewise.
16461         (__mpn_add_n): Do not use BP_SYM
16462         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16463         "bp-asm.h".
16464         (PARMS): Do not use macros from bp-asm.h.
16465         (S1): Likewise.
16466         (SIZE): Likewise.
16467         (__mpn_addmul_1): Do not use BP_SYM
16468         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16469         "bp-asm.h".
16470         (PARMS): Do not use macros from bp-asm.h.
16471         (SIGMSK): Likewise.
16472         (_setjmp): Likewise.  Do not use BP_SYM.
16473         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16474         "bp-asm.h".
16475         (PARMS): Do not use macros from bp-asm.h.
16476         (SIGMSK): Likewise.
16477         (setjmp): Likewise.  Do not use BP_SYM.
16478         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16479         "bp-asm.h".
16480         (PARMS): Do not use macros from bp-asm.h.
16481         (__frexp): Do not use BP_SYM.
16482         (frexp): Likewise.
16483         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16484         "bp-asm.h".
16485         (PARMS): Do not use macros from bp-asm.h.
16486         (__frexpf): Do not use BP_SYM.
16487         (frexpf): Likewise.
16488         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16489         "bp-asm.h".
16490         (PARMS): Do not use macros from bp-asm.h.
16491         (__frexpl): Do not use BP_SYM.
16492         (frexpl): Likewise.
16493         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16494         "bp-asm.h".
16495         (PARMS): Do not use macros from bp-asm.h.
16496         (__remquo): Do not use BP_SYM.
16497         (remquo): Likewise.
16498         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16499         "bp-asm.h".
16500         (PARMS): Do not use macros from bp-asm.h.
16501         (__remquof): Do not use BP_SYM.
16502         (remquof): Likewise.
16503         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16504         "bp-asm.h".
16505         (PARMS): Do not use macros from bp-asm.h.
16506         (__remquol): Do not use BP_SYM.
16507         (remquol): Likewise.
16508         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16509         "bp-asm.h".
16510         (PARMS): Do not use macros from bp-asm.h.
16511         (DEST): Likewise.
16512         (SRC): Likewise.
16513         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
16514         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16515         "bp-asm.h".
16516         (PARMS): Do not use macros from bp-asm.h.
16517         (strlen): Do not use BP_SYM.
16518         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16519         "bp-asm.h".
16520         (PARMS): Do not use macros from bp-asm.h.
16521         (S1): Likewise.
16522         (S2): Likewise.
16523         (SIZE): Likewise.
16524         (__mpn_add_n): Do not use BP_SYM.
16525         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16526         "bp-asm.h".
16527         (PARMS): Do not use macros from bp-asm.h.
16528         (S1): Likewise.
16529         (SIZE): Likewise.
16530         (__mpn_addmul_1): Do not use BP_SYM.
16531         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16532         weak_alias.
16533         (bzero): Likewise.
16534         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16535         "bp-asm.h".
16536         (PARMS): Do not use macros from bp-asm.h.
16537         (S): Likewise.
16538         (SIZE): Likewise.
16539         (__mpn_lshift): Do not use BP_SYM.
16540         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16541         "bp-asm.h".
16542         (PARMS): Do not use macros from bp-asm.h.
16543         (DEST): Likewise.
16544         (SRC): Likewise.
16545         (LEN): Likewise.
16546         (memcpy): Likewise.  Do not use BP_SYM.
16547         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16548         libc_hidden_def and weak_alias.
16549         (mempcpy): Do not use BP_SYM in weak_alias.
16550         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16551         "bp-asm.h".
16552         (PARMS): Do not use macros from bp-asm.h.
16553         (DEST): Likewise.
16554         (LEN): Likewise.
16555         [!BZERO_P] (CHR): Likewise.
16556         (memset): Likewise.  Do not use BP_SYM.
16557         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16558         "bp-asm.h".
16559         (PARMS): Do not use macros from bp-asm.h.
16560         (S1): Likewise.
16561         (SIZE): Likewise.
16562         (__mpn_mul_1): Do not use BP_SYM.
16563         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16564         "bp-asm.h".
16565         (PARMS): Do not use macros from bp-asm.h.
16566         (S): Likewise.
16567         (SIZE): Likewise.
16568         (__mpn_rshift): Do not use BP_SYM.
16569         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16570         "bp-asm.h".
16571         (PARMS): Do not use macros from bp-asm.h.
16572         (STR): Likewise.
16573         (CHR): Likewise.
16574         (strchr): Likewise.  Do not use BP_SYM.
16575         (index): Do not use BP_SYM in weak_alias.
16576         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
16582         * sysdeps/i386/i586/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/sub_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_sub_n): Do not use BP_SYM.
16593         * sysdeps/i386/i586/submul_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_submul_1): Do not use BP_SYM.
16599         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16600         "bp-asm.h".
16601         (PARMS): Do not use macros from bp-asm.h.
16602         (S1): Likewise.
16603         (S2): Likewise.
16604         (SIZE): Likewise.
16605         (__mpn_add_n): Do not use BP_SYM.
16606         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16607         weak_alias.
16608         (bzero): Likewise.
16609         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16610         "bp-asm.h".
16611         (PARMS): Do not use macros from bp-asm.h.
16612         (BLK2): Likewise.
16613         (LEN): Likewise.
16614         (memcmp): Do not use BP_SYM.
16615         (bcmp): Do not use BP_SYM in weak_alias.
16616         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16617         "bp-asm.h".
16618         (PARMS): Do not use macros from bp-asm.h.
16619         (DEST): Likewise.
16620         (SRC): Likewise.
16621         (LEN): Likewise.
16622         (memcpy): Likewise.  Do not use BP_SYM.
16623         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16624         "bp-asm.h".
16625         (PARMS): Do not use macros from bp-asm.h.
16626         (DEST): Likewise.
16627         (SRC): Likewise.
16628         (LEN): Likewise.
16629         (memmove): Likewise.  Do not use BP_SYM.
16630         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16631         "bp-asm.h".
16632         (PARMS): Do not use macros from bp-asm.h.
16633         (DEST): Likewise.
16634         (SRC): Likewise.
16635         (LEN): Likewise.
16636         (__mempcpy): Likewise.  Do not use BP_SYM.
16637         (mempcpy): Do not use BP_SYM in weak_alias.
16638         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16639         "bp-asm.h".
16640         (PARMS): Do not use macros from bp-asm.h.
16641         (DEST): Likewise.
16642         (LEN): Likewise.
16643         [!BZERO_P] (CHR): Likewise.
16644         (memset): Likewise.  Do not use BP_SYM.
16645         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16646         "bp-asm.h".
16647         (PARMS): Do not use macros from bp-asm.h.
16648         (STR2): Likewise.
16649         (strcmp): Do not use BP_SYM.
16650         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16651         "bp-asm.h".
16652         (PARMS): Do not use macros from bp-asm.h.
16653         (STR): Likewise.
16654         (DELIM): Likewise.
16655         [USE_AS_STRTOK_R] (SAVE): Likewise.
16656         (FUNCTION): Likewise.  Do not use BP_SYM.
16657         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16658         aliases.
16659         (strtok_r): Likewise.
16660         (__GI___strtok_r): Likewise.
16661         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16662         (PARMS): Do not use macros from bp-asm.h.
16663         (S): Likewise.
16664         (SIZE): Likewise.
16665         (__mpn_lshift): Do not use BP_SYM.
16666         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16667         (PARMS): Do not use macros from bp-asm.h.
16668         (STR): Likewise.
16669         (CHR): Likewise.
16670         (__memchr): Do not use BP_SYM.
16671         (memchr): Do not use BP_SYM in weak_alias.
16672         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16673         (PARMS): Do not use macros from bp-asm.h.
16674         (BLK2): Likewise.
16675         (LEN): Likewise.
16676         (memcmp): Do not use BP_SYM.
16677         (bcmp): Do not use BP_SYM in weak_alias.
16678         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16679         (PARMS): Do not use macros from bp-asm.h.
16680         (S1): Likewise.
16681         (SIZE): Likewise.
16682         (__mpn_mul_1): Do not use BP_SYM.
16683         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16684         "bp-asm.h".
16685         (PARMS): Do not use macros from bp-asm.h.
16686         (STR): Likewise.
16687         (CHR): Likewise.
16688         (__rawmemchr): Do not use BP_SYM.
16689         (rawmemchr): Do not use BP_SYM in weak_alias.
16690         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16691         (PARMS): Do not use macros from bp-asm.h.
16692         (S): Likewise.
16693         (SIZE): Likewise.
16694         (__mpn_rshift): Do not use BP_SYM.
16695         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16696         (PARMS): Do not use macros from bp-asm.h.
16697         (SIGMSK): Likewise.
16698         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16699         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16700         (_start): Do not use BP_SYM.
16701         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16702         (PARMS): Do not use macros from bp-asm.h.
16703         (DEST): Likewise.
16704         (SRC): Likewise.
16705         (__stpcpy): Likewise.  Do not use BP_SYM.
16706         (stpcpy): Do not use BP_SYM in weak_alias.
16707         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16708         "bp-asm.h".
16709         (PARMS): Do not use macros from bp-asm.h.
16710         (DEST): Likewise.
16711         (SRC): Likewise.
16712         (LEN): Likewise.
16713         (__stpncpy): Likewise.  Do not use BP_SYM.
16714         (stpncpy): Do not use BP_SYM in weak_alias.
16715         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16716         (PARMS): Do not use macros from bp-asm.h.
16717         (STR): Likewise.
16718         (CHR): Likewise.
16719         (strchr): Likewise.  Do not use BP_SYM.
16720         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16721         "bp-asm.h".
16722         (PARMS): Do not use macros from bp-asm.h.
16723         (STR): Likewise.
16724         (CHR): Likewise.
16725         (__strchrnul): Likewise.  Do not use BP_SYM.
16726         (strchrnul): Do not use BP_SYM in weak_alias.
16727         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16728         "bp-asm.h".
16729         (PARMS): Do not use macros from bp-asm.h.
16730         (STOP): Likewise.
16731         (strcspn): Do not use BP_SYM.
16732         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16733         "bp-asm.h".
16734         (PARMS): Do not use macros from bp-asm.h.
16735         (STR): Likewise.
16736         (STOP): Likewise.
16737         (strpbrk): Likewise.  Do not use BP_SYM.
16738         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16739         "bp-asm.h".
16740         (PARMS): Do not use macros from bp-asm.h.
16741         (STR): Likewise.
16742         (CHR): Likewise.
16743         (strrchr): Likewise.  Do not use BP_SYM.
16744         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16745         (PARMS): Do not use macros from bp-asm.h.
16746         (SKIP): Likewise.
16747         (strspn): Do not use BP_SYM.
16748         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16749         (PARMS): Do not use macros from bp-asm.h.
16750         (STR): Likewise.
16751         (DELIM): Likewise.
16752         (SAVE): Likewise.
16753         (FUNCTION): Likewise.  Do not use BP_SYM.
16754         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16755         aliases.
16756         (strtok_r): Likewise.
16757         (__GI___strtok_r): Likewise.
16758         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16759         (PARMS): Do not use macros from bp-asm.h.
16760         (S1): Likewise.
16761         (S2): Likewise.
16762         (SIZE): Likewise.
16763         (__mpn_sub_n): Do not use BP_SYM.
16764         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16765         "bp-asm.h".
16766         (PARMS): Do not use macros from bp-asm.h.
16767         (S1): Likewise.
16768         (SIZE): Likewise.
16769         (__mpn_submul_1): Do not use BP_SYM.
16770         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16771         <bp-sym.h>.
16772         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16773         and <bp-asm.h>.
16774         (PARMS): Do not use macros from bp-asm.h.
16775         (FLAGS): Likewise.
16776         (PTID): Likewise.
16777         (TLS): Likewise.
16778         (CTID): Likewise.
16779         (__clone): Do not use BP_SYM.
16780         (clone): Do not use BP_SYM in weak_alias.
16781         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16782         and <bp-asm.h>.
16783         (PARMS): Do not use macros from bp-asm.h.
16784         (LEN): Likewise.
16785         (__mmap64): Do not use BP_SYM.
16786         (mmap64): Do not use BP_SYM in weak_alias.
16787         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16788         <bp-sym.h> and <bp-asm.h>.
16789         (PARMS): Do not use macros from bp-asm.h.
16790         (__posix_fadvise64_l64): Do not use BP_SYM.
16791         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16792         (PARMS): Do not use macros from bp-asm.h.
16793         (NSOPS): Likewise.
16794         (semtimedop): Do not use BP_SYM.
16795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16796         and <bp-asm.h>.
16798 2013-02-21  Allan McRae  <allan@archlinux.org>
16800         * manual/message.texi (Charset conversion in gettext):
16801         Move @end statement to beginning of line.
16803 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16806         static.
16807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16808         Likewise.
16810         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16811         (denorm): Likewise.
16812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16815 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16817         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16818         tail-call to the resolved function if pltexit isn't needed.
16820 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16823         or Y being zero as being unlikely.
16824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16825         Likewise.
16827 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16829         * manual/nss.texi (System Databases and Name Service Switch):
16830         Remove frobnicate @pxref.
16832 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16834         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16835         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16837 2013-02-20  Petr Machata  <pmachata@redhat.com>
16839         * elf/elf.h (R_ARM_TARGET1): New macro.
16840         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16841         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16842         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16843         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16844         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16845         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16846         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16847         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16848         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16849         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16850         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16851         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16852         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16853         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16854         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16855         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16856         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16857         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16858         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16859         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16860         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16861         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16862         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16863         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16864         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16865         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16866         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16867         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16868         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16869         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16870         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16871         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16872         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16873         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16874         (R_ARM_THM_GOT_BREL12): Likewise.
16875         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16876         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16877         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16878         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16879         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16880         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16881         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16882         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16883         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16885 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16887         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16888         __attribute_used__ to __attribute__ ((unused)).
16890 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16892         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16893         powerpc mpa.c.
16894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16895         comment formatting.
16896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16898 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16900         [BZ #13550]
16901         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16902         Remove macro.
16903         (ENTER): Remove both macro definitions.
16904         (LEAVE): Likewise.
16905         (CHECK_BOUNDS_LOW): Likewise.
16906         (CHECK_BOUNDS_HIGH): Likewise.
16907         (CHECK_BOUNDS_BOTH): Likewise.
16908         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16909         (RETURN_BOUNDED_POINTER): Likewise.
16910         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16911         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16912         (POP_ERRNO_LOCATION_RETURN): Likewise.
16913         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16914         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16915         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16916         macros.
16917         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16918         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16919         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16920         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16921         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16922         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16923         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16924         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16925         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16926         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16927         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16928         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16929         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16930         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16931         removed macros.
16932         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16933         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16934         macros.
16935         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16936         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16937         * sysdeps/i386/i586/memset.S (memset): Likewise.
16938         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16939         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16940         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16941         macros.
16942         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16943         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16944         Change uses of L(2) to L(out).
16945         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16946         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16947         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16948         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16949         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16950         removed macros.
16951         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16952         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16953         macros.
16954         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16955         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16956         (RETURN): Do not use macro LEAVE.
16957         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16958         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16959         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16960         * sysdeps/i386/i686/memset.S (memset): Likewise.
16961         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16962         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16963         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16964         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16965         Likewise.
16966         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16967         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16968         L(1_2) and L(1_3) into L(1).
16969         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16970         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16971         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16972         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16973         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16974         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16975         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16976         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16977         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16978         macros.
16979         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16980         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16981         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16982         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16983         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16984         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16985         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16986         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16987         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16988         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16989         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16990         * sysdeps/i386/strspn.S (strspn): Likewise.
16991         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16992         conditional code.
16993         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16994         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16995         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16996         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16997         L(1_3) into L(1_1).
16998         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16999         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17000         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17001         macros.
17002         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17004 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17006         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17007         macro.
17009 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17011         * math/atest-exp.c (exp_mpn): Remove ROUND.
17012         * math/atest-exp2.c (exp_mpn): Likewise.
17013         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17015         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17016         * stdlib/tst-tls-atexit-lib.c: Likewise.
17017         * stdlib/tst-tls-atexit.c: Likewise.
17019 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17021         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17022         and __attribute_alloc_size__.
17024 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17026         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17027         __attribute_alloc_size__.
17028         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17029         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17031 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17033         * include/programs/xmalloc.h: New file.
17034         * catgets/gencat.c: Include it.
17035         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17036         * elf/pldd.c: Likewise.
17037         * iconv/iconv_charmap.c: Likewise.
17038         * iconv/iconvconfig.c: Likewise.
17039         * iconv/strtab.c: Likewise.
17040         * locale/programs/locale.c: Likewise.
17041         * locale/programs/localedef.h: Likewise.
17042         * locale/programs/simple-hash.c: Likewise.
17043         * nscd/nscd.h: Likewise.
17044         * nss/makedb.c: Likewise.
17045         * sysdeps/generic/ldconfig.h: Likewise.
17047 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17049         * Versions.def: Add GLIBC_2.18.
17050         * include/link.h (struct link_map): New member l_tls_dtor_count.
17051         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17052         (__call_tls_dtors): Likewise.
17053         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17054         __cxa_thread_atexit_impl.
17055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17056         Likewise.
17057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17058         Likewise.
17059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17060         Likewise.
17061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17062         Likewise.
17063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17065         Likewise.
17066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17067         Likewise.
17068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17070         Likewise.
17071         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17072         (tests): Add test case tst-tls-atexit.
17073         (modules-names): Add shared library for tst-tls-atexit.
17074         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17075         (GLIBC_PRIVATE): Add __call_tls_dtors.
17076         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17077         for libstdc++.
17078         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17079         * stdlib/tst-tls-atexit.c: New test case.
17080         * stdlib/tst-tls-atexit-lib.c: New test case.
17082         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17084         * elf/Versions (ld): Add _dl_find_dso_for_object.
17085         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17086         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17087         (dl_open_worker): Use _dl_find_dso_for_object.
17088         * elf/dl-sym.c (do_sym): Likewise.
17089         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17091 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17093         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17094         Syntactic changes only.
17095         (_dl_runtime_profile): Do a tail-call to the resolved function.
17097 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17099         [BZ #13550]
17100         * sysdeps/x86_64/bp-asm.h: Remove file.
17101         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17102         <bp-sym.h> and <bp-asm.h>.
17103         (__clone): Do not use BP_SYM.
17104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17105         <bp-sym.h> and <bp-asm.h>.
17106         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17107         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17108         "bp-asm.h".
17109         (_setjmp): Do not use BP_SYM.
17110         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17111         "bp-asm.h".
17112         (setjmp): Do not use BP_SYM.
17113         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17114         libc_hidden_def.
17115         (mempcpy): Do not use BP_SYM in weak_alias.
17116         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17117         "bp-asm.h".
17118         (strchr): Do not use BP_SYM.
17119         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17120         "bp-asm.h".
17121         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17122         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17123         (_start): Do not use BP_SYM.
17124         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17125         "bp-asm.h".
17126         (strcat): Do not use BP_SYM.
17127         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17128         "bp-asm.h".
17129         (STRCMP): Do not use BP_SYM.
17130         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17131         "bp-asm.h".
17132         (STRCPY): Do not use BP_SYM.
17133         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17134         "bp-asm.h".
17135         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17136         "bp-asm.h".
17137         (FUNCTION): Do not use BP_SYM.
17138         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17139         weak_alias.
17140         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17142 2013-02-17  Andreas Jaeger  <aj@suse.de>
17144         * time/Versions: Sort entries.
17145         * string/Versions: Likewise.
17146         * resolv/Versions: Likewise.
17147         * posix/Versions: Likewise.
17148         * iconv/Versions: Likewise.
17149         * elf/Versions: Likewise.
17150         * wcsmbs/Versions: Likewise.
17152 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17154         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17155         loop termination condition.
17157         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17158         variable to calculate EZ.
17159         (__sqr): Likewise.
17161         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17162         the lower precision input.
17164 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17166         [BZ #13550]
17167         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17168         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17169         (run-via-rtld-prefix): Do not handle %-bp tests.
17170         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17171         (all-object-suffixes): Remove .ob.
17172         (bppfx): Remove variable.
17173         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17174         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17175         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17176         [$(build-bounded) = yes] (libtype.ob): Likewise.
17177         * Makerules (elide-routines.ob): Remove variable.
17178         (do-tests-clean): Do not handle *-bp.out.
17179         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17180         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17181         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17182         (tests): Do not include $(tests-bp.out).
17183         (xtests): Do not include $(xtests-bp.out).
17184         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17185         [$(build-bounded) = yes] ($(addprefix
17186         $(objpfx),$(binaries-bounded))): Remove rule.
17187         ($(objpfx)%-bp.out): Remove rule.
17188         * config.make.in (build-bounded): Remove variable.
17189         * crypt/Makefile [$(build-bounded) = yes]
17190         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17191         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17192         append to variable.
17193         [$(build-bounded) = yes] (install-lib): Likewise.
17194         [$(build-bounded) = yes] (generated): Likewise.
17195         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17196         Remove rule.
17197         * intl/Makefile [$(build-bounded) = yes]
17198         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17199         * math/Makefile [$(build-bounded) = yes]
17200         ($(tests:%=$(objpfx)%-bp): Likewise.
17201         * misc/Makefile [$(build-bounded) = yes]
17202         ($(objpfx)tst-tsearch-bp): Likewise.
17203         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17204         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17205         Remove dependency.
17206         * string/Makefile (o-objects.ob): Remove variable.
17207         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17208         (CFLAGS-.ob): Remove variable.
17209         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17210         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17211         both definitions of variable.
17212         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17213         (ASFLAGS-.ob): Remove variable.
17215 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17217         [BZ #13550]
17218         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17219         Remove __BOUNDED_POINTERS__ from condition.
17220         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17221         * string/bits/string2.h [!__NO_STRING_INLINES &&
17222         !__BOUNDED_POINTERS__]: Likewise.
17223         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17224         Likewise.
17225         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17226         Remove conditional code.
17227         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17228         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17229         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17230         condition.
17232         [BZ #13550]
17233         * csu/libc-start.c: Do not include <bp-sym.h>.
17234         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17235         * elf/dl-open.c: Do not include <bp-sym.h>.
17236         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17237         * math/fegetenv.c: Do not include <bp-sym.h>.
17238         (fegetenv): Do not use BP_SYM in versioned symbols.
17239         * nptl/sysdeps/pthread/bits/libc-lockP.h
17240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17241         <bp-sym.h>.
17242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17243         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17245         (__pthread_mutex_destroy): Likewise.
17246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17247         (__pthread_mutex_lock): Likewise.
17248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17249         (__pthread_mutex_trylock): Likewise.
17250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17251         (__pthread_mutex_unlock): Likewise.
17252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17253         (__pthread_mutexattr_init): Likewise.
17254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17255         (__pthread_mutexattr_destroy): Likewise.
17256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17257         (__pthread_mutexattr_settype): Likewise.
17258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17259         (__pthread_rwlock_init): Likewise.
17260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17261         (__pthread_rwlock_destroy): Likewise.
17262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17263         (__pthread_rwlock_rdlock): Likewise.
17264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17265         (__pthread_rwlock_tryrdlock): Likewise.
17266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17267         (__pthread_rwlock_wrlock): Likewise.
17268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17269         (__pthread_rwlock_trywrlock): Likewise.
17270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17271         (__pthread_rwlock_unlock): Likewise.
17272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17273         (__pthread_key_create): Likewise.
17274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17275         (__pthread_setspecific): Likewise.
17276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17277         (__pthread_getspecific): Likewise.
17278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17279         Likewise.
17280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17281         (_pthread_cleanup_push_defer): Likewise.
17282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17283         (_pthread_cleanup_pop_restore): Likewise.
17284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17285         (pthread_setcancelstate): Likewise.
17286         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17287         <bp-sym.h>.
17288         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17289         (memchr): Do not use BP_SYM in weak_alias.
17290         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17291         (fegetenv): Do not use BP_SYM in versioned symbols.
17292         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17293         (fesetenv): Do not use BP_SYM in versioned symbols.
17294         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17295         (feupdateenv): Do not use BP_SYM in versioned symbols.
17296         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17297         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17298         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17299         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17300         (open64): Do not use BP_SYM in weak_alias.
17301         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17302         (fegetenv): Do not use BP_SYM in versioned symbols.
17303         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17304         (fesetenv): Do not use BP_SYM in versioned symbols.
17305         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17306         (feupdateenv): Do not use BP_SYM in versioned symbols.
17307         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17308         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17309         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17310         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17311         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17312         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17313         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17314         <bp-sym.h>.
17315         (__libc_start_main): Do not use BP_SYM.
17317 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17320         redundant return line.
17321         (norm): Likewise.
17322         (denorm): Likewise.
17323         (dbl_mp): Likewise.
17324         (sub_magnitudes): Likewise.
17325         (__add): Likewise.
17326         (__sub): Likewise.
17327         (__mul): Likewise.
17328         (__inv): Likewise.
17329         (__dvd): Likewise.
17330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17331         (norm): Likewise.
17332         (denorm): Likewise.
17333         (dbl_mp): Likewise.
17334         (sub_magnitudes): Likewise.
17335         (__add): Likewise.
17336         (__sub): Likewise.
17337         (__mul): Likewise.
17338         (__inv): Likewise.
17339         (__dvd): Likewise.
17341         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17342         instead of __mul.
17343         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17344         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17345         (cc32): Likewise.
17347         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17348         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17349         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17350         of __mul for squares.
17351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17352         function
17353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17354         Likewise.
17355         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17356         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17358 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
17360         [BZ #13550]
17361         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17362         code.
17363         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17364         prototype or function definition.  Rename ubp_* variables and
17365         parameters.  Remove argv definitions conditional on
17366         [__BOUNDED_POINTERS__].
17367         * debug/backtrace.c (__backtrace): Do not use __unbounded.
17368         * elf/dl-runtime.c (_dl_fixup): Likewise.
17369         * include/set-hooks.h (RUN_HOOK): Likewise.
17370         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17371         definition.
17372         * string/strcpy.c (strcpy): Do not use __unbounded.
17373         * sysdeps/generic/frame.h (struct layout): Likewise.
17374         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17375         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17376         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17377         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17378         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17379         (__backtrace): Likewise.
17380         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17381         use __ptrvalue.
17382         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17383         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17384         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17385         Likewise.
17386         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17387         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17388         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17389         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17390         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17391         Do not use __unbounded.
17392         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17393         Rename __unboundedrlimits parameter to rlimits in prototype.
17394         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17395         Do not use __unbounded.
17396         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17397         not use __ptrvalue.
17398         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17399         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17400         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17401         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17402         __ptrvalue or __unbounded.
17403         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17404         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17405         use __unbounded.
17406         (__new_msgctl): Do not use __ptrvalue.
17407         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17408         __unbounded.
17409         (__libc_msgrcv): Do not use __ptrvalue.
17410         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17411         startup_info): Do not use __unbounded.
17412         (__libc_start_main): Likewise.  Rename ubp_* variables and
17413         parameters.  Remove argv definitions conditional on
17414         [__BOUNDED_POINTERS__].
17415         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17416         __ptrvalue.
17417         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17418         use __unbounded.
17419         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17420         or __ptrvalue.
17421         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17422         use __unbounded.
17423         (__new_shmctl): Do not use __ptrvalue.
17424         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17425         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17426         Likewise.
17427         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17429         (__libc_sigaction): Likewise.
17430         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17431         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17432         Likewise.
17433         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17435 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17437         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17439         * string/mempcpy.c: Implement by calling memcpy.
17441 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17446         evaluation.
17448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17449         values in the mantissa.
17451         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17452         minimize writes to Z.
17453         (sub_magnitudes): Simplify code a bit.
17455 2013-02-12  Roland McGrath  <roland@hack.frob.com>
17457         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17458         from the message.  The linker prefixes all warnings with that already.
17460 2013-02-12  Andreas Schwab  <schwab@suse.de>
17462         [BZ #15078]
17463         * posix/regexec.c (extend_buffers): Add parameter min_len.
17464         (check_matching): Pass minimum needed length.
17465         (clean_state_log_if_needed): Likewise.
17466         (get_subexp): Likewise.
17467         * posix/Makefile (tests): Add bug-regex34.
17468         (bug-regex34-ENV): Define.
17469         * posix/bug-regex34.c: New file.
17471         [BZ #11561]
17472         * posix/regcomp.c (parse_bracket_exp): When looking up collating
17473         elements compare against the byte sequence of it, not its name.
17474         * posix/Makefile (tests): Add bug-regex35.
17475         (bug-regex35-ENV): Define.
17476         * posix/bug-regex35.c: New file.
17478 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17480         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
17481         comment.
17482         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17483         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17484         (CHECK_EOL): Add undef.
17486 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
17488         * bits/stdlib-bsearch.h: New file.
17489         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17490         * stdlib/stdlib.h: Likewise.
17492 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17494         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17495         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17496         declaration.
17497         * manual/search.texi (Array Search Function): Add missing const in
17498         lfind prototype.
17499         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17500         declaration to use rlim_t.
17501         (Basic Scheduling Functions): Remove erroneous const from
17502         sched_getparam prototype.  Remove erroneous * from
17503         sched_get_priority_max and sched_get_priority_min prototypes.
17504         (Resource Usage): Fix summary @comment on vtimes to refer to
17505         sys/vtimes.h rather than vtimes.h.
17506         Add missing *s in vtimes prototype.
17507         (Limits on Resources): Fix ulimit prototype to return long int.
17508         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17509         prototypes to use long int rather than double.
17510         (BSD Random): Fix initstate and setstate to use char *, not void *.
17511         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17512         prototype to make second argument 'struct aiocb64 *const[]'.
17513         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17514         (Status of AIO Operations): Remove erroneous const in aio_return and
17515         aio_return64 prototypes.
17516         (Synchronizing I/O): Fix sync prototype to return void.
17517         * manual/startup.texi (Suboptions): Remove an erroneous const in
17518         getsubopt prototype.
17519         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17520         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17521         use size_t rather than int.
17522         (Scanning All Users): Likewise for getpwent_r.
17523         (Setting Groups): Add missing const to setgroups prototype.
17524         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17525         * manual/socket.texi (Host Names): Fix gethostbyaddr and
17526         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17527         'const void *' rather than 'const char *'.
17528         (Host Address Functions): Likewise for inet_ntop.
17529         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17530         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17531         ssize_t for return value.
17532         (Sending Data): Likewise for send, sendto, sendmsg.
17533         (Socket Option Functions): Add a missing const in setsockopt prototype.
17534         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17535         use wchar_t for the argument.
17536         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17537         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17538         take no arguments.
17539         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17540         double/float/long double for second argument.
17541         Fix return types of significand, significandf, significandl.
17542         * manual/filesys.texi (Setting Permissions): Use mode_t for second
17543         argument in fchmod prototype.
17544         (File Owner): Use uid_t and gid_t in fchown prototype.
17545         (File Times): Add const to utimes, futimes, and lutimes prototypes.
17546         (Making Special Files): Use mode_t and dev_t in mknod prototype.
17547         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17548         use 'const struct dirent **' as argument types to CMP function pointer
17549         argument.
17550         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17551         (File Times): Fix summary magic @comment for struct utimbuf and utime
17552         to refer to utime.h, not time.h.
17553         * manual/string.texi (Argz Functions): Add missing const in
17554         argz_extract and argz_next prototypes.
17555         (Finding Tokens in a String): Likewise for basename.
17556         (String/Array Comparison): Fix typo in wcscasecmp prototype.
17557         (Copying and Concatenation): Fix typo in wmemmove prototype.
17558         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17559         (Signal Stack): Remove erroneous const in sigstack prototype.
17560         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17561         prototype.
17562         (Simple Calendar Time): Likewise for stime.
17563         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17564         prototype.
17565         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17566         say sys/sysctl.h instead.
17567         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17568         and vsyslog prototypes.
17570 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17572         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17573         Remove.
17575 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17577         * misc/sys/mman.h: Fix typo in mremap comment.
17579 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17581         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17582         the '\0' terminator.
17584 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17586         [BZ #13550]
17587         * debug/segfault.c: Don't include <bp-checks.h>.
17588         * sysdeps/generic/bp-checks.h: Remove file.
17589         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17590         (__GETDENTS): Don't use CHECK_N.
17591         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17592         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17593         (__getgroups): Don't use CHECK_N.
17594         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17595         (setgroups): Don't use CHECK_N.
17596         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17597         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17598         (__libc_msgrcv): Don't use CHECK_N.
17599         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17600         (__libc_msgsnd): Don't use CHECK_N.
17601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17602         <bp-checks.h>.
17603         (__libc_pread): Don't use CHECK_N.
17604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17605         include <bp-checks.h>.
17606         (__libc_pread64): Don't use CHECK_N.
17607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17608         include <bp-checks.h>.
17609         (__libc_pwrite): Don't use CHECK_N.
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17611         include <bp-checks.h>.
17612         (__libc_pwrite64): Don't use CHECK_N.
17613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17614         <bp-checks.h>.
17615         (__libc_pread): Don't use CHECK_N.
17616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17617         include <bp-checks.h>.
17618         (__libc_pread64): Don't use CHECK_N.
17619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17620         include <bp-checks.h>.
17621         (__libc_pwrite): Don't use CHECK_N.
17622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17623         include <bp-checks.h>.
17624         (__libc_pwrite64): Don't use CHECK_N.
17625         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17626         (do_pread): Don't use CHECK_N.
17627         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17628         (do_pread64): Don't use CHECK_N.
17629         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17630         (do_pwrite): Don't use CHECK_N.
17631         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17632         (do_pwrite64): Don't use CHECK_N.
17633         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17634         (__libc_readv): Don't use CHECK_N.
17635         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17636         (semop): Don't use CHECK_N.
17637         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17638         <bp-checks.h>.
17639         (semtimedop): Don't use CHECK_N.
17640         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17641         (__libc_pread): Don't use CHECK_N.
17642         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17643         <bp-checks.h>.
17644         (__libc_pread64): Don't use CHECK_N.
17645         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17646         <bp-checks.h>.
17647         (__libc_pwrite): Don't use CHECK_N.
17648         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17649         <bp-checks.h>.
17650         (__libc_pwrite64): Don't use CHECK_N.
17651         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17652         <bp-checks.h>.
17653         (__libc_msgrcv): Don't use CHECK_N.
17654         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17655         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17656         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17657         (__libc_writev): Don't use CHECK_N.
17659 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17661         * string/strcpy.c: Removed unused variable.
17663         * Makeconfig (+sysdep-includes): Define with := rather than =.
17664         Use an existing include/ subdir of each sysdeps dir before it.
17666 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17668         * nscd/connection.c (register_traced_file): Comment function.
17669         [HAVE_INOTIFY] (union __inev): Define.
17670         [HAVE_INOTIFY] (inotify_check_files): New function.
17671         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17672         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17673         clear_db_cache.
17674         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17676 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17678         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17679         loaded if not already and that a failure is permanent.
17681 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17683         [BZ #15006]
17684         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17685         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17687 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17689         [BZ #13550]
17690         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17691         (CHECK_1_NULL_OK): Likewise.
17692         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17693         (__fxstat): Do not use CHECK_1.
17694         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17695         <bp-checks.h>.
17696         (___fxstat64): Do not use CHECK_1.
17697         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17698         <bp-checks.h>.
17699         (__fxstatat): Do not use CHECK_1.
17700         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17701         <bp-checks.h>.
17702         (__fxstatat64): Do not use CHECK_1.
17703         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17704         <bp-checks.h>.
17705         (__fxstat): Do not use CHECK_1.
17706         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17707         <bp-checks.h>.
17708         (__fxstatat): Do not use CHECK_1.
17709         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17710         <bp-checks.h>.
17711         (__getresgid): Do not use CHECK_1.
17712         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17713         <bp-checks.h>.
17714         (__getresuid): Do not use CHECK_1.
17715         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17716         <bp-checks.h>.
17717         (__lxstat): Do not use CHECK_1.
17718         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17719         <bp-checks.h>.
17720         (__old_msgctl): Do not use CHECK_1.
17721         (__new_msgctl): Likewise.
17722         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17723         <bp-checks.h>.
17724         (__new_setrlimit): Do not use CHECK_1.
17725         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17726         <bp-checks.h>.
17727         (__old_shmctl): Do not use CHECK_1.
17728         (__new_shmctl): Likewise.
17729         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17730         <bp-checks.h>.
17731         (__xstat): Do not use CHECK_1.
17732         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17733         (__lxstat): Do not use CHECK_1.
17734         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17735         <bp-checks.h>.
17736         (___lxstat64): Do not use CHECK_1.
17737         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17738         (__old_msgctl): Do not use CHECK_1.
17739         (__new_msgctl): Likewise.
17740         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17741         <bp-checks.h>.
17742         (__gettimeofday): Do not use CHECK_1.
17743         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17744         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17745         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17746         <bp-checks.h>.
17747         (__gettimeofday): Do not use CHECK_1.
17748         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17749         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17750         (__new_shmctl): Do not use CHECK_1.
17751         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17752         <bp-checks.h>.
17753         (do_sigtimedwait): Do not use CHECK_1.
17754         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17755         <bp-checks.h>.
17756         (do_sigwaitinfo): Do not use CHECK_1.
17757         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17758         <bp-checks.h>.
17759         (msgctl): Do not use CHECK_1.
17760         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17761         <bp-checks.h>.
17762         (shmctl): Do not use CHECK_1.
17763         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17764         (ustat): Do not use CHECK_1.
17765         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17766         <bp-checks.h>.
17767         (__fxstat): Do not use CHECK_1.
17768         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17769         <bp-checks.h>.
17770         (__fxstatat): Do not use CHECK_1.
17771         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17772         <bp-checks.h>.
17773         (__lxstat): Do not use CHECK_1.
17774         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17775         <bp-checks.h>.
17776         (__xstat): Do not use CHECK_1.
17777         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17778         (__xstat): Do not use CHECK_1.
17779         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17780         (___xstat64): Do not use CHECK_1.
17782         [BZ #13550]
17783         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17784         definitions.
17785         (CHECK_BOUNDS_HIGH): Likewise.
17786         * string/strcpy.c: Do not include <bp-checks.h>.
17787         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17789 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17791         * nscd/nscd-client.h (__nscd_drop_map_ref):
17792         Add __attribute__ ((unused)).
17793         * nis/nss-nisplus.h (niserr2nss): Likewise.
17795         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17796         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17798         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17799         Remove inline keyword.
17800         * include/rounding-mode.h (round_away): Likewise.
17801         * libio/wfileops.c (adjust_wide_data): Likewise.
17802         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17803         (__m128i_strloadu_tolower): Likewise.
17804         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17805         (__m128i_strloadu_tolower): Likewise.
17806         * time/mktime.c (ydhms_diff): Likewise.
17807         * locale/elem-hash.h (elem_hash): Likewise.
17808         * locale/setlocale.c (setdata): Likewise.
17809         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17810         (re_string_wchar_at): Likewise.
17811         (bitset_not, bitset_merge, bitset_mask): Likewise.
17812         [!(__GNUC__ > 3)] (inline): Remove macro.
17813         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17814         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17815         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17816         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17817         * string/memcmp.c (memcmp_bytes): Likewise.
17818         * locale/programs/locarchive.c (compute_hashval): Likewise.
17819         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17820         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17821         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17822         * nss/getent.c (print_rpc, print_protocols): Likewise.
17823         (print_passwd, print_group, print_aliases): Likewise.
17824         * nis/nss-nisplus.h (niserr2nss): Likewise.
17825         * nscd/connections.c (restart_p): Likewise.
17826         Change return type to bool.
17828 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17830         * Makeconfig (all-Depend-files): Add existing
17831         $(sorted-subdirs:=/Depend) files.
17832         (all-subdirs): Remove nss.
17833         * sysdeps/unix/inet/Subdirs: Add it here instead.
17834         * hesiod/Depend: New file.
17836         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17837         instead of calling alloca.
17839         * io/lseek.c (__lseek): Rename to __libc_lseek.
17840         Define __lseek as an alias.
17842         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17844 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17846         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17847         else clause and remove check for non-standard endianness.
17849 2013-02-04  David S. Miller  <davem@davemloft.net>
17851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17853 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17855         [BZ #13550]
17856         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17857         (__ubp_memchr): Remove prototype.
17858         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17859         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17860         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17861         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17862         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17863         Remove alias.
17864         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17865         (__ubp_memchr): Likewise.
17866         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17867         (__ubp_memchr): Likewise.
17868         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17869         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17870         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17871         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17872         CHECK_STRING.
17873         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17874         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17875         (__getcwd): Do not use CHECK_STRING.
17876         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17877         <bp-checks.h>.
17878         (__real_chown): Do not use CHECK_STRING.
17879         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17880         <bp-checks.h>.
17881         (fchownat): Do not use CHECK_STRING.
17882         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17883         CHECK_STRING.
17884         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17885         <bp-checks.h>.
17886         (__lchown): Do not use CHECK_STRING.
17887         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17888         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17889         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17890         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17892         include <bp-checks.h>.
17893         (truncate64): Do not use CHECK_STRING.
17894         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17895         <bp-checks.h>.
17896         (__real_chown): Do not use CHECK_STRING.
17897         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17898         <bp-checks.h>.
17899         (__lchown): Do not use CHECK_STRING.
17900         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17901         <bp-checks.h>.
17902         (__chown): Do not use CHECK_STRING.
17903         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17904         <bp-checks.h>.
17905         (truncate64): Do not use CHECK_STRING.
17906         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17907         Likewise.
17908         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17909         (__xmknod): Do not use CHECK_STRING.
17910         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17911         <bp-checks.h>.
17912         (__xmknodat): Do not use CHECK_STRING.
17913         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17914         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17916 2013-02-04  Andreas Schwab  <schwab@suse.de>
17918         [BZ #14142]
17919         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17920         * include/netdb.h: Likewise for h_errno.
17921         * elf/tst-stackguard1.c: Include <tls.h>.
17923 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17925         * elf/link.h (struct link_map): Extend the l_addr comment.
17926         * include/link.h (struct link_map): Likewise.
17928 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17930         [BZ #13550]
17931         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17932         (BOUNDED_1): Remove macro.
17933         * debug/backtrace.c: Don't include <bp-checks.h>.
17934         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17935         (__backtrace): Likewise.
17936         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17937         <bp-checks.h>.
17938         (__backtrace): Don't use BOUNDED_1.
17939         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17940         <bp-checks.h>.
17941         (__backtrace): Don't use BOUNDED_1.
17942         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17943         (__backtrace): Don't use BOUNDED_1.
17944         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17945         (shmat): Don't use BOUNDED_N.
17947 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17949         [BZ #13550]
17950         * sysdeps/generic/bp-start.h: Remove file.
17951         * csu/libc-start.c: Don't include <bp-start.h>.
17952         (LIBC_START_MAIN): Set up __environ directly instead of using
17953         INIT_ARGV_and_ENVIRON.
17954         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17955         <bp-start.h>.
17957         [BZ #13550]
17958         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17959         definitions.
17960         (CHECK_FCNTL): Likewise.
17961         (CHECK_N_PAGES): Likewise.
17963         [BZ #13550]
17964         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17965         definitions.
17966         (CHECK_SIGSET_NULL_OK): Likewise.
17967         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17968         <bp-checks.h>.
17969         (sigpending): Don't use CHECK_SIGSET.
17970         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17971         <bp-checks.h>.
17972         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17973         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17974         <bp-checks.h>.
17975         (do_sigsuspend): Don't use CHECK_SIGSET.
17976         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17977         use CHECK_SIGSET.
17978         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17979         (do_sigwait): Don't use CHECK_SIGSET.
17980         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17981         use CHECK_SIGSET.
17982         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17983         include <bp-checks.h>.
17984         (sigpending): Don't use CHECK_SIGSET.
17985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17986         include <bp-checks.h>.
17987         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17988         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17989         <bp-checks.h>.
17990         (sigpending): Don't use CHECK_SIGSET.
17991         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17992         <bp-checks.h>.
17993         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17995         [BZ #13550]
17996         * sysdeps/generic/bp-semctl.h: Remove file.
17997         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17998         <bp-checks.h> and <bp-semctl.h>.
17999         (__old_semctl): Don't use CHECK_SEMCTL.
18000         (__new_semctl): Likewise.
18001         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18002         and <bp-semctl.h>.
18003         (__old_semctl): Don't use CHECK_SEMCTL.
18004         (__new_semctl): Likewise.
18005         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18006         <bp-checks.h> and <bp-semctl.h>.
18007         (__old_semctl): Don't use CHECK_SEMCTL.
18008         (__new_semctl): Likewise.
18009         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18010         <bp-checks.h> and <bp-semctl.h>.
18011         (semctl): Don't use CHECK_SEMCTL.
18013         [BZ #13550]
18014         * Makerules (elide-bp-thunks): Remove variable.
18015         (elide-routines.oS): Don't use $(elide-bp-thunks).
18016         (elide-routines.os): Likewise.
18017         (elide-routines.o): Likewise.
18018         (elide-routines.op): Likewise.
18019         (elide-routines.og): Likewise.
18020         (objects): Don't use $(bp-thunks).
18021         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18022         include.
18023         (common-generated): Do not add s-proto-bp.d.
18024         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18025         (int): Likewise.
18026         (typ): Likewise.
18027         Do not generate makefile rules for bounded-pointer thunks.
18028         * sysdeps/generic/bp-thunks.h: Remove file.
18029         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18030         * sysdeps/unix/s-proto-bp.S: Likewise.
18032         [BZ #15062]
18033         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18034         parts of result separately when argument is not close to line from
18035         -i to i and one part of argument is small.
18036         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18037         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18038         * math/libm-test.inc (cacos_test): Add more tests.
18039         (casin_test): Likewise.
18040         (casinh_test): Likewise.
18041         * sysdeps/i386/fpu/libm-test-ulps: Update.
18042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18044 2013-01-31  David S. Miller  <davem@davemloft.net>
18046         * po/de.po: Update from translation team.
18048 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18050         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18052 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18054         * configure.in (_AC_PROG_CC_C89): New definition.
18055         * configure: Regenerate.
18057         * configure.in (AC_PROG_CPP): New definition.
18058         * configure: Regenerate.
18060 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18062         * debug/tst-backtrace.h: New file.
18063         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18064         (ret): Remove variable.
18065         (x): Likewise.
18066         (FAIL): Remove macro.
18067         (NO_INLINE): Likewise.
18068         (fn1): Use match function instead of strstr.
18069         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18070         (ret): Remove variable.
18071         (x): Likewise.
18072         (FAIL): Remove macro.
18073         (NO_INLINE): Likewise.
18074         (fn): Use match function instead of strstr.
18075         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18076         (ret): Remove variable.
18077         (x): Likewise.
18078         (FAIL): Remove macro.
18079         (NO_INLINE): Likewise.
18080         (handle_signal): Use match function instead of strstr.
18081         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18082         (ret): Remove variable.
18083         (x): Likewise.
18084         (FAIL): Remove macro.
18085         (NO_INLINE): Likewise.
18086         (handle_signal): Use match function instead of strstr.
18088 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18090         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18092 2013-01-23  David S. Miller  <davem@davemloft.net>
18094         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18095         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18096         argument of CAS if possible.
18097         * sysdeps/sparc/sparc64/bits/atomic.h
18098         (__arch_compare_and_exchange_val_32_acq): Likewise.
18099         (__arch_compare_and_exchange_val_64_acq): Likewise.
18101 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18103         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18104         * sysdeps/posix/ulimit.c: ... this.
18105         Include <limits.h>.
18106         * sysdeps/unix/bsd/ulimit.c: Remove file.
18108 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18110         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18111         (LDFLAGS-tst-array5): Likewise.
18113 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18115         [BZ #15036]
18116         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18117         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18118         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18119         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18121 2013-01-21  David S. Miller  <davem@davemloft.net>
18123         * sysdeps/sparc/backtrace.c: New file.
18124         * sysdeps/sparc/sparc32/backtrace.h: New file.
18125         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18126         * sysdeps/sparc/sparc64/backtrace.h: New file.
18127         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18128         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18129         -funwind-tables.
18131 2013-01-21  Andreas Schwab  <schwab@suse.de>
18133         [BZ #15020]
18134         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18135         closed its stdout.
18137 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18140         "mpa2.h".
18141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18143 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18144             Mark Mitchell  <mark@codesourcery.com>
18145             Tom de Vries  <tom@codesourcery.com>
18146             Paul Pluzhnikov  <ppluzhnikov@google.com>
18148         * debug/tst-backtrace2.c: New file.
18149         * debug/tst-backtrace3.c: Likewise.
18150         * debug/tst-backtrace4.c: Likewise.
18151         * debug/tst-backtrace5.c: Likewise.
18152         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18153         (CFLAGS-tst-backtrace3.c): Likewise.
18154         (CFLAGS-tst-backtrace4.c): Likewise.
18155         (CFLAGS-tst-backtrace5.c): Likewise.
18156         (LDFLAGS-tst-backtrace2): Likewise.
18157         (LDFLAGS-tst-backtrace3): Likewise.
18158         (LDFLAGS-tst-backtrace4): Likewise.
18159         (LDFLAGS-tst-backtrace5): Likewise.
18160         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18161         tst-backtrace4 and tst-backtrace5.
18163 2013-01-18  Anton Blanchard  <anton@samba.org>
18164             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18166         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18167         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18169         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18171         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18172         "+r" and remove output regs list as redundant.  Add explicit inline
18173         asm to specify register of return val to work around compiler codegen
18174         bug.  Remove (int) cast on return value.  Add return type parameter to
18175         use in macro so that this macro does not truncate return value for
18176         64-bit values.
18177         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18178         pass to INTERNAL_VSYSCALL_NCS.
18179         (INLINE_VSYSCALL): Add 'long int' as return type to
18180         INTERNAL_VSYSCALL_NCS macro invocation.
18181         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18182         INTERNAL_VSYSCALL_NCS macro invocation.
18183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18185 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18187         [BZ #14496]
18188         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18189         Fix application of SIMD FP exception mask.
18191         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18192         mp_no from a power of two.
18193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18194         __mpexp_twomm1.  Use __pow_mp.
18196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18197         multiplication.
18199 2013-01-17  David S. Miller  <davem@davemloft.net>
18201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18203 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18205         [BZ #15023]
18206         * include/complex.h: Condition contents on [!_COMPLEX_H].
18207         (__kernel_casinhf): New prototype.
18208         (__kernel_casinh): Likewise.
18209         (__kernel_casinhl): Likewise.
18210         * math/Makefile (libm_calls): Add k_casinh.
18211         * math/k_casinh.c: New file.
18212         * math/k_casinhf.c: Likewise.
18213         * math/k_casinhl.c: Likewise.
18214         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18215         finite nonzero arguments.
18216         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18217         finite nonzero arguments.
18218         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18219         finite nonzero arguments.
18220         * math/s_casinh.c: Do not include <float.h>.
18221         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18222         * math/s_casinhf.c: Do not include <float.h>.
18223         (__casinhf): Move code for finite nonzero arguments to
18224         k_casinhf.c.
18225         * math/s_casinhl.c: Do not include <float.h>.
18226         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18227         redefine.
18228         (__casinhl): Move code for finite nonzero arguments to
18229         k_casinhl.c.
18230         * math/libm-test.inc (cacos_test): Add more tests.
18231         * sysdeps/i386/fpu/libm-test-ulps: Update.
18232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18234 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18236         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18237         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18238         [!HAVE_MREMAP]: Remove [defined linux] case.
18239         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18241 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18243         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18245 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18247         * elf/elf.h (R_386_SIZE32): New relocation.
18248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18249         R_386_SIZE32.
18250         (elf_machine_rela): Likewise.
18251         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18252         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18254 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18256         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18257         (FP_FAST_FMA): Do not define.
18258         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18259         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18260         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18261         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18262         !_SOFT_FLOAT]: Likewise.
18263         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18264         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18265         value.
18266         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18267         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18268         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18269         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18270         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18271         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18272         file.
18274 2013-01-16  Andreas Schwab  <schwab@suse.de>
18276         [BZ #14327]
18277         * include/stdlib.h (__mktemp): Add declaration.
18278         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18279         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18281 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18283         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18284         definitions.
18285         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18286         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18287         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18288         definitions here.
18289         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18290         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18291         definitions.
18292         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18293         and ONE.
18294         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18295         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18296         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18297         definitions.
18298         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18299         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18300         definitions.
18301         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18303         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18305 2013-01-15  David S. Miller  <davem@davemloft.net>
18307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18308         trunc{,f} to libm-sysdep_routes.
18309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18311         file.
18312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18314         file.
18315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18316         file.
18317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18319         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18320         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18321         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18322         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18323         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18324         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18327         nearbyint{,f} to libm-sysdep_routes.
18328         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18330         New file.
18331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18332         file.
18333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18334         New file.
18335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18336         file.
18337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18339         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18340         file.
18341         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18342         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18343         file.
18344         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18345         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18346         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18348         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18349         libc_feholdexcept and libc_fesetenv.
18351 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18353         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18355 2013-01-14  David S. Miller  <davem@davemloft.net>
18357         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18358         (SPARC_ASM_VIS2_IFUNC): Likewise.
18359         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18361         use of 'siam' instruction.
18362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18363         Likewise.
18364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18365         Likewise.
18366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18367         Likewise.
18368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18373         file.
18374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18375         file.
18376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18377         file.
18378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18379         file.
18380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18385         new VIS2 routines.
18386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18389         Likewise.
18390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18392         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18395         routines to libm-sysdep_routines.
18396         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18399         fdim/fdimf to libm-sysdep_routines.
18400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18401         file.
18402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18404         file.
18405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18408         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18409         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18410         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18411         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18413 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18415         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18416         to optimize copies.
18418         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18423         local variable MPTWO.
18424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18425         Likewise.
18427 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18429         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18430         GLOB_NOESCAPE.
18432 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18434         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18436 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18438         * manual/pattern.texi (glob_t): Document gl_flags.
18439         (glob64_t): Likewise.
18441 2013-01-11  David S. Miller  <davem@davemloft.net>
18443         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18444         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18445         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18446         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18447         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18448         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18449         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18450         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18451         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18452         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18453         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18454         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18455         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18457         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18458         sparc V9 rather than using V8 code.
18459         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18460         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18462         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18463         Move to...
18464         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18465         Here.
18467 2013-01-11  Roland McGrath  <roland@hack.frob.com>
18469         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18470         not in the main loop.
18471         * configure: Regenerated.
18473 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
18475         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18476         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18477         to just #else.
18478         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
18479         [!__GLIBC_HAVE_LONG_LONG] case.
18480         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18481         condition to just #else.
18482         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18483         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18484         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18485         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18486         unconditional.
18487         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18488         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18489         #elif condition to just #else.
18490         * sysdeps/unix/sysv/linux/sys/sysmacros.h
18491         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18492         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18493         #elif condition to just #else.
18495 2013-01-11  Steve Ellcey  <sellcey@mips.com>
18497         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18498         (EF_MIPS_ARCH_64): Fix value.
18499         (EF_MIPS_ARCH_32R2): New.
18500         (EF_MIPS_ARCH_64R2): New.
18502 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
18504         * Makeconfig (+link-pie-before-libc): New.
18505         (+link-pie-after-libc): Likewise.
18506         (+link-pie-tests): Likewise.
18507         (+link-pie): Rewritten.
18508         (link-before-libc): Remove $(config-LDFLAGS).
18509         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18510         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18511         (config-LDFLAGS): Renamed to ...
18512         (rtld-LDFLAGS): This.
18513         (rtld-tests-LDFLAGS): New macro.
18514         (link-libc-rpath-link): Likewise.
18515         (link-libc-tests-rpath-link): Likewise.
18516         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18517         (link-libc): Prepand $(link-libc-rpath-link).
18518         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18519         (test-program-prefix): New macro.
18520         (test-via-rtld-prefix): Likewise.
18521         (test-program-cmd): Likewise.
18522         (host-test-program-cmd): Likewise.
18523         * Makefile ($(common-objpfx)testrun.sh): Replace
18524         $(run-program-prefix) with $(test-program-prefix).
18525         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18526         $(rtld-LDFLAGS).
18527         ($(common-objpfx)shlib.lds): Likewise.
18528         (build-module-helper): Likewise.
18529         ($(common-objpfx)format.lds): Likewise.
18530         * Rules (binaries-pie-tests): New.
18531         (binaries-pie-notests): Likewise.
18532         (binaries-pie): Rewritten.
18533         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18534         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18535         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18536         (make-test-out): Replace $(host-built-program-cmd) with
18537         $(host-test-program-cmd).
18538         * config.make.in (build-hardcoded-path-in-tests): New variable.
18539         * configure.in (--enable-hardcoded-path-in-tests): New configure
18540         option.
18541         (hardcoded_path_in_tests): New AC_SUBST.
18542         * configure: Regenerated.
18543         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18544         $(built-program-cmd) with $(test-program-cmd).
18545         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18546         (test_program_cmd): This.
18547         * elf/Makefile ($(objpfx)order.out): Run test with
18548         $(test-program-prefix).
18549         ($(objpfx)order2.out): Likewise.
18550         ($(objpfx)tst-initorder.out): Likewise.
18551         ($(objpfx)tst-initorder2.out): Likewise.
18552         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18553         $(test-program-cmd).
18554         ($(objpfx)tst-array1-static.out): Likewise.
18555         ($(objpfx)tst-array2.out): Likewise.
18556         ($(objpfx)tst-array3.out): Likewise.
18557         ($(objpfx)tst-array4.out): Likewise.
18558         ($(objpfx)tst-array5.out): Likewise.
18559         ($(objpfx)tst-array5-static.out): Likewise.
18560         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18561         $(test-program-cmd).
18562         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18563         $(run-program-prefix) with $(test-program-prefix).
18564         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18565         (test_program_prefix): This.
18566         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18567         $(run-program-prefix) with $(test-program-prefix).
18568         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18569         (test_program_prefix): This.
18570         * iconvdata/tst-tables.sh: Likewise.
18571         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18572         $(run-program-prefix) with $(test-program-prefix).
18573         ($(objpfx)tst-translit.out): Likewise.
18574         ($(objpfx)tst-gettext2.out): Likewise.
18575         ($(objpfx)tst-gettext4.out): Likewise.
18576         ($(objpfx)tst-gettext6.out): Likewise.
18577         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18578         (test_program_prefix): This.
18579         * intl/tst-gettext2.sh: Likewise.
18580         * intl/tst-gettext4.sh  Likewise.
18581         * intl/tst-gettext6.sh: Likewise.
18582         * intl/tst-translit.sh: Likewise.
18583         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18584         with $(test-program-cmd).
18585         * libio/Makefile ($(objpfx)test-freopen.out): Replace
18586         $(run-program-prefix) with $(test-program-prefix).
18587         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18588         (test_program_prefix): This.
18589         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18590         $(run-program-prefix) with $(test-program-prefix).
18591         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18592         (test_program_prefix): This.
18593         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18594         * posix/Makefile ($(objpfx)globtest.out): Replace
18595         $(run-via-rtld-prefix) and $(test-wrapper) with
18596         $(test-program-prefix) and $(test-via-rtld-prefix).
18597         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18598         $(test-program-prefix).
18599         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18600         $(host-test-program-cmd).
18601         (tst-spawn-ARGS): Likewise.
18602         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18603         $(test-program-prefix).
18604         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18605         (test_via_rtld_prefix): This.
18606         (test_wrapper): Renamed to ...
18607         (test_program_prefix): This.
18608         (run_program_prefix): Replaced by test_program_prefix.
18609         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18610         (test_program_prefix): This.
18611         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18612         with $(host-test-program-cmd).
18613         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18614         $(run-program-prefix) with $(test-program-prefix).
18615         ($(objpfx)tst-printf.out): Likewise.
18616         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18617         $(test-program-cmd).
18618         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18619         (test_program_prefix): This.
18620         * stdio-common/tst-unbputc.sh: Likewise.
18621         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18622         $(run-program-prefix) with $(test-program-prefix).
18623         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18624         (test_program_prefix): This.
18625         * string/Makefile ($(objpfx)tst-svc.out):  Replace
18626         $(built-program-cmd) with $(test-program-cmd).
18628 2013-01-11  Andreas Jaeger  <aj@suse.de>
18630         [BZ #15003]
18631         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18632         value. Sync with Linux 3.7.
18634 2013-01-10  David S. Miller  <davem@davemloft.net>
18636         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18637         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18638         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18640 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18642         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18643         never set.
18644         * configure: Regenerated.
18646 2013-01-10  David S. Miller  <davem@davemloft.net>
18648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18649         sparc V9 rather than using V8 code.
18650         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18651         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18653 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18655         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18656         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18657         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18658         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18659         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18660         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18661         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18662         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18663         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18664         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18665         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18666         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18667         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18668         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18669         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18670         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18671         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18672         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18673         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18674         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18675         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18676         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18677         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18678         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18679         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18680         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18681         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18683 2013-01-10  David S. Miller  <davem@davemloft.net>
18685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18687 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18689         * posix/Makefile (tests-static): New variable.
18690         (tests): Add $(tests-static).
18691         (tst-exec-static-ARGS): New variable.
18692         (tst-spawn-static-ARGS): Likewise.
18693         * posix/tst-exec-static.c: New file.
18694         * posix/tst-spawn-static.c: Likewise.
18695         * posix/tst-exec.c: Support run directly.
18696         * posix/tst-spawn.c: Likewise.
18698 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18700         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18701         long.
18702         * math/bits/mathcalls.h (llrint): Likewise.
18703         (llround): Likewise.
18704         * stdlib/stdlib.h (struct drand48_data): Likewise.
18705         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18706         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18707         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18708         Likewise.
18709         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18710         Likewise.
18711         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18712         (elf_greg_t): Likewise.
18713         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18714         (__jmp_buf): Likewise.
18715         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18716         definitions.
18717         (llrint): Likewise, for all definitions.
18718         (llrintl): Likewise.
18720         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18721         Remove [__GNUC__] condition.
18722         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18723         condition to just [__USE_ISOC99].
18724         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18726 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18728         [BZ #14200]
18729         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18730         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18731         defined.
18732         (_POSIX_V6_ILP32_OFF32): Likewise.
18733         (_XBS5_ILP32_OFF32): Likewise.
18734         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18735         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18737 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18739         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18742         doubles __mpexp_twomm1.  Adjust usage.
18743         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18744         Remove.
18746 2013-01-10  Andreas Schwab  <schwab@suse.de>
18748         [BZ #14964]
18749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18750         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18752 2013-01-09  David S. Miller  <davem@davemloft.net>
18754         [BZ #15003]
18755         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18756         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18757         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18758         TCP_FASTOPEN): Define.
18759         (tcp_repair_opt): New structure.
18760         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18761         enum values.
18762         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18763         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18764         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18765         (tcp_cookie_transactions): New structure.
18767 2013-01-09  Anton Blanchard  <anton@samba.org>
18769         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18770         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18771         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18772         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18774 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18776         * include/features.h (__USE_ANSI): Remove.
18778 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18780         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18782         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18784 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18786         * sysdeps/s390/fpu/libm-test-ulps: Update.
18788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18790         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18791         (__acr): Likewise.
18792         (__cpy): Likewise.
18793         (norm): Likewise.
18794         (denorm): Likewise.
18795         (__mp_dbl): Likewise.
18796         (__dbl_mp): Likewise.
18797         (add_magnitudes): Likewise.
18798         (sub_magnitudes): Likewise.
18799         (__add): Likewise.
18800         (__sub): Likewise.
18801         (__mul): Likewise.
18802         (__inv): Likewise.
18803         (__dvd): Likewise.
18804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18805         (__acr): Likewise.
18806         (__cpy): Likewise.
18807         (norm): Likewise.
18808         (denorm): Likewise.
18809         (__mp_dbl): Likewise.
18810         (__dbl_mp): Likewise.
18811         (add_magnitudes): Likewise.
18812         (sub_magnitudes): Likewise.
18813         (__add): Likewise.
18814         (__sub): Likewise.
18815         (__mul): Likewise.
18816         (__inv): Likewise.
18817         (__dvd): Likewise.
18818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18819         (__acr): Likewise.
18820         (__cpy): Likewise.
18821         (norm): Likewise.
18822         (denorm): Likewise.
18823         (__mp_dbl): Likewise.
18824         (__dbl_mp): Likewise.
18825         (add_magnitudes): Likewise.
18826         (sub_magnitudes): Likewise.
18827         (__add): Likewise.
18828         (__sub): Likewise.
18829         (__mul): Likewise.
18830         (__inv): Likewise.
18831         (__dvd): Likewise.
18833 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18835         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18836         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18837         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18838         2 && __USE_EXTERN_INLINES]: Likewise.
18840 2013-01-08  Andreas Jaeger  <aj@suse.de>
18842         [BZ# 14985]
18843         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18844         Remove.
18845         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18846         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18848 2013-01-07  Anton Blanchard  <anton@samba.org>
18850         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18851         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18852         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18853         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18854         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18855         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18856         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18857         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18859         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18860         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18861         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18862         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18863         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18865         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18866         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18867         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18868         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18869         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18870         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18871         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18873         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18874         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18876         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18877         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18879         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18880         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18882         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18883         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18884         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18885         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18888         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18889         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18890         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18892         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18894 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18896         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18897         (__MALLOC_PMT): Likewise.
18898         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18899         [__GNUC__], only on [_LIBC].
18900         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18901         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18902         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18903         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18904         forward declaration.
18905         (realloc_hook_ini): Likewise.
18906         (memalign_hook_ini): Likewise.
18907         (__libc_memalign): Do not use __MALLOC_PMT in variable
18908         declaration.
18909         (__libc_valloc): Likewise.
18910         (__libc_pvalloc): Likewise.
18911         (__libc_calloc): Likewise.
18912         (__posix_memalign): Likewise.
18914         [BZ #14996]
18915         * math/s_casinh.c: Include <float.h>.
18916         (__casinh): Do not do computation with squaring and square root
18917         for large arguments.
18918         * math/s_casinhf.c: Include <float.h>.
18919         (__casinhf): Do not do computation with squaring and square root
18920         for large arguments.
18921         * math/s_casinhl.c: Include <float.h>.
18922         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18923         (__casinhl): Do not do computation with squaring and square root
18924         for large arguments.
18925         * math/libm-test.inc (casin_test): Add more tests.
18926         (casinh_test): Likewise.
18927         * sysdeps/i386/fpu/libm-test-ulps: Update.
18928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18932         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18933         (__x86_64_raw_data_cache_size): Likewise.
18934         (__x86_64_data_cache_size_half): Likewise.
18935         (__x86_64_raw_data_cache_size_half): Likewise.
18936         (__x86_64_shared_cache_size): Likewise.
18937         (__x86_64_raw_shared_cache_size): Likewise.
18938         (__x86_64_shared_cache_size_half): Likewise.
18939         (__x86_64_raw_shared_cache_size_half): Likewise.
18940         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18941         to ...
18942         (__x86_data_cache_size): This.
18943         (__x86_64_raw_data_cache_size): Renamed to ...
18944         (__x86_raw_data_cache_size): This.
18945         (__x86_64_data_cache_size_half): Renamed to ...
18946         (__x86_data_cache_size_half): This.
18947         (__x86_64_raw_data_cache_size_half): Renamed to ...
18948         (__x86_raw_data_cache_size_half): This.
18949         (__x86_64_shared_cache_size): Renamed to ...
18950         (__x86_shared_cache_size): This.
18951         (__x86_64_raw_shared_cache_size): Renamed to ...
18952         (__x86_raw_shared_cache_size): This.
18953         (__x86_64_shared_cache_size_half): Renamed to ...
18954         (__x86_shared_cache_size_half): This.
18955         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18956         (__x86_raw_shared_cache_size_half): This.
18957         * sysdeps/x86_64/memcpy.S: Updated.
18958         * sysdeps/x86_64/memset.S: Likewise.
18959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18961         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18963 2013-01-04  David S. Miller  <davem@davemloft.net>
18965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18967 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18969         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18970         1 to avoid redefinition warning.
18971         (__USE_GNU): Don't define.
18972         (init_signaling_nan): Protoize.
18974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18976 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18978         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18980         (__cpymn): Likewise.
18981         (norm): Remove commented code.
18982         (denorm): Likewise.
18983         (__mp_dbl): Likewise.
18984         (__inv): Likewise.
18985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18986         (__cpymn): Likewise.
18987         (norm): Remove commented code.
18988         (denorm): Likewise.
18989         (__mp_dbl): Likewise.
18990         (__inv): Likewise.
18992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18993         mp_no value for 1.0 and 2.0.
18994         (norm): Use RADIXI instead of radixi.d.
18995         (denorm): Likewise.
18996         (__mul): Use 0.0 instead of zero.d.
18997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18998         mp_no value for 1.0 and 2.0.
18999         (norm): Use RADIXI instead of radixi.d.
19000         (denorm): Likewise.
19001         (__mul): Use 0.0 instead of zero.d.
19003 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19005         [BZ #14994]
19006         * math/s_casinh.c (__casinh): Reduce finite argument to first
19007         quadrant then set signs of results at the end.
19008         * math/s_casinhf.c (__casinhf): Likewise.
19009         * math/s_casinhl.c (__casinhl): Likewise.
19010         * math/libm-test.inc (casin_test): Add more tests.
19011         (casinh_test): Likewise.
19012         * sysdeps/i386/fpu/libm-test-ulps: Update.
19013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19015 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19017         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19019         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19021         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19022         declarations.
19023         (denorm): Likewise.
19024         (__mp_dbl): Likewise.
19025         (__inv): Likewise.
19027         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19028         and adjust the header comment.
19030         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19031         variable name from declaration.
19033 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19036         Initialize COMMON_CPUID_INDEX_7 element.
19037         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19038         (CPUID_RTM): Likewise.
19039         (HAS_RTM): Likewise.
19040         (COMMON_CPUID_INDEX_7): New enum.
19042 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19044         [BZ #14981]
19045         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19046         size is zero, record memory as freed.
19048 2013-01-03  Andreas Jaeger  <aj@suse.de>
19050         * po/ia.po: Add new Interlingua translation.
19052 2012-01-03  Allan McRae  <allan@archlinux.org>
19054         * locale/programs/localedef.c: Fix description of '--posix' flag.
19056 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19058         * NEWS: Update dates in second copyright notice.
19059         * README: Update copyright dates in example.
19060         * manual/libc.texinfo: Update copyright dates.
19061         * scripts/test-installation.pl: Update copyright date in --version
19062         output.
19064         * hurd/ctty-input.c: Fix copyright notice formatting.
19065         * hurd/ctty-output.c: Likewise.
19066         * hurd/dtable.c: Likewise.
19067         * hurd/hurd-raise.c: Likewise.
19068         * hurd/hurdprio.c: Likewise.
19069         * hurd/msgportdemux.c: Likewise.
19070         * misc/sys/file.h: Likewise.
19071         * misc/sys/ioctl.h: Likewise.
19072         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19073         * sysdeps/mach/hurd/chdir.c: Likewise.
19074         * sysdeps/mach/hurd/fchdir.c: Likewise.
19075         * sysdeps/mach/hurd/rename.c: Likewise.
19076         * sysdeps/mach/hurd/rmdir.c: Likewise.
19077         * sysdeps/mach/hurd/seekdir.c: Likewise.
19078         * sysdeps/mach/hurd/setsid.c: Likewise.
19079         * sysdeps/posix/wait3.c: Likewise.
19081         * All files with FSF copyright notices: Update copyright dates
19082         using scripts/update-copyrights.
19083         * intl/plural.c: Regenerated.
19084         * locale/programs/charmap-kw.h: Likewise.
19085         * locale/programs/locfile-kw.h: Likewise.
19087 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19089         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19090         four values.
19092         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19093         calculation loop and add branch prediction.
19095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19096         check access beyond bounds of m1np.
19098         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19099         MPTWO.
19100         (__inv): Remove local variable MPTWO to use the global
19101         constant.
19102         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19104         variable MPTWO.
19105         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19106         MP3HALFS static const.
19108 2013-01-01  David S. Miller  <davem@davemloft.net>
19110         * po/ca.po: Update from translation team.
19112 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19114         * scripts/update-copyrights: New file.
19115         * Makeconfig: Reformat copyright notice.
19116         * ctype/ctype.h: Likewise.
19117         * debug/swprintf_chk.c: Likewise.
19118         * elf/dl-cache.c: Likewise.
19119         * elf/dl-debug.c: Likewise.
19120         * elf/dl-object.c: Likewise.
19121         * grp/initgroups.c: Likewise.
19122         * hurd/Makefile: Likewise.
19123         * hurd/hurd/signal.h: Likewise.
19124         * hurd/hurdfault.c: Likewise.
19125         * hurd/hurdioctl.c: Likewise.
19126         * hurd/hurdlookup.c: Likewise.
19127         * hurd/intr-msg.c: Likewise.
19128         * iconv/gconv_open.c: Likewise.
19129         * libio/swprintf.c: Likewise.
19130         * locale/lc-ctype.c: Likewise.
19131         * locale/nl_langinfo.c: Likewise.
19132         * mach/Machrules: Likewise.
19133         * mach/Makefile: Likewise.
19134         * malloc/obstack.h: Likewise.
19135         * manual/Makefile: Likewise.
19136         * manual/tsort.awk: Likewise.
19137         * misc/bits/stab.def: Likewise.
19138         * nis/nis_print_group_entry.c: Likewise.
19139         * nis/nis_table.c: Likewise.
19140         * nis/nss_compat/compat-pwd.c: Likewise.
19141         * nis/nss_compat/compat-spwd.c: Likewise.
19142         * po/Makefile: Likewise.
19143         * posix/fnmatch.c: Likewise.
19144         * posix/regex.h: Likewise.
19145         * resolv/Makefile: Likewise.
19146         * resolv/nss_dns/dns-network.c: Likewise.
19147         * resolv/res_hconf.c: Likewise.
19148         * scripts/gen-sorted.awk: Likewise.
19149         * soft-fp/soft-fp.h: Likewise.
19150         * stdio-common/printf.h: Likewise.
19151         * stdlib/monetary.h: Likewise.
19152         * stdlib/random.c: Likewise.
19153         * stdlib/random_r.c: Likewise.
19154         * sysdeps/generic/Makefile: Likewise.
19155         * sysdeps/gnu/Makefile: Likewise.
19156         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19157         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19158         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19163         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19164         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19165         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19166         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19167         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19168         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19169         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19170         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19171         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19172         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19173         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19174         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19176         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19177         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19178         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19179         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19180         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19181         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19182         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19183         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19184         * sysdeps/mach/hurd/errnos.awk: Likewise.
19185         * sysdeps/mach/hurd/fork.c: Likewise.
19186         * sysdeps/mach/hurd/getcwd.c: Likewise.
19187         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19188         * sysdeps/mach/hurd/mmap.c: Likewise.
19189         * sysdeps/mach/hurd/utimes.c: Likewise.
19190         * sysdeps/mach/hurd/xmknod.c: Likewise.
19191         * sysdeps/posix/profil.c: Likewise.
19192         * sysdeps/posix/readdir_r.c: Likewise.
19193         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19194         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19195         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19196         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19198         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19199         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19200         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19202         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19203         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19204         * sysdeps/pthread/lio_listio.c: Likewise.
19205         * sysdeps/sparc/dl-procinfo.h: Likewise.
19206         * sysdeps/unix/i386/sysdep.S: Likewise.
19207         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19208         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19209         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19210         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19212         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19213         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19214         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19215         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19216         * sysdeps/wordsize-32/divdi3.c: Likewise.
19217         * time/sys/time.h: Likewise.
19218         * wcsmbs/Makefile: Likewise.
19220 2013-01-01  David S. Miller  <davem@davemloft.net>
19222         * po/fr.po: Update from translation team.
19224         * catgets/gencat.c: Update copyright year.
19225         * csu/version.c: Likewise.
19226         * debug/catchsegv.sh: Likewise.
19227         * debug/pcprofiledump.c: Likewise.
19228         * debug/xtrace.sh: Likewise.
19229         * elf/ldconfig.c: Likewise.
19230         * elf/ldd.bash.in: Likewise.
19231         * elf/pldd.c: Likewise.
19232         * elf/sotruss.ksh: Likewise.
19233         * elf/sprof.c: Likewise.
19234         * iconv/iconv_prog.c: Likewise.
19235         * iconv/iconvconfig.c: Likewise.
19236         * locale/programs/locale.c: Likewise.
19237         * locale/programs/localedef.c: Likewise.
19238         * login/programs/pt_chown.c: Likewise.
19239         * malloc/memusage.sh: Likewise.
19240         * malloc/memusagestat.c: Likewise.
19241         * malloc/mtrace.pl: Likewise.
19242         * nscd/nscd.c: Likewise.
19243         * nss/getent.c: Likewise.
19244         * nss/makedb.c: Likewise.
19245         * posix/getconf.c: Likewise.
19247 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19249         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19250         numbers.
19252 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19254         * math/bits/mathcalls.h (modf): Use __nonnull.
19256 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19258         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19259         (split): Use macro CN instead of the bare value.
19260         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19261         could be used.
19262         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19263         instead of the bare value.
19264         (power1): Likewise.
19266 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19268         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19269         __ATAN_TWOM.
19270         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19272         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19273         their values.
19274         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19275         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19276         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19277         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19279 2012-12-28  Andreas Jaeger  <aj@suse.de>
19281         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19282         values are from Linux 3.7.
19284         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19285         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19287 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19289         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19290         TRUE case.
19292         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19293         (norm): Likewise.
19294         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19295         variables with preprocessor constants.
19296         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19297         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19298         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19300 2012-12-27  Bruno Haible  <bruno@clisp.org>
19302         [BZ #14317]
19303         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19304         only if needed.
19306 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19309         and use variable directly.
19310         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19312         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19313         MPONE.
19314         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19315         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19316         variable MPONE.
19317         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19319         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19320         include directive.  Remove local variable MPONE.
19321         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19322         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19323         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19325 2012-12-25  David S. Miller  <davem@davemloft.net>
19327         * version.h (RELEASE): Set to "development".
19328         (VERSION): Set to "2.17.90".
19329         * NEWS: Add 2.18 section.
19331 2012-12-21  David S. Miller  <davem@davemloft.net>
19333         * po/hr.po: Update from translation team.
19335 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19337         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19339 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19341         * NEWS:  Mention new memcpy for MIPS.
19343 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19345         * manual/contrib.texi (Contributors): Spelling correction.
19347 2012-12-15  David S. Miller  <davem@davemloft.net>
19349         * po/ru.po: Update from translation team.
19351 2012-12-13  David S. Miller  <davem@davemloft.net>
19353         * NEWS: Mention IFUNC testsuite enhancements.
19355         * po/pl.po: Update from translation team.
19356         * po/bg.po: Likewise.
19358         * manual/contrib.texi (Contributors): Update entries for Hongjiu
19359         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19361 2012-12-11  David S. Miller  <davem@davemloft.net>
19363         * po/sv.po: Update from translation team.
19365         * po/vi.po: Update from translation team.
19367         * po/cs.po: Update from translation team.
19369         * po/de.po: Update from translation team.
19370         * po/eo.po: Likewise.
19371         * po/nl.po: Likewise.
19373 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19375         [BZ #14246]
19376         * manual/argp.texi (Argp Helper Functions): Move node to follow
19377         Argp Parsing State.
19379         [BZ #14872]
19380         * manual/conf.texi (Limits on File System Capacity): Mention if
19381         terminating null is included in the max size.
19383 2012-12-10  Andreas Jaeger  <aj@suse.de>
19385         * po/cs.po: Update from translation team.
19387 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19389         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19390         void pointer and cast to uintptr_t.
19391         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19392         path.
19393         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19394         * sysdeps/s390/s390-64/memset.S: Likewise.
19396 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
19398         [BZ #14833]
19399         * menual/message.texi (Message Translation): Fix typos.
19400         (Helper programs for gettext): Likewise.
19402 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19404         [BZ #14898]
19405         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19406         Change to -1.
19408 2012-12-07  David S. Miller  <davem@davemloft.net>
19410         * po/libc.pot: Update.
19412 2012-12-07  Richard Henderson  <rth@redhat.com>
19414         [BZ #10114]
19415         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19416         normal/normal case to before the switch.
19417         (_FP_DIV): Likewise.
19419 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19420             Mike Frysinger  <vapier@gentoo.org>
19422         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19423         check for __NR_fadvise64_64.
19425 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19427         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19428         0, not just to plain "0" as a statement.
19429         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19430         with cw.
19432 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19434         * NEWS: Use sourceware.org in Bugzilla URL.
19436 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19439         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19441         * stdio-common/tst-put-error.c (do_test): Add newline to the
19442         padded test to ensure flush.
19444 2012-12-05  Jeff Law  <law@redhat.com>
19446         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19448 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19450         * README: Don't refer to ports add-on as distributed separately.
19451         Mention AArch64 in list of systems supported in the ports add-on.
19453         * LICENSES: Add more non-FSF copyright and license notices.
19455         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19456         ((unused)).
19458         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19460         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19461         10000 as width of padded output.
19463 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19465         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19467         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19468         variable LX with __attribute__ ((unused)).
19469         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19470         Likewise.
19471         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19472         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19473         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19474         with __attribute__ ((unused)).
19476 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
19478         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19480 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19482         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19483         (CFLAGS-nldbl-acos.c): New variable.
19484         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19485         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19486         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19487         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19488         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19489         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19490         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19491         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19492         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19493         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19494         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19495         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19496         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19497         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19498         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19499         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19500         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19501         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19502         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19503         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19504         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19505         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19506         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19507         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19508         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19509         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19510         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19511         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19512         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19513         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19514         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19515         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19516         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19517         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19518         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19519         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19520         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19521         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19522         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19523         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19524         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19525         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19526         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19527         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19528         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19529         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19530         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19531         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19532         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19533         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19534         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19535         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19536         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19537         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19538         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19539         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19540         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19541         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19542         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19543         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19544         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19545         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19546         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19547         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19548         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19549         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19550         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19551         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19552         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19553         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19554         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19555         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19556         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19557         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19558         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19559         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19560         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19561         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19562         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19563         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19564         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19565         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19566         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19567         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19568         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19569         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19570         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19571         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19572         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19573         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19574         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19575         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19576         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19577         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19578         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19579         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19580         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19583         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19585         [BZ #14914]
19586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19587         whole low double instead of just low 47 bits when splitting values
19588         into two parts.
19590 2012-12-03  Allan McRae  <allan@archlinux.org>
19592         * manual/stdio.texi (Predefined Printf Handlers): Remove
19593         @hsep and @vsep usage.
19595 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
19597         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19598         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19600 2012-12-03  Jeff Law  <law@redhat.com>
19602         * time/sys/time.h (settimeofday): Do not mark TV argument
19603         as __nonnull.
19605 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
19607         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19608         when currently writing and seek to current position when not.
19609         * libio/Makefile (tests): Remove bug-fclose1.
19610         * libio/bug-fclose1.c: Delete.
19612 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
19614         * manual/arith.texi (feenableexcept): Fix typo.
19615         (fedisableexcept): Likewise.
19617 2012-11-30  Roland McGrath  <roland@hack.frob.com>
19619         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19620         second, differently-typed declaration, rather than a cast.
19622 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19624         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19625         * include/rpc/svc.h: ... here.
19627 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
19629         [BZ #13013]
19630         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19631         depending n and resplen2 to catch cases where answer
19632         equals answerp2.
19634 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
19636         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19637         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19639 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
19641         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19643 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19645         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19647 2012-11-28  Jeff Law  <law@redhat.com>
19649         [BZ #13761]
19650         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19651         dataset_temporary.  Track alloca usage into alloca_used.
19652         If dataset is large allocate and release it via malloc/free.
19654 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19656         [BZ #14197]
19657         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19659 2012-11-28  David S. Miller  <davem@davemloft.net>
19661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19663 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19665         [BZ #14803]
19666         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19667         of pi/2 rounded to nearest to 64 bits.
19668         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19669         nearest to 64 bits.
19670         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19671         bits.
19673 2012-11-28  Jeff Law <law@redhat.com>
19674             Martin Osvald <mosvald@redhat.com>
19676         [BZ #14889]
19677         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19678         * sunrpc/svc.c: Include time.h.
19679         (__svc_accept_failed): New function.
19680         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19681         any reason other than EINTR, call __svc_accept_failed.
19682         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19683         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19685 2012-11-28  Andreas Schwab  <schwab@suse.de>
19687         * scripts/abilist.awk: Also handle indirect functions in .opd
19688         section.
19690 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19692         [BZ #13881]
19693         * sysdeps/x86/fpu/powl_helper.c: New file.
19694         * sysdeps/x86/fpu/Makefile: Likewise.
19695         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19696         (p3): New object.
19697         (__ieee754_powl): Use __powl_helper for finite arguments except
19698         integer exponents below 8.
19699         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19700         (p3): New object.
19701         (__ieee754_powl): Use __powl_helper for finite arguments except
19702         integer exponents below 8.
19703         * math/libm-test.inc (pow_test): Add more tests and enable some
19704         previously disabled tests.
19705         * sysdeps/i386/fpu/libm-test-ulps: Update.
19706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19708 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19709             Carlos O'Donell  <carlos_odonell@mentor.com>
19711         * nss/makedb.c (is_prime): Assert that input is odd and greater
19712         than 4.  Note that fact in a comment too.
19713         (next_prime): Add 4 to input.
19715 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19717         [BZ #11741]
19718         * libio/Makefile (tests): Add test case tst-fwrite-error.
19719         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19720         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19721         * libio/tst-fwrite-error.c: New test case.
19723 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19725         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19726         before casting to void *.
19727         * include/libc-internal.h (__pointer_type): New macro.
19728         (__integer_if_pointer_type_sub): Likewise.
19729         (__integer_if_pointer_type): Likewise.
19730         (cast_to_integer): Likewise.
19731         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19732         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19733         before casting to atomic64_t.
19734         (atomic_exchange_acq): Likewise.
19735         (__arch_exchange_and_add_body): Likewise.
19736         (__arch_add_body): Likewise.
19737         (atomic_add_negative): Likewise.
19738         (atomic_add_zero): Likewise.
19740 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19742         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19743         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19744         (add_fdes): Likewise.
19745         (linear_search_fdes): Likewise.
19746         (binary_search_unencoded_fdes): Likewise.
19748 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19750         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19752 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19754         * configure.in: Autodetect C++ header directories.
19755         * configure: Regenerated.
19757 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19759         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19761 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19765 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19767         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19768         LDBL_MANT_DIG == 106]: Disable some tests.
19769         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19770         Likewise.
19771         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19772         Likewise.
19774         [BZ #14871]
19775         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19776         input for small inputs.  Return +/- pi/2 for large inputs.
19777         * math/libm-test.inc (atan_test): Add more tests.
19779         * sysdeps/generic/unwind-dw2-fde-glibc.c
19780         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19781         __attribute__ ((unused)).
19783         [BZ #14645]
19784         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19785         x * y if x and y are nonzero and z is zero.
19787         [BZ #14811]
19788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19789         nonzero exponents with absolute value below 0x1p-117 to +/-
19790         0x1p-117.
19792         [BZ #14869]
19793         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19794         up arguments below 2**-450, not just those below 2**-500.
19795         * math/libm-test.inc (hypot_test): Add another test.
19797         [BZ #14868]
19798         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19799         Return a+b for ratio over 2**120, not 2**60.
19800         * math/libm-test.inc (hypot_test): Add another test.
19802         * math/libm-test.inc (clog_test): Use
19803         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19804         (clog10_test): Likewise.
19806         [BZ #6778]
19807         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19809 2012-11-22  Andreas Schwab  <schwab@suse.de>
19811         * sysdeps/i386/fpu/libm-test-ulps: Update.
19813 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19815         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19816         printf output with newline.
19818 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19820         [BZ #14865]
19821         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19822         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19823         -z nodlopen, -z initfirst and -z execstack support.
19824         * configure: Regenerated.
19826         * elf/elf.h (DF_1_NODIRECT): New macro.
19827         (DF_1_IGNMULDEF): Likewise.
19828         (DF_1_NOKSYMS): Likewise.
19829         (DF_1_NOHDR): Likewise.
19830         (DF_1_EDITED): Likewise.
19831         (DF_1_NORELOC): Likewise.
19832         (DF_1_SYMINTPOSE): Likewise.
19833         (DF_1_GLOBAUDIT): Likewise.
19834         (DF_1_SINGLETON): Likewise.
19835         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19836         DT_1_SUPPORTED_MASK bits.
19837         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19839 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19841         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19843 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19845         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19846         macro.
19848         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19849         (sendmmsg): Move declarations...
19850         * socket/sys/socket.h: ... here.
19851         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19852         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19853         include it from...
19854         * socket/recvmmsg.c: ... this new file.
19855         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19856         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19857         definition of __sendmmsg hidden.
19858         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19859         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19860         Move ENOSYS stub into and include it from...
19861         * socket/sendmmsg.c: ... this new file.
19862         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19863         (sysdep_routines): Move recvmmsg and sendmmsg...
19864         * socket/Makefile (routines): ... here.
19865         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19866         (GLIBC_PRIVATE): Add __sendmmsg.
19867         * include/sys/socket.h (__sendmmsg): Add declarations.
19868         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19869         sendmmsg.
19871 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19873         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19874         variable I1 with __attribute__ ((unused)).
19875         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19877 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19879         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19880         DUMMY variables with __attribute__ ((unused)).
19882         * bits/byteswap.h: Include <bits/types.h>.
19883         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19885 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19887         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19888         string_t.  Do not manually set errno.
19889         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19890         length with __strnlen.  Make sure to both set errno and return it on
19891         failure.
19893 2012-11-19  David S. Miller  <davem@davemloft.net>
19895         With help from Joseph Myers.
19896         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19897         very large arguments properly.
19898         * math/libm-test.inc (atan_test): New tests.
19899         (atan2_test): New tests.
19900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19903 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19905         [BZ #14856]
19906         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19907         Define to 3.
19909         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19910         [POSIX] (EADDRNOTAVAIL): Likewise.
19911         [POSIX] (EAFNOSUPPORT): Likewise.
19912         [POSIX] (EALREADY): Likewise.
19913         [POSIX] (ECONNABORTED): Likewise.
19914         [POSIX] (ECONNREFUSED): Likewise.
19915         [POSIX] (ECONNRESET): Likewise.
19916         [POSIX] (EDESTADDRREQ): Likewise.
19917         [POSIX] (EDQUOT): Likewise.
19918         [POSIX] (EHOSTUNREACH): Likewise.
19919         [POSIX] (EIDRM): Likewise.
19920         [POSIX] (EISCONN): Likewise.
19921         [POSIX] (ELOOP): Likewise.
19922         [POSIX] (EMULTIHOP): Likewise.
19923         [POSIX] (ENETDOWN): Likewise.
19924         [POSIX] (ENETUNREACH): Likewise.
19925         [POSIX] (ENOBUFS): Likewise.
19926         [POSIX] (ENODATA): Likewise.
19927         [POSIX] (ENOLINK): Likewise.
19928         [POSIX] (ENOMSG): Likewise.
19929         [POSIX] (ENOPROTOOPT): Likewise.
19930         [POSIX] (ENOSR): Likewise.
19931         [POSIX] (ENOSTR): Likewise.
19932         [POSIX] (ENOTCONN): Likewise.
19933         [POSIX] (ENOTSOCK): Likewise.
19934         [POSIX] (EOPNOTSUPP): Likewise.
19935         [POSIX] (EOVERFLOW): Likewise.
19936         [POSIX] (EPROTO): Likewise.
19937         [POSIX] (EPROTONOSUPPORT): Likewise.
19938         [POSIX] (EPROTOTYPE): Likewise.
19939         [POSIX] (ESTALE): Likewise.
19940         [POSIX] (ETIME): Likewise.
19941         [POSIX] (ETXTBSY): Likewise.
19942         [POSIX] (EWOULDBLOCK): Likewise.
19943         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19944         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19945         [POSIX] (SEEK_CUR): Likewise.
19946         [POSIX] (SEEK_END): Likewise.
19947         [POSIX || UNIX98] (mode_t): Do not require.
19948         [POSIX] (off_t): Likewise.
19949         [POSIX] (pid_t): Likewise.
19950         [POSIX] (sys/stat.h): Do not allow header.
19951         [POSIX] (unistd.h): Likewise.
19952         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19953         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19954         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19955         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19956         require.
19957         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19958         sigevent): Specify elements.
19959         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19960         entry.
19961         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19962         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19964         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19965         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19966         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19967         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19968         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19969         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19970         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19971         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19972         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19973         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19974         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19975         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19976         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19977         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19978         Likewise.
19979         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19980         Likewise.
19981         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19982         Likewise.
19983         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19984         Likewise.
19985         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19986         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19987         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19988         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19989         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19990         Specify lower bound on value.
19991         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19992         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19993         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19994         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19995         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19996         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19997         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19998         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19999         value.
20000         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20001         as optional.
20002         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20003         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20004         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20005         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20006         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20007         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20008         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20009         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20010         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20011         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20012         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20013         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20014         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20015         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20016         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20017         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20018         entry.
20019         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20020         optional.
20021         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20022         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20023         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20024         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20025         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20026         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20027         Likewise.
20028         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20029         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20030         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20031         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20032         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20033         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20034         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20035         as optional.
20036         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20037         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20038         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20039         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20040         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20041         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20042         specify as optional.
20043         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20044         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20045         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20046         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20047         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20048         [XPG3] (NL_LANGMAX): Likewise.
20049         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20050         [POSIX || XPG3] (NL_NMAX): Likewise.
20051         [POSIX || XPG3] (NL_SETMAX): Likewise.
20052         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20053         [XPG3] (NZERO): Likewise.
20054         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20055         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20056         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20057         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20058         (REG_ERANGE): Expect.
20059         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20060         optional-constant.
20061         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20062         Use (void) in prototype.
20063         [POSIX] (*_t): Allow.
20064         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20065         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20066         (WRDE_BADVAL): Expect.
20068         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20069         expect.
20070         [XPG3 || XPG4] (O_RSYNC): Likewise.
20071         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20072         Likewise.
20073         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20074         [XPG3 || XPG4] (sigqueue): Likewise.
20075         [XPG3 || XPG4] (sigtimedwait): Likewise.
20076         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20077         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20078         [XPG3 || XPG4] (vsnprintf): Likewise.
20079         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20080         Likewise.
20081         [XPG3 || XPG4] (blksize_t): Likewise.
20082         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20083         Likewise.
20084         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20085         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20086         [XPG3 || XPG4] (struct itimerspec): Likewise.
20087         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20088         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20089         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20090         [XPG3 || XPG4] (clockid_t): Likewise.
20091         [XPG3 || XPG4] (timer_t): Likewise.
20092         [XPG3 || XPG4] (clock_getres): Likewise.
20093         [XPG3 || XPG4] (clock_gettime): Likewise.
20094         [XPG3 || XPG4] (clock_settime): Likewise.
20095         [XPG3 || XPG4] (nanosleep): Likewise.
20096         [XPG3 || XPG4] (timer_create): Likewise.
20097         [XPG3 || XPG4] (timer_delete): Likewise.
20098         [XPG3 || XPG4] (timer_gettime): Likewise.
20099         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20100         [XPG3 || XPG4] (timer_settime): Likewise.
20101         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20102         [XPG3 || XPG4] (getlogin_r): Likewise.
20103         [XPG3 || XPG4] (pread): Likewise.
20104         [XPG3 || XPG4] (pthread_atfork): Likewise.
20105         [XPG3 || XPG4] (pwrite): Likewise.
20107         [BZ #14835]
20108         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20109         <bits/siginfo.h>.
20111 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20113         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20114         finalizing MALLSTREAM.
20116         * sysdeps/mach/hurd/syncfs.c: New file.
20118 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20120         [BZ #14719]
20121         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20122         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20123         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20124         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20125         (_nss_dns_gethostbyname4_r): Likewise.
20126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20127         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20129 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20131         [BZ #13763]
20132         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20134 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20136         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20137         * elf/cache.c (print_entry): Print ",AArch64" for
20138         FLAG_AARCH64_LIB64
20140         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20141         * elf/cache.c (print_entry): Print ",hard-float" for
20142         FLAG_ARM_LIBHF.
20144 2012-11-18  David S. Miller  <davem@davemloft.net>
20146         With help from Joseph Myers.
20147         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20148         cutoff to 2**-13.
20149         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20150         cutoff to 2**-25.
20151         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20152         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20153         small.
20154         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20155         * math/libm-test.inc (y0_test): New tests.
20156         (y1_test): New tests.
20157         * sysdeps/i386/fpu/libm-test-ulps: Update.
20158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20161 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20163         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20164         64-bit targets.
20165         * configure: Regenerated.
20167 2012-11-17  David S. Miller  <davem@davemloft.net>
20169         [BZ #14811]
20170         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20171         nonzero exponents with absolute value below 0x1p-128 to +/-
20172         0x1p-128.
20174 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20176         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20178         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20180         * posix/getconf-speclist.c: New file.
20181         * posix/posix-envs.def: Likewise.
20182         * posix/confstr.c (START_ENV_GROUP): New macro.
20183         (END_ENV_GROUP): Likewise.
20184         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20185         (KNOWN_PRESENT_ENV_STRING): Likewise.
20186         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20187         (UNKNOWN_ENVIRONMENT): Likewise.
20188         (confstr): Include posix-envs.def instead of handling
20189         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20190         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20191         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20192         (END_ENV_GROUP): Likewise.
20193         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20194         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20195         (UNKNOWN_ENVIRONMENT): Likewise.
20196         (__sysconf): Include posix-envs.def instead of handling associated
20197         cases directly here.
20198         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20199         preprocessing getconf-speclist.c rather than running getconf or
20200         generating empty file.
20202 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20204         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20206 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20208         [BZ #14672]
20209         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20211 2012-11-16  David S. Miller  <davem@davemloft.net>
20213         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20214         smaller than LDBL_EPSILON/2.0L, just return xm1.
20216 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20218         * elf/tst-array1.c (init): Set constructor priority to 1000.
20219         (fini): Set destructor priority to 1000.
20220         * elf/tst-array2dep.c: Likewise.
20222 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20224         [BZ #11741]
20225         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20226         (_IO_new_file_xsputn): Also return EOF if none of the input
20227         data was written when overflow failed.
20228         * libio/iopadn.c (_IO_padn): Likewise.
20229         * libio/iowpadn.c (_IO_wpadn): Likewise.
20230         * stdio-common/tst-put-error.c: Add copyright notice.
20231         (do_test): Add case for printing padded string.
20232         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20233         _IO_padn returned error.
20234         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20235         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20236         return EOF.
20238 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20240         * libio/libioP.h: Add comment note that the references to C++
20241         bits are now obsolete.
20243 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20245         * math/libm-test.inc (check_complex): Use asprintf.
20247 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20249         * debug/pcprofiledump.c (print_version): Update copyright year.
20250         * malloc/memusagestat.c (print_version): Likewise.
20252 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20254         [BZ #14831]
20255         * elf/Makefile (tests): Add tst-audit8.
20256         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20257         ($(objpfx)tst-audit8.out): New target.
20258         (tst-audit8-ENV): New variable.
20259         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20260         audit if l_reloc_result is NULL.
20261         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20262         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20263         * elf/tst-audit8.c: New file.
20265 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20267         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20268         * misc/Makefile (CFLAGS-select.c): Define.
20269         * posix/Makefile (CFLAGS-pause.c): Define.
20271 2012-11-13  David S. Miller  <davem@davemloft.net>
20273         * crypt/Makefile: Move test targets after toplevel Rules
20274         inclusion.  Grab any necessary sysdep routines when linking.
20275         * crypt/md5.c (md5_process_block): Remove define, we will always
20276         name it __md5_process_block.
20277         (md5_finish_ctx): Update md5_process_block call.
20278         (md5_stream): Likewise.
20279         (md5_process_bytes): Likewise.
20280         (md5_process_block): Rename to __md5_process_block and move to ...
20281         * crypt/md5-block.c: ... here.
20282         * crypt/sha256.c (sha256_process_block): Move to ...
20283         * crypt/sha256-block.c: ... here.
20284         * crypt/sha512.c (sha512_process_block): Move to ...
20285         * crypt/sha512-block.c: ... here.
20286         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20287         path.
20288         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20289         * sysdeps/sparc/sparc64/multiarch/Makefile
20290         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20291         crypt subdir.
20292         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20293         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20294         multiarch changes.
20295         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20296         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20297         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20298         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20299         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20300         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20301         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20302         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20303         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20304         file.
20305         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20306         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20307         file.
20308         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20310 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20312         * timezone/tzselect.ksh: Update from tzcode git revision
20313         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20314         * timezone/zdump.c: Likewise.
20315         * timezone/zic.c: Likewise.
20316         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20317         in TZVERSION setting, not $(PKGVERSION).
20318         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20319         REPORT_BUGS_TO settings.
20321         [BZ #14838]
20322         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20323         macro.
20325 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20327         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20328         detection to immediately after _FP_ROUND().
20329         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20330         bits are 0.
20332 2012-11-11  David S. Miller  <davem@davemloft.net>
20334         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20335         inttypes.h
20336         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20337         __close rather than their public counterparts.
20339 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20341         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20342         file.
20343         [UNIX98] (sem_timedwait): Do not expect.
20344         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20345         [XPG4 || UNIX98] (sockatmark): Do not expect.
20346         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20347         (clock_getcpuclockid): Do not expect.
20348         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20349         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20350         Do not expect.
20351         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20352         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20353         [UNIX98] (vwscanf): Likewise.
20354         [UNIX98] (vswscanf): Likewise.
20356 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
20358         * timezone/version.h: Remove file.
20359         * timezone/README: Do not refer to version.h.
20360         * timezone/Makefile ($(objpfx)zic.o): New dependency on
20361         $(objpfx)version.h.
20362         ($(objpfx)zdump.o): Likewise.
20363         ($(objpfx)version.h): New target.
20365         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20366         2012i.
20367         * timezone/README: Don't mention modification to tzselect.ksh.
20368         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20369         work on unmodified tzselect.ksh.  Substitute version numbers in
20370         tzselect.ksh.
20372         * Makefile (format-me): Remove.
20373         (INSTALL): Adjust indentation.  Use commands directly instead of
20374         using $(format-me).
20376         * aclocal.m4 (ACX_PKGVERSION): New macro.
20377         (ACX_BUGURL): Likewise.
20378         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20379         (PKGVERSION): New AC_DEFINE_UNQUOTED.
20380         (REPORT_BUGS_TO): Likewise.
20381         * configure: Regenerated.
20382         * config.h.in (PKGVERSION): New macro.
20383         (REPORT_BUGS_TO): Likewise.
20384         * config.make.in (PKGVERSION): New variable.
20385         (PKGVERSION_TEXI): Likewise.
20386         (REPORT_BUGS_TO): Likewise.
20387         (REPORT_BUGS_TEXI): Likewise.
20388         * Makefile (format-me): Use -I$(common-objpfx)manual.
20389         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20390         ($(common-objpfx)manual/%): New target.
20391         (manual/%): Remove target.
20392         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20393         (print_version): Use PKGVERSION.
20394         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20395         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20396         and REPORT_BUGS_TO.
20397         ($(objpfx)xtrace): Likewise.
20398         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20399         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20400         (print_version): Use PKGVERSION.
20401         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20402         (do_version): Use PKGVERSION.
20403         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20404         REPORT_BUGS_TO.
20405         (common-ldd-rewrite): Likewise.
20406         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20407         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20408         (print_version): Use PKGVERSION.
20409         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20410         * elf/pldd.c (argp_program_bug_address): Remove variable.
20411         (more_help): New function.
20412         (argp): Use more_help.
20413         (print_version): Use PKGVERSION.
20414         * elf/sln.c (main): Use PKGVERSION.
20415         (usage): Use REPORT_BUGS_TO.
20416         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20417         (top level): Use PKGVERSION.
20418         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20419         (print_version): Use PKGVERSION.
20420         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20421         (print_version): Use PKGVERSION.
20422         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20423         (print_version): Use PKGVERSION.
20424         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20425         (print_version): Use PKGVERSION.
20426         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20427         (print_version): Use PKGVERSION.
20428         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20429         (print_version): Use PKGVERSION.
20430         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20431         and BUGURL.
20432         ($(objpfx)memusage): Likewise.
20433         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20434         (do_version): Use PKGVERSION.
20435         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20436         (print_version): Use PKGVERSION.
20437         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20438         ($PKGVERSION): New variable.
20439         ($REPORT_BUGS_TO): Likewise.
20440         (usage): Use $REPORT_BUGS_TO.
20441         (top level): Use $PKGVERSION.
20442         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20443         ($(objpfx)pkgvers.texi): New rule.
20444         ($(objpfx)stamp-pkgvers): Likewise.
20445         * manual/install.texi: Include pkgvers.texi.
20446         (--with-pkgversion): Document new configure option.
20447         (--with-bugurl): Likewise.
20448         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20449         than necessarily for this particular distribution.  Use
20450         REPORT_BUGS_TO for where to report bugs.
20451         * INSTALL: Regenerated.
20452         * manual/libc.texinfo: Include pkgvers.texi.
20453         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20454         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20455         (print_version): Use PKGVERSION.
20456         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20457         (print_version): Use PKGVERSION.
20458         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20459         (print_version): Use PKGVERSION.
20460         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20461         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20462         macro.
20463         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20464         (print_version): Use PKGVERSION.
20465         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20466         (print_version): Use PKGVERSION.
20467         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20468         and PKGVERSION.
20470         * timezone/checktab.awk: Update from tzcode 2012i.
20471         * timezone/ialloc.c: Likewise.
20472         * timezone/private.h: Likewise.
20473         * timezone/scheck.c: Likewise.
20474         * timezone/tzfile.h: Likewise.
20475         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20476         (TZVERSION): Hardcode tzcode version number.
20477         * timezone/zdump.c: Update from tzcode 2012i.
20478         * timezone/zic.c: Likewise.
20479         * timezone/version.h: New file.
20480         * timezone/README: Describe version.h.  Update upstream location.
20482         [BZ #14824]
20483         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20484         (mktemp): Enable declaration.
20485         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20487         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20489         Likewise.
20490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20491         Likewise.
20492         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20493         Likewise.
20494         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20495         Likewise.
20496         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20497         Likewise.
20498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20499         Likewise.
20501         [BZ #14821]
20502         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20503         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
20504         for copies of such integer values.
20505         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20506         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20508 2012-11-09  Andreas Jaeger  <aj@suse.de>
20510         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20511         definitions and declarations that are provided by
20512         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20514 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20516         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20517         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20518         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20519         definition.
20521 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20523         * elf/elf.h: Update comment before AArch64 relocations.
20525 2012-11-07  David S. Miller  <davem@davemloft.net>
20527         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20528         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20529         (__start_context): Declare.
20530         (__makecontext_ret): Delete.
20531         (__makecontext): Hook up __start_context instead of
20532         __makecontext_ret.
20533         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20534         (sysdep_routines): Add __start_context when in stdlib.
20536 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20538         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20539         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20540         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
20541         hardcoded "nm".
20542         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
20543         (READELF): New variable.  Use it instead of hardcoded "readelf".
20545 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20547         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20548         * sysdeps/x86/Makefile: Here.
20549         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20550         * sysdeps/x86/tst-xmmymm.sh: This.
20552 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20554         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20555         expectations.
20556         [UNIX98] (pthread_barrier_t): Do not expect.
20557         [UNIX98] (pthread_barrierattr_t): Likewise.
20558         [UNIX98] (pthread_spinlock_t): Likewise.
20559         [UNIX98] (pthread_barrier_destroy): Likewise.
20560         [UNIX98] (pthread_barrier_init): Likewise.
20561         [UNIX98] (pthread_barrier_wait): Likewise.
20562         [UNIX98] (pthread_barrierattr_destroy): Likewise.
20563         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20564         [UNIX98] (pthread_barrierattr_init): Likewise.
20565         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20566         [UNIX98] (pthread_getcpuclockid): Likewise.
20567         [UNIX98] (pthread_mutex_timedlock): Likewise.
20568         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20569         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20570         [UNIX98] (pthread_sigmask): Likewise.
20571         [UNIX98] (pthread_spin_destroy): Likewise.
20572         [UNIX98] (pthread_spin_init): Likewise.
20573         [UNIX98] (pthread_spin_lock): Likewise.
20574         [UNIX98] (pthread_spin_trylock): Likewise.
20575         [UNIX98] (pthread_spin_unlock): Likewise.
20576         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20577         Do not expect.
20578         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20579         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20580         [XPG3 || XPG4] (pthread_cond_t): Likewise.
20581         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20582         [XPG3 || XPG4] (pthread_key_t): Likewise.
20583         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20584         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20585         [XPG3 || XPG4] (pthread_once_t): Likewise.
20586         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20587         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20588         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20589         [XPG3 || XPG4] (pthread_t): Likewise.
20591         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20592         not expect.
20593         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20595         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20596         Change function return type to int.
20598         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20599         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20600         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20601         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20602         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20603         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20604         [!POSIX] (posix_madvise): Likewise.
20605         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20606         && !UNIX98].
20607         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20608         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20609         (mode_t): Likewise.
20610         (posix_mem_offset): Likewise.
20611         (posix_typed_mem_get_info): Likewise.
20612         (posix_typed_mem_open): Likewise.
20614         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20615         Change condition to [XOPEN2K8].
20617         * conform/conformtest.pl: Preprocess allow-header data with -x c
20618         instead of from stdin.
20619         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20620         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20621         [C99-based standards] (cerfc): Likewise.
20622         [C99-based standards] (cexp2): Likewise.
20623         [C99-based standards] (cexpm1): Likewise.
20624         [C99-based standards] (clog10): Likewise.
20625         [C99-based standards] (clog1p): Likewise.
20626         [C99-based standards] (clog2): Likewise.
20627         [C99-based standards] (clgamma): Likewise.
20628         [C99-based standards] (ctgamma): Likewise.
20629         [C99-based standards] (cerff): Likewise.
20630         [C99-based standards] (cerfcf): Likewise.
20631         [C99-based standards] (cexp2f): Likewise.
20632         [C99-based standards] (cexpm1f): Likewise.
20633         [C99-based standards] (clog10f): Likewise.
20634         [C99-based standards] (clog1pf): Likewise.
20635         [C99-based standards] (clog2f): Likewise.
20636         [C99-based standards] (clgammaf): Likewise.
20637         [C99-based standards] (ctgammaf): Likewise.
20638         [C99-based standards] (cerfl): Likewise.
20639         [C99-based standards] (cerfcl): Likewise.
20640         [C99-based standards] (cexp2l): Likewise.
20641         [C99-based standards] (cexpm1l): Likewise.
20642         [C99-based standards] (clog10l): Likewise.
20643         [C99-based standards] (clog1pl): Likewise.
20644         [C99-based standards] (clog2l): Likewise.
20645         [C99-based standards] (clgammal): Likewise.
20646         [C99-based standards] (ctgammal): Likewise.
20647         * conform/data/inttypes.h-data [C99-based standards]: Include
20648         stdint.h-data.  Remove all expectations for stdint.h contents.
20649         [C99-based standards] (PRI*): Do not allow.
20650         [C99-based standards] (SCN*): Likewise.
20651         [C99-based standards] (*_t): Likewise.
20652         [C99-based-standards] (PRId8): Expect macro.
20653         [C99-based-standards] (PRIi8): Likewise.
20654         [C99-based-standards] (PRIo8): Likewise.
20655         [C99-based-standards] (PRIu8): Likewise.
20656         [C99-based-standards] (PRIx8): Likewise.
20657         [C99-based-standards] (PRIX8): Likewise.
20658         [C99-based-standards] (SCNd8): Likewise.
20659         [C99-based-standards] (SCNi8): Likewise.
20660         [C99-based-standards] (SCNo8): Likewise.
20661         [C99-based-standards] (SCNu8): Likewise.
20662         [C99-based-standards] (SCNx8): Likewise.
20663         [C99-based-standards] (PRIdLEAST8): Likewise.
20664         [C99-based-standards] (PRIiLEAST8): Likewise.
20665         [C99-based-standards] (PRIoLEAST8): Likewise.
20666         [C99-based-standards] (PRIuLEAST8): Likewise.
20667         [C99-based-standards] (PRIxLEAST8): Likewise.
20668         [C99-based-standards] (PRIXLEAST8): Likewise.
20669         [C99-based-standards] (SCNdLEAST8): Likewise.
20670         [C99-based-standards] (SCNiLEAST8): Likewise.
20671         [C99-based-standards] (SCNoLEAST8): Likewise.
20672         [C99-based-standards] (SCNuLEAST8): Likewise.
20673         [C99-based-standards] (SCNxLEAST8): Likewise.
20674         [C99-based-standards] (PRIdFAST8): Likewise.
20675         [C99-based-standards] (PRIiFAST8): Likewise.
20676         [C99-based-standards] (PRIoFAST8): Likewise.
20677         [C99-based-standards] (PRIuFAST8): Likewise.
20678         [C99-based-standards] (PRIxFAST8): Likewise.
20679         [C99-based-standards] (PRIXFAST8): Likewise.
20680         [C99-based-standards] (SCNdFAST8): Likewise.
20681         [C99-based-standards] (SCNiFAST8): Likewise.
20682         [C99-based-standards] (SCNoFAST8): Likewise.
20683         [C99-based-standards] (SCNuFAST8): Likewise.
20684         [C99-based-standards] (SCNxFAST8): Likewise.
20685         [C99-based-standards] (PRId16): Likewise.
20686         [C99-based-standards] (PRIi16): Likewise.
20687         [C99-based-standards] (PRIo16): Likewise.
20688         [C99-based-standards] (PRIu16): Likewise.
20689         [C99-based-standards] (PRIx16): Likewise.
20690         [C99-based-standards] (PRIX16): Likewise.
20691         [C99-based-standards] (SCNd16): Likewise.
20692         [C99-based-standards] (SCNi16): Likewise.
20693         [C99-based-standards] (SCNo16): Likewise.
20694         [C99-based-standards] (SCNu16): Likewise.
20695         [C99-based-standards] (SCNx16): Likewise.
20696         [C99-based-standards] (PRIdLEAST16): Likewise.
20697         [C99-based-standards] (PRIiLEAST16): Likewise.
20698         [C99-based-standards] (PRIoLEAST16): Likewise.
20699         [C99-based-standards] (PRIuLEAST16): Likewise.
20700         [C99-based-standards] (PRIxLEAST16): Likewise.
20701         [C99-based-standards] (PRIXLEAST16): Likewise.
20702         [C99-based-standards] (SCNdLEAST16): Likewise.
20703         [C99-based-standards] (SCNiLEAST16): Likewise.
20704         [C99-based-standards] (SCNoLEAST16): Likewise.
20705         [C99-based-standards] (SCNuLEAST16): Likewise.
20706         [C99-based-standards] (SCNxLEAST16): Likewise.
20707         [C99-based-standards] (PRIdFAST16): Likewise.
20708         [C99-based-standards] (PRIiFAST16): Likewise.
20709         [C99-based-standards] (PRIoFAST16): Likewise.
20710         [C99-based-standards] (PRIuFAST16): Likewise.
20711         [C99-based-standards] (PRIxFAST16): Likewise.
20712         [C99-based-standards] (PRIXFAST16): Likewise.
20713         [C99-based-standards] (SCNdFAST16): Likewise.
20714         [C99-based-standards] (SCNiFAST16): Likewise.
20715         [C99-based-standards] (SCNoFAST16): Likewise.
20716         [C99-based-standards] (SCNuFAST16): Likewise.
20717         [C99-based-standards] (SCNxFAST16): Likewise.
20718         [C99-based-standards] (PRId32): Likewise.
20719         [C99-based-standards] (PRIi32): Likewise.
20720         [C99-based-standards] (PRIo32): Likewise.
20721         [C99-based-standards] (PRIu32): Likewise.
20722         [C99-based-standards] (PRIx32): Likewise.
20723         [C99-based-standards] (PRIX32): Likewise.
20724         [C99-based-standards] (SCNd32): Likewise.
20725         [C99-based-standards] (SCNi32): Likewise.
20726         [C99-based-standards] (SCNo32): Likewise.
20727         [C99-based-standards] (SCNu32): Likewise.
20728         [C99-based-standards] (SCNx32): Likewise.
20729         [C99-based-standards] (PRIdLEAST32): Likewise.
20730         [C99-based-standards] (PRIiLEAST32): Likewise.
20731         [C99-based-standards] (PRIoLEAST32): Likewise.
20732         [C99-based-standards] (PRIuLEAST32): Likewise.
20733         [C99-based-standards] (PRIxLEAST32): Likewise.
20734         [C99-based-standards] (PRIXLEAST32): Likewise.
20735         [C99-based-standards] (SCNdLEAST32): Likewise.
20736         [C99-based-standards] (SCNiLEAST32): Likewise.
20737         [C99-based-standards] (SCNoLEAST32): Likewise.
20738         [C99-based-standards] (SCNuLEAST32): Likewise.
20739         [C99-based-standards] (SCNxLEAST32): Likewise.
20740         [C99-based-standards] (PRIdFAST32): Likewise.
20741         [C99-based-standards] (PRIiFAST32): Likewise.
20742         [C99-based-standards] (PRIoFAST32): Likewise.
20743         [C99-based-standards] (PRIuFAST32): Likewise.
20744         [C99-based-standards] (PRIxFAST32): Likewise.
20745         [C99-based-standards] (PRIXFAST32): Likewise.
20746         [C99-based-standards] (SCNdFAST32): Likewise.
20747         [C99-based-standards] (SCNiFAST32): Likewise.
20748         [C99-based-standards] (SCNoFAST32): Likewise.
20749         [C99-based-standards] (SCNuFAST32): Likewise.
20750         [C99-based-standards] (SCNxFAST32): Likewise.
20751         [C99-based-standards] (PRId64): Likewise.
20752         [C99-based-standards] (PRIi64): Likewise.
20753         [C99-based-standards] (PRIo64): Likewise.
20754         [C99-based-standards] (PRIu64): Likewise.
20755         [C99-based-standards] (PRIx64): Likewise.
20756         [C99-based-standards] (PRIX64): Likewise.
20757         [C99-based-standards] (SCNd64): Likewise.
20758         [C99-based-standards] (SCNi64): Likewise.
20759         [C99-based-standards] (SCNo64): Likewise.
20760         [C99-based-standards] (SCNu64): Likewise.
20761         [C99-based-standards] (SCNx64): Likewise.
20762         [C99-based-standards] (PRIdLEAST64): Likewise.
20763         [C99-based-standards] (PRIiLEAST64): Likewise.
20764         [C99-based-standards] (PRIoLEAST64): Likewise.
20765         [C99-based-standards] (PRIuLEAST64): Likewise.
20766         [C99-based-standards] (PRIxLEAST64): Likewise.
20767         [C99-based-standards] (PRIXLEAST64): Likewise.
20768         [C99-based-standards] (SCNdLEAST64): Likewise.
20769         [C99-based-standards] (SCNiLEAST64): Likewise.
20770         [C99-based-standards] (SCNoLEAST64): Likewise.
20771         [C99-based-standards] (SCNuLEAST64): Likewise.
20772         [C99-based-standards] (SCNxLEAST64): Likewise.
20773         [C99-based-standards] (PRIdFAST64): Likewise.
20774         [C99-based-standards] (PRIiFAST64): Likewise.
20775         [C99-based-standards] (PRIoFAST64): Likewise.
20776         [C99-based-standards] (PRIuFAST64): Likewise.
20777         [C99-based-standards] (PRIxFAST64): Likewise.
20778         [C99-based-standards] (PRIXFAST64): Likewise.
20779         [C99-based-standards] (SCNdFAST64): Likewise.
20780         [C99-based-standards] (SCNiFAST64): Likewise.
20781         [C99-based-standards] (SCNoFAST64): Likewise.
20782         [C99-based-standards] (SCNuFAST64): Likewise.
20783         [C99-based-standards] (SCNxFAST64): Likewise.
20784         [C99-based-standards] (PRIdMAX): Likewise.
20785         [C99-based-standards] (PRIiMAX): Likewise.
20786         [C99-based-standards] (PRIoMAX): Likewise.
20787         [C99-based-standards] (PRIuMAX): Likewise.
20788         [C99-based-standards] (PRIxMAX): Likewise.
20789         [C99-based-standards] (PRIXMAX): Likewise.
20790         [C99-based-standards] (SCNdMAX): Likewise.
20791         [C99-based-standards] (SCNiMAX): Likewise.
20792         [C99-based-standards] (SCNoMAX): Likewise.
20793         [C99-based-standards] (SCNuMAX): Likewise.
20794         [C99-based-standards] (SCNxMAX): Likewise.
20795         [C99-based-standards] (PRIdPTR): Likewise.
20796         [C99-based-standards] (PRIiPTR): Likewise.
20797         [C99-based-standards] (PRIoPTR): Likewise.
20798         [C99-based-standards] (PRIuPTR): Likewise.
20799         [C99-based-standards] (PRIxPTR): Likewise.
20800         [C99-based-standards] (PRIXPTR): Likewise.
20801         [C99-based-standards] (SCNdPTR): Likewise.
20802         [C99-based-standards] (SCNiPTR): Likewise.
20803         [C99-based-standards] (SCNoPTR): Likewise.
20804         [C99-based-standards] (SCNuPTR): Likewise.
20805         [C99-based-standards] (SCNxPTR): Likewise.
20806         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20807         allow.
20808         * conform/data/stdint.h-data: Update comments to clarify
20809         requirements.
20810         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20811         type.
20812         [C99-based standards] (INT8_MAX): Likewise.
20813         [C99-based standards] (INT16_MIN): Likewise.
20814         [C99-based standards] (INT16_MAX): Likewise.
20815         [C99-based standards] (INT32_MIN): Likewise.
20816         [C99-based standards] (INT32_MAX): Likewise.
20817         [C99-based standards] (INT64_MIN): Likewise.
20818         [C99-based standards] (INT64_MAX): Likewise.
20819         [C99-based standards] (UINT8_MAX): Likewise.
20820         [C99-based standards] (UINT16_MAX): Likewise.
20821         [C99-based standards] (UINT32_MAX): Likewise.
20822         [C99-based standards] (UINT64_MAX): Likewise.
20823         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20824         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20825         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20826         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20827         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20828         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20829         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20830         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20831         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20832         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20833         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20834         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20835         [C99-based standards] (INT_FAST8_MIN): Likewise.
20836         [C99-based standards] (INT_FAST8_MAX): Likewise.
20837         [C99-based standards] (INT_FAST16_MIN): Likewise.
20838         [C99-based standards] (INT_FAST16_MAX): Likewise.
20839         [C99-based standards] (INT_FAST32_MIN): Likewise.
20840         [C99-based standards] (INT_FAST32_MAX): Likewise.
20841         [C99-based standards] (INT_FAST64_MIN): Likewise.
20842         [C99-based standards] (INT_FAST64_MAX): Likewise.
20843         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20844         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20845         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20846         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20847         [C99-based standards] (INTPTR_MIN): Likewise.
20848         [C99-based standards] (INTPTR_MAX): Likewise.
20849         [C99-based standards] (UINTPTR_MAX): Likewise.
20850         [C99-based standards] (INTMAX_MIN): Likewise.
20851         [C99-based standards] (INTMAX_MAX): Likewise.
20852         [C99-based standards] (UINTMAX_MAX): Likewise.
20853         [C99-based standards] (PTRDIFF_MIN): Likewise.
20854         [C99-based standards] (PTRDIFF_MAX): Likewise.
20855         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20856         [C99-based standards] (SIZE_MAX): Likewise.
20857         [C99-based standards] (WCHAR_MAX): Likewise.
20858         [C99-based standards] (WINT_MAX): Likewise.
20859         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20860         constraint on value.
20861         [C99-based standards] (WCHAR_MIN): Likewise.
20862         [C99-based standards] (WINT_MIN): Likewise.
20863         [C99-based standards] (*_t): Allow.
20864         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20865         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20866         Include math.h-data and complex.h-data.  Remove all expectations
20867         of math.h and complex.h contents.
20868         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20869         at end of line.
20870         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20871         (struct tm): Expect tag.
20872         [C99-based-standards] (wcstof): Expect function.
20873         [C99-based-standards] (wcstold): Likewise.
20874         [C99-based-standards] (wcstoll): Likewise.
20875         [C99-based-standards] (wcstoull): Likewise.
20876         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20877         macro-int-constant.  Specify type.
20878         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20879         constraint on value.
20880         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20881         Specify type.
20882         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20883         Specify value.
20884         [ISO C standards]: Do not allow headers.
20885         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20886         wcs[abcdefghijklmnopqrstuvwxyz]*.
20887         [ISO C standards] (*_t): Do not allow.
20888         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20889         Expect function.
20890         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20891         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20892         Specify type.
20893         [ISO C standards]: Do not allow headers.
20894         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20895         is[abcdefghijklmnopqrstuvwxyz]*.
20896         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20897         to[abcdefghijklmnopqrstuvwxyz]*.
20898         [ISO C standards] (*_t): Do not allow.
20899         * conform/data/stdalign.h-data: New file.
20900         * conform/data/stdbool.h-data: Likewise.
20901         * conform/data/stdnoreturn.h-data: Likewise.
20903 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20905         [BZ #14815]
20906         * manual/filesys.texi (Directory Entries): Typo fix.
20907         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20909 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20911         * elf/elf.h (EM_AARCH64): New macro.
20912         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20913         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20914         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20915         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20916         (R_AARCH64_TLSDESC): Likewise.
20917         (NT_ARM_TLS): Likewise.
20918         (NT_ARM_HW_BREAK): Likewise.
20919         (NT_ARM_HW_WATCH): Likewise.
20921 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20923         [BZ #14811]
20924         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20925         (__ieee754_powl): Saturate nonzero exponents with absolute value
20926         below 0x1p-79 to +/- 0x1p-79.
20927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20928         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20929         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20930         nonzero exponents with absolute value below 0x1p-32 to +/-
20931         0x1p-32.
20932         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20933         (__ieee754_powl): Saturate nonzero exponents with absolute value
20934         below 0x1p-79 to +/- 0x1p-79.
20935         * math/libm-test.inc (pow_test): Add more tests.
20937 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20939         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20940         _dl_s390_cap_flags with kernel. Increase string length.
20941         (_dl_s390_platforms): Add z196 and zEC12.
20943 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20945         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20946         Change XOPEN21K to XOPEN2K.
20948 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20950         * string/memmove.c: Use memcpy when possible.
20952 2012-11-06  Andreas Jaeger  <aj@suse.de>
20954         * po/eo.po: Update from translation team.
20956 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20958         [BZ #14793]
20959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20960         exponent and small x and y exponents, scale x or y up.  Increase
20961         by 2 the exponent used in scaling up.
20962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20963         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20964         * math/libm-test.inc (fma_test): Add more tests.
20965         (fma_test_towardzero): Likewise.
20966         (fma_test_downward): Likewise.
20967         (fma_test_upward): Likewise.
20969 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20971         [BZ #14805]
20972         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20973         fenv_t *.
20975         [BZ #14801]
20976         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20977         namespace for names of struct fields.
20978         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20979         fenv_t fields.
20980         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20981         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20983 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20985         [BZ #3665]
20986         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20988 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20990         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20991         PTR_DEMANGLE.
20993         [BZ #5246]
20994         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20995         PTR_DEMANGLE.
20997 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20999         [BZ #14797]
21000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21001         definitely overflow as x * y not x * y + z.
21002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21004         * math/libm-test.inc (fma_test): Add more tests.
21005         (fma_test_towardzero): Likewise.
21006         (fma_test_downward): Likewise.
21007         (fma_test_upward): Likewise.
21009 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21011         [BZ #157]
21013         * include/stub-tag.h: Remove file.
21014         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21015         '#include' of it.
21016         * manual/maint.texi (Porting): Don't reference it.
21017         * Makerules ($(objpfx)stubs): Likewise.
21018         * dirent/closedir.c: Don't include <stub-tag.h>.
21019         * dirent/dirfd.c: Likewise.
21020         * dirent/fdopendir.c: Likewise.
21021         * dirent/getdents.c: Likewise.
21022         * dirent/getdents64.c: Likewise.
21023         * dirent/opendir.c: Likewise.
21024         * dirent/readdir.c: Likewise.
21025         * dirent/readdir64.c: Likewise.
21026         * dirent/readdir64_r.c: Likewise.
21027         * dirent/readdir_r.c: Likewise.
21028         * dirent/rewinddir.c: Likewise.
21029         * dirent/seekdir.c: Likewise.
21030         * dirent/telldir.c: Likewise.
21031         * gmon/profil.c: Likewise.
21032         * grp/setgroups.c: Likewise.
21033         * inet/if_index.c: Likewise.
21034         * io/access.c: Likewise.
21035         * io/chdir.c: Likewise.
21036         * io/chmod.c: Likewise.
21037         * io/chown.c: Likewise.
21038         * io/close.c: Likewise.
21039         * io/dup.c: Likewise.
21040         * io/dup2.c: Likewise.
21041         * io/dup3.c: Likewise.
21042         * io/euidaccess.c: Likewise.
21043         * io/faccessat.c: Likewise.
21044         * io/fchdir.c: Likewise.
21045         * io/fchmod.c: Likewise.
21046         * io/fchmodat.c: Likewise.
21047         * io/fchown.c: Likewise.
21048         * io/fchownat.c: Likewise.
21049         * io/fcntl.c: Likewise.
21050         * io/flock.c: Likewise.
21051         * io/fstatfs.c: Likewise.
21052         * io/fstatfs64.c: Likewise.
21053         * io/fstatvfs.c: Likewise.
21054         * io/fstatvfs64.c: Likewise.
21055         * io/futimens.c: Likewise.
21056         * io/fxstat.c: Likewise.
21057         * io/fxstat64.c: Likewise.
21058         * io/fxstatat.c: Likewise.
21059         * io/fxstatat64.c: Likewise.
21060         * io/getcwd.c: Likewise.
21061         * io/isatty.c: Likewise.
21062         * io/lchmod.c: Likewise.
21063         * io/lchown.c: Likewise.
21064         * io/link.c: Likewise.
21065         * io/linkat.c: Likewise.
21066         * io/lseek.c: Likewise.
21067         * io/lseek64.c: Likewise.
21068         * io/lxstat64.c: Likewise.
21069         * io/mkdir.c: Likewise.
21070         * io/mkdirat.c: Likewise.
21071         * io/mkfifo.c: Likewise.
21072         * io/mkfifoat.c: Likewise.
21073         * io/open.c: Likewise.
21074         * io/open64.c: Likewise.
21075         * io/openat.c: Likewise.
21076         * io/openat64.c: Likewise.
21077         * io/pipe.c: Likewise.
21078         * io/pipe2.c: Likewise.
21079         * io/poll.c: Likewise.
21080         * io/posix_fadvise.c: Likewise.
21081         * io/posix_fadvise64.c: Likewise.
21082         * io/posix_fallocate.c: Likewise.
21083         * io/posix_fallocate64.c: Likewise.
21084         * io/read.c: Likewise.
21085         * io/readlink.c: Likewise.
21086         * io/readlinkat.c: Likewise.
21087         * io/rmdir.c: Likewise.
21088         * io/sendfile.c: Likewise.
21089         * io/sendfile64.c: Likewise.
21090         * io/statfs.c: Likewise.
21091         * io/statfs64.c: Likewise.
21092         * io/statvfs.c: Likewise.
21093         * io/statvfs64.c: Likewise.
21094         * io/symlink.c: Likewise.
21095         * io/symlinkat.c: Likewise.
21096         * io/ttyname.c: Likewise.
21097         * io/ttyname_r.c: Likewise.
21098         * io/umask.c: Likewise.
21099         * io/unlink.c: Likewise.
21100         * io/unlinkat.c: Likewise.
21101         * io/utime.c: Likewise.
21102         * io/utimensat.c: Likewise.
21103         * io/write.c: Likewise.
21104         * io/xmknod.c: Likewise.
21105         * io/xmknodat.c: Likewise.
21106         * io/xstat.c: Likewise.
21107         * io/xstat64.c: Likewise.
21108         * login/getpt.c: Likewise.
21109         * login/grantpt.c: Likewise.
21110         * login/unlockpt.c: Likewise.
21111         * math/e_acoshl.c: Likewise.
21112         * math/e_acosl.c: Likewise.
21113         * math/e_asinl.c: Likewise.
21114         * math/e_atan2l.c: Likewise.
21115         * math/e_atanhl.c: Likewise.
21116         * math/e_coshl.c: Likewise.
21117         * math/e_expl.c: Likewise.
21118         * math/e_fmodl.c: Likewise.
21119         * math/e_gammal_r.c: Likewise.
21120         * math/e_hypotl.c: Likewise.
21121         * math/e_j0l.c: Likewise.
21122         * math/e_j1l.c: Likewise.
21123         * math/e_jnl.c: Likewise.
21124         * math/e_lgammal_r.c: Likewise.
21125         * math/e_log10l.c: Likewise.
21126         * math/e_log2l.c: Likewise.
21127         * math/e_logl.c: Likewise.
21128         * math/e_powl.c: Likewise.
21129         * math/e_rem_pio2l.c: Likewise.
21130         * math/e_sinhl.c: Likewise.
21131         * math/e_sqrtl.c: Likewise.
21132         * math/fclrexcpt.c: Likewise.
21133         * math/fedisblxcpt.c: Likewise.
21134         * math/feenablxcpt.c: Likewise.
21135         * math/fegetenv.c: Likewise.
21136         * math/fegetexcept.c: Likewise.
21137         * math/fegetround.c: Likewise.
21138         * math/feholdexcpt.c: Likewise.
21139         * math/fesetenv.c: Likewise.
21140         * math/fesetround.c: Likewise.
21141         * math/feupdateenv.c: Likewise.
21142         * math/fgetexcptflg.c: Likewise.
21143         * math/fraiseexcpt.c: Likewise.
21144         * math/fsetexcptflg.c: Likewise.
21145         * math/ftestexcept.c: Likewise.
21146         * math/k_cosl.c: Likewise.
21147         * math/k_rem_pio2l.c: Likewise.
21148         * math/k_sinl.c: Likewise.
21149         * math/k_tanl.c: Likewise.
21150         * math/s_asinhl.c: Likewise.
21151         * math/s_atanl.c: Likewise.
21152         * math/s_cbrtl.c: Likewise.
21153         * math/s_erfl.c: Likewise.
21154         * math/s_expm1l.c: Likewise.
21155         * math/s_log1pl.c: Likewise.
21156         * math/s_tanhl.c: Likewise.
21157         * misc/acct.c: Likewise.
21158         * misc/brk.c: Likewise.
21159         * misc/chflags.c: Likewise.
21160         * misc/chroot.c: Likewise.
21161         * misc/fchflags.c: Likewise.
21162         * misc/fgetxattr.c: Likewise.
21163         * misc/flistxattr.c: Likewise.
21164         * misc/fremovexattr.c: Likewise.
21165         * misc/fsetxattr.c: Likewise.
21166         * misc/fsync.c: Likewise.
21167         * misc/ftruncate.c: Likewise.
21168         * misc/futimes.c: Likewise.
21169         * misc/futimesat.c: Likewise.
21170         * misc/getdomain.c: Likewise.
21171         * misc/getdtsz.c: Likewise.
21172         * misc/gethostid.c: Likewise.
21173         * misc/gethostname.c: Likewise.
21174         * misc/getloadavg.c: Likewise.
21175         * misc/getpagesize.c: Likewise.
21176         * misc/getsysstats.c: Likewise.
21177         * misc/getxattr.c: Likewise.
21178         * misc/gtty.c: Likewise.
21179         * misc/ioctl.c: Likewise.
21180         * misc/lgetxattr.c: Likewise.
21181         * misc/listxattr.c: Likewise.
21182         * misc/llistxattr.c: Likewise.
21183         * misc/lremovexattr.c: Likewise.
21184         * misc/lsetxattr.c: Likewise.
21185         * misc/lutimes.c: Likewise.
21186         * misc/madvise.c: Likewise.
21187         * misc/mincore.c: Likewise.
21188         * misc/mlock.c: Likewise.
21189         * misc/mlockall.c: Likewise.
21190         * misc/mmap.c: Likewise.
21191         * misc/mprotect.c: Likewise.
21192         * misc/msync.c: Likewise.
21193         * misc/munlock.c: Likewise.
21194         * misc/munlockall.c: Likewise.
21195         * misc/munmap.c: Likewise.
21196         * misc/preadv.c: Likewise.
21197         * misc/preadv64.c: Likewise.
21198         * misc/ptrace.c: Likewise.
21199         * misc/pwritev.c: Likewise.
21200         * misc/pwritev64.c: Likewise.
21201         * misc/readv.c: Likewise.
21202         * misc/reboot.c: Likewise.
21203         * misc/remap_file_pages.c: Likewise.
21204         * misc/removexattr.c: Likewise.
21205         * misc/revoke.c: Likewise.
21206         * misc/select.c: Likewise.
21207         * misc/setdomain.c: Likewise.
21208         * misc/setegid.c: Likewise.
21209         * misc/seteuid.c: Likewise.
21210         * misc/sethostid.c: Likewise.
21211         * misc/sethostname.c: Likewise.
21212         * misc/setregid.c: Likewise.
21213         * misc/setreuid.c: Likewise.
21214         * misc/setxattr.c: Likewise.
21215         * misc/sstk.c: Likewise.
21216         * misc/stty.c: Likewise.
21217         * misc/swapoff.c: Likewise.
21218         * misc/swapon.c: Likewise.
21219         * misc/sync.c: Likewise.
21220         * misc/syncfs.c: Likewise.
21221         * misc/syscall.c: Likewise.
21222         * misc/truncate.c: Likewise.
21223         * misc/ualarm.c: Likewise.
21224         * misc/usleep.c: Likewise.
21225         * misc/ustat.c: Likewise.
21226         * misc/utimes.c: Likewise.
21227         * misc/vhangup.c: Likewise.
21228         * misc/writev.c: Likewise.
21229         * posix/_exit.c: Likewise.
21230         * posix/alarm.c: Likewise.
21231         * posix/execve.c: Likewise.
21232         * posix/fexecve.c: Likewise.
21233         * posix/fork.c: Likewise.
21234         * posix/fpathconf.c: Likewise.
21235         * posix/getaddrinfo.c: Likewise.
21236         * posix/getegid.c: Likewise.
21237         * posix/geteuid.c: Likewise.
21238         * posix/getgid.c: Likewise.
21239         * posix/getgroups.c: Likewise.
21240         * posix/getlogin.c: Likewise.
21241         * posix/getlogin_r.c: Likewise.
21242         * posix/getpgid.c: Likewise.
21243         * posix/getpid.c: Likewise.
21244         * posix/getppid.c: Likewise.
21245         * posix/getresgid.c: Likewise.
21246         * posix/getresuid.c: Likewise.
21247         * posix/getsid.c: Likewise.
21248         * posix/getuid.c: Likewise.
21249         * posix/glob64.c: Likewise.
21250         * posix/nanosleep.c: Likewise.
21251         * posix/pathconf.c: Likewise.
21252         * posix/pause.c: Likewise.
21253         * posix/posix_madvise.c: Likewise.
21254         * posix/pread.c: Likewise.
21255         * posix/pread64.c: Likewise.
21256         * posix/pwrite.c: Likewise.
21257         * posix/pwrite64.c: Likewise.
21258         * posix/sched_getaffinity.c: Likewise.
21259         * posix/sched_getp.c: Likewise.
21260         * posix/sched_gets.c: Likewise.
21261         * posix/sched_primax.c: Likewise.
21262         * posix/sched_primin.c: Likewise.
21263         * posix/sched_rr_gi.c: Likewise.
21264         * posix/sched_setaffinity.c: Likewise.
21265         * posix/sched_setp.c: Likewise.
21266         * posix/sched_sets.c: Likewise.
21267         * posix/sched_yield.c: Likewise.
21268         * posix/setgid.c: Likewise.
21269         * posix/setlogin.c: Likewise.
21270         * posix/setpgid.c: Likewise.
21271         * posix/setresgid.c: Likewise.
21272         * posix/setresuid.c: Likewise.
21273         * posix/setsid.c: Likewise.
21274         * posix/setuid.c: Likewise.
21275         * posix/sleep.c: Likewise.
21276         * posix/spawni.c: Likewise.
21277         * posix/sysconf.c: Likewise.
21278         * posix/times.c: Likewise.
21279         * posix/wait.c: Likewise.
21280         * posix/wait3.c: Likewise.
21281         * posix/wait4.c: Likewise.
21282         * posix/waitpid.c: Likewise.
21283         * resolv/gai_sigqueue.c: Likewise.
21284         * resource/getpriority.c: Likewise.
21285         * resource/getrlimit.c: Likewise.
21286         * resource/getrusage.c: Likewise.
21287         * resource/nice.c: Likewise.
21288         * resource/setpriority.c: Likewise.
21289         * resource/setrlimit.c: Likewise.
21290         * resource/ulimit.c: Likewise.
21291         * rt/aio_cancel.c: Likewise.
21292         * rt/aio_fsync.c: Likewise.
21293         * rt/aio_read.c: Likewise.
21294         * rt/aio_sigqueue.c: Likewise.
21295         * rt/aio_suspend.c: Likewise.
21296         * rt/aio_write.c: Likewise.
21297         * rt/clock_getres.c: Likewise.
21298         * rt/clock_gettime.c: Likewise.
21299         * rt/clock_nanosleep.c: Likewise.
21300         * rt/clock_settime.c: Likewise.
21301         * rt/lio_listio.c: Likewise.
21302         * rt/mq_close.c: Likewise.
21303         * rt/mq_getattr.c: Likewise.
21304         * rt/mq_notify.c: Likewise.
21305         * rt/mq_open.c: Likewise.
21306         * rt/mq_receive.c: Likewise.
21307         * rt/mq_send.c: Likewise.
21308         * rt/mq_setattr.c: Likewise.
21309         * rt/mq_timedreceive.c: Likewise.
21310         * rt/mq_timedsend.c: Likewise.
21311         * rt/mq_unlink.c: Likewise.
21312         * rt/shm_open.c: Likewise.
21313         * rt/shm_unlink.c: Likewise.
21314         * rt/timer_create.c: Likewise.
21315         * rt/timer_delete.c: Likewise.
21316         * rt/timer_getoverr.c: Likewise.
21317         * rt/timer_gettime.c: Likewise.
21318         * rt/timer_settime.c: Likewise.
21319         * setjmp/__longjmp.c: Likewise.
21320         * setjmp/setjmp.c: Likewise.
21321         * signal/kill.c: Likewise.
21322         * signal/killpg.c: Likewise.
21323         * signal/raise.c: Likewise.
21324         * signal/sigaction.c: Likewise.
21325         * signal/sigaltstack.c: Likewise.
21326         * signal/sigblock.c: Likewise.
21327         * signal/sigignore.c: Likewise.
21328         * signal/sigintr.c: Likewise.
21329         * signal/signal.c: Likewise.
21330         * signal/sigpause.c: Likewise.
21331         * signal/sigpending.c: Likewise.
21332         * signal/sigqueue.c: Likewise.
21333         * signal/sigreturn.c: Likewise.
21334         * signal/sigset.c: Likewise.
21335         * signal/sigsetmask.c: Likewise.
21336         * signal/sigstack.c: Likewise.
21337         * signal/sigsuspend.c: Likewise.
21338         * signal/sigtimedwait.c: Likewise.
21339         * signal/sigvec.c: Likewise.
21340         * signal/sigwait.c: Likewise.
21341         * signal/sigwaitinfo.c: Likewise.
21342         * signal/sysv_signal.c: Likewise.
21343         * socket/accept.c: Likewise.
21344         * socket/accept4.c: Likewise.
21345         * socket/bind.c: Likewise.
21346         * socket/connect.c: Likewise.
21347         * socket/getpeername.c: Likewise.
21348         * socket/getsockname.c: Likewise.
21349         * socket/getsockopt.c: Likewise.
21350         * socket/isfdtype.c: Likewise.
21351         * socket/listen.c: Likewise.
21352         * socket/recv.c: Likewise.
21353         * socket/recvfrom.c: Likewise.
21354         * socket/recvmsg.c: Likewise.
21355         * socket/send.c: Likewise.
21356         * socket/sendmsg.c: Likewise.
21357         * socket/sendto.c: Likewise.
21358         * socket/setsockopt.c: Likewise.
21359         * socket/shutdown.c: Likewise.
21360         * socket/sockatmark.c: Likewise.
21361         * socket/socket.c: Likewise.
21362         * socket/socketpair.c: Likewise.
21363         * stdio-common/ctermid.c: Likewise.
21364         * stdio-common/cuserid.c: Likewise.
21365         * stdio-common/remove.c: Likewise.
21366         * stdio-common/rename.c: Likewise.
21367         * stdio-common/renameat.c: Likewise.
21368         * stdio-common/tempname.c: Likewise.
21369         * stdlib/getcontext.c: Likewise.
21370         * stdlib/makecontext.c: Likewise.
21371         * stdlib/setcontext.c: Likewise.
21372         * stdlib/swapcontext.c: Likewise.
21373         * stdlib/system.c: Likewise.
21374         * streams/fattach.c: Likewise.
21375         * streams/fdetach.c: Likewise.
21376         * streams/getmsg.c: Likewise.
21377         * streams/getpmsg.c: Likewise.
21378         * streams/putmsg.c: Likewise.
21379         * streams/putpmsg.c: Likewise.
21380         * sysdeps/unix/bsd/getpt.c: Likewise.
21381         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21382         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21383         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21385         Likewise.
21386         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21387         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21388         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21389         * sysvipc/msgctl.c: Likewise.
21390         * sysvipc/msgget.c: Likewise.
21391         * sysvipc/msgrcv.c: Likewise.
21392         * sysvipc/msgsnd.c: Likewise.
21393         * sysvipc/semctl.c: Likewise.
21394         * sysvipc/semget.c: Likewise.
21395         * sysvipc/semop.c: Likewise.
21396         * sysvipc/semtimedop.c: Likewise.
21397         * sysvipc/shmat.c: Likewise.
21398         * sysvipc/shmctl.c: Likewise.
21399         * sysvipc/shmdt.c: Likewise.
21400         * sysvipc/shmget.c: Likewise.
21401         * termios/tcdrain.c: Likewise.
21402         * termios/tcflow.c: Likewise.
21403         * termios/tcflush.c: Likewise.
21404         * termios/tcgetattr.c: Likewise.
21405         * termios/tcgetpgrp.c: Likewise.
21406         * termios/tcsendbrk.c: Likewise.
21407         * termios/tcsetattr.c: Likewise.
21408         * termios/tcsetpgrp.c: Likewise.
21409         * time/adjtime.c: Likewise.
21410         * time/clock.c: Likewise.
21411         * time/getitimer.c: Likewise.
21412         * time/gettimeofday.c: Likewise.
21413         * time/setitimer.c: Likewise.
21414         * time/settimeofday.c: Likewise.
21415         * time/stime.c: Likewise.
21416         * time/time.c: Likewise.
21418 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21420         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21421         /usr/old/bin.
21423         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21424         instead of spaces.
21425         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21427 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21429         [BZ #14796]
21430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21431         FE_TONEAREST before applying Dekker multiplication and Knuth
21432         addition.  Clear inexact exceptions and check for exact zero
21433         results afterwards.
21434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21435         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21437         * math/libm-test.inc (fma_test): Add more tests.
21438         (fma_test_towardzero): Likewise.
21439         (fma_test_downward): Likewise.
21440         (fma_test_upward): Likewise.
21441         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21442         function.
21443         (libc_fesetround): New macro.
21444         (libc_fesetroundf): Likewise.
21445         (libc_fesetroundl): Likewise.
21446         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21447         function.
21448         (libc_fesetround_387): Likewise.
21449         (libc_fesetroundf): New macro.
21450         (libc_fesetround): Likewise.
21451         (libc_fesetroundl): Likewise.
21452         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21453         function.
21454         (libc_fesetroundf): New macro.
21455         (libc_fesetround): Likewise.
21456         (libc_fesetroundl): Likewise.
21457         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21458         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21459         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21460         libm_hidden_ver.
21461         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21462         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21463         libm_hidden_def.
21464         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21465         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21466         libm_hidden_ver.
21467         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21468         libm_hidden_def.
21470         [BZ #3439]
21471         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21472         integer constant usable in #if and use that to give value to enum
21473         constant.
21474         (FE_DIVBYZERO): Likewise.
21475         (FE_UNDERFLOW): Likewise.
21476         (FE_OVERFLOW): Likewise.
21477         (FE_INVALID): Likewise.
21478         (FE_INVALID_SNAN): Likewise.
21479         (FE_INVALID_ISI): Likewise.
21480         (FE_INVALID_IDI): Likewise.
21481         (FE_INVALID_ZDZ): Likewise.
21482         (FE_INVALID_IMZ): Likewise.
21483         (FE_INVALID_COMPARE): Likewise.
21484         (FE_INVALID_SOFTWARE): Likewise.
21485         (FE_INVALID_SQRT): Likewise.
21486         (FE_INVALID_INTEGER_CONVERSION): Likewise.
21487         (FE_TONEAREST): Likewise.
21488         (FE_TOWARDZERO): Likewise.
21489         (FE_UPWARD): Likewise.
21490         (FE_DOWNWARD): Likewise.
21491         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21492         (FE_DIVBYZERO): Likewise.
21493         (FE_OVERFLOW): Likewise.
21494         (FE_UNDERFLOW): Likewise.
21495         (FE_INEXACT): Likewise.
21496         (FE_TONEAREST): Likewise.
21497         (FE_DOWNWARD): Likewise.
21498         (FE_UPWARD): Likewise.
21499         (FE_TOWARDZERO): Likewise.
21500         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21501         (FE_UNDERFLOW): Likewise.
21502         (FE_OVERFLOW): Likewise.
21503         (FE_DIVBYZERO): Likewise.
21504         (FE_INVALID): Likewise.
21505         (FE_TONEAREST): Likewise.
21506         (FE_TOWARDZERO): Likewise.
21507         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21508         (FE_OVERFLOW): Likewise.
21509         (FE_UNDERFLOW): Likewise.
21510         (FE_DIVBYZERO): Likewise.
21511         (FE_INEXACT): Likewise.
21512         (FE_TONEAREST): Likewise.
21513         (FE_TOWARDZERO): Likewise.
21514         (FE_UPWARD): Likewise.
21515         (FE_DOWNWARD): Likewise.
21516         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21517         (FE_DIVBYZERO): Likewise.
21518         (FE_OVERFLOW): Likewise.
21519         (FE_UNDERFLOW): Likewise.
21520         (FE_INEXACT): Likewise.
21521         (FE_TONEAREST): Likewise.
21522         (FE_DOWNWARD): Likewise.
21523         (FE_UPWARD): Likewise.
21524         (FE_TOWARDZERO): Likewise.
21526 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
21528         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21530 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
21532         * scripts/cross-test-ssh.sh (command): Use newlines to separate
21533         commands.  Quote $PWD.
21534         (blacklist_exports): Don't use remove_newlines.  Replace "declare
21535         -x" by "export".
21536         (remove_newlines): Remove.
21538 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
21540         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21541         * stdlib/stdlib.h (atof): Moved to ...
21542         * include/bits/stdlib-float.h: Here.  New file.
21543         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21544         * stdlib/bits/stdlib-float.h: New file.
21545         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21546         -mno-sse -mno-mmx.
21547         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21548         <xmmintrin.h>.
21550 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21552         * conform/conformtest.pl (@headers): Add fenv.h.
21553         * conform/data/fenv.h-data: New file.
21554         * include/fenv.h [_ISOMAC]: Disable all contents of file except
21555         include of <math/fenv.h>.
21557         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21558         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21559         && !UNIX98].  Enables tests for XOPEN2K8.
21560         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21561         POSIX2008]: Likewise.
21563         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21564         (struct rusage): Do not expect type or its members.
21566         [BZ #3439]
21567         * math/math.h (FP_NAN): Define macro to integer constant usable in
21568         #if and use that to give value to enum constant.
21569         (FP_INFINITE): Likewise.
21570         (FP_ZERO): Likewise.
21571         (FP_SUBNORMAL): Likewise.
21572         (FP_NORMAL): Likewise.
21574 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
21576         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21577         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21578         arguments.
21580 2012-11-02  Roland McGrath  <roland@hack.frob.com>
21582         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21583         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21584         autoconf-time if not.
21585         * configure.in: Remove AC_PREREQ.
21587 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21589         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21590         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21591         of the internal implementation.
21593 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21595         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21596         except include of <misc/sys/syslog.h>.
21598 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21601         function returns with a NULL context exit with zero.
21603 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21605         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21607 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
21609         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21610         (run_program_cmd): This.
21611         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21612         (tst_langinfo): New variable.  Use it.
21614 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
21616         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21617         floating point opcodes.
21619 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21621         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21622         variable.
21624         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21626         * sysdeps/mach/hurd/powerpc: Remove directory.
21627         * sysdeps/mach/powerpc: Likewise.
21629 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21631         * scripts/check-local-headers.sh: Ignore c++ headers.
21633 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21635         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21636         __libc_cleanup_region_start argument.
21638 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
21640         [BZ #14784]
21641         [BZ #14785]
21642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21643         x * y using scaling, not as x * y + z.
21644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21645         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21646         * math/libm-test.inc (fma_test): Add more tests.
21647         (fma_test_towardzero): Likewise.
21648         (fma_test_downward): Likewise.
21649         (fma_test_upward): Likewise.
21651 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21653         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21655 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21657         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21658         New variable.
21660 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21662         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21664 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21667         Fix sort order.
21668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21669         Likewise.
21671 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21674         Fix the order of the list for glibc 2.17.
21675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21676         Likewise.
21678 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21682 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21684         [BZ #14610]
21685         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21686         for low part of x being zero before using __atanl (y).
21687         * math/libm-test.inc (atan2_test): Add another test.
21689         * manual/install.texi (Configuring and compiling): Document
21690         general use of test-wrapper and test-wrapper-env.
21691         * INSTALL: Regenerated.
21693         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21694         (__fma): Do not extract and scale down low bits on after-rounding
21695         systems when result rounded to normal precision would have normal
21696         exponent.
21697         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21698         (__fmal): Do not extract and scale down low bits on after-rounding
21699         systems when result rounded to normal precision would have normal
21700         exponent.
21701         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21702         (__fmal): Do not extract and scale down low bits on after-rounding
21703         systems when result rounded to normal precision would have normal
21704         exponent.
21705         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21706         macro.
21707         (fma_test): Add more tests.
21708         (fma_test_towardzero): Likewise.
21709         (fma_test_downward): Likewise.
21710         (fma_test_upward): Likewise.
21712 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21714         * sysdeps/i386/tininess.h: Renamed to ...
21715         * sysdeps/x86/tininess.h: This.
21716         * sysdeps/x86_64/tininess.h: Removed.
21718 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21720         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21721         input.  Use $(build-program-cmd).
21722         ($(objpfx)tst-array1-static.out): Likewise.
21723         ($(objpfx)tst-array2.out): Likewise.
21724         ($(objpfx)tst-array3.out): Likewise.
21725         ($(objpfx)tst-array4.out): Likewise.
21726         ($(objpfx)tst-array5.out): Likewise.
21727         ($(objpfx)tst-array5-static.out): Likewise.
21729 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21731         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21732         if defined.
21734         * nss/nsswitch.h (nss_interface_function): Provide new
21735         macro for use with NSS functions.
21736         * grp/initgroups.c: Use new macro.
21737         * nss/getXXbyYY.c: Likewise.
21738         * nss/getXXbyYY_r.c: Likewise.
21739         * nss/getXXent.c: Likewise.
21740         * nss/getXXent_r.c: Likewise.
21741         * sysdeps/posix/getaddrinfo.c: Likewise.
21743 2012-10-30  Andreas Jaeger  <aj@suse.de>
21745         * po/ru.po: Update Russion translation from translation project.
21747 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21749         [BZ #14152]
21750         [BZ #14783]
21751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21752         result and shift together with sticky bit instead of replicating
21753         round-to-nearest rounding.
21754         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21756         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21757         missing underflow exceptions.
21758         (fma_test_towardzero): Add more tests.
21759         (fma_test_downward): Likewise.
21760         (fma_test_upward): Likewise.
21762         [BZ #14047]
21763         * sysdeps/generic/tininess.h: New file.
21764         * sysdeps/i386/tininess.h: Likewise.
21765         * sysdeps/sh/tininess.h: Likewise.
21766         * sysdeps/x86_64/tininess.h: Likewise.
21767         * stdlib/tst-strtod-underflow.c: Likewise.
21768         * stdlib/tst-tininess.c: Likewise.
21769         * stdlib/strtod_l.c: Include <tininess.h>.
21770         (round_and_return): Do not set errno for exact underflow cases.
21771         Force an underflow exception when setting errno for underflow.
21772         Determine underflow based on rounding to normal precision if
21773         TININESS_AFTER_ROUNDING.
21774         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21775         ERANGE for exact underflow cases.
21776         * stdlib/Makefile (tests): Add tst-tininess and
21777         tst-strtod-underflow.
21778         ($(objpfx)tst-tininess): Use $(link-libm).
21779         ($(objpfx)tst-strtod-underflow): Likewise.
21781 2012-10-30  Andreas Jaeger  <aj@suse.de>
21783         [BZ#14767]
21784         * elf/Makefile (tests): Remove conditional for have-initfini-array
21785         since this is now always required and the variable does not exist
21786         anymore.
21787         (tests-static): Likewise.
21788         (modules-names): Likewise.
21790         * po/eo.po: Add Esperanto translation from translation project.
21792         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21793         merged with constructor/destructor.
21794         (init_array): Likewise.
21795         * elf/tst-array2dep.c (fini_array): Likewise.
21796         (init_array): Likewise.
21798 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21800         * manual/message.texi: Delete @cartouche tags.
21802 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21804         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21805         EOPNOTSUPP.
21806         * sysdeps/mach/hurd/fsync.c: Likewise.
21808         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21809         [_POSIX_REALTIME_SIGNALS]: Change condition to
21810         [_POSIX_REALTIME_SIGNALS > 0].
21812 2012-10-27  Andreas Jaeger  <aj@suse.de>
21814         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21815         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21816         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21817         [__WORDSIZE != 64]: Likewise.
21819 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21821         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21822         *  iconvdata/tst-tables.sh: Likewise.
21824 2012-10-25  David S. Miller  <davem@davemloft.net>
21826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21827         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21828         of strtoull.
21830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21831         ifunc-impl-list.c
21832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21833         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21834         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21835         file.
21837 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21839         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21840         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21841         __getdirentries.
21843 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21844             Jim Blandy  <jimb@codesourcery.com>
21846         * scripts/cross-test-ssh.sh: New file.
21847         * manual/install.texi (Configuring and compiling): Document use of
21848         cross-test-ssh.sh.
21849         * INSTALL: Regenerated.
21851 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21853         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21854         EOPNOTSUPP.
21856 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21858         * Makeconfig (run-program-prefix): Fix comment.
21860 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21861             Jim Blandy  <jimb@codesourcery.com>
21863         * Makeconfig (test-wrapper): New variable,
21864         (test-wrapper-env): Likewise.
21865         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21866         (run-built-tests): Define to yes.
21867         (run-program-prefix): Use $(test-wrapper).
21868         (built-program-cmd): Likewise.
21869         * Rules (make-test-out): Use $(test-wrapper-env) and
21870         $(host-built-program-cmd).
21871         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21872         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21873         tst-pathopt.sh.
21874         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21875         $(test-wrapper-env) to tst-rtld-load-self.sh.
21876         ($(objpfx)order2.out): Use $(test-wrapper).
21877         ($(objpfx)tst-initorder.out): Likewise.
21878         ($(objpfx)tst-initorder2.out): Likewise.
21879         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21880         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21881         (test_wrapper_env): New variable.  Use it to run ld.so.
21882         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21883         Use it to run ld.so.
21884         (test_wrapper_env): Likewise.
21885         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21886         $(test-wrapper) to run-iconv-test.sh.
21887         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21888         (ICONV): Use $test_wrapper.
21889         * posix/Makefile ($(objpfx)globtest.out): Pass
21890         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21891         globtest.sh, not $(run-program-prefix).
21892         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21893         (test_wrapper): Likewise.
21894         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21895         set together with run_via_rtld_prefix.
21896         (run_program_prefix): Define in terms of test_wrapper and
21897         run_via_rtld_prefix.
21899 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21901         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21902         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21903         Targets removed.
21905         [BZ #14743]
21906         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21907         Declare __clock_getres, __clock_gettime, __clock_settime,
21908         __clock_nanosleep, and __clock_getcpuclockid.
21909         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21910         Remove librt_hidden_def (clock_gettime).
21911         * sysdeps/unix/clock_gettime.c: Likewise.
21912         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21914         * rt/clock_getres.c: Define __clock_getres as an alias.
21915         * sysdeps/posix/clock_getres.c: Likewise.
21916         * rt/clock_settime.c: Define __clock_settime as an alias.
21917         * sysdeps/unix/clock_settime.c: Likewise.
21918         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21919         * sysdeps/unix/clock_nanosleep.c: Likewise.
21920         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21921         * rt/clock-compat.c: New file.
21922         * rt/Makefile (librt-routines): Add clock-compat and move
21923         $(clock-routines) to ...
21924         (routines): ... here, new variable.
21925         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21926         Don't add get_clockfreq here.
21927         * rt/Versions (libc: GLIBC_2.17): New version set.
21928         Add clock_* symbols here.
21929         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21930         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21931         (GLIBC_2.17): Add clock_* symbols.
21932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21934         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21936         Likewise.
21937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21938         Likewise.
21939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21943         * NEWS: Mention the move.
21945         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21946         Use __open, __read, __close rather than their public counterparts.
21947         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21948         (__get_clockfreq_via_cpuinfo): Likewise.
21949         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21950         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21952         * config.h.in (HAVE_IFUNC): New #undef.
21953         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21954         was successful.
21955         * configure: Regenerated.
21957 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21959         * configure.in: Move READELF check to start of file.
21960         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21961         libc_cv_asm_gnu_indirect_function in the process.
21962         * configure: Regenerated.
21964 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21966         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21967         send the output to /dev/null.
21968         (libc_cv_cc_with_libunwind): Likewise.
21969         (libc_cv_as_noexecstack): Likewise.
21970         * configure: Regenerate.
21972 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21974         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21976         * posix/globtest.sh (TMPDIR): Do not set.
21977         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21978         (testout): Likewise.
21980 2012-10-24  Andreas Jaeger  <aj@suse.de>
21982         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21983         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21984         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21985         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21986         posix_fadvise64, posix_fallocate64.
21988         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21989         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21990         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21991         Likewise.
21992         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21993         Likewise.
21994         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21997         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21998         <bits/fcntl-linux.h>.
21999         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22002         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22003         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22004         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22005         [__WORDSIZE != 64]: Likewise.
22007 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22009         * Makeconfig (run-built-tests): New variable.
22010         * Rules [$(cross-compiling) = yes]: Change condition to
22011         [$(run-built-tests) = no].
22012         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22013         to [$(run-built-tests) = yes].
22014         * elf/Makefile [$(cross-compiling) = no]: Likewise
22015         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22016         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22017         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22018         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22019         * io/Makefile [$(cross-compiling) = no]: Likewise.
22020         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22021         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22022         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22023         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22024         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22025         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22026         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22027         * string/Makefile [$(cross-compiling) = no]: Likewise.
22029         * posix/Makefile ($(objpfx)globtest.out): Pass
22030         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22031         $(rtld-installed-name).
22032         * posix/globtest.sh (elf_objpfx): Remove variable.
22033         (rtld_installed_name): Likewise.
22034         (library_path): Likewise.
22035         (run_program_prefix): New variable.  Use for running globtest
22036         binary.
22038 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22039             Joseph Myers  <joseph@codesourcery.com>
22041         * Makeconfig (host-built-program-cmd): New variable.
22042         * elf/Makefile (tst-stackguard1-ARGS): Use
22043         $(host-built-program-cmd).
22044         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22045         (tst-spawn-ARGS): Likewise.
22046         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22048 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22049             Jim Blandy  <jimb@codesourcery.com>
22051         * Makeconfig (run-via-rtld-prefix): New variable.
22052         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22053         (built-program-cmd): Likewise.
22055 2012-10-22  Andreas Jaeger  <aj@suse.de>
22057         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22058         __O_RSYNC if it exists, otherwise to O_SYNC.
22060 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22061             Joseph Myers  <joseph@codesourcery.com>
22063         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22064         /dev/null.
22065         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22066         from /dev/null
22067         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22068         /dev/null.
22070 2012-10-22  Andreas Jaeger  <aj@suse.de>
22072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22073         Define always.
22074         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22076         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22077         bits/fcntl-linux.h.
22079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22080         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22083         to __O_LARGEFILE.
22084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22085         to __O_LARGEFILE.
22087 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22088             Joseph Myers  <joseph@codesourcery.com>
22090         * config.make.in (NM): New variable.
22092 2012-10-21  Andreas Jaeger  <aj@suse.de>
22094         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22095         definitions and declarations that are provided by
22096         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22098 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22100         [BZ #14683]
22101         * elf/Makefile (tests-static): Add tst-leaks1-static.
22102         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22103         ($(objpfx)tst-leaks1-static): New rule.
22104         ($(objpfx)tst-leaks1-static-mem): Likewise.
22105         (tst-leaks1-static-ENV): New macro.
22106         * elf/dl-open.c (dl_open_worker): Check the main application
22107         only if SHARED is defined.
22108         * elf/tst-leaks1-static.c: New file.
22110 2012-10-20  Andreas Jaeger  <aj@suse.de>
22112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22113         generic values for Linux.
22114         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22115         and declarations that are provided by <bits/fcntl-linux.h> and
22116         include <bits/fcntl-linux.h>.
22117         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22120 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22122         * io/fcntl.h: Move include of <bits/types.h> to the top and
22123         include it unconditionally.
22125 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22127         * wcsmbs/Makefile (tests-ifunc): New variable.
22128         (tests): Add $(tests-ifunc).
22129         * wcsmbs/test-wcschr-ifunc.c: New file.
22130         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22131         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22132         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22133         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22134         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22136         * string/Makefile (tests-ifunc): New variable.
22137         (tests): Add $(tests-ifunc).
22138         * string/test-memccpy.c (TEST_NAME): New macro.
22139         * string/test-memchr.c (TEST_NAME): Likewise.
22140         * string/test-memcmp.c (TEST_NAME): Likewise.
22141         * string/test-memcpy.c (TEST_NAME): Likewise.
22142         * string/test-memmem.c (TEST_NAME): Likewise.
22143         * string/test-memmove.c (TEST_NAME): Likewise.
22144         * string/test-memset.c (TEST_NAME): Likewise.
22145         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22146         * string/test-stpcpy.c (TEST_NAME): Likewise.
22147         * string/test-stpncpy.c (TEST_NAME): Likewise.
22148         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22149         * string/test-strcasestr.c (TEST_NAME): Likewise.
22150         * string/test-strcat.c (TEST_NAME): Likewise.
22151         * string/test-strchr.c (TEST_NAME): Likewise.
22152         * string/test-strcmp.c(TEST_NAME): Likewise.
22153         * string/test-strcpy.c (TEST_NAME): Likewise.
22154         * string/test-strcspn.c (TEST_NAME): Likewise.
22155         * string/test-strlen.c (TEST_NAME): Likewise.
22156         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22157         * string/test-strncmp.c (TEST_NAME): Likewise.
22158         * string/test-strncpy.c (TEST_NAME): Likewise.
22159         * string/test-strnlen.c (TEST_NAME): Likewise.
22160         * string/test-strpbrk.c (TEST_NAME): Likewise.
22161         * string/test-strrchr.c (TEST_NAME): Likewise.
22162         * string/test-strspn.c (TEST_NAME): Likewise.
22163         * string/test-strstr.c (TEST_NAME): Likewise.
22164         * string/test-bcopy-ifunc.c: New file.
22165         * string/test-bzero-ifunc.c: Likewise.
22166         * string/test-memccpy-ifunc.c: Likewise.
22167         * string/test-memchr-ifunc.c: Likewise.
22168         * string/test-memcmp-ifunc.c: Likewise.
22169         * string/test-memcpy-ifunc.c: Likewise.
22170         * string/test-memmem-ifunc.c: Likewise.
22171         * string/test-memmove-ifunc.c: Likewise.
22172         * string/test-mempcpy-ifunc.c: Likewise.
22173         * string/test-memset-ifunc.c: Likewise.
22174         * string/test-rawmemchr-ifunc.c: Likewise.
22175         * string/test-stpcpy-ifunc.c: Likewise.
22176         * string/test-stpncpy-ifunc.c: Likewise.
22177         * string/test-strcasecmp-ifunc.c: Likewise.
22178         * string/test-strcasestr-ifunc.c: Likewise.
22179         * string/test-strcat-ifunc.c: Likewise.
22180         * string/test-strchr-ifunc.c: Likewise.
22181         * string/test-strchrnul-ifunc.c: Likewise.
22182         * string/test-strcmp-ifunc.c: Likewise.
22183         * string/test-strcpy-ifunc.c: Likewise.
22184         * string/test-strcspn-ifunc.c: Likewise.
22185         * string/test-strlen-ifunc.c: Likewise.
22186         * string/test-strncasecmp-ifunc.c: Likewise.
22187         * string/test-strncat-ifunc.c: Likewise.
22188         * string/test-strncmp-ifunc.c: Likewise.
22189         * string/test-strncpy-ifunc.c: Likewise.
22190         * string/test-strnlen-ifunc.c: Likewise.
22191         * string/test-strpbrk-ifunc.c: Likewise.
22192         * string/test-strrchr-ifunc.c: Likewise.
22193         * string/test-strspn-ifunc.c: Likewise.
22194         * string/test-strstr-ifunc.c: Likewise.
22196         * debug/Makefile (tests-ifunc): New variable.
22197         (tests): Add $(tests-ifunc).
22198         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22199         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22200         * debug/test-stpcpy_chk-ifunc.c: New file.
22201         * debug/test-strcpy_chk-ifunc.c: Likewise.
22203 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22205         [BZ #13601]
22206         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22207         header is not read in.
22209 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22211         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22212         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22213         directly.  Pass built executable to script as
22214         $(built-program-cmd).
22215         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22216         $testprogram without using LD_LIBRARY_PATH and $ldso.
22218         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22219         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22220         $(rtld-installed-name).
22221         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22222         (rtld_installed_name): Likewise.
22223         (library_path): Likewise.
22224         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22225         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22226         $(run-program-prefix) to tst-tables.sh.
22227         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22228         it to run tst-table-from and tst-table-to.
22229         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22230         Pass it to tst-table.sh.
22231         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22232         $(run-program-prefix) to tst-gettext.sh.
22233         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22234         tst-translit.sh.
22235         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22236         tst-gettext2.sh.
22237         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22238         to run tst-gettext.
22239         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22240         to run tst-gettext2.
22241         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22242         to run tst-translit.
22243         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22244         $(run-program-prefix) to tst-mtrace.sh.
22245         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22246         to run tst-mtrace.
22247         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22248         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22249         $(rtld-installed-name).
22250         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22251         (rtld_installed_name): Likewise.
22252         (run_program_prefix): New variable.  Use it to run wordexp-test.
22254         * Makeconfig (ARCH): Remove all definitions.
22255         (machine): Likewise.
22256         [ARCH]: Remove conditional code.
22257         [!objdir]: Give error.
22258         [!objdir] (objpfx): Remove.
22259         [!objdir] (common-objpfx): Likewise.
22260         [!objdir] (common-objdir): Likewise.
22261         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22262         AC_CONFIG_FILES call.
22263         * configure: Regenerated.
22265         [BZ #13888]
22266         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22267         or TMPDIR.
22268         (testout): Likewise.
22270         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22271         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22272         $(rtld-installed-name).
22273         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22274         (rtld_installed_name): Likwise.
22275         (runit): Remove function.
22276         (run_getconf): New variable,  Use it for running getconf binary.
22278 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22280         [BZ #14716]
22281         * string/test-memmem.c (check_result): New function.
22282         (do_one_test): Use it.
22283         (check1): New function.
22284         (test_main): Use it.
22286 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22288         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22290 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22292         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22293         (_G_LSEEK64): Likewise.
22294         (_G_MMAP64): Likewise.
22295         (_G_FSTAT64): Likewise.
22296         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22297         (_G_LSEEK64): Likewise.
22298         (_G_MMAP64): Likewise.
22299         (_G_FSTAT64): Likewise.
22300         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22301         unconditional.  Call __mmap64 directly.
22302         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22303         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22304         __lseek64 directly.
22305         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22306         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22307         __mmap64 directly.
22308         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22309         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22310         __lseek64 directly.
22311         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22312         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22313         __lseek64 directly.
22314         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22315         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22316         __lseek64 directly.
22317         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22318         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22319         __fxstat64 directly.
22320         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22321         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22322         unconditional.
22323         (freopen64) [!_G_OPEN64]: Remove conditional code.
22324         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22325         unconditional.
22326         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22327         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22328         unconditional.
22329         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22330         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22331         unconditional.
22332         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22333         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22334         unconditional.
22335         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22336         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22337         unconditional.
22338         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22339         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22340         unconditional.
22341         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22342         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22343         unconditional.
22344         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22346 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22348         [BZ #12140]
22349         * manual/memory.texi (Malloc Tunable Parameters): Add note
22350         about free list pointers overwriting some perturb bytes.
22351         Wording suggested by Roland McGrath.
22353 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
22355         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22356         (lgamma_test): Likewise.
22357         (tgamma_test): Likewise.
22359 2012-10-16  Florian Weimer  <fweimer@redhat.com>
22361         [BZ #14700]
22362         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22363         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22365 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
22367         * NEWS: Mention BZ #14716.
22368         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22369         when removing AVAILABLE1_USES_J macro.
22371 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
22373         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22374         (__bswap_64): __uint64_t for unsigned 64-bit int.
22376 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
22378         * include/string.h (memmem): Declare libc hidden alias.
22379         * string/memmem.c (memmem): Define libc hidden alias.
22380         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22381         __read, __close instead of open, read, close.
22383 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
22385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22386         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22387         global and hidden.
22388         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22389         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22390         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22391         Likewise.
22392         (__rawmemchr_sse2): Likewise.
22393         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22394         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22395         (__strchr_sse2): Likewise.
22396         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22397         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22398         (__strcasecmp_sse2): Likewise.
22399         (__strncasecmp_sse2): Likewise.
22400         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22401         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22402         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22403         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22404         (__strrchr_sse2): Likewise.
22405         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22406         ifunc-impl-list.c.
22407         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22408         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22409         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22410         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22411         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22412         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22413         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22414         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22415         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22416         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22417         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22418         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22419         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22420         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22421         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22422         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22423         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22424         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22425         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22426         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22427         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22428         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22429         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22430         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22431         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22433         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22434         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22435         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22436         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22438         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22439         global and hidden.
22440         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22441         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22442         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22443         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22444         Likewise.
22445         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22446         Likewise.
22447         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22448         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22449         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22450         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22451         ifunc-impl-list.c.
22452         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22453         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22454         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22455         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22456         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22457         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22458         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22459         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22461         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22462         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22463         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22464         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22465         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22466         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22467         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22468         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22469         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22470         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22471         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22472         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22473         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22474         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22475         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22476         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22477         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22478         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22479         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22480         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22481         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22482         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22483         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22484         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22485         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22486         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22487         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22488         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22489         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22490         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22491         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22492         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22494         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22495         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22496         * include/ifunc-impl-list.h: New file.
22497         * misc/ifunc-impl-list.c: Likewise.
22498         * misc/Makefile (routines): Add ifunc-impl-list.
22499         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22500         * string/test-string.h: Include <ifunc-impl-list.h>.
22501         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22502         impl_array): New variables.
22503         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22504         are defined.
22505         (test_init): Call __libc_ifunc_impl_list to initialize
22506         func_list if TEST_IFUNC and TEST_NAME are defined.
22508         * string/Makefile (strop-tests): Add bcopy and bzero.
22509         * string/test-bcopy.c: New file.
22510         * string/test-bzero.c: Likewise.
22511         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22512         defined.
22513         * string/test-memset.c: Support bzero test if TEST_BZERO is
22514         defined.
22515         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22516         __libc_memmove.
22517         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22518         __libc_memset.
22519         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22520         of memset.
22522 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
22524         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22525         * configure: Regenerated.
22527         * Makeconfig (+link-static-before-libc): Don't include
22528         $(link-static-libc).
22530         * libio/libio.h (_IO_pos_t): Remove.
22532 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22534         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
22535         McGrath.
22537 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22539         * crypt/crypt-entry.c: Include fips-private.h.
22540         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22541         * crypt/md5c-test.c (main): Tolerate disabled MD5.
22542         * sysdeps/unix/sysv/linux/fips-private.h: New file.
22543         * sysdeps/generic/fips-private.h: New file, dummy fallback.
22545 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22547         * crypt/crypt-private.h: Include stdbool.h.
22548         (_ufc_setup_salt_r): Return bool.
22549         * crypt/crypt-entry.c: Include errno.h.
22550         (__crypt_r): Return NULL with EINVAL for bad salt.
22551         * crypt/crypt_util.c (bad_for_salt): New.
22552         (_ufc_setup_salt_r): Check that salt is long enough and within
22553         the specified alphabet.
22554         * crypt/badsalttest.c: New file.
22555         * crypt/Makefile (tests): Add it.
22556         ($(objpfx)badsalttest): New.
22558 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
22560         * NEWS: Add entry for BZ #14602.
22562 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22564         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22565         type-generic.
22566         * math/libm-test.inc: Update comment listing what functions and
22567         macros are tested.
22568         (isgreater_test): New function.
22569         (isgreaterequal_test): Likewise.
22570         (isless_test): Likewise.
22571         (islessequal_test): Likewise.
22572         (islessgreater_test): Likewise.
22573         (isunordered_test): Likewise.
22574         (main): Call the new functions.
22576 2012-10-09  Roland McGrath  <roland@hack.frob.com>
22578         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22579         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22580         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22581         * sysdeps/i386/configure: Regenerated.
22582         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22583         * sysdeps/mach/configure: Regenerated.
22584         * sysdeps/mach/hurd/configure: Regenerated.
22585         * sysdeps/powerpc/configure: Regenerated.
22586         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22587         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22588         * sysdeps/s390/s390-32/configure: Regenerated.
22589         * sysdeps/s390/s390-64/configure: Regenerated.
22590         * sysdeps/sh/configure: Regenerated.
22591         * sysdeps/sparc/configure: Regenerated.
22592         * sysdeps/unix/sysv/linux/configure: Regenerated.
22593         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22594         * sysdeps/x86_64/configure: Regenerated.
22596         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22597         defined.  Don't check if MAP is NULL.
22599 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22601         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22602         (_G_stat64): Likewise.
22603         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22604         (_G_stat64): Likewise.
22605         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22606         instead of struct _G_stat64.
22607         * libio/fileops.c (mmap_remap_check): Likewise.
22608         (decide_maybe_mmap): Likewise.
22609         (_IO_new_file_seekoff): Likewise.
22610         (_IO_file_stat): Likewise.
22611         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22612         _G_off64_t.
22613         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22614         instead of struct _G_stat64.
22615         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22617 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
22619         [BZ #14602]
22620         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22621         Replace with ...
22622         (CHECK_EOL): New macro.
22623         (two_way_short_needle): Check beginning of haystack for EOL.  Use
22624         CHECK_EOL.
22625         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22626         Replace with CHECK_EOL.
22627         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22628         Replace with CHECK_EOL.
22630 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
22632         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22633         type-generic.
22634         * math/libm-test.inc: Update comment listing what functions and
22635         macros are tested.
22636         (finite_test): New function.
22637         (isinf_test): Likewise.
22638         (isnan_test): Likewise.
22639         (fpclassify_test): Test subnormal input.
22640         (isfinite_test): Likewise.
22641         (isnormal_test): Likewise.
22642         (main): Call the new functions.
22644 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22646         [BZ #14660]
22647         * Makerules (%.dynsym): Force C locale when running
22648         $(OBJDUMP) --dynamic-syms.
22650 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22652         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22653         <stdint.h>.
22655 2012-10-06  David S. Miller  <davem@davemloft.net>
22657         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22658         upper 32-bits of the length value in %o2 since we use branch-on-register
22659         tests which consider the entire 64-bit register.
22661 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22663         * string/test-strstr.c (check2): Add a test for page boundary.
22665 2012-10-05  David S. Miller  <davem@davemloft.net>
22667         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22668         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22669         file.
22670         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22671         sysdep_routines.
22672         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22673         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22674         and bzero when HWCAP_SPARC_CRYPTO is present.
22676 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22678         [BZ #14602]
22679         * string/test-strstr.c (check2): New function.
22680         (test_main): Call check2.
22682         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22683         and bug-strchr1.
22684         * string/bug-strcasestr1.c (do_test): Moved to ...
22685         * string/test-strcasestr.c (check1): Here.  New function.
22686         (do_one_test): Break out result checking code into ...
22687         (check_result): This.  New function.
22688         (do_one_test): Call check_result.
22689         (test_main): Call check1.
22690         * string/bug-strchr1.c (do_test): Moved to ...
22691         * string/test-strchr.c (check1): Here.  New function.
22692         (do_one_test): Break out result checking code into ...
22693         (check_result): This.  New function.
22694         (do_one_test): Call check_result.
22695         (test_main): Call check1.
22696         * string/bug-strstr1.c (main): Moved to ...
22697         * string/test-strstr.c (check1): Here.  New function.
22698         (do_one_test): Break out result checking code into ...
22699         (check_result): This.  New function.
22700         (do_one_test): Call check_result.
22701         (test_main): Call check1.
22702         * string/bug-strcasestr1.c: Removed.
22703         * string/bug-strchr1.c: Likewise.
22704         * string/bug-strstr1.c: Likewise.
22706         * elf/Makefile (dl-routines): Add hwcaps.
22707         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22708         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22709         (_dl_important_hwcaps): Moved to ...
22710         * elf/dl-hwcaps.c: Here.  New file.
22711         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22713         [BZ #14557]
22714         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22715         if IS_IN_rtld isn't defined.
22717         * elf/dl-support.c (_dl_sysinfo_map): New.
22718         Include "get-dynamic-info.h" and "setup-vdso.h".
22719         (_dl_non_dynamic_init): Call setup_vdso.
22720         * elf/dynamic-link.h: Don't include <assert.h>.
22721         (elf_get_dynamic_info): Moved to ...
22722         * elf/get-dynamic-info.h: Here.  New file.
22723         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22724         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22725         * elf/setup-vdso.h: Here.  New file.
22726         * elf/rtld.c: Include "setup-vdso.h".
22727         (dl_main): Call setup_vdso.
22729 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22731         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22732         creal in comment listing functions tested.  List finite, isinf,
22733         isnan, isless, islessequal, isgreater, isgreaterequal,
22734         islessgreater, isunordered, lgamma_r and pow10 as functions and
22735         macros not tested.  Mention which functions not tested are aliases
22736         for other functions.  Fix typo.  Note that signs of NaNs are not
22737         tested.
22739         * scripts/config.guess: Update from config.git.
22740         * scripts/config.sub: Likewise.
22742 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22744         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22745         * misc/madvise.c (madvise): Renamed to __madvise.
22746         Make madvise a weak alias.
22747         * include/sys/mman.h: Declare __madvise.
22748         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22749         * sysdeps/unix/syscalls.list
22750         (madvise): Make __madvise the strong name, and madvise a weak alias.
22751         * sysdeps/unix/sysv/linux/syscalls.list
22752         (madvise, mmap): Remove redundant entries.
22753         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22754         * malloc/malloc.c (mtrim): Likewise.
22755         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22757 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22759         * sysdeps/mach/hurd/dl-cache.c: File removed.
22760         * config.h.in (USE_LDCONFIG): New #undef.
22761         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22762         * configure: Regenerated.
22763         * elf/Makefile (dl-routines): Add dl-cache only under
22764         [$(use-ldconfig) = yes].
22765         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22766         cache on [USE_LDCONFIG].
22767         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22768         [USE_LDCONFIG].
22769         * elf/rtld.c (dl_main): Likewise.
22771 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22773         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22774         _SC_LEVEL4_CACHE_LINESIZE.
22776 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22778         * sysdeps/unix/bsd/confstr.h: File removed.
22780 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22782         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22783         sys/sdt-config.h.
22785 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22787         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22788         Make 'mapoff' field ElfW(Off) rather than off_t.
22790 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22792         * nscd/Makefile: Remove nscd-cflags and all its users.
22793         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22794         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22796         [BZ #10631]
22797         * malloc.c (malloc_printerr): Clarify error message.
22799 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22801         [BZ #14648]
22802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22803         Set bit_FMA_Usable if FMA is supported.
22804         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22805         macro.
22806         (bit_FMA4_Usable): Updated.
22807         (index_FMA_Usable): New macro.
22808         (CPUID_FMA): Likewise
22809         (HAS_FMA): Defined with bit_FMA_Usable.
22811 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22813         * bits/types.h (__swblk_t): Type removed.
22814         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22815         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22817         (__SWBLK_T_TYPE): Likewise.
22818         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22819         (__SWBLK_T_TYPE): Likewise.
22820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22821         (__SWBLK_T_TYPE): Likewise.
22822         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22823         (__SWBLK_T_TYPE): Likewise.
22825 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22826             Honza Horak <hhorak@redhat.com>
22828         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22829         (xdr_mapname): Use YPMAXMAP as maxsize.
22830         (xdr_peername): Use YPMAXPEER as maxsize.
22831         (xdr_keydat): Use YPAXRECORD as maxsize.
22832         (xdr_valdat): Use YPMAXRECORD as maxsize.
22834 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22836         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22838         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22839         * csu/init-first.c: ... here.
22840         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22841         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22842         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22843         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22844         * sysdeps/i386/init-first.c: File removed.
22845         * sysdeps/sh/init-first.c: File removed.
22847 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22849         [BZ #14645]
22850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22851         if x * y might underflow to zero and z is zero.
22852         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22854         * math/libm-test.inc (min_subnorm_value): New variable.
22855         (fma_test): Add more tests.
22856         (fma_test_towardzero): Likewise.
22857         (fma_test_downward): Likewise
22858         (fma_test_upward): Likewise.
22859         (initialize): Set min_subnorm_value.
22861 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22863         [BZ #14638]
22864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22865         0 + 0.
22866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22867         mode for addition resulting in exact zero.
22868         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22870         exact 0 + 0.
22871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22873         * math/libm-test.inc (fma_test): Add more tests.
22874         (fma_test_towardzero): New function.
22875         (fma_test_downward): Likewise.
22876         (fma_test_upward): Likewise.
22877         (main): Call the new functions.
22879 2012-09-28  David S. Miller  <davem@davemloft.net>
22881         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22883 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22885         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22886         instead of SIGALRM.
22888         * sysdeps/gnu/_G_config.h: Moved to ...
22889         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22890         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22891         * sysdeps/generic/_G_config.h: ... here.
22893         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22895         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22897         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22898         Conditionalize target on [libnss_test1.so-version].
22900         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22902         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22903         (elfobjdir): Move out of conditionals.
22905         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22906         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22907         (__nss_lookup_function): Conditionalize label remove_from_tree on
22908         [!DO_STATIC_NSS || SHARED], matching its only use.
22910 2012-09-28  David S. Miller  <davem@davemloft.net>
22912         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22913         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22914         file.
22915         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22916         sysdep_routines.
22917         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22919         when HWCAP_SPARC_CRYPTO is present.
22921 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22923         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22925 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22927         [BZ #6530]
22928         * stdio-common/vfprintf.c (process_string_arg): Revert
22929         2000-07-22 change.
22931 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22933         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22934         for testcase.
22935         * stdio-common/tst-sprintf.c: Include <locale.h>
22936         (main): Test sprintf's handling of incomplete multibyte
22937         characters.
22939 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22941         * elf/dl-runtime.c (VERSYMIDX): Removed.
22942         * elf/dl-version.c (VERSYMIDX): Likewise.
22943         * elf/do-rel.h (VERSYMIDX): Likewise.
22944         (VALIDX): Likewise.
22945         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22946         * elf/rtld.c (VALIDX): Likewise.
22947         (ADDRIDX): Likewise.
22948         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22949         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22950         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22951         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22952         (VALIDX): Likewise.
22953         (ADDRIDX): Likewise.
22955 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22957         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22959 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22961         [BZ #11438]
22962         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22963         to global scope.
22964         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22965         addresses are in the same scope as 192.0.2/24.
22966         * posix/gai.conf: Document new scope table defaults.
22968 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22970         [BZ #5298]
22971         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22972         for ftell.  Compute offsets from write pointers instead.
22973         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22975 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22977         [BZ #14543]
22978         * libio/Makefile (tests): New test case tst-fseek.
22979         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22980         combination works in wide mode.
22981         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22982         state when the external buffer state changes.
22984 2012-09-27  David S. Miller  <davem@davemloft.net>
22986         [BZ #14376]
22987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22988         pass reloc->r_addend in as the 'high' argument to
22989         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22993 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22995         * rt/tst-aio2.c: Include <pthread.h>.
22996         * rt/tst-aio3.c: Likewise.
22998 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23000         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23002 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23004         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23005         contents on [SHARED].
23007 2012-09-26  Marek Polacek  <polacek@redhat.com>
23009         [BZ #14530]
23010         [BZ #13741]
23011         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23012         for C++ and GCC <4.3 as well as for non GCC compilers.
23014 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23018 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23020         * Makefile.in (all, install): Declare with .PHONY.
23021         Reported by Michael Hope <michael.hope@linaro.org>.
23023 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23025         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23026         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23027         system header.
23028         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23029         Likewise.
23030         (sydep_routines): Add the new and the internal functions.
23031         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23032         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23034         (GLIBC_2.17): Add the new function.
23035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23036         (GLIBC_2.17): Likewise.
23037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23038         (GLIBC_2.17): Likewise.
23039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23040         (GLIBC_2.17): Likewise.
23041         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23043 2012-09-25  Alan Modra  <amodra@gmail.com>
23045         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23046         Add release barrier before setting once_control to say
23047         initialisation is done.  Add hints on lwarx.  Use macro in
23048         place of isync.
23049         (clear_once_control): Add release barrier.
23051 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23053         [BZ #13629]
23054         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23055         specially.
23056         * math/s_clog10.c (__clog10): Likewise.
23057         * math/s_clog10f.c (__clog10f): Likewise.
23058         * math/s_clog10l.c (__clog10l): Likewise.
23059         * math/s_clogf.c (__clogf): Likewise.
23060         * math/s_clogl.c (__clogl): Likewise.
23061         * math/Makefile (libm-calls): Add x2y2m1.
23062         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23063         (__x2y2m1): Likewise.
23064         (__x2y2m1l): Likewise.
23065         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23066         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23067         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23068         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23069         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23070         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23071         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23072         * sysdeps/i386/fpu/libm-test-ulps: Update.
23073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23075         [BZ #14621]
23076         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23077         int as type of variable DEPTH.
23078         (glob): Use size_t instead of int as type of variables NEWCOUNT
23079         and OLD_PATHC.
23081 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23083         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23084         Add s_sincosf-sse2.
23085         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23086         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23087         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23088         macros for using routine as __sincosf_ia32.
23089         Use macro for function declaration and weak_alias.
23090         * sysdeps/i386/fpu/libm-test-ulps: Update.
23092         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23095         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23096         subnormal argument.
23097         * math/s_cexpf.c (__cexpf): Likewise.
23098         * math/s_csinf.c (__csinf): Likewise.
23099         * math/s_csinhf.c (__csinhf): Likewise.
23100         * math/s_ctanf.c (__ctanf): Likewise.
23101         * math/s_ctanhf.c (__ctanhf): Likewise.
23102         * math/s_ccosh.c (__ccoshf): Likewise.
23103         * math/s_cexp.c (__cexpl): Likewise.
23104         * math/s_csin.c (__csin): Likewise.
23105         * math/s_csinh.c (__csinh): Likewise.
23106         * math/s_ctan.c (__ctan): Likewise.
23107         * math/s_ctanh.c (ctanh): Likewise.
23108         * math/s_ccoshl.c (__ccoshl): Likewise.
23109         * math/s_cexpl.c (__cexpl): Likewise.
23110         * math/s_csinl.c (__csinl): Likewise.
23111         * math/s_csinhl.c (__csinhl): Likewise.
23112         * math/s_ctanl.c (__ctanl): Likewise.
23113         * math/s_ctanhl.c (__ctanhl): Likewise.
23115 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23117         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23118         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23119         (_IO_off_t): Define to __off_t, not _G_off_t.
23120         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23121         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23122         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23123         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23124         type of __dummy and __dummy2 fields.
23125         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23126         (_G_ssize_t): Likewise.
23127         (_G_off_t): Likewise.
23128         (_G_pid_t): Likewise.
23129         (_G_uid_t): Likewise.
23130         (_G_wchar_t): Likewise.
23131         (_G_wint_t): Likewise.
23132         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23133         (_G_ssize_t): Likewise.
23134         (_G_off_t): Likewise.
23135         (_G_pid_t): Likewise.
23136         (_G_uid_t): Likewise.
23137         (_G_wchar_t): Likewise.
23138         (_G_wint_t): Likewise.
23139         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23140         (_G_ssize_t): Likewise.
23141         (_G_off_t): Likewise.
23142         (_G_pid_t): Likewise.
23143         (_G_uid_t): Likewise.
23144         (_G_wchar_t): Likewise.
23145         (_G_wint_t): Likewise.
23147 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23149         * malloc/arena.c: Include malloc-sysdep.h.
23150         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23151         is sufficient to shrink the heap or an unmap is needed.
23152         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23153         new function check_may_shrink_heap.
23154         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23155         new function check_may_shrink_heap.
23157 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23160         comments.
23162 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23164         * catgets/test-gencat.sh: Add "set -e".
23165         * elf/tst-pathopt.sh: Likewise.
23166         * grp/tst_fgetgrent.sh: Likewise.
23167         * iconvdata/run-iconv-test.sh: Likewise.
23168         * intl/tst-gettext.sh: Likewise.
23169         * intl/tst-gettext2.sh: Likewise.
23170         * intl/tst-gettext4.sh: Likewise.
23171         * intl/tst-gettext6.sh: Likewise.
23172         * intl/tst-translit.sh: Likewise.
23173         * io/ftwtest-sh: Likewise.
23174         * libio/test-freopen.sh: Likewise.
23175         * malloc/tst-mtrace.sh: Likewise.
23176         * posix/globtest.sh: Likewise.
23177         * posix/tst-getconf.sh: Likewise.
23178         * posix/wordexp-tst.sh: Likewise.
23179         * stdio-common/tst-printf.sh: Likewise.
23180         * stdio-common/tst-unbputc.sh: Likewise.
23181         * stdlib/tst-fmtmsg.sh: Likewise.
23182         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23183         * catgets/Makefile: Do not specify -e option when running
23184         testsuite shell scripts.
23185         * elf/Makefile: Likewise.
23186         * grp/Makefile: Likewise.
23187         * iconvdata/Makefile: Likewise.
23188         * intl/Makefile: Likewise.
23189         * io/Makefile: Likewise.
23190         * libio/Makefile: Likewise.
23191         * malloc/Makefile: Likewise.
23192         * posix/Makefile: Likewise.
23193         * stdio-common/Makefile: Likewise.
23194         * stdlib/Makefile: Likewise.
23195         * sysdeps/x86_64/Makefile: Likewise.
23197         * io/ftwtest-sh: Add copyright header.
23198         * posix/globtest.sh: Likewise.
23199         * posix/tst-getconf.sh: Likewise.
23200         * posix/wordexp-tst.sh: Likewise.
23201         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23203 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23205         [BZ #13679]
23206         * Makeconfig (+link): Defined as $(+link-static) if
23207         $(build-shared) isn't yes.
23208         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23209         isn't yes.
23210         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23212         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23214         [BZ #14562]
23215         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23216         new chunk size with MALLOC_ALIGN_MASK.
23218 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23220         [BZ #5044]
23221         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23222         <rounding-mode.h>.
23223         (__printf_fphex): Determine rounding using get_rounding_mode and
23224         round_away.
23225         * stdio-common/tst-printf-round.c (struct hex_test): New
23226         structure.
23227         (hex_tests): New variable.
23228         (test_hex_in_one_mode): New function.
23229         (do_test): Also run tests for hex float output.
23231 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23233         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23234         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23235         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23236         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23237         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23238         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23239         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23240         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23242 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23244         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23245         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23246         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23247         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23249 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23251         [BZ #14579]
23252         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23253         mode only.
23254         * elf/tst-rtld-load-self.sh: New test.
23255         * elf/Makefile: Run it.
23257 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23259         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23260         (tst-writev-ENV): Remove.
23261         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23263 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23265         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23267 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23269         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23270         unconditional.
23271         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23272         Likewise.
23273         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23274         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23275         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23276         Likewise.
23278 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23280         [BZ #14587]
23281         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23282         * config.make.in (have-cpp-asm-debuginfo): Removed.
23283         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23284         * configure: Regenerated.
23286 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23288         [BZ #5044]
23289         * stdio-common/printf_fp.c: Include <stdbool.h> and
23290         <rounding-mode.h>.
23291         (___printf_fp): Determine rounding using get_rounding_mode and
23292         round_away.
23293         * stdio-common/tst-printf-round.c: New file.
23294         * stdio-common/Makefile (tests): Add tst-printf-round.
23295         (link-libm): New variable.
23296         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23298 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23300         [BZ #14576]
23301         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23302         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23303         Likewise.
23304         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23305         Likewise.
23307 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23309         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23310         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23311         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23312         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23314 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23316         [BZ #14518]
23317         * include/rounding-mode.h: New file.
23318         * sysdeps/generic/get-rounding-mode.h: Likewise.
23319         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23320         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23321         (MAX_VALUE): New macro.
23322         (MIN_VALUE): Likewise.
23323         (overflow_value): New function.
23324         (underflow_value): Likewise.
23325         (round_and_return): Use overflow_value and underflow_value to
23326         determine return values in overflow and underflow cases.  Use
23327         round_away to determine rounding depending on rounding mode.
23328         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23329         determine return values in overflow and underflow cases.
23330         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23331         (struct test_results): New structure.
23332         (struct test): Use struct test_results to store expected results
23333         for all rounding modes.
23334         (TEST): Include expected results for all rounding modes.
23335         (test_in_one_mode): New function.
23336         (do_test): Use test_in_one_mode to compute and check results.
23337         Check results for all rounding modes.
23338         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23339         $(link-libm).
23341 2012-12-09  Allan McRae  <allan@archlinux.org>
23343         * sysdeps/i386/fpu/libm-test-ulps: Update
23345 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23347         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23348         (_G_int32_t): Likewise.
23349         (_G_uint16_t): Likewise.
23350         (_G_uint32_t): Likewise.
23351         (_G_HAVE_BOOL): Likewise.
23352         (_G_HAVE_ATEXIT): Likewise.
23353         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23354         (_G_HAVE_IO_FILE_OPEN): Likewise.
23355         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23356         (_G_int32_t): Likewise.
23357         (_G_uint16_t): Likewise.
23358         (_G_uint32_t): Likewise.
23359         (_G_HAVE_BOOL): Likewise.
23360         (_G_HAVE_ATEXIT): Likewise.
23361         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23362         (_G_HAVE_IO_FILE_OPEN): Likewise.
23363         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23364         (_G_int32_t): Likewise.
23365         (_G_uint16_t): Likewise.
23366         (_G_uint32_t): Likewise.
23367         (_G_HAVE_BOOL): Likewise.
23368         (_G_HAVE_ATEXIT): Likewise.
23369         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23370         (_G_HAVE_IO_FILE_OPEN): Likewise.
23372 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
23374         * csu/libc-tls.c: Update copyright years.
23376 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
23378         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23379         [!_G_USING_THUNKS]: Remove conditional code.
23380         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23381         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23383         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23384         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23385         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23386         (_G_VTABLE_LABEL_PREFIX): Likewise.
23387         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23388         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23389         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23390         (_G_VTABLE_LABEL_PREFIX): Likewise.
23391         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23392         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23393         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23394         (_G_VTABLE_LABEL_PREFIX): Likewise.
23395         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23397 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23399         * libio/Makefile: Include ../Makeconfig before tests.
23400         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23401         only if $(build-shared) is yes.
23403         * iconv/gconv_db.c: Update copyright years.
23405 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23407         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23408         unwind info if defined PIC. Fix special cases description.
23409         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23411         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23412         DP_HI_MASK entry.
23413         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23415 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23417         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23419         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23420         is NULL.
23422         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23423         (LDLIBS-tst-chk4): This.
23424         (LDFLAGS-tst-chk5): Renamed to ...
23425         (LDLIBS-tst-chk5): This.
23426         (LDFLAGS-tst-chk6): Renamed to ...
23427         (LDLIBS-tst-chk6): This.
23428         (LDFLAGS-tst-lfschk4): Renamed to ...
23429         (LDLIBS-tst-lfschk4): This.
23430         (LDFLAGS-tst-lfschk5): Renamed to ...
23431         (LDLIBS-tst-lfschk5): This.
23432         (LDFLAGS-tst-lfschk6): Renamed to ...
23433         (LDLIBS-tst-lfschk6): This.
23435         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23436         on $(common-objpfx)soversions.mk.
23438 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23440         [BZ #10014]
23441         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23442         example host name.
23444 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23446         * malloc/arena.c (arena_get_retry): New function that gets
23447         another arena for the caller to try its request on.
23448         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23449         current arena cannot fulfill the request.
23450         (__libc_memalign): Likewise.
23451         (__libc_memalign): Likewise.
23452         (__libc_pvalloc): Likewise.
23453         (__libc_calloc): Likewise.
23455 2012-09-05  John Tobey  <john.tobey@gmail.com>
23457         [BZ #13542]
23458         * manual/arith.texi (Operations on Complex): Fix description
23459         of carg branch cut.
23461 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23463         [BZ #10014]
23464         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23465         host name.
23467         [BZ #10038]
23468         * manual/memory.texi (Memory): Make order of menu items match
23469         order of sections.
23471 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23473         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23474         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
23475         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23477 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23479         * csu/libc-tls.c (static_dtv): Renamed to ...
23480         (_dl_static_dtv): This.  Make it global.
23481         (_dl_initial_dtv): Removed.
23482         (__libc_setup_tls): Updated.
23483         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23484         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23485         DL_INITIAL_DTV.
23487 2012-09-06  Petr Machata  <pmachata@redhat.com>
23489         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23490         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23491         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23492         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23494 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23496         [BZ #14545]
23497         * csu/libc-tls.c (_dl_initial_dtv): New variable.
23498         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23499         freeing dtv[-1].
23501 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23503         [BZ #14544]
23504         * Makeconfig (link-static-before-libc): Replace $(+prector)
23505         with $(+prectorT).
23506         (link-static-after-libc): Replace $(+postctor) with
23507         $(+postctorT).
23508         (link-bounded): Replace $(+prector)/$(+postctor) with
23509         $(+prectorT)/$(+postctorT).
23510         (+prectorT): New macro.
23511         (+postctorT): Likewise.
23513 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23515         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23516         (round_str): Handle values above the maximum for IBM long double
23517         as inexact.
23518         * stdlib/tst-strtod-round.c (tests): Regenerated.
23520 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23522         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23523         assembler flag.
23524         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23525         zarch_nohighgprs around the zarch optimized routines.
23526         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23527         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23528         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23529         for zarch.
23531 2012-09-05  David S. Miller  <davem@davemloft.net>
23533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23535         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23536         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23537         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23538         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23539         entries.
23541 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23543         * malloc/arena.c: Fold copyright years.
23544         * malloc/mcheck.c, malloc/memusage.c: Likewise.
23546 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23548         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23550 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23552         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
23554 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23556         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23557         change internal state upon failure.
23559 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23561         * malloc/mcheck.c (mcheck_check_all): Fix typo.
23562         * malloc/memusage.c (mmap): Likewise.
23563         (mmap64, mremap): Likewise.  Adjust name in comment.
23565 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23567         * libio/fileops.c: Fix typos in comments.
23568         * libio/oldfileops.c: Likewise.
23569         * libio/wfileops.c: Likewise.
23571 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23573         [BZ #1349]
23574         * malloc/Makefile (tests): Add tst-malloc-usable test case.
23575         (tst-malloc-usable-ENV): Set environment for test case.
23576         * malloc/hooks.c (malloc_check_get_size): New function to get
23577         requested size.
23578         * malloc/malloc.c (musable): Use malloc_check_get_size.
23579         * malloc/tst-malloc-usable.c: New test case.
23581 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23583         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23585 2012-09-05  Allan McRae  <allan@archlinux.org>
23587         [BZ #13966]
23588         * configure.in (CXX_SYSINCLUDES): Use compiler output to
23589         determine header location.
23590         * configure: Regenerated.
23592 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23594         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23595         float format.
23596         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23597         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23598         format.
23599         (test): Regenerate.
23601 2012-09-04  David S. Miller  <davem@davemloft.net>
23603         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23604         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23605         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23607 2012-09-04  Florian Weimer  <fweimer@redhat.com>
23609         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23610         failures.
23612         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23614 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
23616         [BZ #9914]
23617         * libio/iogetdelim.c: Include <limits.h>.
23618         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23619         + len + 1 would overflow.
23621 2012-09-03  Andreas Jaeger  <aj@suse.de>
23623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23624         * sysdeps/i386/fpu/libm-test-ulps: Update.
23626 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23628         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23629         Add s_sinf-sse2, s_conf-sse2.
23631         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23632         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23633         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23634         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23636         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23637         for using routine as __sinf_ia32.
23638         Use macro for function declaration and weak_alias.
23639         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23640         for using routine as __cosf_ia32.
23641         Use macro for function declaration and weak_alias.
23643         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23644         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23646         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23647         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23650         * math/libm-test.inc (cos_test): Add more test cases.
23651         (sin_test): Likewise.
23652         (sincos_test): Likewise.
23654 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23656         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23657         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23658         hidden.
23659         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23661 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23663         [BZ #14538]
23664         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23665         first element of the GOT.
23666         (elf_machine_load_address): Return the difference between
23667         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23669 2012-09-01  Allan McRae  <allan@archlinux.org>
23671         [BZ #13412]
23672         * configure.in (AWK): Require gawk version 3.0 or later.
23673         * configure: Regenerated.
23675 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23677         * sysdeps/unix/sysv/linux/kernel-features.h
23678         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23679         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23680         [__NR_clock_getres]: Make code unconditional.
23681         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23682         (clock_getcpuclockid): Remove code left unreachable by removal of
23683         conditionals.
23684         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23685         code unconditional.
23686         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23687         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23688         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23689         Make code unconditional.
23690         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23691         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23692         * sysdeps/unix/sysv/linux/clock_settime.c
23693         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23694         conditional code.
23695         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23696         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23698 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23700         [BZ #14476]
23701         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23702         scripts/test-installation.pl.
23704         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23705         and $ld_so_version if it is set.
23707 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23709         [BZ #14516]
23710         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23711         failure if reading from procfs failed.
23712         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23714 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23716         * sysdeps/unix/sysv/linux/kernel-features.h
23717         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23718         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23719         Remove conditional code.
23720         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23721         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23722         Remove conditional code.
23723         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23724         * sysdeps/unix/sysv/linux/i386/fxstat.c
23725         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23727         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23728         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23730         * sysdeps/unix/sysv/linux/i386/lxstat.c
23731         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23733         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23734         Remove conditional code.
23735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23736         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23737         Remove conditional code.
23738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23739         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23740         <kernel-features.h>.
23741         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23742         Remove.
23743         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23744         Remove conditional code.
23745         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23746         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23747         Remove conditional.
23749 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23751         [BZ #5400]
23752         * NEWS: Add fixed bug number.
23754 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23756         [BZ #14519]
23757         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23758         underflowing exponent in case of negative sign.
23759         * stdlib/tst-strtod-round-data: Add more tests.
23760         * stdlib/tst-strtod-round.c (tests): Regenerated.
23762         [BZ #3479]
23763         * stdlib/strtod_l.c (NDIG): Remove.
23764         (HEXNDIG): Likewise.
23765         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23766         smallest representable value.
23767         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23768         lie within an exact representation of 1/2 ulp of the result.
23769         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23770         unconditionally.
23771         (TENS_P9_IDX): Define unconditionally.
23772         (TENS_P9_SIZE): Likewise.
23773         (TENS_P10_IDX): Likewise.
23774         (TENS_P10_SIZE): Likewise.
23775         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23776         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23777         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23778         entries for 10^2^13 and 10^2^14.
23779         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23780         (TENS_P13_IDX): Define.
23781         (TENS_P13_SIZE): Likewise.
23782         (TENS_P14_IDX): Likewise.
23783         (TENS_P14_SIZE): Likewise.
23784         (_fpioconst_pow10): Change array size to
23785         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23786         unconditional.
23787         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23788         1024]: Add entries for 10^2^13 and 10^2^14.
23789         [LAST_POW10 > _LAST_POW10]: Remove #error.
23790         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23791         (_fpioconst_pow10): Change array size to
23792         FPIOCONST_POW10_ARRAY_SIZE.
23793         * stdlib/gen-fpioconst.c: New file.
23794         * stdlib/gen-tst-strtod-round.c: Likewise.
23795         * stdlib/tst-strtod-round-data: Likewise.
23796         * stdlib/tst-strtod-round.c: Likewise.
23797         * stdlib/Makefile (tests): Add tst-strtod-round.
23799         [BZ #14459]
23800         * stdlib/strtod_l.c: Include <stdint.h>.
23801         (NDEBUG): Do not define.
23802         (round_and_return): Change EXPONENT parameter to type intmax_t.
23803         Rearrange calculations to avoid internal overflow possibilities.
23804         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23805         Rearrange calculations to avoid internal overflow possibilities.
23806         Assert that number fits inside MPNSIZE limbs.
23807         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23808         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23809         calculations and add assertions to avoid internal overflow
23810         possibilities.  Add casts to avoid signed/unsigned operations.
23811         * stdlib/tst-strtod-overflow.c: New file.
23812         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23814 2012-08-25  Marek Polacek  <polacek@redhat.com>
23816         * time/time.h: Fix some typos in comments.
23818 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23820         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23821         * posix/tst-rfc3484-2.c: Likewise.
23822         * posix/tst-rfc3484-3.c: Likewise.
23824 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23826         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23827         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23829 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23831         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23832         #include of fxstatat64.c.
23834 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23836         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23837         * shadow/getspent_r.c: Likewise.
23838         * shadow/getspnam.c: Likewise.
23839         * shadow/getspnam_r.c: Likewise.
23840         * gshadow/getsgent.c: Likewise.
23841         * gshadow/getsgent_r.c: Likewise.
23842         * gshadow/getsgnam.c: Likewise.
23843         * gshadow/getsgnam_r.c: Likewise.
23844         * inet/getnetbyad.c: Likewise.
23845         * inet/getnetbyad_r.c: Likewise.
23846         * inet/getnetbynm.c: Likewise.
23847         * inet/getnetbynm_r.c: Likewise.
23848         * inet/getnetent.c: Likewise.
23849         * inet/getnetent_r.c: Likewise.
23850         * inet/getproto.c: Likewise.
23851         * inet/getproto_r.c: Likewise.
23852         * inet/getprtent.c: Likewise.
23853         * inet/getprtent_r.c: Likewise.
23854         * inet/getprtname.c: Likewise.
23855         * inet/getprtname_r.c: Likewise.
23856         * inet/getrpcbyname.c: Likewise.
23857         * inet/getrpcbyname_r.c: Likewise.
23858         * inet/getrpcbynumber.c: Likewise.
23859         * inet/getrpcbynumber_r.c: Likewise.
23860         * inet/getrpcent.c: Likewise.
23861         * inet/getrpcent_r.c: Likewise.
23862         * inet/getaliasent.c: Likewise.
23863         * inet/getaliasent_r.c: Likewise.
23864         * inet/getaliasname.c: Likewise.
23865         * inet/getaliasname_r.c: Likewise.
23866         * nscd/getgrgid_r.c: Likewise.
23867         * nscd/getgrnam_r.c: Likewise.
23868         * nscd/gethstbyad_r.c: Likewise.
23869         * nscd/gethstbynm3_r.c: Likewise.
23870         * nscd/getpwnam_r.c: Likewise.
23871         * nscd/getpwuid_r.c: Likewise.
23872         * nscd/getsrvbynm_r.c: Likewise.
23873         * nscd/getsrvbypt_r.c: Likewise.
23874         * nscd/gai.c: Likewise.
23876         * configure.in (build_nscd): New substituted variable, set
23877         by --disable-build-nscd and defaults to $use_nscd.
23878         * configure: Regenerated.
23879         * config.make.in (build-nscd): New substituted variable.
23880         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23881         Change conditional to require [$(build-nscd) = yes] as well.
23882         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23884         [BZ# 13696]
23885         * configure.in (use_nscd): New substituted variable, set by
23886         --disable-nscd.  If enabled, define USE_NSCD.
23887         * configure: Regenerated.
23888         * config.h.in: Add USE_NSCD.
23889         * config.make.in (use-nscd): New substituted variable.
23890         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23891         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23892         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23893         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23894         (CFLAGS-getgrnam_r.c): Likewise.
23895         (CFLAGS-initgroups.c): Likewise.
23896         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23897         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23898         Variables removed.
23899         * inet/getnetgrent_r.c
23900         (nscd_setnetgrent): New function, broken out of ...
23901         (setnetgrent): ... here.  Call it.
23902         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23903         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23904         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23905         * nscd/Makefile (routines, aux): Move definitions after include of
23906         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23907         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23908         Conditionalize on [USE_NSCD].
23909         (is_nscd, nscd_init_cb): Likewise.
23910         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23911         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23912         * nss/nss_db/db-init.c: Likewise.
23913         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23914         [USE_NSCD].
23915         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23916         (make_request): Use it.
23917         (cache_valid_p): New function.
23918         (__check_pf): Use it.
23919         * NEWS: Add item for --disable-nscd.
23921 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23923         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23924         to support sed >= 4.2.1-20-ga9bf076.
23925         * configure: Regenerated.
23927 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23929         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23930         Conditionalize whole body on [IREL].
23932 2012-08-22  Jeff Law <law@redhat.com>
23934         [BZ #14505]
23935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23936         if the family is PF_UNSPEC.
23938 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23940         * Makerules (lib-version): Rename from V.
23941         (install-lib-nosubdir): Change V to lib-version.
23943 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23945         [BZ #14252]
23946         * powerpc32/power6/wcschr.c: New file.
23947         * powerpc32/power6/wcscpy.c: New file.
23948         * powerpc32/power6/wcsrchr.c: New file.
23949         * powerpc64/power6/wcschr.c: New file.
23950         * powerpc64/power6/wcscpy.c: New file.
23951         * powerpc64/power6/wcsrchr.c: New file.
23953 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23955         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23956         (two_way_short_needle): Use it.
23957         * string/strstr.c (AVAILABLE1_USES_J): Define.
23958         * string/strcasestr.c: Likewise.
23960         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23961         array references.
23962         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23964         [BZ #11607]
23965         * NEWS: Add an entry.
23966         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23967         define their defaults.
23968         (two_way_short_needle): Detect end-of-string on-the-fly.
23969         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23970         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23971         * string/bug-strcasestr1.c: New test.
23972         * string/Makefile: Run it.
23974 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23976         [BZ #11607]
23977         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23978         the first character.
23980 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23982         * csu/elf-init.c (__libc_csu_irel): Function removed.
23983         * csu/libc-start.c (apply_irel): New function.
23984         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23986 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23988         * sysdeps/unix/sysv/linux/kernel-features.h
23989         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23990         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23991         <kernel-features.h>.
23992         [__NR_fadvise64_64]: Make code unconditional.
23993         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23994         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23995         !__NR_fadvise64_64)]: Likewise.
23996         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23997         !__NR_fadvise64_64))]: Likewise.
23998         [__NR_fadvise64]: Make code unconditional.
23999         [!__NR_fadvise64]: Remove conditional code.
24000         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24001         <kernel-features.h>.
24002         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24003         unconditional.
24004         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24005         conditional code.
24006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24007         not include <kernel-features.h>.
24008         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24009         unconditional.
24010         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24011         conditional code.
24012         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24013         include <kernel-features.h>.
24014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24015         unconditional.
24016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24017         conditional code.
24019 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24021         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24022         slight instruction rearrangements per scrollpipe analysis.
24023         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24025 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24027         * manual/syslog.texi (syslog; vsyslog, closelog):
24028         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24029         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24031         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24032         DSOCAPS to match condition on defining it.
24034 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24036         * sysdeps/unix/sysv/linux/kernel-features.h
24037         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24039         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24040         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24042         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24043         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24045         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24046         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24048         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24049         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24051         * sysdeps/unix/sysv/linux/kernel-features.h
24052         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24053         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24054         unconditional.
24055         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24056         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24057         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24058         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24059         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24060         Make code unconditional.
24061         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24062         (__mmap64) [!__NR_mmap2]: Likewise.
24063         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24064         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24065         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24067         [__NR_mmap2]: Make code unconditional.
24068         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24069         (__mmap64) [!__NR_mmap2]: Likewise.
24071 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24073         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24075 2012-08-18  Andreas Jaeger  <aj@suse.de>
24077         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24079 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24081         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24082         * include/unistd.h (__have_sock_cloexec): Likewise.
24083         (__have_pipe2): Likewise.
24084         (__have_dup3): Likewise.
24086 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24088         [BZ #9685]
24089         * include/unistd.h (__have_pipe2): Change define into an extern int.
24090         (__have_dup3): Likewise.
24091         * socket/have_sock_cloexec.c: Include fcntl.h.
24092         (__have_pipe2): New variable.
24093         (__have_dup3): Likewise.
24095 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24097         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24099 2012-08-17  Marek Polacek  <polacek@redhat.com>
24101         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24102         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24104 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24106         * configure.in: Add AC_SUBST for sysheaders.
24107         * configure: Regenerated.
24108         * config.make.in (sysheaders): New substituted variable.
24110         * sysdeps/unix/mkfifo.c: Moved ...
24111         * sysdeps/posix/mkfifo.c: ... here.
24112         * sysdeps/unix/mkfifoat.c: Moved ...
24113         * sysdeps/posix/mkfifoat.c: ... here.
24115         * sysdeps/unix/utime.c: Moved ...
24116         * sysdeps/posix/utime.c: ... here.
24118         * sysdeps/unix/time.c: Moved ...
24119         * sysdeps/posix/time.c: ... here.
24120         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24121         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24123         * sysdeps/unix/nice.c: Moved ...
24124         * sysdeps/posix/nice.c: ... here.
24126         * sysdeps/unix/alarm.c: Moved ...
24127         * sysdeps/posix/alarm.c: ... here.
24129         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24131 2012-08-17  Jeff Law <law@redhat.com>
24133         * intl/Makefile (codeset_mo): New variable.
24134         ($(codeset_mo)): New target.
24135         (tst-codeset.out): Depend on that.  Remove explicit rule.
24136         (tst-gettext3.out, tst-gettext5.out): Likewise.
24137         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24138         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24139         * intl/tst-codeset.sh: Remove.
24140         * intl/tst-gettext3.sh: Likewise.
24141         * intl/tst-gettext5.sh: Likewise.
24143 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24145         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24146         * sysdeps/unix/syscalls.list: ... here.
24148         * sysdeps/posix/getaddrinfo.c
24149         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24150         (gaiconf_init, gaiconf_reload): Use them.
24151         [!_STATBUF_ST_NSEC]
24152         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24153         Define using time_t rather than struct timespec.
24155         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24156         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24157         Macros removed.
24158         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24159         [!NO_THREADS].
24160         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24161         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24162         Likewise.
24164         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24165         __libc_cleanup_push argument.
24167         * bits/param.h: New file.
24168         * misc/sys/param.h: New file.
24169         * include/sys/param.h: New file.
24170         * misc/Makefile (headers): Add bits/param.h.
24171         * sysdeps/generic/sys/param.h: File removed.
24172         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24173         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24174         * sysdeps/mach/hurd/bits/param.h: New file.
24175         * sysdeps/mach/hurd/sys/param.h: File removed.
24177         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24178         last change.
24180         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24181         [_IO_MTSAFE_IO].
24182         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24183         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24184         New macros.
24186         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24187         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24188         rather than -D_IO_MTSAFE_IO conditionally.
24189         * stdio-common/Makefile (CPPFLAGS): Likewise.
24190         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24191         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24192         Use $(libio-mtsafe).
24193         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24194         of -D_IO_MTSAFE_IO.
24195         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24196         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24197         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24198         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24199         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24200         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24201         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24202         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24203         (CFLAGS-fread_u_chk.c): Likewise.
24204         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24205         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24206         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24207         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24208         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24209         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24210         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24211         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24212         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24214         * libio/Makefile: Test [$(libc-reentrant) = yes]
24215         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24217         * Makeconfig
24218         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24219         * sysdeps/pthread/configure: File removed.
24220         * sysdeps/pthread/Makeconfig: New file.
24221         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24222         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24224 2012-08-16  Gary Benson  <gbenson@redhat.com>
24226         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24227         unmapping the first object in a namespace.
24229 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24231         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24232         (__internal_setnetgrent): ... this.  Add internal_function to
24233         definition.  Add libc_hidden_def.
24234         (setnetgrent): Update caller.
24235         (internal_endnetgrent): Renamed to ...
24236         (__internal_endnetgrent): ... this.  Add internal_function to
24237         definition.  Add libc_hidden_def.
24238         (endnetgrent): Update caller.
24239         (internal_getnetgrent_r): Renamed to ...
24240         (__internal_getnetgrent_r): ... this.  Add internal_function to
24241         definition.  Add libc_hidden_def.
24242         (__getnetgrent_r): Update caller.
24243         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24245 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24247         * stdlib/longlong.h: Update from GCC.
24249 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24251         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24252         on _QL, which is set by umul_ppmm but never used.
24253         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24254         variables, which are set by GMP macros but never used.
24255         * stdio-common/_itowa.c (_itowa): Likewise.
24256         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24257         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24259 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24261         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24262         struct La_sh_regs is not constant.
24263         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24264         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24265         and struct La_sparc64_regs are not constant.
24267 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24269         * sysdeps/unix/sysv/linux/kernel-features.h
24270         (__ASSUME_POSIX_TIMERS): Remove.
24271         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24272         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24273         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24274         Make code unconditional.
24275         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24276         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24277         Make code unconditional.
24278         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24279         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24280         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24282         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24283         Make code unconditional.
24284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24285         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24286         (__libc_missing_posix_timers): Remove.
24288 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24290         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24291         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24293         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24295         * elf/dl-sym.c: Include <stdlib.h>.
24297         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24298         constants, which avoids warnings in 32-bit builds.
24300         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24301         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24303         * misc/lseek.c: File moved to ...
24304         * io/lseek.c: ... here.
24306         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24308         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24309         shifting LEN more than 31 bits at once.
24311 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24313         [BZ #14195]
24314         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24315         segmentation fault for a case of two empty input strings.
24316         * string/test-strncasecmp.c (check1): Renamed to...
24317         (bz12205): ...this.
24318         (bz14195): Add new testcase for two empty input strings and N > 0.
24319         (test_main): Call new testcase, adapt for renamed function.
24321 2012-08-15  Andreas Jaeger  <aj@suse.de>
24323         [BZ #14090]
24324         * crypt/md5test2.c: New test, based on test supplied by Serge
24325         Belyshev <belyshev@depni.sinp.msu.ru>.
24326         * crypt/Makefile (xtests): Add md5test-giant..
24327         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24329 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24331         [BZ #14090]
24332         * crypt/md5.c (md5_process_block): Don't assume the buffer
24333         length is less than 2**32.
24334         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24335         length is less than 2**64.
24337 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24339         * string/str-two-way.h: Include <sys/param.h>.
24340         (MAX): Macro removed.
24342         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24343         Move #define and #undef of memmove to just before and after
24344         including <string.h>.
24346         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24347         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24348         and after including <string.h>.  Move declarations of
24349         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24350         to before #include "string/memmove.c".
24352         * include/dirent.h: Declare __getdirentries.
24354         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24355         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24357 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
24359         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24360         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24361         * sysdeps/i386/configure: Regenerated.
24362         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24363         STABS_CURRENT_FILE, and STABS_FUN.
24364         (END): Remove call to STABS_FUN_END.
24365         (STABS_CURRENT_FILE1): Delete.
24366         (STABS_CURRENT_FILE): Likewise.
24367         (STABS_FUN): Likewise.
24368         (STABS_FUN_END): Likewise.
24369         (STABS_FUN2): Likewise.
24370         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24371         * sysdeps/x86_64/configure: Regenerated.
24373 2012-08-14  Roland McGrath  <roland@hack.frob.com>
24375         * elf/dl-open.c: Include <atomic.h>.
24376         * elf/dl-lookup.c: Likewise.
24378 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
24380         * sysdeps/unix/sysv/linux/kernel-features.h
24381         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24382         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24383         unconditionally.
24384         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24385         unconditionally.
24386         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24387         condition on __ASSUME_CLONE_THREAD_FLAGS.
24389 2012-08-14  Andreas Jaeger  <aj@suse.de>
24391         * sysdeps/i386/fpu/libm-test-ulps: Update.
24393 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
24395         * include/atomic.h (atomic_exchange_and_add): Split into ...
24396         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24397         New atomic macros.
24399 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24403 2012-08-13  Jeff Law <law@redhat.com>
24405         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24406         null byte in the output string.
24408 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24410         * sysdeps/unix/sysv/linux/kernel-features.h
24411         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24412         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24413         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24414         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24415         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24416         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24417         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24419 2012-08-09  Jeff Law <law@redhat.com>
24421         [BZ #13939]
24422         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24423         When avoid_arena is set, don't retry in the that arena.  Pick the
24424         next one, whatever it might be.
24425         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24426         (arena_lock): Pass in new parameter to arena_get2.
24427         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24428         arena_get2.
24429         (__libc_malloc): Unify retrying after main arena failure with
24430         __libc_memalign version.
24431         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24433 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24435         [BZ #14166]
24436         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24437         to __redirect_strstr.
24438         (__strstr_sse42): Use typeof __redirect_strstr.
24439         (__strstr_ia32): Likewise.
24440         (__libc_strstr): New prototype.
24441         (strstr): Renamed to ...
24442         (__libc_strstr): This.
24443         (strstr): New strong alias of __libc_strstr.
24444         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24445         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24446         __redirect_time.
24447         Include <time.h>.
24448         (__libc_time): New prototype.
24449         (time_ifunc): Replace time with __libc_time.
24450         (time): New strong alias and hidden definition of __libc_time.
24451         (__GI_time): Remove strong alias.
24452         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24453         Include <stddef.h>.
24454         (memmove): Redefined to __redirect_memmove.
24455         (__memmove_sse2): Use typeof __redirect_memmove.
24456         (__memmove_ssse3): Likewise.
24457         (__memmove_ssse3_back): Likewise.
24458         (__libc_memmove): New prototype.
24459         (memmove): Renamed to ...
24460         (__libc_memmove): This.
24461         (memmove): New strong alias of __libc_memmove.
24463 2012-08-08  Mark Salter  <msalter@redhat.com>
24465         * elf/elf.h
24466         (R_MN10300_TLS_GD): Define.
24467         (R_MN10300_TLS_LD): Likewise.
24468         (R_MN10300_TLS_LDO): Likewise.
24469         (R_MN10300_TLS_GOTIE): Likewise.
24470         (R_MN10300_TLS_IE): Likewise.
24471         (R_MN10300_TLS_LE): Likewise.
24472         (R_MN10300_TLS_DTPMOD): Likewise.
24473         (R_MN10300_TLS_DTPOFF): Likewise.
24474         (R_MN10300_TLS_TPOFF): Likewise.
24475         (R_MN10300_SYM_DIFF): Likewise.
24476         (R_MN10300_ALIGN): Likewise.
24477         (R_MN10300_NUM): Update.
24479 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
24481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24482         Remove.
24484 2012-08-08  Roland McGrath  <roland@hack.frob.com>
24486         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24488         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24489         sysdeps/unix -> sysdeps/posix move.
24490         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24492 2012-08-07      Allan McRae     <allan@archlinux.org>
24494         [BZ #14303]
24495         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24496         (SUNOS_CPP): Likewise.
24497         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24498         not found.
24499         (open_input): Call CPP using execvp.
24501 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24503         * sysdeps/unix/sysv/linux/kernel-features.h
24504         (__ASSUME_PROT_GROWSUPDOWN): Remove.
24505         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24506         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24507         (__ASSUME_WAITID_SYSCALL): Likewise.
24508         * sysdeps/unix/sysv/linux/dl-execstack.c
24509         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24510         code unconditional.
24511         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24512         conditional code.
24513         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24514         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24515         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24516         code.
24517         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24518         unconditional.
24519         [__ASSUME_WAITID_SYSCALL]: Likewise.
24520         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24522 2012-08-07  Roland McGrath  <roland@hack.frob.com>
24524         * sysdeps/unix/closedir.c: Renamed to ...
24525         * sysdeps/posix/closedir.c: ... here.
24526         * sysdeps/unix/dirfd.c: Renamed to ...
24527         * sysdeps/posix/dirfd.c: ... here.
24528         * sysdeps/unix/dirstream.h: Renamed to ...
24529         * sysdeps/posix/dirstream.h: ... here.
24530         * sysdeps/unix/fdopendir.c: Renamed to ...
24531         * sysdeps/posix/fdopendir.c: ... here.
24532         * sysdeps/unix/opendir.c: Renamed to ...
24533         * sysdeps/posix/opendir.c: ... here.
24534         * sysdeps/unix/readdir.c: Renamed to ...
24535         * sysdeps/posix/readdir.c: ... here.
24536         * sysdeps/unix/readdir_r.c: Renamed to ...
24537         * sysdeps/posix/readdir_r.c: ... here.
24538         * sysdeps/unix/rewinddir.c: Renamed to ...
24539         * sysdeps/posix/rewinddir.c: ... here.
24540         * sysdeps/unix/seekdir.c: Renamed to ...
24541         * sysdeps/posix/seekdir.c: ... here.
24542         * sysdeps/unix/telldir.c: Renamed to ...
24543         * sysdeps/posix/telldir.c: ... here.
24544         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24545         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24546         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24547         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24549         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24550         * bits/fcntl.h: ... here.
24552         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24553         not 0.
24554         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24555         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24556         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24557         (struct flock): Move l_start, l_len to the beginning.
24558         Use __pid_t for l_pid.
24559         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24560         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24561         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24562         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24563         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24564         [__USE_LARGEFILE64] (struct flock64): New type.
24565         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24567         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24568         * bits/dirent.h: ... here.
24570         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24571         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24573 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24575         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24576         Change from 2.6.0 to 2.6.16.
24577         * sysdeps/unix/sysv/linux/configure: Regenerated.
24578         * sysdeps/unix/sysv/linux/kernel-features.h
24579         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24580         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24581         version.
24582         (__ASSUME_UTIMES): Likewise.
24583         (__ASSUME_CLONE_STOPPED): Remove.
24584         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24585         architectures, not kernel version.
24586         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24587         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24588         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24589         (__ASSUME_WAITID_SYSCALL): Likewise.
24590         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24591         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24592         * README: State 2.6.16 as minimum Linux kernel version.  Do not
24593         refer to older versions.
24595 2012-08-06  Roland McGrath  <roland@hack.frob.com>
24597         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24598         Define alphasort64 as an alias.
24599         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24600         Define versionsort64 as an alias.
24601         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24602         Define scandir64 as an alias.
24603         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24604         Define scandirat64 as an alias.
24605         * dirent/alphasort64.c (alphasort64):
24606         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24607         * dirent/versionsort64.c: Likewise.
24608         * dirent/scandir64.c: Likewise.
24609         * dirent/scandirat64.c: Likewise.
24610         * sysdeps/wordsize-64/alphasort.c: File removed.
24611         * sysdeps/wordsize-64/alphasort64.c: File removed.
24612         * sysdeps/wordsize-64/scandir.c: File removed.
24613         * sysdeps/wordsize-64/scandir64.c: File removed.
24614         * sysdeps/wordsize-64/scandirat.c: File removed.
24615         * sysdeps/wordsize-64/scandirat64.c: File removed.
24616         * sysdeps/wordsize-64/versionsort.c: File removed.
24617         * sysdeps/wordsize-64/versionsort64.c: File removed.
24618         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24619         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24620         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24621         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24622         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24623         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24624         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24625         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24627         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24629         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24631         [defined __arch64__ || defined __sparcv9]
24632         (__INO_T_MATCHES_INO64_T): New macro.
24633         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24634         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24635         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24636         * sysdeps/unix/sysv/linux/bits/dirent.h
24637         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24638         (_DIRENT_MATCHES_DIRENT64): New macro.
24640         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24641         Define lockf64 as an alias.
24642         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24643         Define fseeko64 as an alias.
24644         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24645         Define ftello64 as an alias.
24646         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24647         Define _IO_fgetpos64 and fgetpos64 as aliases.
24648         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24649         Define _IO_fsetpos64 and fsetpos64 as aliases.
24650         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24651         Conditionalize body on this.
24652         * libio/fseeko64.c: Likewise.
24653         * libio/ftello64.c: Likewise.
24654         * libio/iofgetpos64.c: Likewise.
24655         * libio/iofsetpos64.c: Likewise.
24656         * sysdeps/wordsize-64/lockf.c: File removed.
24657         * sysdeps/wordsize-64/lockf64.c: File removed.
24658         * sysdeps/wordsize-64/fseeko.c: File removed.
24659         * sysdeps/wordsize-64/fseeko64.c: File removed.
24660         * sysdeps/wordsize-64/ftello.c: File removed.
24661         * sysdeps/wordsize-64/ftello64.c: File removed.
24662         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24663         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24664         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24665         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24666         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24668         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24669         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24670         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24671         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24673         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24674         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24677         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24679         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24681         [defined __arch64__ || defined __sparcv9]
24682         (__OFF_T_MATCHES_OFF64_T): New macro.
24683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24684         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24685         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24686         (__OFF_T_MATCHES_OFF64_T): New macro.
24688 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24690         * stdlib/secure-getenv.c (__secure_getenv): Replace
24691         GLIBC_2_16 with GLIBC_2_17.
24693 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24695         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24696         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24698 2012-08-03  David S. Miller  <davem@davemloft.net>
24700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24702 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24704         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24705         Remove.
24706         (__ASSUME_CORRECT_SI_PID): Likewise.
24707         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24708         (__ASSUME_TMPFS_NAME): Likewise.
24709         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24710         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24711         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24712         (HAVE_AUX_SECURE): Make definition unconditional.
24713         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24714         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24716 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24718         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24719         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24720         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24721         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24722         __eloop_threshold instead of SYMLOOP_MAX.
24724         * sysdeps/generic/eloop-threshold.h: New file.
24725         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24726         of MAXSYMLINKS.
24727         * elf/chroot_canon.c (chroot_canon): Likewise.
24729 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24731         [BZ #13717]
24732         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24733         Change to 2.6.0 everywhere.
24734         * sysdeps/unix/sysv/linux/configure: Regenerated.
24735         * sysdeps/unix/sysv/linux/kernel-features.h
24736         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24737         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24738         kernel versions.
24739         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24740         (__ASSUME_FUTEX_REQUEUE): Remove.
24741         (__ASSUME_STATFS64): Define unconditionally.
24742         (__ASSUME_AT_SECURE): Likewise.
24743         (__ASSUME_CORRECT_SI_PID): Likewise.
24744         (__ASSUME_TGKILL): Define without depending on kernel version for
24745         i386.
24746         (__ASSUME_UTIMES): Likewise.
24747         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24748         kernel version.
24749         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24750         (__ASSUME_TMPFS_NAME): Likewise.
24751         * README: Update reference to Linux kernel versions.
24753 2012-08-02  Marek Polacek  <polacek@redhat.com>
24755         [BZ# 14150]
24756         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24757         libc_cv_asm_type_prefix with %.
24758         * configure: Regenerated.
24759         * include/libc-symbols.h: Remove comment about
24760         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24761         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24762         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24763         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24764         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24765         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24766         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24767         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24768         * elf/tst-unique2mod1.c: Likewise.
24769         * elf/tst-unique1mod2.c: Likewise.
24770         * elf/tst-unique1mod1.c: Likewise.
24771         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24772         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24773         Replace ASM_TYPE_DIRECTIVE with .type.
24774         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24775         * sysdeps/i386/sysdep.h: Likewise.
24776         * sysdeps/x86_64/sysdep.h: Likewise.
24777         * sysdeps/sh/sysdep.h: Likewise.
24778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24779         Do not define ASM_TYPE_DIRECTIVE.
24780         * sysdeps/powerpc/sysdep.h: Likewise.
24781         * sysdeps/powerpc/powerpc32/sysdep.h:
24782         Replace ASM_TYPE_DIRECTIVE with .type.
24783         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24784         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24785         * sysdeps/i386/fpu/e_powf.S: Likewise.
24786         * sysdeps/i386/fpu/e_expl.S: Likewise.
24787         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24788         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24789         * sysdeps/i386/fpu/e_pow.S: Likewise.
24790         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24791         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24792         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24793         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24794         * sysdeps/i386/fpu/e_log2.S: Likewise.
24795         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24796         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24797         * sysdeps/i386/fpu/e_powl.S: Likewise.
24798         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24799         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24800         * sysdeps/i386/fpu/e_logl.S: Likewise.
24801         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24802         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24803         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24804         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24805         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24806         * sysdeps/i386/fpu/e_log.S: Likewise.
24807         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24808         * sysdeps/i386/fpu/e_logf.S: Likewise.
24809         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24810         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24811         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24812         * sysdeps/i386/fpu/e_log10.S: Likewise.
24813         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24814         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24815         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24816         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24817         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24818         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24819         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24820         * sysdeps/i386/i686/strtok.S: Likewise.
24821         * sysdeps/i386/i386-mcount.S: Likewise.
24822         * sysdeps/i386/strtok.S: Likewise.
24823         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24824         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24825         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24826         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24827         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24828         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24829         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24830         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24831         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24832         * sysdeps/x86_64/_mcount.S: Likewise.
24833         * sysdeps/x86_64/strtok.S: Likewise.
24834         * sysdeps/sh/_mcount.S: Likewise.
24836 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24838         * libio/iofopen.c: Include <fcntl.h>.
24839         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24840         (_IO_fopen64, fopen64): Define as aliases.
24841         * libio/iofopen64.c: Include <fcntl.h>.
24842         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24843         Conditionalize body on this.
24844         * sysdeps/wordsize-64/iofopen.c: File removed.
24845         * sysdeps/wordsize-64/iofopen64.c: File removed.
24847 2012-08-01  Marek Polacek  <polacek@redhat.com>
24849         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24850         Use dlfcn directly instead of a variable.
24851         (binfmt-subdir): Do not define.
24852         (dlfcn): Likewise.
24854 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24856         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24857         Remove all definitions.
24858         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24859         <kernel-features.h>.
24860         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24861         (miss_F_GETOWN_EX): Remove all definitions.
24862         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24863         macro definition.
24864         [!__ASSUME_FCNTL64]: Remove conditional code.
24865         [__ASSUME_FCNTL64]: Make code unconditional.
24866         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24867         <kernel-features.h>.
24868         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24869         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24870         (lockf64) [__NR_fcntl64]: Make code unconditional.
24871         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24873         * sysdeps/unix/sysv/linux/kernel-features.h
24874         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24875         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24876         Make code unconditional.
24877         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24878         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24880         [__NR_vfork]: Make code unconditional.
24881         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24882         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24884         [__NR_vfork]: Make code unconditional.
24885         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24886         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24888 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24890         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24891         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24893         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24894         Define mkstemp64 as an alias.
24895         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24896         Define mkstemps64 as an alias.
24897         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24898         Define mkostemp64 as an alias.
24899         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24900         Define mkostemps64 as an alias.
24901         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24902         Conditionalize body on this.
24903         * misc/mkostemp64.c: Likewise.
24904         * misc/mkostemps64.c: Likewise.
24905         * misc/mkstemps64.c: Likewise.
24906         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24907         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24908         * sysdeps/wordsize-64/mkostemp.c: File removed.
24909         * sysdeps/wordsize-64/mkstemp.c: File removed.
24910         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24911         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24912         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24913         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24915         [BZ #14138]
24916         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24917         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24918         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24919         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24921         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24922         compat_symbol macros from <shlib-compat.h> rather than the underlying
24923         default_symbol_version and symbol_version macros, so that DEFAULT
24924         lines in shlib-versions are respected.
24925         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24927 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24929         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24930         Declare with warn_unused_result.
24931         (setgid, setregid, setegid, setresgid): Likewise.
24932         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24933         Likewise.
24934         * WUR-REPORT: Remove set*id functions.
24936 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24938         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24940 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24942         [BZ #10191]
24943         * include/sys/socket.h (__libc_accept, __libc_accept4):
24944         Add attribute_hidden.
24945         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24947         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24948         use of PTR_MANGLE.
24949         * inet/getnetgrent_r.c (setup): Likewise.
24951         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24953 2012-07-31  David S. Miller  <davem@davemloft.net>
24955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24957 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24959         [BZ #13629]
24960         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24961         value between 1.0 and 2.0 and smaller part has absolute value less
24962         than 1.0.
24963         * math/s_clog10.c (__clog10): Likewise.
24964         * math/s_clog10f.c (__clog10f): Likewise.
24965         * math/s_clog10l.c (__clog10l): Likewise.
24966         * math/s_clogf.c (__clogf): Likewise.
24967         * math/s_clogl.c (__clogl): Likewise.
24968         * math/libm-test.inc (clog_test): Add more tests.
24969         (clog10_test): Likewise.
24970         * sysdeps/i386/fpu/libm-test-ulps: Update.
24971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24973 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24975         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24976         Exit with zero in case no suitable GID is found, and write a
24977         message to standard error.
24979 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24981         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24982         rather than to 1.
24983         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24984         (MAXPATHLEN): Removed.
24985         (NOGROUP, NODEV): New macros.
24986         (setbit, clrbit, isset, isclr): New macros.
24987         (howmany, roundup, powerof2): New macros.
24988         (DEV_BSIZE): New macro.
24990         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24991         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24993         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24994         definition on [!__NO_LONG_DOUBLE_MATH].
24996         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24997         PTR_MANGLE and PTR_DEMANGLE.
24999         * socket/accept4.c (accept4): Rename to __libc_accept4.
25000         Define accept4 as a weak alias.
25002         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25003         on [_DIRENT_HAVE_D_TYPE].
25004         * io/ftw.c (ftw_dir): Likewise.
25006         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25008         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25010         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25011         Use the BSD numbers rather than the arbitrary ones we had.
25012         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25013         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25014         (SIGXCPU, SIGXFSZ): New macros.
25015         (_NSIG): Now 32.
25017         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25018         initializer on [_LIBC_REENTRANT].
25020         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25021         definitions inside [_POSIX_MAPPED_FILES].
25023         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25025         * dirent/opendir.c: Include <fcntl.h>.
25027         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25028         (__libc_getspecific): Likewise.
25029         (__libc_key_create): Likewise.
25031         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25032         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25033         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25034         (tmpfile64): Define as alias.
25035         * sysdeps/wordsize-64/tmpfile.c: File removed.
25036         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25037         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25038         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25040         * stdio-common/vfscanf.c: Include <stdbool.h>.
25041         * nss/makedb.c: Likewise.
25042         * stdio-common/_i18n_number.h: Likewise.
25043         * argp/argp-help.c: Likewise.
25044         * posix/wordexp.c: Likewise.
25045         * sysdeps/posix/spawni.c: Likewise.
25046         * nss/nss_files/files-initgroups.c: Likewise.
25047         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25048         * nss/nss_files/files-initgroups.c: Likewise.
25049         * nss/nss_db/db-netgrp.c: Likewise.
25050         * nss/nss_db/db-initgroups.c: Likewise.
25051         * io/fchmodat.c: Include <sys/stat.h>.
25053         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25054         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25056         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25057         [HAVE_MMAP].
25059         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25060         Add multiple inclusion protection.
25062 2012-07-27  David S. Miller  <davem@davemloft.net>
25064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25066 2012-07-27  Gary Benson  <gbenson@redhat.com>
25068         [BZ #14298]
25069         * elf/rtld.c: Include <stap-probe.h>.
25070         (dl_main): Added static probes "init_start" and "init_complete".
25071         * elf/dl-load.c: Include <stap-probe.h>.
25072         (lose): Take new parameter "nsid".
25073         Added static probe "map_failed".
25074         (_dl_map_object_from_fd): Pass namespace id to lose.
25075         Added static probe "map_start".
25076         (open_verify): Pass namespace id to lose.
25077         * elf/dl-open.c: Include <stap-probe.h>.
25078         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25079         and "reloc_complete".
25080         * elf/dl-close.c: Include <stap-probe.h>.
25081         (_dl_close_worker): Added static probes "unmap_start" and
25082         "unmap_complete".
25083         * elf/rtld-debugger-interface.txt: New file documenting the above.
25085 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25087         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25088         rather than a string variable.
25089         * sunrpc/rpc_main.c (h_output): Likewise.
25090         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25092 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25094         * inet/check_native.c: New file.
25096 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25098         [BZ #13629]
25099         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25100         if larger part has absolute value 1.0.
25101         * math/s_clog10.c (__clog10): Likewise.
25102         * math/s_clog10f.c (__clog10f): Likewise.
25103         * math/s_clog10l.c (__clog10l): Likewise.
25104         * math/s_clogf.c (__clogf): Likewise.
25105         * math/s_clogl.c (__clogl): Likewise.
25106         * math/libm-test.inc (clog_test): Add more tests.
25107         (clog10_test): Likewise.
25108         * sysdeps/i386/fpu/libm-test-ulps: Update.
25109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25111         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25112         (pltexit): Likewise.
25113         (La_regs): Likewise.
25114         (La_retval): Likewise.
25115         (int_retval): Likewise.
25116         Update #error for removed macros to refer only to definitions in
25117         tst-audit.h.
25118         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25119         macro.
25120         (pltexit): Likewise.
25121         (La_regs): Likewise.
25122         (La_retval): Likewise.
25123         (int_retval): Likewise.
25124         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25125         macro.
25126         (pltexit): Likewise.
25127         (La_regs): Likewise.
25128         (La_retval): Likewise.
25129         (int_retval): Likewise.
25130         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25131         macro.
25132         (pltexit): Likewise.
25133         (La_regs): Likewise.
25134         (La_retval): Likewise.
25135         (int_retval): Likewise.
25136         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25137         macro.
25138         (pltexit): Likewise.
25139         (La_regs): Likewise.
25140         (La_retval): Likewise.
25141         (int_retval): Likewise.
25142         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25143         macro.
25144         (pltexit): Likewise.
25145         (La_regs): Likewise.
25146         (La_retval): Likewise.
25147         (int_retval): Likewise.
25148         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25149         macro.
25150         (pltexit): Likewise.
25151         (La_regs): Likewise.
25152         (La_retval): Likewise.
25153         (int_retval): Likewise.
25154         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25155         macro definitions in tst-audit.h.
25156         * sysdeps/i386/tst-audit.h: New file.
25157         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25158         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25159         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25160         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25161         * sysdeps/sh/tst-audit.h: Likewise.
25162         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25163         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25164         * sysdeps/x86_64/tst-audit.h: Likewise.
25166 2012-07-26  Andreas Jaeger  <aj@suse.de>
25168         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25169         ptrace.
25171         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25172         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25173         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25174         PTRACE_O_MASK.
25175         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25176         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25177         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25179         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25180         value.
25182         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25183         _sigsys.
25184         (si_call_addr, si_syscall, si_arch): Define new macro.
25185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25186         _sigsys.
25187         (si_call_addr, si_syscall, si_arch): Define new marcro.
25188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25189         _sigsys.
25190         (si_call_addr, si_syscall, si_arch): Define new macro.
25191         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25192         _sigsys.
25193         (si_call_addr, si_syscall, si_arch): Define new macro.
25195 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25197         [BZ #13717]
25198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25199         Change to 2.4.21 where previously 2.4.1.
25200         * sysdeps/unix/sysv/linux/configure: Regenerated.
25201         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25202         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25203         Linux kernel version.
25204         (__ASSUME_STD_AUXV): Remove.
25205         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25206         kernel version.
25207         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25208         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25209         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25210         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25211         (__ASSUME_NETLINK_SUPPORT): Likewise.
25212         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25213         (__no_netlink_support): Remove conditional definition.
25214         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25215         Remove.
25216         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25217         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25218         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25219         (if_nameindex_ioctl): Remove.
25220         (if_nameindex_netlink): Do not handle __no_netlink_support.
25221         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25222         code.
25223         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25224         Remove conditional code.
25225         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25226         code.
25227         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25228         unconditional.
25229         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25230         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25231         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25232         Remove.
25233         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25234         [!__ASSUME_STD_AUXV]: Remove conditional code.
25235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25236         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25237         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25239         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25240         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25241         code.
25242         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25244         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25245         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25246         conditional code.
25247         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25249         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25250         code.
25251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25252         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25253         conditional code.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25255         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25256         code unconditional.
25257         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25258         conditional code.
25259         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25260         unconditional.
25261         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25262         conditional code.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25264         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25265         unconditional.
25266         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25267         conditional code.
25268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25269         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25270         code unconditional.
25271         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25272         conditional code.
25273         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25274         unconditional.
25275         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25276         conditional code.
25277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25278         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25279         code unconditional.
25280         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25281         conditional code.
25282         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25283         unconditional.
25284         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25285         conditional code.
25287 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25289         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25290         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25291         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25292         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25293         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25294         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25295         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25296         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25297         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25298         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25299         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25300         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25301         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25302         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25303         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25304         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25305         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25307         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25309         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25310         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25313 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25315         * Versions.def: Add GLIBC_2.17.
25316         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25317         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25318         Introduce __libc_secure_getenv.
25319         * stdlib/Versions (2.17): Add secure_getenv
25320         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25321         * stdlib/secure-getenv.c: Rename __secure_getenv to
25322         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25323         symbol __secure_getenv for GLIBC_2.0.
25324         * stdlib/tst-secure-getenv.c: New.
25325         * stdlib/Makefile (tests): Add testcase.
25326         * manual/startup.texi (Environment Access): Document
25327         secure_getenv.
25328         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25329         __libc_secure_getenv.
25330         * inet/ruserpass.c (ruserpass): Likewise.
25331         * malloc/mtrace.c (mtrace): Likewise.
25332         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25333         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25334         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25335         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25336         HAVE_SECURE_GETENV.
25337         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25338         __secure_getenv to __libc_secure_getenv.
25339         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25341         Likewise.
25342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25343         Likewise.
25344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25352 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25354         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25355         (struct La_i86_retval): Likewise.
25356         (struct La_x86_64_regs): Likewise.
25357         (struct La_x86_64_retval): Likewise.
25358         (struct La_x32_regs): Likewise.
25359         (struct La_x32_retval): Likewise.
25360         (struct La_ppc32_regs): Likewise.
25361         (struct La_ppc32_retval): Likewise.
25362         (struct La_ppc64_regs): Likewise.
25363         (struct La_ppc64_retval): Likewise.
25364         (struct La_sh_regs): Likewise.
25365         (struct La_sh_retval): Likewise.
25366         (struct La_s390_32_regs): Likewise.
25367         (struct La_s390_32_retval): Likewise.
25368         (struct La_s390_64_regs): Likewise.
25369         (struct La_s390_64_retval): Likewise.
25370         (struct La_sparc32_regs): Likewise.
25371         (struct La_sparc32_retval): Likewise.
25372         (struct La_sparc64_regs): Likewise.
25373         (struct La_sparc64_retval): Likewise.
25374         (struct audit_ifaces): Remove architecture-specific pltenter and
25375         pltexit members.
25376         * sysdeps/i386/ldsodefs.h: New file.
25377         * sysdeps/powerpc/ldsodefs.h: Likewise.
25378         * sysdeps/s390/ldsodefs.h: Likewise.
25379         * sysdeps/sh/ldsodefs.h: Likewise.
25380         * sysdeps/sparc/ldsodefs.h: Likewise.
25381         * sysdeps/x86_64/ldsodefs.h: Likewise.
25383 2012-07-25  Marek Polacek  <polacek@redhat.com>
25385         [BZ #6808]
25386         * math/libm-test.inc (yn_test): Add another test.
25387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25388         to ERANGE when the result is +-Inf.
25389         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25390         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25391         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25392         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25394 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
25396         * conform/data/time.h-data (NULL): Use macro-constant.  Require
25397         equal to 0.
25398         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25399         clock_t.
25400         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25402 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25404         * configure.in <sysdeps resolving>: Correct printing
25405         Implies_before.
25406         * configure: Regenerate.
25408 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25410         * math/w_ilogb.c: Include <limits.h>.
25411         * math/w_ilogbl.c: Likewise.
25413 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25415         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25416         va_copy.  Document allowing for unavailable va_copy only as
25417         pre-C99 compatibility.
25418         * manual/string.texi (Copying and Concatenation): Use va_copy
25419         instead of __va_copy in concat example.
25421 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25423         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25424         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25425         it if not null.
25427         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25428         with O_NOLINK passed to __file_name_lookup.
25430         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25431         with O_NOLINK passed to __file_name_lookup.
25433         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25434         negative N or less than NGIDS.
25436         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25437         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25438         enough.  Use memcpy instead of strncpy.
25440 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25442         * elf/Makefile (check-data): Remove.
25443         (localplt.data): New vpath directive.
25444         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25445         instead of $(check-data).
25446         * scripts/data/localplt-generic.data: Move to ...
25447         * sysdeps/generic/localplt.data: ... here.
25448         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25449         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25450         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25452         ... here.
25453         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25455         ... here.
25456         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25458         ... here.
25459         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25461         ... here.
25462         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25464         ... here.
25465         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25467         ... here.
25469 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25471         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25472         PPC32 and PPC64 files.
25473         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25474         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25476 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25478         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25479         __makecontext_ret to ...
25480         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25481         ... here and call exit if uc_link is NULL.  New file.
25482         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25483         __makecontext_ret.S.
25484         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25485         __makecontext_ret to ...
25486         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25487         ... here and call exit if uc_link is NULL.  New file.
25488         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25489         __makecontext_ret.S.
25491 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25493         * elf/elf.h (R_390_IRELATIVE): New definition.
25494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25495         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
25496         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25497         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25498         (elf_machine_lazy_rel): Likewise.
25499         * sysdeps/s390/dl-irel.h: New file.
25500         * sysdeps/s390/s390-64/memcpy.S: New asm code.
25501         * sysdeps/s390/s390-64/memset.S: New asm code.
25502         * sysdeps/s390/s390-64/memcmp.S: New asm code.
25503         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25504         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25505         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25506         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25507         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25508         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25509         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25510         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25511         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25512         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25513         * sysdeps/s390/s390-32/memcpy.S: New asm code.
25514         * sysdeps/s390/s390-32/memset.S: New asm code.
25515         * sysdeps/s390/s390-32/memcmp.S: New asm code.
25517 2012-07-17  Marek Polacek  <polacek@redhat.com>
25519         [BZ #14349]
25520         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25521         * sysdeps/s390/s390-64/configure.in: Likewise.
25522         * sysdeps/sparc/configure.in: Likewise.
25523         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25524         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25525         * sysdeps/i386/configure.in: Likewise.
25526         * sysdeps/x86_64/configure.in: Likewise.
25527         * sysdeps/sh/configure.in: Likewise.
25528         * sysdeps/s390/s390-32/configure: Regenerated.
25529         * sysdeps/s390/s390-64/configure: Likewise.
25530         * sysdeps/x86_64/configure: Likewise.
25531         * sysdeps/sh/configure: Likewise.
25532         * sysdeps/powerpc/powerpc64/configure: Likewise.
25533         * sysdeps/powerpc/powerpc32/configure: Likewise.
25534         * sysdeps/sparc/configure: Likwise.
25535         * sysdeps/i386/configure: Likewise.
25537         * elf/dl-open.c: Comment fixes.
25539 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
25541         * Makefile [CXX] (check-data): Remove.
25542         [CXX] (c++-types.data): New vpath directive.
25543         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25544         vpath.  Do not allow for C++ type data being missing.
25545         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25546         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25547         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25548         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25549         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25550         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25551         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25553         ... here.
25554         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25556         ... here.
25557         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25559         ... here.
25560         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25562         ... here.
25563         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25565         ... here.
25566         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25568         ... here.
25569         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25571         ... here.
25572         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25575         * elf/tls-macros.h (TLS_LE): Move architecture-specific
25576         definitions to architecture-specific files.
25577         (TLS_IE): Likewise.
25578         (TLS_LD): Likewise.
25579         (TLS_GD): Likewise.
25580         * sysdeps/i386/tls-macros.h: New file.
25581         * sysdeps/powerpc/tls-macros.h: Likewise.
25582         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25583         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25584         * sysdeps/sh/tls-macros.h: Likewise.
25585         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25586         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25587         * sysdeps/x86_64/tls-macros.h: Likewise.
25589 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25592         zero value for regular exit case.
25594         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25595         (__start_context): Preserve zero value for regular exit case.
25597 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25598             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25600         * manual/setjmp.texi (setcontext): Clarify normal process
25601         termination when uc_link is the null pointer.
25602         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25603         exit call.
25605 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
25607         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25608         preprocessor.  Test for each exception mask separately.
25610 2012-07-16  Andreas Jaeger  <aj@suse.de>
25612         * po/ru.po: Update from translation team.
25614 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
25616         * conform/data/string.h-data (NULL): Use macro-constant.  Require
25617         equal to 0.
25618         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25619         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25620         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25621         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25622         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25624 2012-07-13  Andreas Jaeger  <aj@suse.de>
25626         * po/fr.po: Update from translation team.
25628 2012-07-12  Marek Polacek  <polacek@redhat.com>
25630         [BZ #14173]
25631         * math/libm-test.inc (yn_test): Add test for BZ #14173.
25632         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25633         loop condition.
25635 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
25637         [BZ #13717]
25638         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25639         Change to 2.4.1 where previously 2.4.0.
25640         * sysdeps/unix/sysv/linux/configure: Regenerated.
25641         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25642         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25643         version.
25644         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25645         (__ASSUME_AT_CLKTCK): Remove.
25646         (__ASSUME_AT_PAGESIZE): Likewise.
25647         (__ASSUME_AT_XID): Likewise.
25648         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25649         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25650         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25651         unconditionally.
25652         (HAVE_AUX_PAGESIZE): Likewise.
25653         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25654         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25655         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25657 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25659         [BZ #14307]
25660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25661         the temporary buffer used to invoke __gethostbyname2_r,
25662         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25663         host_data / struct gaih_addrtuple.
25664         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25665         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25666         header file nss/nsswitch.h.
25667         * nss/nsswitch.h (global scope): Add definition of implementation
25668         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25669         resolv/nss_dns/dns-host.c).
25671 2012-07-11  Andreas Jaeger  <aj@suse.de>
25673         * po/fr.po: Update from translation team.
25675         * po/sv.po: Update from translation team
25676         * po/fr.po: Another update from translation team.
25678 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25680         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25681         for subnormals or multiply small sinh result by itself.
25682         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25685 2012-07-11  David S. Miller  <davem@davemloft.net>
25687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25689 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25691         [BZ #14347]
25692         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25693         (INTERNAL_MARK): Shift it here.
25695 2012-07-10  Marek Polacek  <polacek@redhat.com>
25697         [BZ #14151]
25698         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25699         libc_cv_asm_global_directive with .globl.
25700         * configure: Regenerated.
25701         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25702         with .globl.
25703         * sysdeps/i386/configure: Regenerated.
25704         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25705         with .globl.
25706         * sysdeps/x86_64/configure: Regenerated.
25707         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25708         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25709         * elf/tst-unique2mod2.c: Likewise.
25710         * elf/tst-unique2mod1.c: Likewise.
25711         * elf/tst-unique1mod2.c: Likewise.
25712         * elf/tst-unique1mod1.c: Likewise.
25713         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25714         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25715         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25716         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25717         * sysdeps/mach/sysdep.h: Likewise.
25718         * sysdeps/i386/sysdep.h: Likewise.
25719         * sysdeps/i386/i386-mcount.S: Likewise.
25720         * sysdeps/x86_64/_mcount.S: Likewise.
25721         * sysdeps/x86_64/sysdep.h: Likewise.
25722         * sysdeps/sh/_mcount.S: Likewise.
25723         * sysdeps/sh/sysdep.h: Likewise.
25724         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25725         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25726         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25727         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25728         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25729         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25730         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25731         * locale/localeinfo.h: Likewise.
25732         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25733         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25735 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25737         [BZ #14336]
25738         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25739         system".
25740         * manual/message.texi (The Uniforum approach): Likewise.
25741         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25742         (glibc iconv Implementation): Likewise.
25744 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25746         [BZ #14337]
25747         * math/s_clog.c (__clog): Avoid scaling a value down where that
25748         could result in underflow.
25749         * math/s_clog10.c (__clog10): Likewise.
25750         * math/s_clog10f.c (__clog10f): Likewise.
25751         * math/s_clog10l.c (__clog10l): Likewise.
25752         * math/s_clogf.c (__clogf): Likewise.
25753         * math/s_clogl.c (__clogl): Likewise.
25754         * math/libm-test.inc (clog_test): Add more tests.
25755         (clog10_test): Likewise.
25756         * sysdeps/i386/fpu/libm-test-ulps: Update.
25757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25759 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25761         [BZ #14283]
25762         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25763         by 7 not 8 to examine high bit of fractional part.
25765         [BZ #14042]
25766         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25767         for call to __mcount_internal.
25768         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25769         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25770         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25772 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25774         [BZ #14154]
25775         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25776         approximation for values within 0x1p-13f of an odd multiple of
25777         pi/4.
25778         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25779         exception.  Add more tests.
25780         * sysdeps/i386/fpu/libm-test-ulps: Update.
25782         [BZ #6778]
25783         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25784         inputs and return -1 for them.  Do not check for +Inf in case not
25785         reachable for +Inf.
25786         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25787         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25788         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25789         and return -1 for them.  Do not check for +Inf in case not
25790         reachable for +Inf.
25791         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25792         define.
25793         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25794         and return -1 for them.  Do not check for +Inf in case not
25795         reachable for +Inf.
25796         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25797         spurious underflow.
25798         * sysdeps/i386/fpu/libm-test-ulps: Update.
25799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25801 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25803         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25805 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25807         [BZ #14157]
25808         [BZ #14331]
25809         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25810         could result in spurious underflow.  Scale down values above
25811         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25812         * math/s_csqrtf.c (__csqrtf): Likewise.
25813         * math/s_csqrtl.c (__csqrtl): Likewise.
25814         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25815         spurious underflow.
25816         * sysdeps/i386/fpu/libm-test-ulps: Update.
25817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25819 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25821         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25822         xopen-msg.sed.
25823         * catgets/xopen-msg.awk: New file.
25824         * catgets/xopen-msg.sed: Removed.
25826         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25827         po2text.sed.
25828         * intl/po2test.awk: New file.
25829         * intl/po2test.sed: Removed.
25831 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25833         [BZ #14328]
25834         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25835         or multiply small sinh result by itself.
25836         * math/s_ctanf.c (__ctanf): Likewise.
25837         * math/s_ctanh.c (__ctanh): Likewise.
25838         * math/s_ctanhf.c (__ctanhf): Likewise.
25839         * math/s_ctanhl.c (__ctanhl): Likewise.
25840         * math/s_ctanl.c (__ctanl): Likewise.
25841         * math/libm-test.inc (ctan_test_tonearest): New function.
25842         (ctan_test_towardzero): Likewise.
25843         (ctan_test_downward): Likewise.
25844         (ctan_test_upward): Likewise.
25845         (ctanh_test_tonearest): Likewise.
25846         (ctanh_test_towardzero): Likewise.
25847         (ctanh_test_downward): Likewise.
25848         (ctanh_test_upward): Likewise.
25849         (main): Call these new functions.
25850         * sysdeps/i386/fpu/libm-test-ulps: Update.
25851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25853 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25855         * .gitignore: Delete /ports entry.
25857 2012-07-03  Andreas Jaeger  <aj@suse.de>
25859         * po/bg.po: Update from translation team.
25860         * po/cs.po: Likewise.
25861         * po/de.po: Likewise.
25862         * po/hr.po: Likewise.
25863         * po/nl.pl: Likewise.
25864         * po/pl.po: Likewise.
25865         * po/vi.po: Likewise.
25867 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25869         * Makeconfig [!+link] (+link-before-libc): New variable.
25870         [!+link] (+link-after-libc): Likewise.
25871         [!+link] (+link-tests): Likewise.
25872         [!+link] (+link): Define in terms of $(+link-before-libc) and
25873         $(+link-after-libc).
25874         [!+link-static] (+link-static-before-libc): New variable.
25875         [!+link-static] (+link-static-after-libc): Likewise.
25876         [!+link-static] (+link-static-tests): Likewise.
25877         [!+link-static] (+link-static): Define in terms of
25878         $(+link-static-before-libc) and $(+link-static-after-libc).
25879         [build-shared] (link-libc-before-gnulib): New variable.
25880         [build-shared] (link-libc-tests): Likewise.
25881         [build-shared] (link-libc): Define in terms of
25882         $(link-libc-before-gnulib).
25883         [!build-shared] (link-libc-tests): New variable.
25884         (link-libc-static-tests): New variable.
25885         [!gnulib] (gnulib-arch): New variable.
25886         [!gnulib] (gnulib-tests): Likewise.
25887         [!gnulib] (static-gnulib-arch): Likewise.
25888         [!gnulib] (static-gnulib-tests): Likewise.
25889         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25890         Define with "=" instead of ":=".
25891         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25892         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25893         * Rules (binaries-all-notests): New variable.
25894         (binaries-all-tests): Likewise.
25895         (binaries-static-notests): Likewise.
25896         (binaries-static-tests): Likewise.
25897         (binaries-all): Define using $(binaries-all-notests) and
25898         $(binaries-all-tests).
25899         (binaries-static): Define using $(binaries-static-notests) and
25900         $(binaries-static-tests).
25901         (binaries-shared-tests): New variable.
25902         (binaries-shared-notests): Likewise.
25903         (binaries-shared): Remove variable.
25904         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25905         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25906         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25907         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25908         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25909         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25910         * elf/Makefile (sln-modules): New variable.
25911         (extra-objs): Add $(sln-modules:=.o).
25912         (ldconfig-modules): Add static-stubs.
25913         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25914         * elf/static-stubs.c: New file.
25916         [BZ #14283]
25917         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25918         by 7 not 8 to examine high bit of fractional part.  Use volatile
25919         variables when splitting into final array of floats if
25920         __FLT_EVAL_METHOD__ != 0.
25921         * math/libm-test.inc (cos_test): Add another test.
25922         (sin_test): Likewise.
25923         * sysdeps/i386/fpu/libm-test-ulps: Update.
25925         [BZ #14273]
25926         * math/libm-test.inc (cosh_test): Add more tests.
25928         * version.h (RELEASE): Set to "development".
25929         (VERSION): Set to "2.16.90".
25931 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25933         * NEWS: Update copyright. Remove last-updated date.
25934         Mention math library bug fixes and timezone data changes.
25935         * README: Mention GNU/Hurd, x32, and HPPA support status.
25937 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25939         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25941 2012-06-27  Andreas Jaeger  <aj@suse.de>
25943         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25945 2012-06-25  Andreas Jaeger  <aj@suse.de>
25947         * sysdeps/s390/fpu/libm-test-ulps: Update.
25949 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25950             Thomas Schwinge  <thomas@codesourcery.com>
25952         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25953         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25955         fanotify_mark.
25957 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25959         * sysdeps/mach/start.c: Remove file.
25960         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25961         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25962         * sysdeps/sh/init-first.c: Likewise.
25964         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25965         registers for frame unwinding purposes, add CFI directives.
25966         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25967         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25968         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25969         Likewise.
25971         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25972         __fortify_fail returning.
25973         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25975         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25976         sysdeps/sh/____longjmp_chk.S.
25977         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25978         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25979         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25980         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25982         * sysdeps/sh/abort-instr.h: New file.
25983         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25984         process in case exit returns.
25986         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25987         initialize the GOT register before use.
25989         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25990         calculation of ARGC > 4.
25992         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25993         meaningful names to some local labels.
25995 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25996             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25998         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25999         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26000         (__arch_compare_and_exchange_val_16_acq): Likewise.
26001         (__arch_compare_and_exchange_val_32_acq): Likewise.
26002         (atomic_exchange_and_add): Fix gUSA sequence.
26003         (atomic_add): Likewise.
26004         (atomic_add_negative): Likewise.
26005         (atomic_add_zero): Likewise.
26006         (atomic_bit_test_set): Likewise.
26008 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26010         [BZ #13579]
26011         * include/link.h (struct link_map): Add l_free_initfini.
26012         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26013         l_initfini.
26014         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26015         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26016         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26017         set.
26019 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26021         * configure.in: Use AC_LANG_SOURCE.
26022         * configure: Regenerate.
26024 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26026         * configure.in (libc_cv_localstatedir): New substituted variable.
26027         * configure: Regenerated.
26028         * config.make.in (localstatedir): New variable, substituted from
26029         libc_cv_localstatedir.
26030         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26031         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26032         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26033         * sysdeps/gnu/configure: Regenerated.
26035 2012-06-21  Jeff Law  <law@redhat.com>
26037         [BZ #14277]
26038         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26039         free.  Simplify list management for _LIBC case.
26041 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26043         [BZ #14273]
26044         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26045         Clear sign bit of 64-bit integer value before comparing against
26046         overflow value.
26048         * sysdeps/mach/configure: Regenerated.
26050 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26052         [BZ #14278]
26053         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26055 2012-06-21  Jeff Law  <law@redhat.com>
26057         [BZ #13882]
26058         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26059         uint16_t for elements in the "seen" array to avoid char overflows.
26060         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26061         * elf/dl-open.c (dl_open_worker): Likewise.
26063 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26065         * scripts/list-sources.sh: Scan PORTS for translations.
26066         * po/libc.pot: Regenerated.
26068 2012-06-21  Andreas Jaeger  <aj@suse.de>
26070         [BZ #12194]
26071         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26072         warning.
26073         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26074         * bits/byteswap-16.h (__bswap_16): Likewise.
26075         * bits/byteswap.h (__bswap_constant_16): Likewise.
26077 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26079         [BZ #14117]
26080         * sysdeps/i386/fpu_control.h: Removed.
26081         * sysdeps/x86_64/fpu_control.h: Moved to ...
26082         * sysdeps/x86/fpu_control.h: Here.
26084         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26085         (_FPU_SETCW): Likewise.
26087 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26089         [BZ #14117]
26090         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26091         * sysdeps/x86/fpu/bits/mathinline.h: This.
26092         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26094         [BZ #14050]
26095         [BZ #14117]
26096         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26097         functions if __x86_64__ is defined.
26099 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26101         * string/endian.h: Add !__ASSEMBLER__ condition for including
26102         conversion interfaces.
26104 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26106         [BZ #14241]
26107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26108         of ABS(x) in calculating zero to negative powers other than odd
26109         integers.
26110         * math/libm-test.inc (pow_test): Add more tests.
26112 2012-06-15  Andreas Jaeger  <aj@suse.de>
26114         * manual/contrib.texi (Contributors): Update entry of Liubov
26115         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26116         Machado Filho.
26118 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26120         * string/string.h: Add __wur to GNU version of strerror_r.
26122 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26124         [BZ #14229]
26125         * string/Makefile (tests): Add tst-strtok_r.
26126         * string/tst-strtok_r.c: New file.
26127         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26128         RAX_LP/RDX_LP on SAVE_PTR.
26130 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26132         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26134 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26136         * libm_test.inc (csqrt_test): Allow more spurious underflow
26137         exceptions.
26138         (j0_test): Likewise.
26139         (j1_test): Likewise.
26140         (y0_test): Likewise.
26141         (y1_test): Likewise.
26143 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26145         * po/Makefile (libc.pot): Use UTF-8 charset.
26147 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26149         [BZ #14210]
26150         Suppress sign-conversion warning from FD_SET.
26151         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26152         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26153         not unsigned long int.
26154         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26156 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26158         [BZ #14050]
26159         [BZ #14117]
26160         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26161         __extern_always_inline instead of __extern_inline.
26162         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26163         (__signbit): Likewise.
26164         (__signbitl): Support C++ namespace.
26165         (lrintf): New inline function.
26166         (lrint): Likewise.
26167         (llrintf): Likewise.
26168         (llrint): Likewise.
26169         (fmaxf): Likewise.
26170         (fmax): Likewise.
26171         (fminf): Likewise.
26172         (fmin): Likewise.
26173         (rint): Likewise.
26174         (rintf): Likewise.
26175         (ceil): Likewise.
26176         (ceilf): Likewise.
26177         (floor): Likewise.
26178         (floorf): Likewise.
26179         (nearbyint): Likewise.
26180         (nearbyintf): Likewise.
26182 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26184         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26185         non-default versions.
26187 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26189         [BZ #14218]
26190         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26192 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26194         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26195         (FE_UPWARD, FE_DOWNWARD): Don't define.
26196         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26197         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26199         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26200         reading it.
26201         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26202         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26204 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26206         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26207         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26208         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26209         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26211 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26213         [BZ #14117]
26214         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26215         * sysdeps/i386/fpu/Implies: New file.
26216         * sysdeps/x86_64/fpu/Implies: Likewise.
26217         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26218         * sysdeps/x86/fpu/bits/fenv.h: This.
26220         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26221         __SSE_MATH__.
26223 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26225         [BZ #14134]
26226         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26227         character 0xffff that matches the last element of the
26228         conversion table.
26230 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26233         fmodl commit.
26235 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26237         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26238         values higher than 25.6283.
26240 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26242         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26243         subnormal exponent extraction and add some __builtin_expect.
26244         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26245         Fix for subnormal mantissa calculation.
26247 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26249         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26250         cpu2 is -1 and errno is not ENOSYS.
26252 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26254         [BZ #14117]
26255         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26256         * sysdeps/x86/bits/string.h: This.
26257         * sysdeps/x86_64/bits/string.h: Removed.
26259         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26260         if not compiling for x86-64, but compiling for >= i486.
26262         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26263         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26266         New macro from Linux kernel 3.4.0.
26267         (FP_XSTATE_MAGIC2): Likewise.
26268         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26269         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26270         (struct _fpx_sw_bytes): New struct.
26271         (struct _xsave_hdr): Likewise.
26272         (struct _ymmh_state): Likewise.
26273         (struct _xstate): Likewise.
26275         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26276         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26278         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26279         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26280         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26282         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26283         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26284         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26285         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26286         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26287         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26289 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26291         [BZ #13743]
26292         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26293         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26294         (sysdep_headers): Include sys/platform/ppc.h.
26295         * sysdeps/powerpc/test-gettimebase.c: Test for
26296         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26297         * manual/Makefile (appendices): Include platform.texi.
26298         * manual/contrib.texi (Contributors): Update @node pointers.
26299         * manual/maint.texi (Maintenance): Likewise.
26300         (Platform): New node.
26301         * manual/platform.texi: New file.  Document the new features.
26303 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26304             Jakub Jelinek  <jakub@redhat.com>
26306         [BZ #14188]
26307         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26308         where __builtin_expect is unavailable.
26310 2012-06-03  David S. Miller  <davem@davemloft.net>
26312         * stdlib/longlong.h: Updated from GCC.
26314 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26316         [BZ #14042]
26317         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26318         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26319         __mcount_internal.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26321         (GLIBC_2.16): Likewise.
26323 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26325         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26327 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26330         (default-abi): New variable.
26331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26332         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26333         variable.
26334         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26335         Likewise.
26336         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26337         Likewise.
26338         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26339         Likewise.
26341         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26342         definition.  Document in comment.
26344 2012-06-01  David S. Miller  <davem@davemloft.net>
26346         * stdlib/longlong.h: Updated from GCC.
26348 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26350         [BZ #14117]
26351         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26352         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26353         sys/debugreg.h sys/io.h here.
26354         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26355         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26356         sys/io.h.
26357         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26358         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26359         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26360         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26361         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26362         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26364         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26365         Define only if __x86_64__ is defined.
26367 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26369         [BZ #14048]
26370         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26371         Use int64_t for variable i.
26372         * math/libm-test.inc (fmod_test): Add more tests.
26374         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26375         z computation is not scheduled after fetestexcept.
26376         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26377         Use math_force_eval instead of asm to ensure calculation scheduled
26378         before exception test.
26379         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26380         Ensure a1 + u.d computation is not scheduled after fetestexcept.
26382 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
26384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26385         computation is not scheduled after fetestexcept.
26387 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26389         [BZ #14117]
26390         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26391         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26393 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26395         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26396         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26398 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26400         [BZ #14117]
26401         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26402         <bits/wordsize.h>.
26403         (__WCHAR_MIN): Support __WORDSIZE == 64.
26404         (__WCHAR_MAX): Likewise.
26406         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26407         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26409         [BZ #14183]
26410         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26411         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26413         [BZ #14117]
26414         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26415         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26417         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26418         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26420         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26421         Defined to 1 if __x86_64__ isn't defined.
26422         (_STAT_VER_LINUX_OLD): New.
26423         (st_atime): Remove duplicate.
26424         (st_mtime): Likewise.
26425         (st_ctime): Likewise.
26427 2012-05-31  David S. Miller  <davem@davemloft.net>
26429         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26430         entries.
26432 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26434         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26435         gen-libm-test.pl.
26437         [BZ #14132]
26438         * elf/dl-reloc.c: Include <_itoa.h>.
26439         (_dl_reloc_bad_type): Remove use of INTUSE.
26440         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26441         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26442         * stdio-common/psiginfo.c (psiginfo): Likewise.
26443         * stdio-common/psignal.c (psignal): Likewise.
26444         * string/strsignal.c (strsignal): Likewise.
26445         * include/signal.h (_sys_siglist): Declare hidden proto.
26446         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26447         INTVARDEF with libc_hidden_data_def.
26448         * stdio-common/itoa-udigits.c: Likewise.
26449         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26450         (_itoa_lower_digits_internal): Remove declaration.
26451         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26452         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26453         (_sys_sigabbrev_internal): Remove aliases.
26454         (_sys_siglist): Define hidden alias.
26456 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
26458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26459         bits/sysctl.h.
26461 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26463         [BZ #14117]
26464         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26465         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26467         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26468         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26469         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26470         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26471         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26472         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26474         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26475         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26476         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26478         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26479         with __addr.
26480         (insw): Likewise.
26481         (insl): Likewise.
26482         (outsb): Likewise.
26483         (outsw): Likewise.
26484         (outsl): Likewise.
26486         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26487         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26488         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26490         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26491         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26492         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26493         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26494         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26495         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26497         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26498         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26500         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26501         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26503         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26505         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26507         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26508         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26509         to ...
26510         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26512         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26513         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26514         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26516         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26517         for x86-64.
26518         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26520 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
26522         * math/math.h (M_El): Use two more decimal places.
26523         (M_LOG2El): Likewise.
26524         (M_LOG10El): Likewise.
26525         (M_LN2l): Likewise.
26526         (M_LN10l): Likewise.
26527         (M_PIl): Likewise.
26528         (M_PI_2l): Likewise.
26529         (M_PI_4l): Likewise.
26530         (M_1_PIl): Likewise.
26531         (M_2_PIl): Likewise.
26532         (M_2_SQRTPIl): Likewise.
26533         (M_SQRT2l): Likewise.
26534         (M_SQRT1_2l): Likewise.
26536 2012-05-31  David S. Miller  <davem@davemloft.net>
26538         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26539         values between float registers.
26540         * sysdeps/sparc/sparc64/memset.S: Likewise.
26541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26543 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
26545         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26546         -D_FORTIFY_SOURCE=1.
26547         (CPPFLAGS-tst-longjmp_chk.c): Define.
26548         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26549         (CPPFLAGS-tst-longjmp_chk2.c): Define.
26550         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26551         CFLAGS-tst-wchar-h.c.
26553 2012-05-31  Marek Polacek  <polacek@redhat.com>
26555         [BZ #14132]
26556         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26557         __endmntent_internal): Remove declaration.
26558         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26559         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26560         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26562 2012-05-30  David S. Miller  <davem@davemloft.net>
26564         * sysdeps/sparc/sparc32/soft-fp/q_util.c
26565         (___Q_simulate_exceptions): Use real FP ops rather than writing
26566         into the %fsr.
26567         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26568         Likewise.
26570 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26572         [BZ #14117]
26573         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26574         * sysdeps/x86/bits/xtitypes.h: This.
26576         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26577         * sysdeps/x86/bits/wordsize.h: This.
26579         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26580         * sysdeps/x86/bits/huge_vall.h: This.
26582         * sysdeps/i386/bits/select.h: Removed.
26583         * sysdeps/x86_64/bits/select.h: Renamed to ...
26584         * sysdeps/x86/bits/select.h: This.
26586         * sysdeps/i386/bits/setjmp.h: Removed.
26587         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26588         * sysdeps/x86/bits/setjmp.h: This.
26590         * sysdeps/i386/bits/mathdef.h: Removed.
26591         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26592         * sysdeps/x86/bits/mathdef.h: This.
26594 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
26596         [BZ #14132]
26597         * include/sys/socket.h (__connect_internal)
26598         (__libc_sa_len_internal): Remove declaration.
26599         (__connect, __libc_sa_len): Declare hidden_proto.
26600         (SA_LEN): Remove use of INTUSE.
26601         * socket/connect.c: Add libc_hidden_def.
26602         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26603         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26604         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26605         alias.
26606         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26607         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26608         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26609         of adding _internal alias.
26611 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26613         [BZ #14117]
26614         * sysdeps/i386/bits/link.h: Removed.
26615         * sysdeps/i386/bits/linkmap.h: Likewise.
26616         * sysdeps/x86_64/bits/link.h: Renamed to ...
26617         * sysdeps/x86/bits/link.h: This.
26618         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26619         * sysdeps/x86/bits/linkmap.h: This.
26621         * sysdeps/i386/bits/endian.h: Removed.
26622         * sysdeps/x86_64/bits/endian.h: Renamed to ...
26623         * sysdeps/x86/bits/endian.h: This.
26625         * sysdeps/i386/bits/byteswap.h: Removed.
26626         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26627         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26628         * sysdeps/x86/bits/byteswap.h: This.
26629         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26630         * sysdeps/x86/bits/byteswap-16.h: This.
26631         * sysdeps/i386/Implies: Add x86.
26632         * sysdeps/x86_64/Implies: Likewise.
26634 2012-05-30  David S. Miller  <davem@davemloft.net>
26636         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26637         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26638         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26639         (FP_TRAPPING_EXCEPTIONS): Define.
26640         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26641         (FP_TRAPPING_EXCEPTIONS): Define.
26642         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26643         subnormals only when inexact has been signalled or underflow
26644         exceptions are enabled.
26645         (_FP_PACK_CANONICAL): Likewise.
26647 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26649         [BZ #14183]
26650         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26651         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26653 2012-05-30  Richard Henderson  <rth@twiddle.net>
26655         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26656         with #ifndef NOT_IN_libc.
26658         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26659         marked to avoid plt entry.
26661 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26663         [BZ #14112]
26664         * Makeconfig (default-abi): New macro.
26665         (abi-includes): Likewise.
26666         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26667         $(abi-$(default-abi)-lib-soname) for soname if defined.
26668         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26669         abi-variants.
26670         * Makefile (installed-stubs): Likewise.
26671         * include/stubs-biarch.h: Removed.
26672         * scripts/lib-names.awk: Only handle one library at a time.
26673         * scripts/soversions.awk: Remove WORDSIZE support.
26674         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26675         entries.
26676         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26677         Removed.
26678         (syscall-list-default-condition): Likewise.
26679         (syscall-list-default-condition): Likewise.
26680         (syscall-list-includes): Likewise.
26681         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26682         syscall-list-* with abi-*.  Handle undefined abi-variants.
26683         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26684         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26685         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26686         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26687         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26688         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26689         Removed.
26690         (syscall-list-32-options): Likewise.
26691         (syscall-list-32-condition): Likewise.
26692         (syscall-list-64-options): Likewise.
26693         (syscall-list-64-condition): Likewise.
26694         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26695         macro.
26696         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26697         Renamed to ...
26698         (abi-*): This.
26699         (abi-64-ld-soname): New macro.
26700         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26701         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26702         Renamed to ...
26703         (abi-*): This.
26704         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26705         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26707 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26709         * sysdeps/unix/sysv/linux/kernel-features.h
26710         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26711         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26712         include <kernel-features.h>.
26713         [!__NR_ftruncate64]: Remove conditional code.
26714         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26715         [__NR_ftruncate64]: Make code unconditional.
26716         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26717         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26718         include <kernel-features.h>.
26719         [!__NR_ftruncate64]: Remove conditional code.
26720         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26721         [__NR_ftruncate64]: Make code unconditional.
26722         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26724         include <kernel-features.h>.
26725         [!__NR_ftruncate64]: Remove conditional code.
26726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26727         [__NR_ftruncate64]: Make code unconditional.
26728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26730         include <kernel-features.h>.
26731         [!__NR_ftruncate64]: Remove conditional code.
26732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26733         [__NR_ftruncate64]: Make code unconditional.
26734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26736         * configure.in (libc_cv_fpie): Weaken to a compile test using
26737         LIBC_TRY_CC_OPTION.
26738         * configure: Regenerated.
26740 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26746         Refreshed.
26747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26753         Refreshed.
26755 2012-05-27  David S. Miller  <davem@davemloft.net>
26757         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26758         (___Q_zero): New.
26759         (__Q_simulate_exceptions): Return void.  Change to simulate
26760         exceptions by writing into the %fsr.
26761         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26762         (__Qp_handle_exceptions): Likewise.
26763         (numbers): Delete.
26764         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26765         __Qp_handle_exceptions.
26766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26767         __Qp_handle_exceptions.
26768         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26769         as unused and give dummy FP_RND_NEAREST initializer.
26770         (FP_INHIBIT_RESULTS): Define.
26771         (___Q_simulate_exceptions): Update declaration.
26772         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26773         formatting.
26774         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26775         as unused and give dummy FP_RND_NEAREST initializer.
26776         (__Qp_handle_exceptions): Update declaration.
26777         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26778         formatting.
26780 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26782         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26783         the temporary FPU control word.
26784         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26785         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26787         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26788         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26789         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26790         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26791         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26792         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26793         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26794         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26796 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26798         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26799         fields.
26801 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26803         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26804         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26805         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26806         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26807         Likewise.
26808         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26809         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26810         Likewise.
26812 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26814         * po/h.po: Update from translation team.
26816 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26818         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26820         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26821         handling of denormals.
26822         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26823         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26824         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26825         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26826         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26827         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26829         Likewise.
26831 2012-05-26  Marek Polacek  <polacek@redhat.com>
26833         [BZ #14152]
26834         * math/libm-test.inc (fma_test): Don't always expect underflow
26835         exception.
26837 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26839         [BZ #12416]
26840         * elf/tst-execstack.c: Include stackinfo.h.
26841         (do_test): Adjust test case to ensure that pthread_getattr_np
26842         behaviour remains the same after marking stack executable.
26844 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26846         * sysdeps/unix/sysv/linux/kernel-features.h
26847         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26848         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26849         kernel-features.h.
26850         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26851         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26852         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26853         kernel-features.h.
26854         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26855         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26857 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26859         * configure.in: Define the default includes to being none.
26860         * configure: Regenerated.
26862 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26864         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26865         * sysdeps/x86_64/setjmp.S: Likewise.
26866         * sysdeps/i386/bsd-setjmp.S: Likewise.
26867         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26868         * sysdeps/i386/setjmp.S: Likewise.
26869         * sysdeps/i386/__longjmp.S: Likewise.
26870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26871         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26873         * include/stap-probe.h: New file.
26874         * configure.in: Handle --enable-systemtap.
26875         * configure: Regenerated.
26876         * config.h.in (USE_STAP_PROBE): New #undef.
26877         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26878         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26879         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26881 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26883         [BZ #13717]
26884         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26885         to 2.4.0 where earlier.
26886         * sysdeps/unix/sysv/linux/configure: Regenerated.
26887         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26888         <kernel-features.h>.
26889         [__ASSUME_32BITUIDS]: Make code unconditional.
26890         [!__ASSUME_32BITUIDS]: Remove conditional code.
26891         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26892         <kernel-features.h>.
26893         [__ASSUME_32BITUIDS]: Make code unconditional.
26894         [!__ASSUME_32BITUIDS]: Remove conditional code.
26895         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26896         [__ASSUME_32BITUIDS]: Make code unconditional.
26897         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26898         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26899         <kernel-features.h>.
26900         [__ASSUME_32BITUIDS]: Make code unconditional.
26901         [!__ASSUME_32BITUIDS]: Remove conditional code.
26902         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26903         <kernel-features.h>.
26904         [__ASSUME_32BITUIDS]: Make code unconditional.
26905         [!__ASSUME_32BITUIDS]: Remove conditional code.
26906         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26907         <kernel-features.h>.
26908         [__ASSUME_32BITUIDS]: Make code unconditional.
26909         [!__ASSUME_32BITUIDS]: Remove conditional code.
26910         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26911         <kernel-features.h>.
26912         [__ASSUME_32BITUIDS]: Make code unconditional.
26913         [!__ASSUME_32BITUIDS]: Remove conditional code.
26914         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26915         <kernel-features.h>.
26916         [__ASSUME_32BITUIDS]: Make code unconditional.
26917         [!__ASSUME_32BITUIDS]: Remove conditional code.
26918         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26919         <kernel-features.h>.
26920         [__ASSUME_32BITUIDS]: Make code unconditional.
26921         [!__ASSUME_32BITUIDS]: Remove conditional code.
26922         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26923         <kernel-features.h>.
26924         [__ASSUME_32BITUIDS]: Make code unconditional.
26925         [!__ASSUME_32BITUIDS]: Remove conditional code.
26926         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26927         <kernel-features.h>.
26928         [__ASSUME_32BITUIDS]: Make code unconditional.
26929         [!__ASSUME_32BITUIDS]: Remove conditional code.
26930         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26931         <kernel-features.h>.
26932         [__ASSUME_32BITUIDS]: Make code unconditional.
26933         [!__ASSUME_32BITUIDS]: Remove conditional code.
26934         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26935         <kernel-features.h>.
26936         [__ASSUME_32BITUIDS]: Make code unconditional.
26937         [!__ASSUME_32BITUIDS]: Remove conditional code.
26938         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26939         <kernel-features.h>.
26940         [__NR_setresgid] (__setresgid): Do not declare.
26941         [__ASSUME_32BITUIDS]: Make code unconditional.
26942         [!__ASSUME_32BITUIDS]: Remove conditional code.
26943         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26944         <kernel-features.h>.
26945         [__NR_setresuid] (__setresuid): Do not declare.
26946         [__ASSUME_32BITUIDS]: Make code unconditional.
26947         [!__ASSUME_32BITUIDS]: Remove conditional code.
26948         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26949         <kernel-features.h>.
26950         [__ASSUME_32BITUIDS]: Make code unconditional.
26951         [!__ASSUME_32BITUIDS]: Remove conditional code.
26952         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26953         <kernel-features.h>.
26954         [__ASSUME_32BITUIDS]: Make code unconditional.
26955         [!__ASSUME_32BITUIDS]: Remove conditional code.
26956         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26957         <kernel-features.h>.
26958         [__ASSUME_32BITUIDS]: Make code unconditional.
26959         [!__ASSUME_32BITUIDS]: Remove conditional code.
26960         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26961         <kernel-features.h>.
26962         [__ASSUME_32BITUIDS]: Make code unconditional.
26963         [!__ASSUME_32BITUIDS]: Remove conditional code.
26964         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26965         <kernel-features.h>.
26966         [__ASSUME_32BITUIDS]: Make code unconditional.
26967         [!__ASSUME_32BITUIDS]: Remove conditional code.
26968         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26969         <kernel-features.h>.
26970         [__ASSUME_32BITUIDS]: Make code unconditional.
26971         [!__ASSUME_32BITUIDS]: Remove conditional code.
26972         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26973         <kernel-features.h>.
26974         [__ASSUME_32BITUIDS]: Make code unconditional.
26975         [!__ASSUME_32BITUIDS]: Remove conditional code.
26976         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26977         <kernel-features.h>.
26978         [__ASSUME_32BITUIDS]: Make code unconditional.
26979         [!__ASSUME_32BITUIDS]: Remove conditional code.
26980         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26981         <kernel-features.h>.
26982         [__ASSUME_32BITUIDS]: Make code unconditional.
26983         [!__ASSUME_32BITUIDS]: Remove conditional code.
26984         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26985         <kernel-features.h>.
26986         [__ASSUME_32BITUIDS]: Make code unconditional.
26987         [!__ASSUME_32BITUIDS]: Remove conditional code.
26988         * sysdeps/unix/sysv/linux/kernel-features.h
26989         (__ASSUME_SETRESUID_SYSCALL): Remove.
26990         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26991         (__ASSUME_32BITUIDS): Likewise.
26992         (__ASSUME_LDT_WORKS): Likewise.
26993         (__ASSUME_O_DIRECTORY): Likewise.
26994         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26995         architecture but not kernel version.
26996         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26997         (__ASSUME_MMAP2_SYSCALL): Likewise.
26998         (__ASSUME_STAT64_SYSCALL): Likewise.
26999         (__ASSUME_IPC64): Likewise.
27000         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27001         <kernel-features.h>.
27002         [__ASSUME_32BITUIDS]: Make code unconditional.
27003         [!__ASSUME_32BITUIDS]: Remove conditional code.
27004         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27005         <kernel-features.h>.
27006         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27007         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27008         132096]: Remove conditional code.
27009         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27010         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27011         <kernel-features.h>.
27012         [__ASSUME_32BITUIDS]: Make code unconditional.
27013         [!__ASSUME_32BITUIDS]: Remove conditional code.
27014         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27015         <kernel-features.h>.
27016         [__ASSUME_32BITUIDS]: Make code unconditional.
27017         [!__ASSUME_32BITUIDS]: Remove conditional code.
27018         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27019         <kernel-features.h>.
27020         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27021         unconditional.
27022         (__setresgid): Do not declare.
27023         [__ASSUME_32BITUIDS]: Make code unconditional.
27024         [!__ASSUME_32BITUIDS]: Remove conditional code.
27025         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27026         <kernel-features.h>.
27027         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27028         unconditional.
27029         (__setresuid): Do not declare.
27030         [__ASSUME_32BITUIDS]: Make code unconditional.
27031         [!__ASSUME_32BITUIDS]: Remove conditional code.
27032         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
27037         <kernel-features.h>.
27038         [__ASSUME_32BITUIDS]: Make code unconditional.
27039         [!__ASSUME_32BITUIDS]: Remove conditional code.
27041 2012-05-25  Richard Henderson  <rth@twiddle.net>
27043         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27044         dl_hwcap to ifunc resolver.
27045         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27046         elf_ifunc_invoke.
27047         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27048         dl_hwcap to ifunc resolver.
27049         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27051 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27053         [BZ #14153]
27054         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27055         for |x| <= 2**-26, not 2**-57.
27056         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27057         exception.
27059 2012-05-24  Jeff Law  <law@redhat.com>
27061         * stdio-common/Makefile (tests): Add bug25.
27062         * stdio-common/bug25.c: New test.
27064 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27066         [BZ #13576]
27067         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27068         multiple of MALLOC_ALIGNMENT in size.
27069         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27071 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27073         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27074         Require >= 256.
27075         (FILENAME_MAX): Use macro-int-constant.
27076         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27077         (_IOFBF): Use macro-int-constant.
27078         (_IOLBF): Likewise.
27079         (_IONBF): Likewise.
27080         (SEEK_CUR): Likewise.
27081         (SEEK_END): Likewise.
27082         (SEEK_SET): Likewise.
27083         (TMP_MAX): Likewise.
27084         (EOF): Use macro-int-constant.  Require < 0.
27085         (NULL): Use macro-constant.  Require == 0.
27086         (stdin): Require type to be FILE *.
27087         (stdout): Likewise.
27088         (stderr): Likewise.
27089         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27090         macro-int-constant.
27091         (EXIT_SUCCESS): Likewise.
27092         (NULL): Use macro-constant.  Require == 0.
27093         (RAND_MAX): Use macro-int-constant.
27094         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27095         [C99-based standards] (strtof): Require function.
27096         [C99-based standards] (strtold): Likewise.
27097         [C99-based standards] (strtoll): Likewise.
27098         [C99-based standards] (strtoull): Likewise.
27099         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27100         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27101         [ISO || ISO99 || ISO11] (math.h): Likewise.
27102         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27103         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27106 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27108         [BZ #14132]
27109         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27110         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27111         * intl/dgettext.c (DCGETTEXT): Likewise.
27112         * intl/gettext.c (DCGETTEXT): Likewise.
27113         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27114         * posix/regex_internal.h (gettext): Likewise.
27115         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27116         Remove declaration.
27117         * include/argz.h (__argz_count_internal)
27118         (__argz_stringify_internal): Remove declaration.
27119         (__argz_count, __argz_stringify): Declare hidden proto.
27120         * intl/dcgettext.c: Remove use of INTDEF.
27121         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27122         * string/argz-stringify.c: Likewise.
27123         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27124         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27125         Declare hidden proto.
27126         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27127         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27128         Declare hidden proto.
27129         * include/stdio.h (__asprintf_internal): Don't declare.
27130         (__asprintf): Don't define as macro.  Declare hidden proto.
27131         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27132         (__fsetlocking): Declare hidden proto.
27133         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27134         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27135         hidden proto.
27136         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27137         (_IO_setlinebuf): Remove use of INTUSE.
27138         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27139         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27140         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27141         Remove declaration.
27142         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27143         (_IO_do_flush): Remove use of INTUSE.
27144         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27145         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27146         (_IO_adjust_column, _IO_least_wmarker)
27147         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27148         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27149         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27150         (_IO_default_doallocate, _IO_wdefault_doallocate)
27151         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27152         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27153         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27154         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27155         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27156         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27157         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27158         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27159         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27160         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27161         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27162         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27163         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27164         proto.
27165         (_IO_flush_all_internal, _IO_adjust_column_internal)
27166         (_IO_default_uflow_internal, _IO_default_finish_internal)
27167         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27168         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27169         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27170         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27171         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27172         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27173         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27174         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27175         (_IO_file_close_internal, _IO_file_close_it_internal)
27176         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27177         (_IO_file_init_internal, _IO_file_attach_internal)
27178         (_IO_file_fopen_internal, _IO_file_read_internal)
27179         (_IO_file_sync_internal, _IO_file_seek_internal)
27180         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27181         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27182         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27183         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27184         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27185         (_IO_list_all_internal, _IO_link_in_internal)
27186         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27187         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27188         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27189         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27190         (_IO_do_write_internal, _IO_padn_internal)
27191         (_IO_getline_info_internal, _IO_getline_internal)
27192         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27193         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27194         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27195         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27196         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27197         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27198         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27199         with libc_hidden_ver, remove use of INTUSE.
27200         * libio/genops.c: Likewise.
27201         * libio/freopen.c: Likewise.
27202         * libio/freopen64.c: Likewise.
27203         * libio/iofclose.c: Likewise.
27204         * libio/iofdopen.c: Likewise.
27205         * libio/iofflush.c: Likewise.
27206         * libio/iofflush_u.c: Likewise.
27207         * libio/iofgets.c: Likewise.
27208         * libio/iofgets_u.c: Likewise.
27209         * libio/iofopen.c: Likewise.
27210         * libio/iofopncook.c: Likewise.
27211         * libio/iofread.c: Likewise.
27212         * libio/iofread_u.c: Likewise.
27213         * libio/ioftell.c: Likewise.
27214         * libio/iofwrite.c: Likewise.
27215         * libio/iogetline.c: Likewise.
27216         * libio/iogets.c: Likewise.
27217         * libio/iogetwline.c: Likewise.
27218         * libio/iopadn.c: Likewise.
27219         * libio/iopopen.c: Likewise.
27220         * libio/ioseekoff.c: Likewise.
27221         * libio/ioseekpos.c: Likewise.
27222         * libio/iosetbuffer.c: Likewise.
27223         * libio/iosetvbuf.c: Likewise.
27224         * libio/ioungetc.c: Likewise.
27225         * libio/ioungetwc.c: Likewise.
27226         * libio/iovdprintf.c: Likewise.
27227         * libio/iovsprintf.c: Likewise.
27228         * libio/iovsscanf.c: Likewise.
27229         * libio/memstream.c: Likewise.
27230         * libio/obprintf.c: Likewise.
27231         * libio/oldfileops.c: Likewise.
27232         * libio/oldiofclose.c: Likewise.
27233         * libio/oldiofdopen.c: Likewise.
27234         * libio/oldiofopen.c: Likewise.
27235         * libio/oldiopopen.c: Likewise.
27236         * libio/oldstdfiles.c: Likewise.
27237         * libio/putc.c: Likewise.
27238         * libio/setbuf.c: Likewise.
27239         * libio/setlinebuf.c: Likewise.
27240         * libio/stdfiles.c: Likewise.
27241         * libio/strops.c: Likewise.
27242         * libio/vasprintf.c: Likewise.
27243         * libio/vscanf.c: Likewise.
27244         * libio/vsnprintf.c: Likewise.
27245         * libio/vswprintf.c: Likewise.
27246         * libio/wfiledoalloc.c: Likewise.
27247         * libio/wfileops.c: Likewise.
27248         * libio/wgenops.c: Likewise.
27249         * libio/wmemstream.c: Likewise.
27250         * libio/wstrops.c: Likewise.
27251         * libio/__fpurge.c: Likewise.
27252         * libio/__fsetlocking.c: Likewise.
27253         * assert/assert.c: Likewise.
27254         * debug/fgets_chk.c: Likewise.
27255         * debug/fgets_u_chk.c: Likewise.
27256         * debug/fread_chk.c: Likewise.
27257         * debug/fread_u_chk.c: Likewise.
27258         * debug/gets_chk.c: Likewise.
27259         * debug/obprintf_chk.c: Likewise.
27260         * debug/vasprintf_chk.c: Likewise.
27261         * debug/vdprintf_chk.c: Likewise.
27262         * debug/vsnprintf_chk.c: Likewise.
27263         * debug/vsprintf_chk.c: Likewise.
27264         * malloc/mtrace.c: Likewise.
27265         * misc/error.c: Likewise.
27266         * misc/syslog.c: Likewise.
27267         * stdio-common/asprintf.c: Likewise.
27268         * stdio-common/fxprintf.c: Likewise.
27269         * stdio-common/getw.c: Likewise.
27270         * stdio-common/isoc99_fscanf.c: Likewise.
27271         * stdio-common/isoc99_scanf.c: Likewise.
27272         * stdio-common/isoc99_vfscanf.c: Likewise.
27273         * stdio-common/isoc99_vscanf.c: Likewise.
27274         * stdio-common/isoc99_vsscanf.c: Likewise.
27275         * stdio-common/printf-prs.c: Likewise.
27276         * stdio-common/printf_fp.c: Likewise.
27277         * stdio-common/printf_fphex.c: Likewise.
27278         * stdio-common/printf_size.c: Likewise.
27279         * stdio-common/putw.c: Likewise.
27280         * stdio-common/scanf.c: Likewise.
27281         * stdio-common/sprintf.c: Likewise.
27282         * stdio-common/tmpfile.c: Likewise.
27283         * stdio-common/vfprintf.c: Likewise.
27284         * stdio-common/vfscanf.c: Likewise.
27285         * stdlib/strfmon_l.c: Likewise.
27286         * sunrpc/openchild.c: Likewise.
27287         * sunrpc/xdr_stdio.c: Likewise.
27288         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27289         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27291 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27293         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27295         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27296         in the third column, to generate for the shared library an IFUNC
27297         that uses _dl_vdso_vsym.
27298         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27299         * Makeconfig (object-suffixes-noshared): New variable.
27301         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27302         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27303         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27304         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27306         [BZ #14132]
27307         * include/sys/time.h (__gettimeofday): Remove macro.
27308         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27309         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27310         Remove INTDEF.
27311         (__gettimeofday): Add libc_hidden_def.
27312         (gettimeofday): Add libc_hidden_weak.
27313         * sysdeps/mach/gettimeofday.c: Likewise.
27314         * sysdeps/posix/gettimeofday.c: Likewise.
27315         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27316         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27318         (__gettimeofday_internal): Remove strong_alias.
27319         (__gettimeofday): Add libc_hidden_def.
27320         (gettimeofday): Add libc_hidden_weak.
27321         * sysdeps/unix/syscalls.list (gettimeofday):
27322         Remove __gettimeofday_internal alias.
27324 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27325             H.J. Lu  <hongjiu.lu@intel.com>
27327         [BZ #12495]
27328         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27329         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27330         (largebin_index_32_big): New.
27331         (largebin_index): Use it for 16-byte alignment.
27332         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27333         correction with front_misalign.
27335 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27339         Likewise.
27340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27341         Likewise.
27342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27343         Likewise.
27344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27345         Likewise.
27346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27347         Likewise.
27348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27349         Likewise.
27350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27351         Likewise.
27352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27353         Likewise.
27354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27355         Likewise.
27356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27357         Likewise.
27358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27359         Likewise.
27360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27361         Likewise.
27363         * scripts/data/c++-types-x32-linux-gnu.data: New file.
27364         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27366 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27368         [BZ #10846]
27369         [BZ #14036]
27370         * math/libm-test.inc (exp_test): Add test from bug 14036.
27371         (pow_test): Add test from bug 10846.
27373         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27374         and other flags.
27375         (special_function): Do not include flags in test name.
27376         (parse_args): Likewise.
27377         * sysdeps/i386/fpu/libm-test-ulps: Update.
27378         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27379         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27380         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27383         * math/gen-libm-test.pl (%beautify): Add entries for underflow
27384         exceptions.
27385         * math/libm-test.inc ("Philosophy"): Update comment about
27386         exception testing.
27387         (UNDERFLOW_EXCEPTION): New macro.
27388         (UNDERFLOW_EXCEPTION_OK): Likewise.
27389         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27390         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27391         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27392         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27393         (INVALID_EXCEPTION_OK): Update value.
27394         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27395         (OVERFLOW_EXCEPTION_OK): Likewise.
27396         (IGNORE_ZERO_INF_SIGN): Likewise.
27397         (test_exceptions): Handle underflow exceptions.
27398         (acos_test): Update for underflow exception expectations.
27399         (cexp_test): Likewise.
27400         (clog_test): Likewise.
27401         (clog10_test): Likewise.
27402         (csqrt_test): Likewise.
27403         (ctan_test): Likewise.
27404         (ctanh_test): Likewise.
27405         (exp_test): Likewise.
27406         (exp10_test): Likewise.
27407         (exp2_test): Likewise.
27408         (expm1_test): Likewise.
27409         (fma_test): Likewise.
27410         (j0_test): Likewise.
27411         (jn_test): Likewise.
27412         (nexttoward_test): Likewise.
27413         (pow_test): Likewise.
27414         (scalbn_test): Likewise.
27415         (scalbln_test): Likewise.
27416         (tan_test): Likewise.
27417         (y1_test): Likewise.
27418         * sysdeps/i386/fpu/libm-test-ulps: Update.
27419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27421 2012-05-23  David S. Miller  <davem@davemloft.net>
27423         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27424         (__libc_sigaction): Remove unused local variables.
27426 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27428         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27430 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27432         mktime: avoid signed integer overflow
27433         * time/mktime.c (__mktime_internal): Do not mishandle the case
27434         where diff == INT_MIN.
27436         mktime: simplify computation of average
27437         * time/mktime.c (ranged_convert): Use new time_t_avg function
27438         instead of rolling our own (probably-slower) code.
27440         mktime: do not assume signed right shift propagates sign bit
27441         * time/mktime.c (isdst_differ): New static function.
27442         (__mktime_internal): No need to normalize tm_isdst now.
27443         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27444         tm_isdst values.
27446         mktime: merge another wrapv change from gnulib
27447         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27448         from some compilers.
27450         mktime: remove incorrect attempt at unusual arithmetics
27451         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27452         The code didn't really work on such machines anyway.
27453         (TYPE_MINIMUM): Assume two's complement.
27454         (twos_complement_arithmetic): Verify that long_int and time_t
27455         are two's complement (or unsigned, in the latter case).
27457         mktime: check signed shifts on long_int and time_t, too
27458         * time/mktime.c (SHR): Check that shifts work as desired
27459         on the types long_int and time_t too, as SHR is used on
27460         such types.
27462         mktime: do not assume 'long' is wide enough
27463         * time/mktime.c (verify): Move decl up.
27464         (long_int): New type.
27465         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27466         to remove assumption in the code that 'long' is wide enough to
27467         store year values.  This assumption is not true on x32 and on
27468         some non-glibc platforms.
27470         mktime: merge wrapv change from gnulib
27471         * time/mktime.c (WRAPV): New macro.
27472         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27473         (guess_time_tm, __mktime_internal): Do not assume that signed
27474         integer overflow wraps around; modern compilers generate code
27475         where this assumption is no longer valid.
27477 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27479         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27480         Replace "jmp L(pseudo_end)" with "ret".
27481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27482         Likewise.
27484 2012-05-23  Andreas Jaeger  <aj@suse.de>
27486         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27487         * sysdeps/unix/sysv/linux/poll.c: Remove file.
27489 2012-05-23  Andreas Jaeger  <aj@suse.de>
27490             Maximilian Attems  <max@stro.at>
27492         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27493         New macros.
27495 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27498         code so that pseudo_end is just ret and the stack pointer is
27499         correct also for static library in error case.
27501 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
27503         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27504         move to syscalls.list.
27505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27510         * manual/install.texi (Running make install): Do not mention Linux
27511         kernel version for which pt_chown is not needed.
27512         (Linux): Do not mention problems with nscd with 2.0 kernels.
27513         * INSTALL: Regenerated.
27515 2012-05-23  Andreas Jaeger  <aj@suse.de>
27517         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27518         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27519         macro.
27520         * sysdeps/unix/sysv/linux/s390/bits/mman.h
27521         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27522         * sysdeps/unix/sysv/linux/sh/bits/mman.h
27523         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27524         * sysdeps/unix/sysv/linux/i386/bits/mman.h
27525         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27528         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27529         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27530         * sysdeps/unix/sysv/linux/bits/in.h
27531         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27533 2012-05-22  Roland McGrath  <roland@hack.frob.com>
27535         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27536         (PREPARE_VERSION): Just use assert instead, it will be elided
27537         under [NDEBUG] anyway.
27539 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27541         * sysdeps/unix/sysv/linux/Makefile: Include
27542         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27543         (sysdep_routines): Remove sysctl.
27544         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27545         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27546         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27547         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27548         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27550 2012-05-22  Andreas Jaeger  <aj@suse.de>
27552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27553         that pseudo_end is just ret and the stack pointer is correct also
27554         for static library in error case.
27556 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27558         [BZ #14122]
27559         * nss/nsswitch.c (defconfig_entries): New variable.
27560         (__nss_database_lookup): Don't leak defconfig entries.
27561         (nss_parse_service_list): Don't leak on error paths.
27562         (free_database_entries): New function.
27563         (free_defconfig): New function.
27564         (free_mem): Move common code to free_database_entries.
27566 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27568         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27569         Add arch_prctl.
27570         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27572         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27573         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27575         New macro.
27576         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27577         (INTERNAL_SYSCALL_TYPES): Likewise.
27578         (LOAD_ARGS_TYPES_[1-6]): Likewise.
27579         (LOAD_REGS_TYPES_[1-6]): Likewise.
27580         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27581         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27583 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27585         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27586         copysignl for GLIBC_2_0.
27587         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27588         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27590         logbl for GLIBC_2_0.
27591         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27592         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27594 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27596         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27597         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27599         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27600         Use "neg %eax".
27602         * time/mktime.c: Update copyright years.
27604 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27606         mktime: merge comment-quoting-style change from gnulib
27607         * time/mktime.c: Quote 'like this' in comments.
27608         The GNU coding standards suggest that we no longer quote `like this',
27609         as "`" and "'" are typically rendered asymmetrically nowadays.
27610         The typical gnulib style is to quote 'like this' when quoting
27611         code, and "like this" when quoting English.
27613         * time/mktime.c (compile-command): Add "-I.".
27615         mktime: merge mktime-internal.h change from gnulib
27616         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27618         mktime: merge time_r change from gnulib
27619         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27621         mktime: merge DEBUG change from gnulib
27622         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27623         case system <time.h> has a #define.
27625         mktime: merge <sys/types.h> change from gnulib
27626         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27627         since <time.t> is now guaranteed to define time_t.
27629         mktime: merge HAVE_CONFIG_H change from gnulib
27630         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27632 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27635         Use "neg %eax".
27637         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27638         __rlim_t cast.
27639         (struct rusage): Use anonymous union to pad each field to
27640         __syscall_slong_t.
27642 2012-05-21  David S. Miller  <davem@davemloft.net>
27644         * Makefules (o-iterator): Remove .s cases.
27645         (compile-command.s): Delete.
27646         (COMPILE.s): Delete.
27647         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27649 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27651         * configure.in (libc_cv_predef_stack_protector): Only consider
27652         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27653         * configure: Regenerated.
27655 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27658         New macro.  Use R*LP on int and pointer.
27659         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27660         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27661         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27662         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27664         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27665         [__WORDSIZE_TIME64_COMPAT32] instead of
27666         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27667         (struct utmp): Likewise.
27668         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27669         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27670         Renamed to ...
27671         (__WORDSIZE_TIME64_COMPAT32): This.
27672         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27673         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27674         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27675         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27676         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27677         (__WORDSIZE_TIME64_COMPAT32): New macro.
27679 2012-05-21  Andreas Jaeger  <aj@suse.de>
27681         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27682         only if [SHARED]. Add prototype for __wcschr_ia32.
27684 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27686         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27687         of %rbp unmolested in the jmp_buf while mangling the low bits.
27688         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27689         unmolested high bits of %rbp while demangling the low bits.
27690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27692 2012-05-21  Andreas Jaeger  <aj@suse.de>
27694         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27695         * sunrpc/svc_simple.c: Use it for registerrpc.
27696         * sunrpc/xcrypt.c: Use it for passwd2des.
27698         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27700 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27702         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27703         Don't define if [__SYSCALL_WORDSIZE != 32].
27704         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27705         New macro.
27707 2012-05-21  Bruno Haible  <bruno@clisp.org>
27708             Andreas Jaeger  <aj@suse.de>
27710         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27711         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27712         inptr and inend for must_buffer_ch.
27713         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27714         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27715         * stdio-common/Makefile (tests): Remove bug15.
27716         (bug15-ENV): Remove macro.
27717         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27718         anymore.
27720 2012-05-19  Andreas Jaeger  <aj@suse.de>
27721             Roland McGrath  <roland@hack.frob.com>
27723         * manual/contrib.texi: Completely rewritten. It contains now an
27724         alphabetical list of contributors and their contributions.
27726 2012-05-21  Richard Henderson  <rth@twiddle.net>
27728         * misc/getauxval.c (__getauxval): Use unsigned long int.
27729         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27730         (getauxval): Use unsigned long int.
27732 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27734         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27736 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27738         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27739         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27740         __alignof__ (long double).
27742 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27746 2012-05-20  Richard Henderson  <rth@twiddle.net>
27748         * misc/getauxval.c: New file.
27749         * misc/sys/auxv.h: New file.
27750         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27751         (routines): Add getauxval.
27752         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27753         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27754         * elf/dl-sysdep.c (_dl_auxv): Remove.
27755         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27756         * elf/dl-support.c (_dl_auxv): New variable.
27757         (_dl_aux_init): Initialize it.
27758         * manual/startup.texi (Auxiliary Vector): New node.
27759         * sysdeps/generic/bits/hwcap.h: New file.
27760         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27761         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27762         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27763         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27764         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27765         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27767         Update.
27768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27777 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27781 2012-05-19  David S. Miller  <davem@davemloft.net>
27783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27785 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27787         [BZ #14123]
27788         * math/s_ccosh.c: Include <float.h>
27789         (__ccosh): Avoid internal overflow calculating sinh and cosh
27790         values before multiplying by sin and cos values.
27791         * math/s_ccoshf.c: Likewise.
27792         * math/s_ccoshl.c: Likewise.
27793         * math/s_csin.c: Likewise.
27794         * math/s_csinf.c: Likewise.
27795         * math/s_csinl.c: Likewise.
27796         * math/s_csinh.c: Likewise.
27797         * math/s_csinhf.c: Likewise.
27798         * math/s_csinhl.c: Likewise.
27799         * math/libm-test.inc (ccos_test): Add more tests.
27800         (ccosh_test): Likewise.
27801         (csin_test): Likewise.
27802         (csinh_test): Likewise.
27803         * sysdeps/i386/fpu/libm-test-ulps: Update.
27804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27806 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27808         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27809         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27811         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27813 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27815         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27816         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27817         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27818         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27819         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27820         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27821         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27822         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27823         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27824         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27825         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27826         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27827         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27828         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27829         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27830         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27831         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27832         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27833         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27834         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27835         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27836         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27837         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27838         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27839         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27840         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27841         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27842         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27843         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27844         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27845         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27847 2012-05-18  Andreas Jaeger  <aj@suse.de>
27849         * csu/.gitignore: Delete.
27851 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27853         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27854         (timex): Use __syscall_slong_t.
27856 2012-05-18  Andreas Jaeger  <aj@suse.de>
27857             Carlos O'Donell  <carlos_odonell@mentor.com>
27859         * manual/install.texi (Configuring and compiling): Update
27860         description about files modified in the source directory.
27861         * INSTALL: Regenerated.
27863 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27865         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27866         value.  Use "or" to set return value to -1.
27867         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27868         negate return value.
27870 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27872         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27873         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27874         failure if the compiler has Graphite support disabled.
27875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27876         Likewise.
27877         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27878         CFLAGS-memmove.c): Likewise.
27879         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27880         Likewise.
27882 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27884         * sysdeps/x86_64/x32/_itoa.h: New file.
27886         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27887         getdents system call only if kernel and user dirents have the
27888         same d_ino and d_off.
27890         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27891         LLONG_MAX != LONG_MAX.
27892         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27893         (_fitoa_word): Likewise.
27895         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27896         years.
27897         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27898         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27899         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27901         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27902         include <bits/wordsize.h>.  Check __x86_64__ instead of
27903         __WORDSIZE.
27904         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27905         if __x86_64__ is defined.  Use anonymous union on fpstate.
27907         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27908         anonymous union.
27910 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27912         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27913         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27915         Refer to _rtld_local_ro instead of _rtld_global_ro.
27916         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27917         Likewise.
27918         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27919         Likewise.
27920         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27921         Likewise.
27922         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27923         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27924         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27926         * sysdeps/powerpc/powerpc32/dl-machine.c
27927         (__elf_machine_runtime_setup) [PROF]: Don't reference
27928         _dl_prof_resolve.
27930 2012-05-18  Andreas Jaeger  <aj@suse.de>
27932         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27933         function only available for GCCs before 3.4 since GCC 3.4
27934         introduced a builtin.
27935         (lrint): Likewise.
27936         (llrintf): Likewise.
27937         (llrint): Likewise.
27938         (fmaxf): Likewise.
27939         (fmax): Likewise.
27940         (fminf): Likewise.
27941         (fmin): Likewise.
27942         (rint): Likewise.
27943         (rintf): Likewise.
27944         (nearbyint): Likewise.
27945         (nearbyintf): Likewise.
27946         (ceil): Likewise.
27947         (ceilf): Likewise.
27948         (floor): Likewise.
27949         (floorf): Likewise.
27951 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27953         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27954         on both fields and cast pointer to __syscall_ulong_t.
27956         * bits/types.h (__fsword_t): New type.
27957         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27958         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27959         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27960         (__FSWORD_T_TYPE): Likewise.
27961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27962         (__FSWORD_T_TYPE): Likewise.
27963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27964         (__FSWORD_T_TYPE): Likewise.
27965         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27966         (__FSWORD_T_TYPE): Likewise.
27967         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27968         __SWORD_TYPE with __fsword_t.
27969         (statfs64): Likewise.
27971 2012-05-17  David S. Miller  <davem@davemloft.net>
27973         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27975 2012-05-17  Andreas Jaeger  <aj@suse.de>
27977         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27978         warning.
27980 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27982         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27984 2012-05-17  Andreas Jaeger  <aj@suse.de>
27986         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27987         when it is used.
27989 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27991         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27993 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27995         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27996         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27998 2012-05-17  Andreas Jaeger  <aj@suse.de>
27999             Carlos O'Donell  <carlos_odonell@mentor.com>
28001         [BZ #14059]
28002         * sysdeps/x86_64/multiarch/init-arch.h
28003         (bit_YMM_Usable): Rename to...
28004         (bit_AVX_Usable): ... this.
28005         (bit_FMA4_Usable): New macro.
28006         (bit_XMM_state): New macro.
28007         (bit_YMM_state): New macro.
28008         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28009         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28010         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28011         (CPUID_OSXSAVE): New macro.
28012         (CPUID_AVX): New macro.
28013         (CPUID_FMA4): New macro.
28014         (index_YMM_Usable): Rename to...
28015         (index_AVX_Usable): ... this.
28016         (HAS_AVX): Use HAS_ARCH_FEATURE.
28017         (HAS_FMA4): Likewise.
28018         (HAS_YMM_USABLE): Remove.
28019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28020         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28021         are present.
28022         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28023         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28024         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28025         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28026         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28028 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28030         * math/libm-test.c: Support platforms without multiple rounding modes.
28031         * math/bug-nextafter.c: Support platforms without FP exceptions.
28032         * math/bug-nexttoward.c: Likewise.
28033         * math/test-fenv.c: Likewise.
28034         * math/test-misc.c: Likewise.
28035         * stdlib/bug-getcontext.c: Likewise.
28037 2012-05-17  Andreas Jaeger  <aj@suse.de>
28039         * manual/examples/search.c (critter_cmp): Change signature to
28040         avoid warnings.
28041         * manual/string.texi (Collation Functions): Likewise.
28043 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28045         * bits/types.h: Fold copyright years.
28046         * bits/typesizes.h: Likewise.
28047         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28049         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28050         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28051         * time/time.h: Likewise.
28053 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28055         [BZ #208]
28056         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28057         in instead of returning them.  Return void.
28058         (__libc_mallinfo): Accumulate over all arenas.
28059         (__malloc_stats): Adjust for change in int_mallinfo interface.
28061 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28063         [BZ #10375]
28064         * configure.in (NM): Add AC_CHECK_TOOL for it.
28065         (libc_extra_cflags): New substituted variable.
28066         Check for -fstack-protector being used implicitly.
28067         * configure: Regenerated.
28068         * config.make.in (config-extra-cflags): New variable,
28069         gets @libc_extra_cflags@.
28070         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28072         [BZ #10375]
28073         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28074         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28075         * configure: Regenerated.
28076         * config.make.in (CPPUNDEFS): New substituted variable.
28077         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28078         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28079         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28081 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28083         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28084         (mq_attr): Use __syscall_slong_t.
28086 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28088         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28089         Check __x86_64__ instead of __WORDSIZE.
28090         (_STAT_VER_LINUX): Likewise.
28091         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28092         __syscall_ulong_t and __syscall_slong_t.
28093         (stat64): Likewise.
28095 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28099 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28101         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28103 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28105         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28106         __syscall_ulong_t.
28108         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28109         include <bits/wordsize.h>.  Check __x86_64__ instead of
28110         __WORDSIZE.
28111         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28112         defined.
28113         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28115         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28116         include <bits/wordsize.h>.  Check __x86_64__ instead of
28117         __WORDSIZE.
28118         (user_regs_struct): Use "__extension__ unsigned long long"
28119         instead of "unsigned long" if __x86_64__ is defined.
28120         (user): Likewise.  Pad after pointer field if __ILP32__ is
28121         defined.
28123 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28125         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28126         versions 5 to 9.
28127         * configure: Regenerated.
28128         * manual/install.texi (texinfo): Increase version requirement to
28129         4.5 or later.
28130         * INSTALL: Regenerated.
28132         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28134 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28136         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28138         * sysdeps/x86_64/x32/ffs.c: New file.
28140         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28141         __syscall_ulong_t.
28142         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28143         defined.  Use __syscall_ulong_t.
28144         (shminfo): Use __syscall_ulong_t.
28145         (shm_info): Likewise.
28147         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28148         __syscall_ulong_t.
28150         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28151         <bits/wordsize.h>.
28152         (msgqnum_t): Use __syscall_ulong_t.
28153         (msglen_t): Likewise.
28154         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28155         __syscall_ulong_t.
28157         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28158         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28160         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28162         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28163         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28165         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28166         __syscall_slong_t.
28168         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28169         include <bits/wordsize.h>.  Check __x86_64__ instead of
28170         __WORDSIZE.
28172         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28173         "unsigned long long int" if __x86_64__ is defined.
28174         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28176         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28177         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28178         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28180         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28181         <stdint.h>.
28182         (GET_PC): Cast to uintptr_t first.
28183         (GET_FRAME): Likewise.
28184         (GET_STACK): Likewise.
28186         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28187         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28188         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28189         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28190         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28191         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28192         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28193         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28194         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28195         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28196         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28197         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28198         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28199         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28200         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28201         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28202         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28203         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28204         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28205         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28206         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28207         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28208         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28209         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28210         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28211         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28212         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28213         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28214         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28216 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28218         * Makerules (+depfiles): Also collect depfiles from .oS in
28219         $(extra-objs).
28220         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28221         .oS, $(libnldbl-routines)).
28223         * Makerules (native-compile-mkdep-flags): Define.
28224         * sunrpc/Makefile (extra-objs): Add $(addprefix
28225         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28226         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28227         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28228         calling $(make-target-directory).
28230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28232         * bits/types.h (__snseconds_t): Removed.
28233         * time/time.h (struct timespec): Replace __snseconds_t with
28234         __syscall_slong_t.
28235         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28236         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28237         Likewise.
28238         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28239         (__SNSECONDS_T_TYPE): Likewise.
28240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28241         (__SNSECONDS_T_TYPE): Likewise.
28242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28243         (__SNSECONDS_T_TYPE): Likewise.
28245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28247         * sysdeps/mach/hurd/bits/typesizes.h
28248         (__SYSCALL_SLONG_TYPE): New macro.
28249         (__SYSCALL_ULONG_TYPE): Likewise.
28251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28253         * bits/types.h (__syscall_slong_t): New type.
28254         (__syscall_ulong_t): Likewise.
28256         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28257         (__SYSCALL_ULONG_TYPE): Likewise.
28258         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28259         (__SYSCALL_SLONG_TYPE): Likewise.
28260         (__SYSCALL_ULONG_TYPE): Likewise.
28261         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28262         (__SYSCALL_SLONG_TYPE): Likewise.
28263         (__SYSCALL_ULONG_TYPE): Likewise.
28264         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28265         (__SYSCALL_SLONG_TYPE): Likewise.
28266         (__SYSCALL_ULONG_TYPE): Likewise.
28268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28270         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28271         Add sigaltstack-offsets.sym.
28272         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28273         <sigaltstack-offsets.h>.
28274         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28275         longjmp_msg pointer.
28276         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28277         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28278         signal stack.
28279         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28281 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28283         * elf/stackguard-macros.h: Remove file.
28284         * sysdeps/generic/stackguard-macros.h: New file.
28285         * sysdeps/i386/stackguard-macros.h: Likewise.
28286         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28287         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28288         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28289         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28290         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28291         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28292         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28293         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28294         <elf/stackguard-macros.h>.
28296         [BZ #14109]
28297         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28298         __aligned__ in attribute.
28299         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28300         (gregset_t): Likewise.
28302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28304         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28305         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28306         * sysdeps/x86_64/x32/Implies-after: New file.
28308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28310         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28311         and access return value for _dl_profile_fixup.  Use R10_LP to
28312         load frame size.
28314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28316         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28320         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28321         * sysdeps/x86_64/x32/sysdep.h: New file.
28323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28325         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28326         * sysdeps/x86_64/setjmp.S: Likewise.
28328 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28330         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28331         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28332         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28333         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28334         remove unused global constant.
28336 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28338         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28339         include of <not-cancel.h>.
28341 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28343         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28345 2012-05-15  Jeff Law  <law@redhat.com>
28346             Andreas Jaeger  <aj@suse.de>
28348         [BZ #13594]
28349         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28350         out from...
28351         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28352         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28353         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28354         code changing __hst_map_handle.map.
28356 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28358         * configure.in (sysnames): Look for Implies-before and Implies-after
28359         files.
28360         * configure: Regenerated.
28362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28364         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28365         8-byte data alignment with LP_SIZE alignment.
28367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28369         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28370         into R10_LP.
28372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28374         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28378         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28379         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28380         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28381         Likewise.
28382         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28386         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28387         (stackinfo_sub_sp): Likewise.
28389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28391         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28392         RAX_LP.
28394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28396         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28397         into R*_LP.
28399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28402         sizes into R*_LP.
28404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28406         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28410         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28411         into R11_LP and load __x86_64_shared_cache_size_half into
28412         R8_LP.
28414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28416         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28417         R8_LP.
28419 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28422         logb for POWER7.
28423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28424         logbf for POWER7.
28425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28426         logbl for POWER7.
28427         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28428         powerpc32/power7/fpu/s_logb.c via #include.
28429         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28430         powerpc32/power7/fpu/s_logbf.c via #include.
28431         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28432         powerpc32/power7/fpu/s_logbl.c via #include.
28434 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28436         * README.libm: Remove file.
28438 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28440         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28441         count for x32.  Use R*_LP and omit operand-size suffix.
28443 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28445         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28446         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28447         * sysdeps/x86_64/x32/shlib-versions: New file.
28449 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28451         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28452         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28453         Use _dl_fatal_printf instead.
28455 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28457         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28458         set if not set by the user.  Do not allow for being unset.
28459         * sysdeps/unix/sysv/linux/configure: Regenerated.
28461 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28463         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28464         the `q' suffix from lea and replace .quad with ASM_ADDR.
28466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28469         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
28470         instead of $17.
28471         (PTR_DEMANGLE): Likewise.
28473 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28475         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28476         (LP_OP): Likewise.
28477         (ASM_ADDR): Likewise.
28478         (RAX_LP): Likewise.
28479         (RBP_LP): Likewise.
28480         (RBX_LP): Likewise.
28481         (RCX_LP): Likewise.
28482         (RDI_LP): Likewise.
28483         (RSI_LP): Likewise.
28484         (RSP_LP): Likewise.
28485         (R8_LP): Likewise.
28486         (R9_LP): Likewise.
28487         (R10_LP): Likewise.
28488         (R10_LP): Likewise.
28489         (R11_LP): Likewise.
28490         (R12_LP): Likewise.
28491         (R13_LP): Likewise.
28492         (R14_LP): Likewise.
28493         (R15_LP): Likewise.
28495 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28497         * sysdeps/x86_64/x32/dl-machine.h: New file.
28499 2012-05-14  Andreas Jaeger  <aj@suse.de>
28501         * manual/Makefile (subdir): Remove export of subdir.
28502         (all): Remove target.
28503         (.PHONY): Remove all from list.
28504         (mkinstalldirs): Remove.
28505         (.PHONY): Remove installdirs from list.
28506         ($(inst_infodir)/libc.info): Use make-target-directory.
28507         (installdirs): Remove.
28508         (subdir_%): Remove.
28509         (glibc-targets): Remove.
28510         (lib): Remove.
28511         (stubs): Remove.
28512         ($(objpfx)stubs ../po/manual.pot): Remove.
28513         ($(objpfx)stamp%): Remove.
28514         (make-target-directory): Remove.
28515         (subdir_install): Remove.
28516         (routines): Remove.
28517         (aux): Remove.
28518         (sources): Remove.
28519         (objects): Remove.
28520         (headers): Remove.
28522         [BZ #13750]
28523         * manual/.gitignore: Remove, it's not needed anymore.
28524         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28525         all files in it.
28526         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28527         directory.
28528         (texis): Renamed to $(objpfx)texis.
28529         (texis-path): New, contains path to generated files.
28530         (chapters.%): Use texis-path for complete path, add extra argument
28531         libc-texinfo.sh.
28532         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28533         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28534         (summary,texi, stamp-summary): Use complete path of
28535         files. Generate files in build dir.
28536         (dir-add.texi): Build in build dir.
28537         (libm-err.texi,stamp-libm-err): Likewise.
28538         (version.texi, stamp-version): Likewise.
28539         (.%c.texi): Likewise.
28540         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28541         (mostlyclean): Remove target.
28542         (realclean): Remove target.
28543         (generated): Add new variable with contents from mostlyclean and
28544         realclean, remove entries duplicated in common-mostlyclean, add
28545         stamp-libm-err and stamp-version.
28546         (generated-dirs): Add libc directory.
28547         ($(inst_infodir)/libc.info): Install files from build dir.
28549         * manual/install.texi (Configuring and compiling): Adjust since
28550         the info files are not part of the tar ball anymore.
28552 2012-05-14  Andreas Jaeger  <aj@suse.de>
28554         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28555         variable.
28557 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28559         [BZ #13717]
28560         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28561         to 2.2.0 where earlier.
28562         * sysdeps/unix/sysv/linux/configure: Regenerated.
28563         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28564         Remove conditional code.
28565         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28566         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28567         Remove conditional code.
28568         [!__NR_lchown]: Likewise.
28569         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28570         [__NR_lchown]: Likewise.
28571         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28572         comment referencing __ASSUME_LCHOWN_SYSCALL.
28573         * sysdeps/unix/sysv/linux/i386/sigaction.c
28574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28576         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28577         Remove conditional code.
28578         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28579         (__protocol_available): Remove #if 0 code.
28580         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28581         conditional code.
28582         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28583         * sysdeps/unix/sysv/linux/kernel-features.h
28584         (__ASSUME_GETCWD_SYSCALL): Don't define.
28585         (__ASSUME_REALTIME_SIGNALS): Likewise.
28586         (__ASSUME_PREAD_SYSCALL): Likewise.
28587         (__ASSUME_PWRITE_SYSCALL): Likewise.
28588         (__ASSUME_POLL_SYSCALL): Likewise.
28589         (__ASSUME_LCHOWN_SYSCALL): Likewise.
28590         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28591         non-SPARC.
28592         (__ASSUME_SIOCGIFNAME): Don't define.
28593         (__ASSUME_MSG_NOSIGNAL): Likewise.
28594         (__ASSUME_SENDFILE): Define unconditionally.
28595         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28596         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28597         conditional code.
28598         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28599         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28600         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28601         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28602         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28603         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28604         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28606         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28607         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28609         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28612         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28613         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28615         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28618         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28619         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28621         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28624         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28625         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28627         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28629         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28630         Remove conditional code.
28631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28632         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28633         Remove conditional code.
28634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28635         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28636         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28637         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28638         Remove conditional code.
28639         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28640         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28641         Remove conditional code.
28642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28643         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28644         Remove conditional code.
28645         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28646         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28647         Remove conditional code.
28648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28649         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28650         Remove conditional code.
28651         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28652         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28653         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28655         * sysdeps/unix/sysv/linux/sigaction.c
28656         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28657         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28658         * sysdeps/unix/sysv/linux/sigpending.c
28659         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28660         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28661         * sysdeps/unix/sysv/linux/sigprocmask.c
28662         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28663         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28664         * sysdeps/unix/sysv/linux/sigsuspend.c
28665         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28666         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28667         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28668         (__libc_missing_rt_sigs): Remove.
28669         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28670         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28671         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28672         Remove conditional code.
28673         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28674         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28675         return 1.
28676         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28677         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28678         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28679         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28681 2012-05-14  Andreas Jaeger  <aj@suse.de>
28683         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28684         it's not used in glibc.
28685         (__coshm1): Likewise.
28686         (__acosh1p): Likewise.
28687         (__sgn): Likewise.
28689         * manual/string.texi (Copying and Concatenation): Add missing
28690         variable in concat example.
28691         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28693 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28695         [BZ #14103]
28696         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28697         __builtin_clzl with __builtin_clzll.
28699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28701         [BZ #14104]
28702         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28703         libc_freeres_ptr.
28705 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28707         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28708         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28709         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28710         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28712 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28714         * NEWS: Update ia64 info.
28716 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28718         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28719         used as bcopy.
28721 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28723         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28724         * sysdeps/unix/syscalls.list (dup3): Likewise.
28725         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28726         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28728 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28730         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28731         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28733 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28735         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28736         thread pointer.
28737         (TLS_IE): Use mov/add instead of movq/addq to load thread
28738         pointer.
28739         (TLS_GD_PREFIX): New.
28740         (TLS_GD): Use it.
28742 2012-05-11  David S. Miller  <davem@davemloft.net>
28744         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28745         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28746         (_FPU_SETCW): Likewise.
28748 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28750         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28751         is 32-byte aligned.
28753 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28755         [BZ #11837]
28756         * iconvdata/gb18030.c: Update tables.
28757         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28758         characters specially.
28759         (BODY for TO_LOOP): Add encoding of missing ranges.
28761 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28763         [BZ #13673]
28764         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28765         * sysdeps/mach/hurd/dup3.c: Likewise.
28766         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28767         * sysdeps/powerpc/memmove.c:: Likewise.
28769 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28771         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28772         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28774 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28776         * elf/elf.h (R_X86_64_RELATIVE64): New.
28777         (R_X86_64_NUM): Updated.
28778         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28779         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28780         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28781         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28782         tst-quad1pie tst-quad2pie
28783         (modules-names): Add tst-quadmod1 tst-quadmod2.
28784         ($(objpfx)tst-quad1): New dependency.
28785         ($(objpfx)tst-quad2): Likewise.
28786         ($(objpfx)tst-quad1pie): Likewise.
28787         ($(objpfx)tst-quad2pie): Likewise.
28788         * sysdeps/x86_64/tst-quad1.c: New file.
28789         * sysdeps/x86_64/tst-quad1pie.c: New file.
28790         * sysdeps/x86_64/tst-quad2.c: Likewise.
28791         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28792         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28793         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28794         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28795         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28799         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28800         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28801         * streams/stropts.h (t_scalar_t): Define type.
28803         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28804         (_PATH_PRESERVE): Set to "/var/lib".
28805         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28807         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28808         instead of int.
28810         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28811         if __dir_mkfile succeeded.
28813         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28814         checking for _hurd_dtablesize.  Unlock it right after having
28815         finished _hurd_dtable allocation.
28817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28819         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28820         * sysdeps/mach/hurd/configure: Regenerated.
28821         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28822         special-casing to...
28823         * sysdeps/gnu/configure.in: ... this new file.
28824         * sysdeps/unix/sysv/linux/configure: Regenerated.
28825         * sysdeps/gnu/configure: New generated file.
28827         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28828         for Linux: use nsec instead of usec, as well as:
28829         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28830         members of type struct timespec.
28831         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28832         New macros.
28833         (struct stat64): Likewise.
28834         (_STATBUF_ST_NSEC): New macro.
28835         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28837         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28838         __strtoul_internal rather than strtoul.
28840 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28842         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28843         and reject them.
28845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28847         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28848         which preserves existing values.
28849         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28851 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28853         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28854         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28855         greater than FD_SETSIZE.
28857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28859         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28860         allocated, call __vm_protect to finish enabling the existing space, and
28861         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28862         allocate the remainder.
28864 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28866         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28867         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28871         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28872         sysdeps/mach/hurd/readlink.c.
28874         * posix/tst-sysconf.c (posix_options): Only use
28875         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28876         _POSIX_SYNCHRONIZED_IO when they are defined
28877         * sysdeps/mach/hurd/bits/posix_opt.h:
28878         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28879         (_XOPEN_REALTIME): Undefine macro.
28880         (_XOPEN_REALTIME_THREADS): Undefine macro.
28881         (_XOPEN_SHM): Undefine macro.
28882         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28883         macro to -1.
28884         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28885         macro to -1.
28886         (_POSIX_ASYNC_IO): Undefine macro.
28887         (_POSIX_PRIORITIZED_IO): Undefine macro.
28888         (_POSIX_SPIN_LOCKS): Define macro to -1.
28890         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28891         SA_NODEFER, SA_RESETHAND.
28892         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28893         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28894         F_DUPFD_CLOEXEC.
28896 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28898         * elf/Makefile (pldd-modules): Define unconditionally.
28900 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28902         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28904 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28906         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28907         Return ENOENT when name is empty.
28908         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28912         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28914         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28918         Fix mlock in all cases except non-readable pages.
28919         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28920         instead of VM_PROT_ALL as parameter to __vm_wire function.
28922         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28923         (__mkdir): When path is `/', just fail with EEXIST.
28924         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28926 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28928         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28929         <sys/uio.h> (for writev).
28930         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28931         and <sys/param.h> (for MIN).
28933 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28935         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28936         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28937         if interrupted.
28939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28941         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28942         Depend on against $(link-rpcuserlibs).
28944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28946         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28947         (__libc_stack_end): Do not use attribute_relro.
28948         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28949         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28950         to libthread-provided value.
28951         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28952         attribute_relro.
28954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28956         [BZ #3748]
28957         * bits/libc-lock.h (__libc_once_get): New macro.
28958         * sysdeps/mach/bits/libc-lock.h: Likewise.
28959         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28960         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28961         instead of using implementation details.
28963         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28964         * libio/freopen.c: Likewise.
28965         * libio/freopen64.c: Likewise.
28966         * misc/syslog.c: Likewise.
28967         * nscd/connections.c: Likewise.
28968         * nscd/netgroupcache.c: Likewise.
28969         * sysdeps/posix/getcwd.c: Likewise.
28971 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28973         * math/w_ilogbf.c: Add #include <limits.h>.
28975 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28977         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28978         path instead of returning without unlocking.
28980         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28981         immediate-write ioctls.
28982         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28984 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28986         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28987         __builtin_frame_address instead of making assumptions about the
28988         location of the return address relative to DATA.  Force early load of
28989         the return address.
28990         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28991         __builtin_frame_address.
28993         dup3 for GNU Hurd.
28994         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28995         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28996         implement dup3 and do some further code clean-ups.
28997         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28998         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29002         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29004         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29005         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29006         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29007         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29008         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29009         d->port.lock.
29011         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29012         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29013         when handler == SIG_ERR, not when handler != SIG_ERR.
29015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29017         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29018         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29019         definitions.
29021         accept4 for GNU Hurd.
29022         * include/sys/socket.h (__libc_accept4): New prototype.
29023         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29024         to implement __libc_accept4.
29025         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29026         __libc_accept4.
29027         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29029         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29030         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29031         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29032         signal-defines.sym.
29034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29036         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29040         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29041         assertion on O_CLOEXEC flag.
29042         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29043         * hurd/intern-fd.c: Likewise.
29044         * hurd/port2fd.c: Likewise.
29046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29048         [BZ #3906]
29049         * bits/in.h (IPV6_PKTINFO): Define new macro.
29050         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29052 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29054         [BZ #13954]
29055         [BZ #13955]
29056         [BZ #13956]
29057         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29058         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29059         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29060         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29061         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29062         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29063         * math/libm-test.inc (logb_test) : Additional logb tests.
29065 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29066             Andreas Jaeger  <aj@suse.de>
29068         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29069         * configure: Regenerated.
29070         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29071         * config.make.in (link-obsolete-rpc): New substituted variable.
29072         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29073         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29074         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29075         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29076         so that libc.a contains the symbols.
29077         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29078         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29079         * sunrpc/auth_none.c: Likewise.
29080         * sunrpc/auth_unix.c: Likewise.
29081         * sunrpc/authdes_prot.c: Likewise.
29082         * sunrpc/authuxprot.c: Likewise.
29083         * sunrpc/clnt_gen.c: Likewise.
29084         * sunrpc/clnt_perr.c: Likewise.
29085         * sunrpc/clnt_raw.c: Likewise.
29086         * sunrpc/clnt_simp.c: Likewise.
29087         * sunrpc/clnt_tcp.c: Likewise.
29088         * sunrpc/clnt_udp.c: Likewise.
29089         * sunrpc/clnt_unix.c: Likewise.
29090         * sunrpc/des_crypt.c: Likewise.
29091         * sunrpc/des_soft.c: Likewise.
29092         * sunrpc/get_myaddr.c: Likewise.
29093         * sunrpc/key_call.c: Likewise.
29094         * sunrpc/key_prot.c: Likewise.
29095         * sunrpc/netname.c: Likewise.
29096         * sunrpc/pm_getmaps.c: Likewise.
29097         * sunrpc/pm_getport.c: Likewise.
29098         * sunrpc/pmap_clnt.c: Likewise.
29099         * sunrpc/pmap_prot.c: Likewise.
29100         * sunrpc/pmap_prot2.c: Likewise.
29101         * sunrpc/pmap_rmt.c: Likewise.
29102         * sunrpc/publickey.c: Likewise.
29103         * sunrpc/rpc_cmsg.c: Likewise.
29104         * sunrpc/rpc_common.c: Likewise.
29105         * sunrpc/rpc_dtable.c: Likewise.
29106         * sunrpc/rpc_prot.c: Likewise.
29107         * sunrpc/rpc_thread.c: Likewise.
29108         * sunrpc/rtime.c: Likewise.
29109         * sunrpc/svc.c: Likewise.
29110         * sunrpc/svc_auth.c: Likewise.
29111         * sunrpc/svc_raw.c: Likewise.
29112         * sunrpc/svc_run.c: Likewise.
29113         * sunrpc/svc_tcp.c: Likewise.
29114         * sunrpc/svc_udp.c: Likewise.
29115         * sunrpc/svc_unix.c: Likewise.
29116         * sunrpc/svcauth_des.c: Likewise.
29117         * sunrpc/xcrypt.c: Likewise.
29118         * sunrpc/xdr.c: Likewise.
29119         * sunrpc/xdr_array.c: Likewise.
29120         * sunrpc/xdr_float.c: Likewise.
29121         * sunrpc/xdr_intXX_t.c: Likewise.
29122         * sunrpc/xdr_mem.c: Likewise.
29123         * sunrpc/xdr_rec.c: Likewise.
29124         * sunrpc/xdr_ref.c: Likewise.
29125         * sunrpc/xdr_sizeof.c: Likewise.
29126         * sunrpc/xdr_stdio.c: Likewise.
29128 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29130         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29131         change.  Update copyright years.
29133 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29135         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29137 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29138             Joseph Myers  <joseph@codesourcery.com>
29139             Paul Pluzhnikov  <ppluzhnikov@google.com>
29141         [BZ #14012]
29142         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29143         requiring rpcgen.
29144         [cross-compiling] (extra-libs): Likewise.
29145         [cross-compiling] (extra-libs-others): Likewise.
29146         [cross-compiling] (librpcsvc-routines): Likewise.
29147         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29148         [cross-compiling] (omit-deps): Likewise.
29149         (sunrpc-CPPFLAGS): New variable.
29150         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29151         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29152         (cross-rpcgen-objs): New variable.
29153         (extra-objs): Append $(cross-rpcgen-objs).
29154         ($(cross-rpcgen-objs)): New rule.
29155         ($(objpfx)cross-rpcgen): Likewise.
29156         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29157         comment.
29158         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29159         ($(objpfx)x%.stmp): Likewise.
29160         * sunrpc/proto.h [IS_IN_build] (_): Define.
29161         [IS_IN_build] (_libc_intl_domainname): Likewise.
29163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29165         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29166         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29167         and R_X86_64_TPOFF64.
29169 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29171         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29172         sysdeps/unix/sysv/syscalls.list.
29173         (stime): Likewise.
29174         (utime): Likewise.
29175         * sysdeps/unix/sysv/syscalls.list: Remove file.
29177 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29179         [BZ #3440]
29180         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29181         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29182         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29183         (__LC_IDENTIFICATION): Make these macros useful in #if
29184         expressions, as required by C99.
29186 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29188         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29189         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29190         after this.
29192 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29194         * stdlib/longlong.h: Updated from GCC.
29196 2012-05-09  Andreas Jaeger  <aj@suse.de>
29198         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29199         default is first entry.
29200         (run_mode): Set type.
29201         (main): Remove informal message about syslog.
29202         (options): Fix typo.
29204         [BZ #14053]
29205         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29206         to asm.
29207         (lrint): Likewise.
29208         (llrintf): Likewise.
29209         (llrint): Likewise.
29210         (rint): Likewise.
29211         (rintf): Likewise.
29212         (nearbyint): Likewise.
29213         (nearbyintf): Likewise.
29215 2012-05-09  Andreas Jaeger  <aj@suse.de>
29216             Pedro Alves  <palves@redhat.com>
29218         * nscd/nscd.c (run_mode): Use enum.
29219         (main): Cleanup coding style issue.
29221 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29222             Andreas Jaeger  <aj@suse.de>
29224         * nscd/nscd.c (go_background): Replaced with...
29225         (run_mode): ... this.
29226         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29227         (options): Add -F --foreground.
29228         (main): Implement it.
29229         (parse_opt): Parse it.
29231 2012-05-09  Andreas Jaeger  <aj@suse.de>
29233         [BZ #14083]
29234         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29235         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29236         -Wconversion warning.
29237         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29238         Likewise.
29240 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29242         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29243         == 0.
29244         (LC_ALL): Use macro-int-constant.
29245         (LC_COLLATE): Likewise.
29246         (LC_CTYPE): Likewise.
29247         (LC_MESSAGES): Likewise.
29248         (LC_MONETARY): Likewise.
29249         (LC_NUMERIC): Likewise.
29250         (LC_TIME): Likewise.
29251         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29252         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29253         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29254         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29255         Specify type.
29256         [C99-based standards] (float_t): Expect type.
29257         [C99-based standards] (double_t): Expect type.
29258         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29259         type.
29260         [C99-based standards] (HUGE_VALL): Likewise.
29261         [C99-based standards] (INFINITY): Likewise.
29262         [C99-based standards] (NAN): Likewise.
29263         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29264         [C99-based standards] (FP_NAN): Likewise.
29265         [C99-based standards] (FP_NORMAL): Likewise.
29266         [C99-based standards] (FP_SUBNORMAL): Likewise.
29267         [C99-based standards] (FP_ZERO): Likewise.
29268         [C99-based standards] (FP_FAST_FMA): Use
29269         optional-macro-int-constant.  Specify type.  Require == 1.
29270         [C99-based standards] (FP_FAST_FMAF): Likewise.
29271         [C99-based standards] (FP_FAST_FMAL): Likewise.
29272         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29273         [C99-based standards] (FP_ILOGBNAN): Likewise.
29274         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29275         Specify type.
29276         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29277         [C99-based standards] (math_errhandling): Specify type.
29278         [ISO99 || ISO11] (signgam): Do not allow.
29279         [non-C99-based standards] (copysignf): Do not allow.
29280         [non-C99-based standards] (exp2f): Likewise.
29281         [non-C99-based standards] (log2f): Likewise.
29282         [non-C99-based standards] (modff): Allow.
29283         [non-C99-based standards] (erff): Do not allow.
29284         [non-C99-based standards] (erfcf): Likewise.
29285         [non-C99-based standards] (gammaf): Likewise.
29286         [non-C99-based standards] (hypotf): Likewise.
29287         [non-C99-based standards] (j0f): Likewise.
29288         [non-C99-based standards] (j1f): Likewise.
29289         [non-C99-based standards] (jnf): Likewise.
29290         [non-C99-based standards] (lgammaf): Likewise.
29291         [non-C99-based standards] (tgammaf): Likewise.
29292         [non-C99-based standards] (y0f): Likewise.
29293         [non-C99-based standards] (y1f): Likewise.
29294         [non-C99-based standards] (ynf): Likewise.
29295         [non-C99-based standards] (isnanf): Likewise.
29296         [non-C99-based standards] (acoshf): Likewise.
29297         [non-C99-based standards] (asinhf): Likewise.
29298         [non-C99-based standards] (atanhf): Likewise.
29299         [non-C99-based standards] (cbrtf): Likewise.
29300         [non-C99-based standards] (expm1f): Likewise.
29301         [non-C99-based standards] (ilogbf): Likewise.
29302         [non-C99-based standards] (log1pf): Likewise.
29303         [non-C99-based standards] (logbf): Likewise.
29304         [non-C99-based standards] (nextafterf): Likewise.
29305         [non-C99-based standards] (remainderf): Likewise.
29306         [non-C99-based standards] (rintf): Likewise.
29307         [non-C99-based standards] (scalbf): Likewise.
29308         [non-C99-based standards] (copysignl): Likewise.
29309         [non-C99-based standards] (exp2l): Likewise.
29310         [non-C99-based standards] (log2l): Likewise.
29311         [non-C99-based standards] (modfl): Allow.
29312         [non-C99-based standards] (erfl): Do not allow.
29313         [non-C99-based standards] (erfcl): Likewise.
29314         [non-C99-based standards] (gammal): Likewise.
29315         [non-C99-based standards] (hypotl): Likewise.
29316         [non-C99-based standards] (j0l): Likewise.
29317         [non-C99-based standards] (j1l): Likewise.
29318         [non-C99-based standards] (jnl): Likewise.
29319         [non-C99-based standards] (lgammal): Likewise.
29320         [non-C99-based standards] (tgammal): Likewise.
29321         [non-C99-based standards] (y0l): Likewise.
29322         [non-C99-based standards] (y1l): Likewise.
29323         [non-C99-based standards] (ynl): Likewise.
29324         [non-C99-based standards] (isnanl): Likewise.
29325         [non-C99-based standards] (acoshl): Likewise.
29326         [non-C99-based standards] (asinhl): Likewise.
29327         [non-C99-based standards] (atanhl): Likewise.
29328         [non-C99-based standards] (cbrtl): Likewise.
29329         [non-C99-based standards] (expm1l): Likewise.
29330         [non-C99-based standards] (ilogbl): Likewise.
29331         [non-C99-based standards] (log1pl): Likewise.
29332         [non-C99-based standards] (logbl): Likewise.
29333         [non-C99-based standards] (nextafterl): Likewise.
29334         [non-C99-based standards] (remainderl): Likewise.
29335         [non-C99-based standards] (rintl): Likewise.
29336         [non-C99-based standards] (scalbl): Likewise.
29337         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29338         [non-C99-based standards] (FP_*): Do not allow.
29339         [C99-based standards] (FP_*): Change to
29340         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29341         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29342         allow.
29343         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29344         (SIG_ERR): Likewise.
29345         [X/Open-based standards] (SIG_HOLD): Likewise.
29346         (SIG_IGN): Likewise.
29347         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29348         positive value.
29349         (SIGFPE): Likewise.
29350         (SIGILL): Likewise.
29351         (SIGINT): Likewise.
29352         (SIGSEGV): Likewise.
29353         (SIGTER): Likewise.
29354         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29355         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29356         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29357         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29358         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29359         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29360         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29361         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29362         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29363         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29364         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29365         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29366         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29367         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29368         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29369         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29370         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29371         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29372         [X/Open-based standards] (SIGTRAP): Likewise.
29373         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29374         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29375         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29376         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29377         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29378         allow.
29380 2012-05-08  Ian Wienand  <ianw@vmware.com>
29382         [BZ #14080]
29383         * time/tzset.c (__tzset_parse_tz): Update default rules for
29384         daylight time changes in the Energy Policy Act of 2005.
29386 2012-05-09  Andreas Jaeger  <aj@suse.de>
29388         [BZ #13983]
29389         * elf/ldconfig.c (parse_conf): Change string to make clear that
29390         ldconfig only issued a warning if ld.so.conf does not exist.
29392 2012-05-08  David S. Miller  <davem@davemloft.net>
29394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29395         movxtod instead of popping the value on the stack.
29397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29399 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29401         * config.h.in: Add HAVE_ARM_PCS_VFP.
29403 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29405         [BZ #13979]
29406         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29407         checking but the checks are disabled for any reason.
29409 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29411         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29412         and ELF64_R_TYPE with ELFW(R_TYPE).
29414 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29416         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29417         (ulimit): Likewise.
29419         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29420         (settimeofday): Likewise.
29422 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29424         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29425         a struct th_u2 inside the union, and move tu_block/tu_code into
29426         a new th_u3 union of tu_block/tu_code inside of that.  Move
29427         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29428         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29429         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29430         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29431         (th_stuff): Change to th_u1.tu_stuff.
29432         (th_data): Define.
29433         (th_msg): Change to th_u1.th_u2.tu_data.
29435 2012-05-07  David S. Miller  <davem@davemloft.net>
29437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29439         [BZ #14074]
29440         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29441         (SETUP_PIC_REG): Use it.
29442         (SETUP_PIC_REG_LEAF): Use it.
29444 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29446         [BZ #13885]
29447         [BZ #13923]
29448         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29449         USE_AS_EXPM1L.
29450         (EXPL_FINITE): Likewise.
29451         (FLDLOG): Likewise.
29452         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29453         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29454         e_expl.S.
29455         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29456         USE_AS_EXPM1L.
29457         (EXPL_FINITE): Likewise.
29458         (FLDLOG): Likewise.
29459         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29460         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29461         e_expl.S.
29462         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
29463         test of -max_value argument for long double.
29464         * sysdeps/i386/fpu/libm-test-ulps: Update.
29465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29467 2012-05-06  David S. Miller  <davem@davemloft.net>
29469         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29470         quad soft-float symbols whose references which are compiler
29471         generated.
29472         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29474 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
29476         [BZ #13884]
29477         [BZ #13914]
29478         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29479         USE_AS_EXP10L.
29480         (EXPL_FINITE): Likewise.
29481         (FLDLOG): Likewise.
29482         (c0): Likewise.
29483         (c1): Likewise.
29484         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29485         Adjust comments for base varying.
29486         (__expl_finite): Change alias to EXPL_FINITE.
29487         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29488         e_expl.S.
29489         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29490         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29491         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29492         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29493         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29494         USE_AS_EXP10L.
29495         (EXPL_FINITE): Likewise.
29496         (FLDLOG): Likewise.
29497         (c0): Likewise.
29498         (c1): Likewise.
29499         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29500         Adjust comments for base varying.
29501         (__expl_finite): Change alias to EXPL_FINITE.
29502         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
29503         tests for bugs.
29504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29506         [BZ #14064]
29507         * math/libm-test.inc (check_float_internal): Correct ulp
29508         calculation for subnormal expected results.
29510 2012-05-06  Andreas Jaeger  <aj@suse.de>
29512         * Makeconfig (+math-flags): New, set to -frounding-math.
29513         (+cflags): Add +math-flags so that all of glibc gets compiled with
29514         it.
29516         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29518 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
29520         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29521         Disable one test.
29523         [BZ #13787]
29524         [BZ #13922]
29525         [BZ #14036]
29526         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29527         (__ieee754_expl): Allow for and saturate large arguments.
29528         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29529         (u_threshold): Likewise.
29530         (__exp): Call __ieee754_exp before checking for overflow and
29531         underflow.
29532         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29533         (u_threshold): Likewise.
29534         (__expf): Call __ieee754_expf before checking for overflow and
29535         underflow.
29536         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29537         (u_threshold): Likewise.
29538         (__expl): Call __ieee754_expl before checking for overflow and
29539         underflow.
29540         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29541         (__ieee754_expl): Allow for and saturate large arguments.
29542         * math/libm-test.inc (exp_test): Add another test.  Do not allow
29543         missing overflow exception on overflow.
29544         (expm1_test): Do not allow missing overflow exception on overflow.
29546         * sysdeps/i386/fpu/e_expl.c: Move to ...
29547         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
29548         rather than using inline asm.
29549         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29550         * sysdeps/x86_64/fpu/e_expl.S: Copy from
29551         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29553         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29554         (nice): Likewise.
29555         (poll): Likewise.
29556         (signal): Likewise.
29557         (time): Likewise.
29558         (times): Likewise.
29560 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29562         * sysdeps/unix/syscalls.list (adjtime): Add entry from
29563         sysdeps/unix/common/syscalls.list.
29564         (fchmod): Likewise.
29565         (fchown): Likewise.
29566         (ftruncate): Likewise.
29567         (getrusage): Likewise.
29568         (gettimeofday): Likewise.
29569         (setpgid): Likewise.
29570         (setregid): Likewise.
29571         (setreuid): Likewise.
29572         (sigaction): Likewise.
29573         (truncate): Likewise.
29574         (vhangup): Likewise.
29575         * sysdeps/unix/common/syscalls.list: Remove file.
29576         * sysdeps/unix/bsd/Implies: Don't include unix/common.
29577         * sysdeps/unix/sysv/linux/Implies: Likewise.
29579 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
29581         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29583         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29584         Moved to ...
29585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29586         Here.
29587         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29588         to ...
29589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29590         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29591         to ...
29592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29593         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29594         to ...
29595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29596         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29597         to ...
29598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29599         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29600         to ...
29601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29602         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29603         to ...
29604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29605         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29606         to ...
29607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29608         Here.
29609         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29610         to ...
29611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29612         Here.
29613         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29614         to ...
29615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29616         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29617         Moved to ...
29618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29619         Here.
29620         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29621         to ...
29622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29624 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29626         * sysdeps/unix/common/bits/dirent.h: Remove file.
29627         * sysdeps/unix/common/bits/fcntl.h: Likewise.
29629         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29630         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29631         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29632         * sysdeps/unix/bsd/isatty.c: Likewise.
29633         * sysdeps/unix/bsd/tcdrain.c: Likewise.
29634         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29635         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29637 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29639         [BZ #13563]
29640         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29641         long double comparison inaccuracies.
29642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29645 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29647         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29648         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29650 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29652         [BZ #14049]
29653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29654         nonzero digits before rounding a hex value.
29655         * stdlib/tst-strtod.c (tests): Add another test.
29657 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29659         * sysdeps/s390/fpu/libm-test-ulps: Update.
29661 2012-05-03  Andreas Jaeger  <aj@suse.de>
29663         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29664         does not get optimized out.
29665         (malloc_opt_barrier): New.
29667 2012-05-03  Andreas Jaeger  <aj@suse.de>
29668             Roland McGrath  <roland@hack.frob.com>
29670         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29671         intermediate file deletion.
29672         (generated): Add .symlist files.
29674 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29676         [BZ #13775]
29677         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29678         Redirect under this condition.
29679         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29680         [__USE_GNU] (__dprintf_chk): Not under this condition.
29681         [__USE_GNU] (__vdprintf_chk): Likewise.
29682         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29683         under this condition.
29684         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29685         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29686         [__USE_XOPEN2K8] (vdprintf): Likewise.
29687         [__USE_GNU] (__dprintf_chk): Not under this condition.
29688         [__USE_GNU] (__vdprintf_chk): Likewise.
29689         [__USE_GNU] (dprintf): Likewise.
29690         [__USE_GNU] (vdprintf): Likewise.
29692 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29694         * elf/Makefile (common-generated): Set this instead of generated for
29695         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29696         $(all-built-dso)-derived lists.
29698 2012-05-03  Andreas Jaeger  <aj@suse.de>
29700         * sysdeps/i386/fpu/libm-test-ulps: Update.
29702         * FAQ: Removed.
29703         * FAQ.in: Likewise.
29704         * scripts/gen-FAQ.pl: Likewise.
29705         * manual/install.texi (Installation): Point to online location of
29706         FAQ.
29707         * Makefile (files-for-dist): Remove FAQ.
29708         (FAQ): Remove.
29710 2012-05-02  Allan McRae  <allan@archlinux.org>
29712         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29713         (LDFLAGS-reldepmod5.so): Likewise.
29714         (LDFLAGS-reldep6mod1.so): Likewise.
29715         (LDFLAGS-reldep6mod4.so): Likewise.
29716         (LDFLAGS-reldep8mod3.so): Likewise.
29717         (LDFLAGS-unload4mod1.so): Likewise.
29718         (LDFLAGS-unload4mod2.so): Likewise.
29719         (LDFLAGS-tst-initorder): Likewise.
29720         (LDFLAGS-tst-initordera2.so): Likewise.
29721         (LDFLAGS-tst-initordera3.so): Likewise.
29722         (LDFLAGS-tst-initordera4.so): Likewise.
29723         (LDFLAGS-tst-initorderb2.so): Likewise.
29724         (LDFLAGS-noload): Likewise.
29725         (LDFLAGS-next): Likewise.
29726         (LDFLAGS-order2mod1.so): Likewise.
29727         (LDFLAGS-order2mod2.so): Likewise.
29728         (LDFLAGS-tst-initorder2): Likewise.
29729         (LDFLAGS-tst-initorder2a.so): Likewise.
29730         (LDFLAGS-tst-initorder2b.so): Likewise.
29731         (LDFLAGS-tst-initorder2c.so): Likewise.
29732         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29734 2012-05-02  David S. Miller  <davem@davemloft.net>
29736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29738 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29740         [BZ #14055]
29741         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29743 2012-05-02  Andreas Jaeger  <aj@suse.de>
29745         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29746         since we manipulate rounding mode.
29747         (CPPFLAGS-test-idouble.c): Likewise.
29748         (CPPFLAGS-test-ifloat.c): Likewise.
29749         (CFLAGS-test-ldouble.c): Likewise.
29750         (CFLAGS-test-double.c): Likewise.
29751         (CFLAGS-test-float.c): Likewise.
29752         (CFLAGS-test-misc.c): Likewise.
29753         (CFLAGS-test-test-fenv.c): Likewise.
29755 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29757         [BZ #2550]
29758         [BZ #2570]
29759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29760         comparisons to determine direction to adjust input.
29762 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29764         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29765         output to the target.
29767         * scripts/localplt.awk: New file.
29768         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29769         (check-localplt-CFLAGS): Variable removed.
29770         ($(all-built-dso:=.jmprel)): New static pattern rule.
29771         (generated): Add those targets.
29772         (localplt-built-dso): New variable.
29773         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29775         * elf/check-localplt.c: File removed.
29777         * scripts/check-execstack.awk: New file.
29778         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29779         (check-execstack-CFLAGS): Variable removed.
29780         ($(objpfx)check-execstack.h): Target removed.
29781         ($(objpfx)execstack-default): New target.
29782         (generated): Add that instead of check-execstack.h.
29783         ($(all-built-dso:=.phdr)): New static pattern rule.
29784         (generated): Add those targets.
29785         * elf/check-execstack.c: File removed.
29787         * scripts/check-textrel.awk: New file.
29788         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29789         (check-textrel-CFLAGS): Variable removed.
29790         (all-built-dso): Use := to define.o
29791         ($(all-built-dso:=.dyn)): New static pattern rule.
29792         (generated): Add those targets.
29793         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29794         * config.make.in (READELF): New substituted variable.
29795         * elf/check-textrel.c: File removed.
29797 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29799         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29800         allow.
29801         * conform/data/ctype.h-data [C99-based standards] (isblank):
29802         Expect function.
29803         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29804         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29805         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29806         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29807         Specify type.  Require positive value.
29808         (EILSEQ): Likewise.
29809         (ERANGE): Likewise.
29810         [ISO || POSIX] (EILSEQ): Do not expect.
29811         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29812         Specify type.  Require positive value.
29813         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29814         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29815         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29816         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29817         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29818         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29819         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29820         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29821         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29822         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29823         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29824         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29825         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29826         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29827         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29828         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29829         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29830         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29831         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29832         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29833         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29834         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29835         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29836         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29837         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29838         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29839         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29840         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29841         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29842         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29843         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29844         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29845         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29846         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29847         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29848         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29849         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29850         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29851         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29852         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29853         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29854         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29855         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29856         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29857         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29858         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29859         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29860         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29861         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29862         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29863         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29864         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29865         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29866         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29867         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29868         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29869         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29870         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29871         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29872         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29873         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29874         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29875         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29876         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29877         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29878         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29879         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29880         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29881         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29882         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29883         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29884         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29885         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29886         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29887         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29888         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29889         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29890         Require >= 2.
29891         (FLT_ROUNDS): Expect as macro, not constant.
29892         (FLT_MANT_DIG): Use macro-int-constant.
29893         (DBL_MANT_DIG): Likewise.
29894         (LDBL_MANT_DIG): Likewise.
29895         (FLT_DIG): Likewise.
29896         (DBL_DIG): Likewise.
29897         (LDBL_DIG): Likewise.
29898         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29899         (DBL_MIN_EXP): Likewise.
29900         (LDBL_MIN_EXP): Likewise.
29901         (FLT_MAX_EXP): Use macro-int-constant.
29902         (DBL_MAX_EXP): Likewise.
29903         (LDBL_MAX_EXP): Likewise.
29904         (FLT_MAX_10_EXP): Likewise.
29905         (DBL_MAX_10_EXP): Likewise.
29906         (LDBL_MAX_10_EXP): Likewise.
29907         (FLT_MAX): Use macro-constant.
29908         (DBL_MAX): Likewise.
29909         (LDBL_MAX): Likewise.
29910         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29911         (DBL_EPSILON): Likewise.
29912         (LDBL_EPSILON): Likewise.
29913         (FLT_MIN): Likewise.
29914         (DBL_MIN): Likewise.
29915         (LDBL_MIN): Likewise.
29916         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29917         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29918         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29919         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29920         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29921         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29922         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29923         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29924         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29925         [ISO11] (FLT_TRUE_MIN): Likewise.
29926         [ISO11] (LDBL_TRUE_MIN): Likewise.
29927         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29928         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29929         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29930         (SCHAR_MAX): Likewise.
29931         (UCHAR_MAX): Likewise.
29932         (CHAR_MIN): Likewise.
29933         (CHAR_MAX): Likewise.
29934         (MB_LEN_MAX): Use macro-int-constant.
29935         (SHRT_MIN): Use macro-int-constant.  Specify type.
29936         (SHRT_MAX): Likewise.
29937         (USHRT_MAX): Likewise.
29938         (INT_MAX): Likewise.
29939         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29940         bound negative.
29941         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29942         bound with "U".
29943         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29944         bound with "L".
29945         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29946         bound negative.  Suffix upper bound with "L".
29947         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29948         bound with "UL".
29949         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29950         Specify type.
29951         [C99-based standards] (LLONG_MAX): Likewise.
29952         [C99-based standards] (ULLONG_MAX): Likewise.
29953         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29954         == 0.
29955         [ISO11] (max_align_t): Require type.
29956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29958         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29959         from $CFLAGS, without defining away __attribute__ calls.
29960         (checknamespace): Use $CFLAGS_namespace.
29962         * conform/conformtest.pl (@keywords): Only include C99 keywords
29963         for standards based on C99 or C11.
29965         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29966         Disable tests.
29967         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29968         UNIX98]: Likewise.
29970         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29971         usability of symbols in #if.
29973         * conform/conformtest.pl: If macro or constant types start
29974         "promoted:", expect the symbol to be of the following type
29975         promoted by the integer promotions.
29977         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29978         in one place.  Also handle "macro-constant".
29980         * conform/conformtest.pl: Only accept expected macro values with
29981         "==".  Parse all "macro" lines in one place.
29982         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29984         * conform/conformtest.pl: Handle braced types on "constant" lines
29985         instead of handling "typed-constant".
29986         * conform/data/signal.h-data: Use "constant" instead of
29987         "typed-constant".
29989         * conform/conformtest.pl: Handle "optional-" at start of lines in
29990         one place rather than duplicating several cases.  Handle each
29991         format of "macro" line with initial "optional-".
29993         * conform/conformtest.pl: Only accept expected constant or
29994         optional-constant values with "==".  Parse all "constant" lines in
29995         one place.  Parse all "optional-constant" lines in one place.
29996         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29997         * conform/data/fmtmsg.h-data: Likewise.
29998         * conform/data/netinet/in.h-data: Likewise.
29999         * conform/data/tar.h-data: Likewise.
30000         * conform/data/limits.h-data: Use "==" form on "constant" and
30001         "optional-constant" lines.
30003         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30004         Use -std=c99 for XOPEN2K.
30005         (@knownproblems): Remove.
30006         (newtoken): Don't check %isknown.
30008         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30009         Do not expect macro.
30010         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30011         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30012         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30013         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30014         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30015         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30016         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30017         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30018         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30019         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30020         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30021         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30022         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30023         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30024         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30025         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30026         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30027         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30028         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30029         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30030         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30031         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30032         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30033         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30034         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30035         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30036         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30037         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30038         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30039         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30040         [XPG3] (acosh): Likewise.
30041         [XPG3] (asinh): Likewise.
30042         [XPG3] (atanh): Likewise.
30043         [XPG3] (cbrt): Likewise.
30044         [XPG3] (expm1): Likewise.
30045         [XPG3] (ilogb): Likewise.
30046         [XPG3] (log1p): Likewise.
30047         [XPG3] (logb): Likewise.
30048         [XPG3] (nextafter): Likewise.
30049         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30050         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30051         [XPG3] (remainder): Likewise.
30052         [XPG3] (rint): Likewise.
30053         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30054         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30055         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30056         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30057         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30058         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30059         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30060         [UNIX98 || XOPEN2K] (scalb): Expect.
30061         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30062         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30063         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30064         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30065         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30066         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30067         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30068         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30069         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30070         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30071         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30072         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30073         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30074         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30075         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30076         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30077         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30078         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30079         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30080         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30081         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30082         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30083         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30084         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30085         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30086         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30087         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30088         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30089         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30090         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30091         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30092         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30093         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30094         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30095         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30096         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30097         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30098         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30099         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30100         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30101         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30102         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30103         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30104         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30105         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30106         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30107         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30108         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30109         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30110         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30111         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30112         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30113         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30114         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30115         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30116         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30117         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30118         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30119         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30120         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30121         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30122         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30123         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30124         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30125         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30126         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30127         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30128         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30129         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30130         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30131         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30132         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30133         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30134         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30135         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30136         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30137         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30138         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30139         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30140         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30141         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30142         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30143         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30144         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30145         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30146         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30147         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30148         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30149         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30150         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30151         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30152         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30153         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30154         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30155         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30156         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30157         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30158         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30159         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30160         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30161         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30162         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30163         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30164         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30165         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30166         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30167         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30168         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30169         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30170         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30171         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30172         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30173         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30174         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30175         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30176         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30177         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30178         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30179         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30180         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30181         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30182         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30183         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30184         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30185         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30186         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30187         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30188         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30189         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30190         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30191         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30192         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30193         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30194         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30195         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30196         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30197         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30199         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30200         _XOPEN_SOURCE_EXTENDED for XPG4.
30202         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30204         * Makeconfig (localtime): Remove variable.
30205         (inst_localtime-file): Likewise.
30207 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30210         Update.
30211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30212         Update.
30213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30214         Update.
30215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30216         Update.
30217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30218         Update.
30219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30220         Update.
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30222         Update.
30223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30224         Update.
30225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30226         Update.
30228 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30230         [BZ #2550]
30231         [BZ #2570]
30232         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30233         comparisons to determine direction to adjust input.
30234         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30235         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30236         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30237         Likewise.
30238         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30239         Likewise.
30240         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30241         Likewise.
30242         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30243         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30244         Likewise.
30245         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30246         Likewise.
30247         * math/libm-test.inc (nexttoward_test): Add more tests.
30249 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30251         [BZ #14040]
30252         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30253         in version GLIBC_2.1, not GLIBC_2.0.
30254         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30255         Likewise.
30257 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30259         [BZ #13942]
30260         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30261         (1 - x) * (1 + x).
30262         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30263         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30264         * math/libm-test.inc (acos_test): Add more tests.
30265         (asin_test): Likewise.
30266         * sysdeps/i386/fpu/libm-test-ulps: Update.
30267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30269         [BZ #14034]
30270         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30271         of square root.
30272         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30273         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30274         * math/libm-test.inc (acos_test_tonearest): New function.
30275         (acos_test_towardzero): Likewise.
30276         (acos_test_downward): Likewise.
30277         (acos_test_upward): Likewise.
30278         (asin_test_tonearest): Likewise.
30279         (asin_test_towardzero): Likewise.
30280         (asin_test_downward): Likewise.
30281         (asin_test_upward): Likewise.
30282         (main): Call the new functions.
30283         * sysdeps/i386/fpu/libm-test-ulps: Update.
30284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30286         [BZ #13884]
30287         [BZ #13924]
30288         * math/e_exp10.c: Include <float.h>.
30289         (__ieee754_exp10): Handle underflow here rather than multiplying
30290         large negative argument by M_LN10.
30291         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30292         of __ieee754_expf.
30293         * math/e_exp10l.c: Include <float.h>.
30294         (__ieee754_exp10l): Handle underflow here rather than multiplying
30295         large negative argument by M_LN10l.
30296         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30297         spurious overflow exception on underflow.
30299 2012-04-29  Marek Polacek  <polacek@redhat.com>
30301         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30302         (__fortify_function): New macro.
30303         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30304         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30305         __extern_always_inline.
30306         * libio/bits/stdio2.h: Likewise.
30307         * libio/bits/stdio.h: Likewise.
30308         * string/string.h: Likewise.
30309         * string/bits/string3.h: Likewise.
30310         * include/stdio.h: Likewise.
30311         * stdlib/bits/stdlib.h: Likewise.
30312         * stdlib/stdlib.h: Likewise.
30313         * rt/bits/mqueue2.h: Likewise.
30314         * rt/mqueue.h: Likewise.
30315         * posix/bits/unistd.h: Likewise.
30316         * posix/unistd.h: Likewise.
30317         * io/bits/poll2.h: Likewise.
30318         * io/bits/fcntl2.h: Likewise.
30319         * io/fcntl.h: Likewise.
30320         * io/sys/poll.h: Likewise.
30321         * misc/bits/syslog.h: Likewise.
30322         * misc/bits/syslog-ldbl.h: Likewise.
30323         * misc/sys/syslog.h: Likewise.
30324         * socket/bits/socket2.h: Likewise.
30325         * socket/sys/socket.h: Likewise.
30326         * debug/tst-chk1.c: Likewise.
30327         * wcsmbs/bits/wchar2.h: Likewise.
30328         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30329         * wcsmbs/wchar.h: Likewise.
30331 2012-04-29  Andreas Jaeger  <aj@suse.de>
30333         * Makerules (tests): Remove enable-check-abi protection.
30334         (check-abi-warn): Remove.
30335         (check-abi-%): Remove check-abi-warn usage.
30337         * configure.in: Remove check-abi configure option.
30338         * configure: Regenerated.
30339         * config.make.in (enable-check-abi): Remove.
30341 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30343         [BZ #14033]
30344         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30345         double functions to double *_finite functions.
30347         [BZ #13941]
30348         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30349         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30350         LDBL_MIN_EXP.
30351         * stdio-common/Makefile (tests): Add tst-sprintf3.
30352         * stdio-common/tst-sprintf3.c: New file.
30354         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30355         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30357 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30359         * conform/conformtest.pl: Remove duplicate typed-constant
30360         handling.
30362 2012-04-28  David S. Miller  <davem@davemloft.net>
30364         * Makerules (%.abilist): Add vpath on sysdep_dirs.
30365         (check-abi-%): Remove AWK script prerequisite and explicit
30366         abilist directory.
30367         (check-abi): Rewrite to just diff the symlist with the abilist.
30368         (config-tls, config-abi-config): Delete, no longer used.
30369         (update-abi-%): Remove AWK script and explicit abilist directory.
30370         (update-abi): Rewrite to simply compare and conditionally copy the
30371         symlist and the sysdep abilist file.  Remove update-abi-config
30372         checks.
30373         * abilist/ld.abilist: Remove.
30374         * abilist/libBrokenLocale.abilist: Remove.
30375         * abilist/libanl.abilist: Remove.
30376         * abilist/libcrypt.abilist: Remove.
30377         * abilist/libdl.abilist: Remove.
30378         * abilist/librt.abilist: Remove.
30379         * abilist/libthread_db.abilist: Remove.
30380         * abilist/libutil.abilist: Remove.
30381         * scripts/extract-abilist.awk: Remove.
30382         * scripts/merge-abilist.awk: Remove.
30383         * sysdeps/generic/libcidn.abilist: New file.
30384         * sysdeps/generic/libnss_compat.abilist: New file.
30385         * sysdeps/generic/libnss_db.abilist: New file.
30386         * sysdeps/generic/libnss_dns.abilist: New file.
30387         * sysdeps/generic/libnss_files.abilist: New file.
30388         * sysdeps/generic/libnss_hesiod.abilist: New file.
30389         * sysdeps/generic/libnss_nis.abilist: New file.
30390         * sysdeps/generic/libnss_nisplus.abilist: New file.
30391         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30392         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30393         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30394         file.
30395         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30396         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30397         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30398         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30399         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30400         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30401         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30402         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30403         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30404         file.
30405         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30406         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30407         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30408         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30409         file.
30410         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30411         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30412         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30413         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30414         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30415         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30416         file.
30417         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30418         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30419         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30420         file.
30421         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30423         New file.
30424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30425         New file.
30426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30427         New file.
30428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30429         New file.
30430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30431         New file.
30432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30433         New file.
30434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30435         New file.
30436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30437         New file.
30438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30439         New file.
30440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30441         New file.
30442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30443         New file.
30444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30445         New file.
30446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30447         New file.
30448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30449         file.
30450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30451         New file.
30452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30453         New file.
30454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30455         file.
30456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30457         New file.
30458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30459         New file.
30460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30461         file.
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30463         New file.
30464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30465         New file.
30466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30467         New file.
30468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30469         New file.
30470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30471         New file.
30472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30473         New file.
30474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30476         file.
30477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30478         New file.
30479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30480         file.
30481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30482         file.
30483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30484         file.
30485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30486         file.
30487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30488         file.
30489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30490         New file.
30491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30492         file.
30493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30494         file.
30495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30496         New file.
30497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30498         file.
30499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30501         file.
30502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30503         New file.
30504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30505         file.
30506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30507         file.
30508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30509         file.
30510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30511         file.
30512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30513         file.
30514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30515         New file.
30516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30517         file.
30518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30519         file.
30520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30521         New file.
30522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30523         file.
30524         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30525         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30526         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30527         file.
30528         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30529         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30530         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30531         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30532         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30533         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30534         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30535         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30536         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30537         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30540         file.
30541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30542         New file.
30543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30544         file.
30545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30546         file.
30547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30548         file.
30549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30550         file.
30551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30552         file.
30553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30554         New file.
30555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30556         New file.
30557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30558         file.
30559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30560         New file.
30561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30562         file.
30563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30565         file.
30566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30567         New file.
30568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30569         file.
30570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30571         file.
30572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30573         file.
30574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30575         file.
30576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30577         file.
30578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30579         New file.
30580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30581         New file.
30582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30583         file.
30584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30585         New file.
30586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30587         file.
30589 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30591         * conform/conformtest.pl: Fix typo in handling typed-constant from
30592         allow-header.
30594 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30596         * README: Cut down references to pre-2.6 Linux kernels and
30597         Linuxthreads.  Update lists of configurations in libc and ports
30598         and sort alphabetically.  Say "or newer" with Linux kernel version
30599         requirements.
30601         * config.h.in [IS_IN_build]: Allow compiling without optimization.
30603 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30605         [BZ #887]
30606         * math/libm-test.inc (logb_test_downward): New test to expose
30607         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30608         rounding mode.
30610 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30612         [BZ #14027]
30613         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30614         to be done.
30615         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30616         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30618 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
30620         * sysdeps/unix/i386/brk.S: Remove file.
30621         * sysdeps/unix/i386/dl-brk.S: Likewise.
30622         * sysdeps/unix/i386/pipe.S: Likewise.
30623         * sysdeps/unix/i386/sigreturn.S: Likewise.
30624         * sysdeps/unix/i386/syscall.S: Likewise.
30625         * sysdeps/unix/i386/vfork.S: Likewise.
30626         * sysdeps/unix/i386/wait.S: Likewise.
30628         * sysdeps/unix/common/tcsendbrk.c: Move to ...
30629         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30631         * configure.in (arm*-none*): Do not allow without
30632         --enable-hacker-mode.
30633         (netbsd*): Remove case setting base_os.
30634         (386bsd*): Likewise.
30635         (freebsd*): Likewise.
30636         (bsdi*): Likewise.
30637         (osf*): Likewise.
30638         (sunos*): Likewise.
30639         (ultrix*): Likewise.
30640         (newsos*): Likewise.
30641         (dynix*): Likewise.
30642         (*bsd*): Likewise.
30643         (sysv*): Likewise.
30644         (isc*): Likewise.
30645         (esix*): Likewise.
30646         (sco*): Likewise.
30647         (minix*): Likewise.
30648         (irix4*): Likewise.
30649         (irix6*): Likewise.
30650         (solaris[2-9]*): Likewise.
30651         (none): Likewise.
30652         * configure: Regenerated.
30654 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30656         [BZ #11521]
30657         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30658         overflow or cancellation in calculating denominator.
30659         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30660         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30661         down expression to avoid unexpected rounding in newer GCCs.
30662         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30664 2012-04-26  David S. Miller  <davem@davemloft.net>
30666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30667         long-double compat symbols.
30668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30682 2012-04-25  David S. Miller  <davem@davemloft.net>
30684         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30685         HWCAP_* values only after the memory barriers have been defined.
30686         (atomic_full_barrier): Define.
30687         (atomic_read_barrier): Define.
30688         (atomic_write_barrier): Define.
30690 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30692         * shlib-versions: Add libgcc_s version information.
30693         * sysdeps/generic/libgcc_s.h: Remove.
30694         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30695         libgcc_s.h.
30696         * sysdeps/gnu/unwind-resume.c: Likewise.
30697         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30699 2012-04-25  David S. Miller  <davem@davemloft.net>
30701         * sysdeps/unix/sparc/brk.S: Delete.
30702         * sysdeps/unix/sparc/dl-brk.S: Delete.
30703         * sysdeps/unix/sparc/pipe.S: Delete.
30704         * sysdeps/unix/sparc/sysdep.S: Delete.
30705         * sysdeps/unix/sparc/sysdep.h: Delete.
30706         * sysdeps/unix/sparc/vfork.S: Delete.
30707         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30708         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30709         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30710         ret_ERRVAL, r0, r1, MOVE): Define.
30711         (JUMPTARGET): Remove.
30712         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30713         sysdeps/unix/sparc/sysdep.h
30714         (ENTRY, END): Remove.
30715         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30717 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30719         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30720         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30721         -DIS_IN_build.
30723         * timezone/README: Update upstream location and email address for
30724         tzcode and tzdata.
30725         * timezone/zdump.c: Update from tzcode 2012b.
30726         * timezone/zic.c: Likewise.
30728         * configure.in (libc_cv_as_needed): Remove test.
30729         * configure: Regenerated.
30730         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30731         conditional definition.
30732         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30733         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30734         * config.make.in (have-as-needed): Remove variable.
30736 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30737             Paul Pluzhnikov  <ppluzhnikov@google.com>
30739         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30740         strings correctly.
30742 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30744         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30745         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30746         * sysdeps/sh/strlen.S: Likewise.
30748 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30750         * sysdeps/unix/fork.S: Remove file.
30751         * sysdeps/unix/i386/fork.S: Likewise.
30752         * sysdeps/unix/sparc/fork.S: Likewise.
30754         * sysdeps/unix/system.c: Remove file.
30755         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30757         * sysdeps/unix/getegid.S: Remove file.
30758         * sysdeps/unix/geteuid.S: Likewise.
30760 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30762         * scripts/check-localplt.awk: New file.
30763         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30764         of diff.
30765         * scripts/data/localplt-generic.data: Add a comment.
30767         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30768         NODE when __dir_mkfile failed.
30769         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30770         Reported by Ludovic Courtès <ludo@gnu.org>.
30772 2012-04-24  Andreas Jaeger  <aj@suse.de>
30774         * Makerules (common-clean): Also remove gen-as-const-headers
30775         files.
30777 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30779         * Makerules (native-compile): Do not change working directory for
30780         build.  Use $(OUTPUT_OPTION) in command.
30781         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30783 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30785         [BZ #13886]
30786         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30787         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30788         * math/libm-test.inc (floor_test): Add more tests.
30789         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30791 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30793         * sysdeps/unix/getdents.c: Remove file.
30794         * sysdeps/unix/sysv/getdents.c: Likewise.
30795         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30797         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30798         sysdeps/unix/mman/syscalls.list.
30799         (mmap): Likewise.
30800         (mprotect): Likewise.
30801         (msync): Likewise.
30802         (munmap): Likewise.
30803         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30804         * sysdeps/unix/mman/syscalls.list: Remove.
30805         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30807         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30808         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30809         * configure: Regenerated.
30810         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30811         $(libgcc_s_suffix).
30812         * config.make.in (libgcc_s_suffix): Remove variable.
30814 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30816         * sysdeps/unix/sysv/gethostname.c: Move to ...
30817         * sysdeps/posix/gethostname.c: ... here.
30819         * sysdeps/unix/execve.S: Remove file.
30821         * sysdeps/unix/_exit.S: Remove file.
30823 2012-04-23  Andreas Jaeger  <aj@suse.de>
30825         [BZ #13739]
30826         * manual/Makefile: Remove make dist support, there's no
30827         need for a stand-alone documentation tar ball.
30828         (TEXI2DVI): Define always, it's not in Makeconfig.
30829         (dist): Removed.
30830         (tar-it): Removed.
30831         (edition): Removed.
30832         (glibc-doc-$(edition).tar): Removed
30833         (%.Z): Removed.
30834         (%.gz): Removed.
30835         (%.uu): Removed.
30836         (ETAGS): Remove, it's in Makeconfig.
30837         (move-if-change): Remove, it's in Makeconfig.
30839 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30841         [BZ #13970]
30842         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30843         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30844         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30845         (strtod_l, strtof_l, strtold_l): Remove __wur.
30846         It is not necessarily an error to ignore strtol's return value.
30847         One can reliably look at the stored endptr to decide whether
30848         the number had valid syntax.
30850 2012-04-21  Andreas Jaeger  <aj@suse.de>
30852         [BZ #13739]
30853         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30855 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30857         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30858         * sysdeps/unix/sysv/Versions: Remove file.
30860 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30862         [BZ #13927]
30863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30865 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30867         [BZ #7064]
30868         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30869         version from __vm86.
30871 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30873         * sysdeps/unix/common/lxstat.c: Remove file.
30874         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30876         * sysdeps/unix/sysv/Makefile: Remove file.
30878         * sysdeps/unix/sysv/direct.h: Remove file.
30880         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30881         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30882         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30883         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30884         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30885         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30886         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30888         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30890         * sysdeps/unix/xmknod.c: Remove file.
30891         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30893         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30895         * sysdeps/unix/sysv/i386/time.S: Remove file.
30897         * sysdeps/unix/fxstat.c: Remove file.
30898         * sysdeps/unix/xstat.c: Likewise.
30899         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30901         * sysdeps/unix/sysv/sigaction.c: Remove file.
30903         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30904         (sysdep_headers): Remove variable.
30905         [termio.h not in sysdep_headers] (generated): Likewise.
30906         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30907         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30908         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30909         * sysdeps/unix/sysv/tcflow.c: Likewise.
30910         * sysdeps/unix/sysv/tcflush.c: Likewise.
30911         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30912         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30913         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30914         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30915         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30917         * sysdeps/unix/siglist.c: Remove file.
30919         * sysdeps/unix/getppid.S: Remove file.
30921         * sysdeps/unix/mkdir.c: Remove file.
30922         * sysdeps/unix/rmdir.c: Likewise.
30924 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30926         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30927         ERR_MAX value.
30928         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30929         errlist-compat value.
30931 2012-04-18  David S. Miller  <davem@davemloft.net>
30933         * sysdeps/generic/memcopy.h (reg_char): Delete.
30934         * debug/strcat_chk.c: Use char, not reg_char.
30935         * debug/strcpy_chk.c: Likewise.
30936         * debug/strncat_chk.c: Likewise.
30937         * debug/strncpy_chk.c: Likewise.
30938         * string/memchr.c: Likewise.
30939         * string/memrchr.c: Likewise.
30940         * string/rawmemchr.c: Likewise.
30941         * string/strcat.c: Likewise.
30942         * string/strchr.c: Likewise.
30943         * string/strchrnul.c: Likewise.
30944         * string/strcmp.c: Likewise.
30945         * string/strcpy.c: Likewise.
30946         * string/strncat.c: Likewise.
30947         * string/strncmp.c: Likewise.
30948         * string/strncpy.c: Likewise.
30950 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30952         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30953         __builtin_memcopy is called when src and dest ranges are known to not
30954         overlap.
30956 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30958         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30959         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30960         fwd_align_merge macro call.
30961         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30962         bwd_align_merge macro call.
30963         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30965 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30967         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30968         bwd_align_merge macros.
30969         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30970         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30971         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30973 2012-04-18  David S. Miller  <davem@davemloft.net>
30975         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30977 2012-04-18  Andreas Jaeger  <aj@suse.de>
30979         [BZ# 6794]
30980         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30981         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30982         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30984         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30985         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30986         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30988         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30989         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30990         Adjust for changed ldbl-128 files.
30992         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30993         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30994         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30996 2012-04-17  David S. Miller  <davem@davemloft.net>
30998         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31000 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31002         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31003         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31004         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31005         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31006         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31007         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31009 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31011         [BZ #6794]
31012         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31013         * math/libm-test.inc: Add ilogb errno and exception tests.
31014         * math/w_ilogb.c: New file: ilogb wrapper.
31015         * math/w_ilogbf.c: New file: ilogbf wrapper.
31016         * math/w_ilogbl.c: New file: ilogbl wrapper.
31017         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31018         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31019         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31020         exception being thrown with 0.0 as argument.
31021         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31022         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31023         exception being thrown with 0.0 as argument.
31024         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31025         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31026         exception being thrown with 0.0 as argument.
31027         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31028         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31029         exception being thrown with 0.0 as argument.
31030         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31031         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31032         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31033         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31034         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31035         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31036         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31037         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31038         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31040 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31042         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31043         with altivec.
31045 2012-04-16  Marek Polacek  <polacek@redhat.com>
31047         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31049 2012-04-16  Marek Polacek  <polacek@redhat.com>
31051         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31052         operands of fdivp instruction.
31054 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31056         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31057         * elf/tst-auditmod3b.c: Likewise.
31058         * elf/tst-auditmod4b.c: Likewise.
31059         * elf/tst-auditmod5b.c: Likewise.
31060         * elf/tst-auditmod6b.c: Likewise.
31061         * elf/tst-auditmod6c.c: Likewise.
31062         * elf/tst-auditmod7b.c: Likewise.
31063         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31064         * sysdeps/x86_64/preconfigure.in: Likewise.
31065         * sysdeps/x86_64/preconfigure: Regenerated.
31067 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31069         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31070         __ILP32__.
31072 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31074         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31075         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31077 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31079         [BZ #13973]
31080         * locale/iso-639.def: Fix gl language name. Spotted by
31081         Yaron Shahrabani.
31083 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31085         [BZ #2074]
31086         * libio/libio.h (__io_write_fn): Update comment.
31088 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31090         [BZ #2074]
31091         * stdio.texi (Hook Functions): The user provided writer function
31092         is not allowed to return -1.
31094 2012-04-11  David S. Miller  <davem@davemloft.net>
31096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31098 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31100         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31101         Add a leading slash to rtkaio.
31103 2012-04-11  Jim Meyering  <meyering@redhat.com>
31105         [BZ #11959]
31106         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31107         It is not necessarily an error to ignore fwrite's return
31108         value.  One can reliably use ferror to test for errors after
31109         the fact.
31111 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31113         * bits/types.h (__snseconds_t): New type.
31114         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31116         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31117         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31118         (__SNSECONDS_T_TYPE): Likewise.
31119         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31120         (__SNSECONDS_T_TYPE): Likewise.
31121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31122         (__SNSECONDS_T_TYPE): Likewise.
31124 2012-04-10  Andreas Jaeger  <aj@suse.de>
31126         [BZ #2636]
31127         * manual/time.texi (Processor Time): Return type of times is
31128         elapsed real time since an arbitrary point in the past.
31129         (CPU Time): Move CLK_TCK from here...
31130         (Processor Time): ...to here.  Correct description.
31131         * manual/conf.texi (Constants for Sysconf): Correct description of
31132         _SC_CLK_TCK.
31134 2012-04-10  David S. Miller  <davem@davemloft.net>
31136         [BZ #13967]
31137         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31138         where the is a gap between DT_REL(A) and DT_JMPREL.
31140 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31142         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31143         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31144         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31146 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31148         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31149         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31150         (dl_main): Handle --inhibit-cache.
31151         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31152         _dl_inhibit_cache.
31153         * elf/dl-load.c (_dl_map_object): Use it.
31154         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31156 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31158         [BZ #13872]
31159         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31160         (__ieee754_powl): Saturate large exponents rather than testing for
31161         overflow of y*log2(x).
31162         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31163         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31164         exceptions.
31166         [BZ #11521]
31167         * math/s_ctan.c: Include <float.h>.
31168         (__ctan): Avoid internal overflow or cancellation in calculating
31169         denominator.
31170         * math/s_ctanf.c: Likewise.
31171         * math/s_ctanl.c: Likewise.
31172         * math/s_ctanh.c: Likewise.
31173         * math/s_ctanhf.c: Likewise.
31174         * math/s_ctanhl.c: Likewise.
31175         * math/libm-test.inc (ctan_test): Add more tests.
31176         (ctanh_test): Likewise.
31177         * sysdeps/i386/fpu/libm-test-ulps: Update.
31178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31180 2012-04-09  Andreas Jaeger  <aj@suse.de>
31182         [BZ #6894]
31183         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31184         is an optional BSD extension.
31186         [BZ #10254]
31187         * manual/stdio.texi (Opening Streams): Document additional fopen
31188         parameters.
31190 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31192         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31193         %eax without telling the compiler.
31195 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31197         [BZ # 13963]
31198         * manual/install.texi: Use sourceware.org.
31200 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31202         [BZ #13873]
31203         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31204         (__ieee754_pow): Generate overflow and underflow using huge*huge
31205         and tiny*tiny rather than just returning constant infinity or zero
31206         for large exponents.
31207         * math/libm-test.inc (pow_test): Require overflow exceptions for
31208         applicable cases of large exponents.
31210         [BZ #706]
31211         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31212         (__ieee754_pow): Use iterative multiplication algorithm only for
31213         integer exponents with absolute value below 1024.  Check for odd
31214         integer exponents when using algorithm for real exponents.
31215         * math/libm-test.inc (pow_test): Add more tests.
31216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31218 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31220         [BZ #13705]
31221         * math/libm-test.inc (exp_test): Do not allow overflow exception
31222         on underflow test.
31224 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31226         [BZ #13705]
31227         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31228         instead of __kernel_standard_f.
31230 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31232         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31233         * sysdeps/x86_64/memset_chk.S: Likewise.
31235 2012-04-08  Andreas Jaeger  <aj@suse.de>
31237         [BZ #10153]
31238         * manual/startup.texi (Environment Access): Describe return value
31239         for putenv and setenv.
31241         [BZ #6895]
31242         * manual/filesys.texi (Directory Entries): Add description for
31243         DT_LNK.
31245         [BZ #6890]
31246         * manual/filesys.texi (Directory Entries): Clarify that it's file
31247         system not operating system in the description of DT_UNKNOWN.
31249         [BZ #6578]
31250         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31252 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31254         [BZ #6649]
31255         * manual/llio.texi (Opening and Closing Files): Add cross
31256         reference to explain mode argument.
31258 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31260         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31261         * sysdeps/x86_64/memset_chk.S: Likewise.
31263 2012-04-07  David S. Miller  <davem@davemloft.net>
31265         * elf/elf.h (R_SPARC_WDISP10): Define.
31266         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31267         R_SPARC_SIZE32.
31268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31269         R_SPARC_SIZE64 and R_SPARC_H34.
31271 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31273         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31274         conditions and remove no longer applicable assertion.
31276 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31278         * bits/byteswap.h: Include <features.h>.
31279         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31280         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31282 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31284         * bits/byteswap.h (__bswap_16): Removed.
31285         Include <bits/byteswap-16.h> to get __bswap_16.
31286         * sysdeps/i386/bits/byteswap.h: Likewise.
31287         * sysdeps/s390/bits/byteswap.h: Likewise.
31288         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31289         * bits/byteswap-16.h: New file.
31290         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31291         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31292         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31293         * string/Makefile (headers): Add bits/byteswap-16.h.
31295 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31297         [BZ #13895]
31298         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31299         extra indirection.
31300         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31301         * nss/tst-nss-static.c: New.
31303 2012-04-06  Robert Millan  <rmh@gnu.org>
31305         [BZ #6486]
31306         * manual/llio.texi (File Position Primitive): lseek
31307         refers to WHENCE when it really means OFFSET.
31309 2012-04-06  Andreas Jaeger  <aj@suse.de>
31311         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31312         strncmp declarations.
31314         * abilist/libc.abilist: Add __poll and __ppoll.
31316 2012-04-05  David S. Miller  <davem@davemloft.net>
31318         * scripts/check-local-headers.sh: Accept a host triplet in the
31319         path matched by the exclude regexp.
31321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31322         definition.
31323         * sysdeps/powerpc/powerpc32/dl-machine.h
31324         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31325         * sysdeps/s390/s390-32/dl-machine.h
31326         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31327         * sysdeps/sparc/sparc32/dl-machine.h
31328         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31329         * sysdeps/sparc/sparc64/dl-machine.h
31330         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31332         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31333         lazy binding.
31334         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31335         undefined symbol errors.
31337         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31338         DT_NEEDED entries.
31340 2012-04-05  Michael Matz  <matz@suse.de>
31342         [BZ #13592]
31343         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31345 2012-04-05  Andreas Jaeger  <aj@suse.de>
31347         [BZ #13908]
31348         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31349         comment.
31351 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31353         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31354         which ROUND is no valid rounding mode.
31356 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31358         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31359         read again.
31360         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31362 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31364         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31365         an exception using FPU order intentionally.
31367 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31369         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31370         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31371         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31372         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31374 2012-04-05  Simon Josefsson  <simon@josefsson.org>
31376         [BZ #12340]
31377         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31378         EINVAL when BUFLEN is too smal.
31380 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31382         [BZ #13553]
31383         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31384         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31386 2012-04-03  Andreas Jaeger  <aj@suse.de>
31388         [BZ #13938]
31389         * manual/setjmp.texi (System V contexts): Fix sentence.
31391         [BZ #13926]
31392         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31393         New macro for this case.
31394         [!__GNUC__] (__bswap_64): New inline function for this case.
31395         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31396         * bits/byteswap.h: Likewise.
31397         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31398         ull, guard with __GLIBC_HAVE_LONG_LONG.
31400         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31401         __GLIBC_HAVE_LONG_LONG.
31403         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31404         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31406 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31408         [BZ #13691]
31409         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31410         inptr and inend, rather than using last_ch.
31412 2012-04-02  David S. Miller  <davem@davemloft.net>
31414         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31415         * stdio-common/printf-parse.h (read_int): Change return type to
31416         'int', return -1 on INT_MAX overflow.
31417         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31418         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31419         overflows INT_MAX.  Check for overflow of in-format-string precision
31420         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31421         SIZE_MAX not INT_MAX for integer overflow test.
31422         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31423         skip the construct in the format string but do not record anything.
31424         * stdio-common/bug22.c: Adjust to test both width/prevision
31425         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31426         explicitly for proper errno values.
31428 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31430         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31431         CHAR_MAX.
31432         * string/test-strcmp.c [! WIDE]: Likewise.
31433         * time/tst-mktime2.c: Likewise for INT_MAX.
31434         * string/test-string.h: #include <sys/param.h> for MIN.
31436         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31437         * sysdeps/i386/init-first.c (init): Likewise.
31438         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31439         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31440         * sysdeps/sh/init-first.c (init): Likewise.
31442 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31444         * po/ru.po: Update from translation team.
31445         * po/vi.po: Likewise.
31447 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31449         * resolv/nss_dns/dns-host.c: Merge copyright years.
31451 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31453         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31454         Optimize memcpy with prefetch if
31455         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31456         src, dst pointers have unequal 16 byte alignments.
31458 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31460         [BZ #13928]
31461         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31462         from a CNAME entry and return the minimum ttl for the query.
31463         (gaih_getanswer_slice): Likewise.
31465 2012-03-30  Jeff Law  <law@redhat.com>
31467         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31468         due to long keys.
31469         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31470         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31472         * resolv/nss_dns/dns-host.c: Update copyright year.
31474 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
31476         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31477         requests to save a system call.  Fix check that all bytes are sent.
31479         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31480         comments for sendmmsg.
31482 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31484         [BZ #13691]
31485         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31486         with only 1 character between 0x0041 and 0x01b0.
31487         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31488         * wcsmbs/tst-mbsnrtowcs.c: New file.
31490 2012-03-29  David S. Miller  <davem@davemloft.net>
31492         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31493         small copies by hand.
31495 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31497         [BZ #13761]
31498         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31499         _nss_compat_initgroups_dyn): Fall back to malloc/free
31500         for large group memberships.
31502 2012-03-28  David S. Miller  <davem@davemloft.net>
31504         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31505         that branches into memcpy.
31506         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31507         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31508         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31509         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31511         bits.
31512         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31513         implementation too.
31514         * sysdeps/sparc/mempcpy.S: New file.
31516         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31517         the IFUNC routine in the libc case.
31518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31520         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31521         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31522         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31523         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31524         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31525         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31526         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31527         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31529         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31530         loop to 256 bytes instead of 64 bytes and fix test signedness.
31532         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31533         * sysdeps/sparc/sparc32/Makefile: rather than here...
31534         * sysdeps/sparc/sparc64/Makefile: and here.
31536 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
31538         * malloc/mallocbug.c: Avoid warnings about unused variables.
31540 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31542         [BZ #13760]
31543         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31544         in the right place. Discard and retry query if response is
31545         larger than input buffer size.
31547 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
31549         [BZ #369]
31550         [BZ #2678]
31551         [BZ #3866]
31552         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31553         x for large integer exponent.
31554         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31555         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
31556         sign of result as needed afterwards.
31557         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31558         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31559         result for underflowing pow the same as for overflow.
31560         (__kernel_standard_l): Handle powl overflow and underflow here
31561         rather than calling __kernel_standard.
31562         * math/libm-test.inc (pow_test): Add more tests.
31564         [BZ #3868]
31565         [BZ #13879]
31566         [BZ #13910]
31567         [BZ #13911]
31568         [BZ #13912]
31569         [BZ #13913]
31570         [BZ #13915]
31571         [BZ #13916]
31572         [BZ #13917]
31573         [BZ #13918]
31574         [BZ #13919]
31575         [BZ #13920]
31576         [BZ #13921]
31577         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31578         * sysdeps/ieee754/k_standard.c: Include <float.h>.
31579         (__kernel_standard_l): New function.
31580         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31581         __kernel_standard.
31582         * math/w_acosl.c (__acosl): Likewise.
31583         * math/w_asinl.c (__asinl): Likewise.
31584         * math/w_atan2l.c (__atan2l): Likewise.
31585         * math/w_atanhl.c (__atanhl): Likewise.
31586         * math/w_coshl.c (__coshl): Likewise.
31587         * math/w_exp10l.c (__exp10l): Likewise.
31588         * math/w_exp2l.c (__exp2l): Likewise.
31589         * math/w_fmodl.c (__fmodl): Likewise.
31590         * math/w_hypotl.c (__hypotl): Likewise.
31591         * math/w_j0l.c (__j0l, __y0l): Likewise.
31592         * math/w_j1l.c (__j1l, __y1l): Likewise.
31593         * math/w_jnl.c (__jnl, __ynl): Likewise.
31594         * math/w_lgammal.c (__lgammal): Likewise.
31595         * math/w_log10l.c (__log10l): Likewise.
31596         * math/w_log2l.c (__log2l): Likewise.
31597         * math/w_logl.c (__logl): Likewise.
31598         * math/w_powl.c (__powl): Likewise.
31599         * math/w_remainderl.c (__remainderl): Likewise.
31600         * math/w_scalbl.c (sysv_scalbl): Likewise.
31601         * math/w_sinhl.c (__sinhl): Likewise.
31602         * math/w_sqrtl.c (__sqrtl): Likewise.
31603         * math/w_tgammal.c (__tgammal): Likewise.
31604         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31605         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31606         * math/libm-test.inc (acos_test): Add more tests.
31607         (acosh_test): Likewise.
31608         (asin_test): Likewise.
31609         (atanh_test): Likewise.
31610         (exp_test): Likewise.
31611         (exp10_test): Likewise.
31612         (exp2_test): Likewise.
31613         (expm1_test): Likewise.
31614         (lgamma_test): Likewise.
31615         (log_test): Likewise.
31616         (log10_test): Likewise.
31617         (log1p_test): Likewise.
31618         (log2_test): Likewise.
31619         (pow_test): Do not allow some spurious overflow exceptions.
31620         (sqrt_test): Add more tests.
31621         (tgamma_test): Likewise.
31622         (y0_test): Likewise.
31623         (y1_test): Likewise.
31624         (yn_test): Likewise.
31626 2012-03-27  Anton Blanchard  <anton@samba.org>
31628         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31629         MAP_HUGETLB.
31630         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31631         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31632         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31634 2012-03-27  David S. Miller  <davem@davemloft.net>
31636         * conform/Makefile: Run run-conformtest.sh using $(BASH).
31638         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31639         have-as-vis3 check.
31641 2012-03-27  Andreas Jaeger  <aj@suse.de>
31643         * sysdeps/x86_64/elf/configure.in: Moved to ...
31644         * sysdeps/x86_64/configure.in: ... here.
31645         * sysdeps/x86_64/elf/start.S: Moved to ...
31646         * sysdeps/x86_64/start.S: ... here.
31647         * sysdeps/x86_64/elf/configure: Delete.
31649         * sysdeps/x86_64/configure.in: Merge contents from
31650         sysdeps/i386/configure.in (without i686 check).
31652         * sysdeps/i386/elf/Versions: Merge into ...
31653         * sysdeps/i386/Versions: ... this.
31654         * sysdeps/i386/elf/Versions: Delete file.
31655         * sysdeps/i386/elf/start.S: Moved to ...
31656         * sysdeps/i386/start.S: ...here.
31657         * sysdeps/i386/elf/configure.in: Merge into...
31658         * sysdeps/i386/configure.in: ...here.
31659         * sysdeps/i386/elf/configure.in: Delete file.
31660         * sysdeps/i386/elf/configure: Delete file.
31662         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31663         * debug/backtracesyms.c: ... here.
31664         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31665         * debug/backtracesymsfd.c: ... here.
31666         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31667         * sysdeps/generic/ifunc-sel.h: ... here.
31669         * sysdeps/unix/i386/start.c: Delete file.
31670         * sysdeps/unix/sparc/start.c: Delete file.
31671         * sysdeps/unix/start.c: Delete file.
31673         * sysdeps/sh/elf/configure.in: Moved to ...
31674         * sysdeps/sh/configure.in: ... here.
31675         * sysdeps/sh/elf/start.S: Moved to ...
31676         * sysdeps/sh/start.S: ... here.
31677         * sysdeps/sh/elf/configure: Delete file.
31679         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31680         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31681         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31682         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31683         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31684         * sysdeps/powerpc/powerpc64/start.S: here.
31685         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31686         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31687         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31688         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31689         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31691         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31692         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31693         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31694         * sysdeps/powerpc/powerpc32/start.S: ... here.
31695         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31696         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31697         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31699         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31700         * sysdeps/powerpc/ifunc-sel.h: ... here.
31701         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31702         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31704         * sysdeps/sparc/elf/configure.in: Moved to ...
31705         * sysdeps/sparc/configure.in: ... here.
31706         * sysdeps/sparc/elf/configure: Delete file.
31707         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31708         * sysdeps/sparc/sparc32/start.S: ... here.
31709         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31710         * sysdeps/sparc/sparc64/start.S: ... here.
31711         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31712         * sysdeps/sparc/sparc32/Makefile: ... this.
31713         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31714         * sysdeps/sparc/sparc64/Makefile: ... this.
31716         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31717         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31718         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31719         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31720         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31721         * sysdeps/s390/s390-32/setjmp.S: ... here.
31722         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31723         * sysdeps/s390/s390-32/configure.in: ... here.
31724         * sysdeps/s390/s390-32/elf/configure: Delete file.
31725         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31726         * sysdeps/s390/s390-32/start.S: ... here.
31728         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31729         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31730         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31731         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31732         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31733         * sysdeps/s390/s390-64/setjmp.S: ... here.
31734         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31735         * sysdeps/s390/s390-64/configure.in: ... here
31736         * sysdeps/s390/s390-64/elf/configure: Delete file.
31737         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31738         * sysdeps/s390/s390-64/start.S: ... here.
31739         * sysdeps/s390/s390-64/elf/configure: Delete.
31741         * configure.in: Remove support for elf directories in sysdeps.
31743         * configure: Regenerated.
31744         * sysdeps/i386/configure: Regenerated.
31745         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31746         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31747         * sysdeps/s390/s390-32/configure: Regenerated.
31748         * sysdeps/s390/s390-64/configure: Regenerated.
31749         * sysdeps/sh/configure: Regenerated.
31750         * sysdeps/sparc/configure: Regenerated.
31751         * sysdeps/x86_64/configure: Regenerated.
31753 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31758         denormal result into account.
31760 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31762         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31763         Reported by Allan McRae <allan@archlinux.org>.
31765 2012-03-23  Jeff Law  <law@redhat.com>
31767         * nss/getnssent.c (__nss_getent): Fix typo.
31769 2012-03-23  David S. Miller  <davem@davemloft.net>
31771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31773 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31775         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31776         to pad to uint64_t for each field.
31777         (dl_tls_index): Replace unsigned long with uint64_t.
31779 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31780         Paul Pluzhnikov  <ppluzhnikov@google.com>
31782         [BZ #6528]
31783         * grp/Makefile (otherlibs): Don't set it.
31784         * inet/Makefile (otherlibs): Likewise.
31785         * login/Makefile (otherlibs): Likewise.
31786         * nscd/Makefile (otherlibs): Likewise.
31787         * posix/Makefile (otherlibs): Likewise.
31788         * pwd/Makefile (otherlibs): Likewise.
31789         * rt/Makefile (otherlibs): Likewise.
31790         * sunrpc/Makefile (otherlibs): Likewise.
31791         * nss/Makefile (otherlibs): Likewise.
31792         Add libnss_files to routines and static-only-routines.
31793         ($(objpfx)getent): Remove rule.
31794         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31795         static-only-routines.
31797 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31799         [BZ #13892]
31800         * math/s_cexp.c: Include <float.h>.
31801         (__cexp): Handle exp result overflowing not necessarily
31802         overflowing both real and imaginary parts of result.
31803         * math/s_cexpf.c: Likewise.
31804         * math/s_cexpl.c: Likewise.
31805         * math/libm-test.inc (cexp_test): Add more tests.
31806         * sysdeps/i386/fpu/libm-test-ulps: Update.
31807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31809 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31811         * include/link.h (ELFW): New macro.
31812         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31813         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31815 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31817         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31818         with uint64_t.
31820 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31822         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31823         declaration.
31824         (struct La_x32_retval): Likewise.
31826 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31828         * sysdeps/x86_64/preconfigure.in: New file.
31829         * sysdeps/x86_64/preconfigure: New generated file.
31831 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31833         [BZ #13824]
31834         * math/e_exp2l.c: Include <float.h>.
31835         (__ieee754_exp2l): Handle overflow and underflow cases
31836         separately.  Only pass fractional part of argument to
31837         __ieee754_expl.
31838         * math/libm-test.inc (exp2_test): Add more tests.
31840         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31841         negating x to take absolute value.
31842         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31843         Likewise.
31844         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31845         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31846         Likewise.
31847         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31848         computing low part if x was negated.
31849         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31851 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31853         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31854         la_x32_gnu_pltexit.
31855         (pltexit): Cast int_retval to ptrdiff_t.
31856         * elf/tst-auditmod3b.c: Likewise.
31857         * elf/tst-auditmod4b.c: Likewise.
31858         * elf/tst-auditmod5b.c: Likewise.
31859         * elf/tst-auditmod6b.c: Likewise.
31860         * elf/tst-auditmod6c.c: Likewise.
31861         * elf/tst-auditmod7b.c: Likewise.
31863         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31864         and x32_gnu_pltexit.
31866         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31867         __ELF_NATIVE_CLASS.
31868         (La_x32_regs): New macro.
31869         (La_x32_retval): Likewise.
31870         (la_x32_gnu_pltenter): New function prototype.
31871         (la_x32_gnu_pltexit): Likewise.
31873 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31875         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31876         exponent.
31878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31880         * configure.in (libc_cv_cc_nofma): Check for option to disable
31881         generation of FMA instructions.
31882         * configure: Regenerate.
31883         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31884         * sysdeps/ieee754/dbl-64/Makefile: New file.
31885         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31886         Remove brandred-fma4.
31887         (CFLAGS-brandred-fma4.c): Remove.
31888         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31889         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31890         define.
31891         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31892         define.
31894 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31896         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31897         LLONG_MAX != LONG_MAX.
31898         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31899         (_fitoa_word): Likewise.
31900         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31901         LLONG_MAX != LONG_MAX.
31902         * stdio-common/_itowa.h: Include <_itoa.h>.
31903         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31904         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31905         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31906         only if not defined.
31907         (_ITOA_WORD_TYPE): Likewise.
31908         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31909         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31911 2012-03-21  David S. Miller  <davem@davemloft.net>
31913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31915 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31917         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31918         of x86_64 when setting libc_cv_slibdir, libdir and
31919         libc_cv_localedir.
31920         * sysdeps/unix/sysv/linux/configure: Regenerated.
31922 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31924         * manual/lang.texi (Old Varargs): Remove section.
31925         (How Variadic): Update menu.
31926         (va_start): Do not mention varargs.h.
31928 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31929             Joseph Myers  <joseph@codesourcery.com>
31931         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31932         link test.
31933         * configure: Regenerated.
31935 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31937         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31938         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31939         conformtest.pl
31941 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31943         * NOTES: Remove.
31944         * Makefile (files-for-dist): Remove NOTES.
31945         (NOTES): Remove rule.
31946         * README: Don't refer to NOTES.
31947         * manual/creature.texi: Don't include macros.texi.
31948         * manual/intro.texi (creature.texi): Remove comment referring to
31949         NOTES.
31951         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31952         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31953         * configure: Regenerated.
31954         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31955         LIBC_TRY_CC_OPTION.
31956         (libc_cv_as_i686): Likewise.
31957         (libc_cv_cc_avx): Likewise.
31958         (libc_cv_cc_sse2avx): Likewise.
31959         (libc_cv_cc_fma4): Likewise.
31960         (libc_cv_cc_novzeroupper): Likewise.
31961         * sysdeps/i386/configure: Regenerated.
31963         [BZ #13883]
31964         * sysdeps/i386/fpu/s_cexp.S: Remove.
31965         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31966         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31967         * math/libm-test.inc (cexp_test): Add more tests.
31968         * sysdeps/i386/fpu/libm-test-ulps: Update.
31969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31971 2012-03-21  Allan McRae  <allan@archlinux.org>
31973         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31975 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31977         [BZ #13871]
31978         * math/w_exp2.c: Do not include <float.h>.
31979         (o_threshold, u_threshold): Remove.
31980         (__exp2): Calculate result before checking finiteness and calling
31981         __kernel_standard.
31982         * math/w_exp2f.c: Likewise.
31983         * math/w_exp2l.c: Likewise.
31984         * math/libm-test.inc (exp2_test): Require overflow exception for
31985         1e6 input.
31987         [BZ #3866]
31988         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31989         range of signed 64-bit integers before using fistpll.  Remove
31990         checks for whether integers fit in mantissa bits.
31991         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31992         the range of signed 32-bit integers before using fistpl.  Remove
31993         checks for whether integers fit in mantissa bits.
31994         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31995         (__ieee754_powl): Test for y outside the range of signed 64-bit
31996         integers before using fistpll.  Reduce 64-bit values to 63-bit
31997         ones as needed.
31998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31999         divide-by-zero is raised for zero to large negative powers.
32000         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32001         (__ieee754_powl): Test for y outside the range of signed 64-bit
32002         integers before using fistpll.  Reduce 64-bit values to 63-bit
32003         ones as needed.
32004         * math/libm-test.inc (pow_test): Add more tests.
32006 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32008         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32009         <stdio-common/_itoa.h>.
32010         * debug/segfault.c: Likewise.
32011         * elf/dl-cache.c: Likewise.
32012         * elf/dl-minimal.c: Likewise.
32013         * elf/dl-misc.c: Likewise.
32014         * elf/dl-sysdep.c: Likewise.
32015         * elf/dl-version.c: Likewise.
32016         * elf/rtld.c: Likewise.
32017         * hurd/hurdsock.c: Likewise.
32018         * hurd/lookup-retry.c: Likewise.
32019         * malloc/malloc.c: Likewise.
32020         * malloc/mtrace.c: Likewise.
32021         * nscd/nscd_getgr_r.c: Likewise.
32022         * nscd/nscd_getpw_r.c: Likewise.
32023         * nscd/nscd_getserv_r.c: Likewise.
32024         * posix/getopt_init.c: Likewise.
32025         * posix/wordexp.c: Likewise.
32026         * stdio-common/_itoa.c: Likewise.
32027         * stdio-common/printf_fphex.c: Likewise.
32028         * stdio-common/vfprintf.c: Likewise.
32029         * string/_strerror.c: Likewise.
32030         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32031         * sysdeps/i386/i686/hp-timing.h: Likewise.
32032         * sysdeps/mach/_strerror.c: Likewise.
32033         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32034         * sysdeps/mach/hurd/sethostid.c: Likewise.
32035         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32036         * sysdeps/mach/xpg-strerror.c: Likewise.
32037         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32038         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32039         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32040         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32041         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32042         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32043         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32044         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32045         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32046         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32047         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32048         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32049         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32050         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32051         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32052         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32053         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32054         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32055         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32056         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32057         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32059         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32061         * stdio-common/_itoa.h: Moved to ...
32062         * sysdeps/generic/_itoa.h: Here.
32064         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32066         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32067         instead of "_itoa.h" and "_itowa.h".
32068         * stdio-common/vfprintf.: Likewise.
32070 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32072         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32073         <bits/wordsize.h>.
32074         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32075         (__signbit): Likwise.
32076         (llrintf): Likwise.
32077         (llrint): Likwise.
32079 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32081         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32082         __WORDSIZE != 64.
32084 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32086         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32087         OVERFLOW_EXCEPTION_OK.
32088         * math/libm-test.inc ("Philosophy"): Update comment about
32089         exception testing.
32090         (OVERFLOW_EXCEPTION): Define.
32091         (OVERFLOW_EXCEPTION_OK): Likewise.
32092         (INVALID_EXCEPTION_OK): Renumber.
32093         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32094         (IGNORE_ZERO_INF_SIGN): Likewise.
32095         (test_exceptions): Handle FE_OVERFLOW.
32096         (exp10_test): Expect overflow exceptions.
32097         (exp2_test): Likewise.
32098         (expm1_test): Likewise.
32099         (nextafter_test): Likewise.
32100         (pow_test): Likewise.
32101         (scalbn_test): Likewise.
32102         (scalbln_test): Likewise.
32104 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32106         * sysdeps/x86_64/bits/atomic.h
32107         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32108         64bit integer.
32109         (atomic_exchange_acq): Likewise.
32110         (__arch_exchange_and_add_body): Likewise.
32111         (__arch_add_body): Likewise.
32112         (atomic_add_negative): Likewise.
32113         (atomic_add_zero): Likewise.
32115 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32117         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32118         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32120 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32122         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32123         Check __x86_64__ instead of __WORDSIZE.
32125 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32127         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32129 2012-03-19  David S. Miller  <davem@davemloft.net>
32131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32133         * sysdeps/sparc/fpu/fenv_private.h: New file.
32134         * sysdeps/sparc/fpu/math_private.h: Use it.
32135         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32136         Remove.
32137         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32138         (libc_feholdexcept_setroundl): Remove.
32139         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32140         Remove.
32141         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32142         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32146         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32147         int64_t instead of long int.
32148         (INSERT_WORDS64): Likwise.
32150 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32152         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32153         _Unwind_GetCFA return to _Unwind_Ptr first.
32155 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32157         [BZ #13629]
32158         * math/s_clog.c: Include <float.h>.
32159         (__clog): Scale large or subnormal inputs.
32160         * math/s_clogf.c: Likewise.
32161         * math/s_clogl.c: Likewise.
32162         * math/s_clog10.c: Include <float.h>.
32163         (M_LOG10_2): Define.
32164         (__clog10): Scale large or subnormal inputs.
32165         * math/s_clog10f.c: Likewise.
32166         * math/s_clog10l.c: Likewise.
32167         * math/libm-test.inc (clog_test): Add more tests.
32168         (clog10_test): Likewise.
32169         * sysdeps/i386/fpu/libm-test-ulps: Update.
32170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32172         [BZ #11451]
32173         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32174         x and y.
32175         * math/libm-test.inc (atan2_test): Add another test.
32177         * Makerules (common-objdir-compile): Remove.
32178         * sysdeps/unix/Makefile (config-generated): Do not add
32179         $(unix-generated) to variable.
32180         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32181         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32182         Remove rule.
32183         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32184         Likewise.
32185         [generic bits/local_lim.h] (before-compile): Do not append to
32186         variable.
32187         [generic bits/local_lim.h] (common-generated): Likewise.
32188         [generic sys/param.h] (before-compile): Do not append to variable.
32189         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32190         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32191         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32192         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32193         include.
32194         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32195         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32196         [generic sys/param.h] ($(addprefix
32197         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32198         [generic sys/param.h] (common-generated): Do not append to
32199         variable.
32200         [generic sys/param.h] (sysdep_headers): Likewise.
32201         [generic bits/errno.h] (before-compile): Do not append to
32202         variable.
32203         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32204         rule.
32205         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32206         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32207         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32208         [generic bits/errno.h] (common-generated): Do not append to
32209         variable.
32210         [generic bits/ioctls.h] (before-compile): Do not append to
32211         variable.
32212         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32213         rule.
32214         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32215         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32216         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32217         rule.
32218         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32219         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32220         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32221         [generic bits/ioctls.h] (common-generated): Do not append to
32222         variable.
32223         [generic sys/syscall.h] (syscall.h): Remove variable.
32224         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32225         rule.
32226         [generic sys/syscall.h] (before-compile): Do not append to
32227         variable.
32228         [generic sys/syscall.h] (common-generated): Likewise.
32229         * sysdeps/unix/errnos-tmpl.c: Remove file.
32230         * sysdeps/unix/errnos.awk: Likewise.
32231         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32232         * sysdeps/unix/ioctls.awk: Likewise.
32233         * sysdeps/unix/mk-local_lim.c: Likewise.
32234         * sysdeps/unix/snarf-ioctls: Likewise.
32236 2012-03-19  Richard Henderson  <rth@twiddle.net>
32238         * sysdeps/i386/fpu/fenv_private.h: New file.
32239         * sysdeps/i386/fpu/math_private.h: Use it.
32240         (math_opt_barrier, math_force_eval): Remove.
32241         (libc_feholdexcept_setround_53bit): Remove.
32242         (libc_feupdateenv_53bit): Remove.
32243         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32244         (math_opt_barrier, math_force_eval): Remove.
32245         (libc_feholdexcept): Remove.
32246         (libc_feholdexcept_setround): Remove.
32247         (libc_fetestexcept, libc_fesetenv): Remove.
32248         (libc_feupdateenv_test): Remove.
32249         (libc_feupdateenv, libc_feholdsetround): Remove.
32250         (libc_feresetround): Remove.
32252         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32253         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32255         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32256         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32257         (libc_feupdateenv_testl): New.
32258         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32259         (libc_feupdateenv_testf): New.
32260         (libc_feupdateenv): Use libc_feupdateenv_test.
32261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32262         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32264         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32265         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32266         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32267         (libc_feresetround_noex): New.
32268         (libc_feresetround_noexf): New.
32269         (libc_feresetround_noexl): New.
32270         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32271         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32272         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32273         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32274         SET_RESTORE_ROUND.
32275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32277         (__cos): Likewise.
32278         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32279         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32280         SET_RESTORE_ROUND_NOEX.
32281         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32282         SET_RESTORE_ROUND_NOEXF.
32283         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32284         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32285         (libc_feholdsetroundf): New.
32286         (libc_feresetround, libc_feresetroundf): New.
32288         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32289         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32290         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32292         * sysdeps/generic/math_private.h: Include <fenv.h>.
32293         (default_libc_feholdexcept): New.
32294         (default_libc_feholdexcept_setround): New.
32295         (default_libc_fesetenv, default_libc_feupdateenv): New.
32296         (libc_feholdexcept): Only define if undefined.
32297         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32298         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32299         (libc_feholdexcept_setroundl): Likewise.
32300         (libc_feholdexcept_setround_53bit): Likewise.
32301         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32302         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32303         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32304         (libc_feupdateenv_53bit): Likewise.
32305         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32306         (libc_feholdexcept): Convert from macro to inline function.
32307         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32308         (libc_fesetenv, libc_feupdateenv): Likewise.
32310         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32311         not previously defined.
32312         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32313         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32314         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32315         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32316         * sysdeps/ieee754/flt-32/math_private.h: New file.
32317         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32318         math_private.h below SET_FLOAT_WORD.
32319         (__isnan, __isinf_ns, __finite): Remove.
32320         (__isnanf, __isinf_nsf, __finitef): Remove.
32322 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32326 2012-03-17  David S. Miller  <davem@davemloft.net>
32328         [BZ #6471]
32329         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32330         for 2.16.
32332 2012-03-16  David S. Miller  <davem@davemloft.net>
32334         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32335         warnings.
32337         [BZ #6471]
32338         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32339         properly.
32340         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32341         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32342         sysdep_routines when subdir is sysvipc.
32343         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32344         __getshmlba helper.
32346         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32348 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32350         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32351         [__LP64__].
32353 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32355         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32356         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32357         (__lround): Renamed to ...
32358         (__llround): This.  Replace long int with long long int.
32359         Define lround functions as aliases of llround functions.
32360         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32362 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32364         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32365         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
32366         adresses to uintptr_t.  Replace "long int" and "unsigned long
32367         int" with "greg_t" on va_arg.
32369 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32371         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32372         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32374         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32375         Move e_machine check before EI_CLASS check.  Handle x32
32376         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32377         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32378         SKIP_EM_IA_64 and include
32379         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32381         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32382         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32383         (add_system_dir): New macro.
32385         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32386         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32388 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32390         [BZ #2551]
32391         [BZ #2552]
32392         [BZ #2553]
32393         [BZ #2554]
32394         [BZ #2562]
32395         [BZ #2563]
32396         [BZ #2565]
32397         [BZ #2566]
32398         [BZ #2576]
32399         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32400         (y0): Likewise.
32401         * math/w_j0f.c (j0f): Likewise.
32402         (y0f): Likewise.
32403         * math/w_j0l.c (__j0l): Likewise.
32404         (__y0l): Likewise.
32405         * math/w_j1.c (j1): Likewise.
32406         (y1): Likewise.
32407         * math/w_j1f.c (j1f): Likewise.
32408         (y1f): Likewise.
32409         * math/w_j1l.c (__j1l): Likewise.
32410         (__y1l): Likewise.
32411         * math/w_jn.c (jn): Likewise.
32412         (yn): Likewise.
32413         * math/w_jnf.c (jnf): Likewise.
32414         (ynf): Likewise.
32415         * math/w_jnl.c (__jnl): Likewise.
32416         (__ynl): Likewise.
32417         * math/libm-test.inc (j0_test): Add more tests.
32418         (j1_test): Likewise.
32419         (jn_test): Likewise.  Add trailing semicolon to existing test.
32420         (y0_test): Likewise.
32421         (y1_test): Likewise.
32422         * sysdeps/i386/fpu/libm-test-ulps: Update.
32423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32425         [BZ #13851]
32426         [BZ #13854]
32427         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32428         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32429         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32430         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32431         (__tanl): Set errno for infinite argument.
32432         * sysdeps/i386/fpu/mptan.c: Remove.
32433         * sysdeps/i386/fpu/s_tan.S: Likewise.
32434         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32435         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32436         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32437         * math/libm-test.inc (tan_test): Add more tests and enable more
32438         tests for double and long double.
32439         * sysdeps/i386/fpu/libm-test-ulps: Update.
32440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32442 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32444         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32445         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32447 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32449         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32450         * configure.in: Use it for both main tree and add-ons.
32451         * configure: Regenerated.
32453 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32455         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32457 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32459         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32460         in comment.
32462         [BZ #13851]
32463         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32464         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32465         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32466         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32467         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32468         infinite argument.
32469         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32471         != 0 for prec == 2.
32472         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32473         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32474         * sysdeps/i386/fpu/s_cosl.S: Likewise.
32475         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32476         * sysdeps/i386/fpu/s_sinl.S: Likewise.
32477         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32478         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32479         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32480         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32481         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32482         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32483         * math/libm-test.inc (cos_test): Add more tests and enable more
32484         tests for long double.
32485         (sin_test): Likewise.
32486         (sincos_test): Likewise.
32487         * sysdeps/i386/fpu/libm-test-ulps: Update.
32488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32490 2012-03-16  David S. Miller  <davem@davemloft.net>
32492         * sysdeps/sparc/fpu/math_private.h: New file.
32494 2012-03-15  David S. Miller  <davem@davemloft.net>
32496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32497         file.
32498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32500         file.
32501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32506         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32507         sysdep routines.
32508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32510         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32511         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32513         * sysdeps/sparc/sparc-ifunc.h: New file.
32514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32515         sparc-ifunc.h
32516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32518         Likewise.
32519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32520         Likewise.
32521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32525         Likewise.
32526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32531         Likewise.
32532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32533         Likewise.
32534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32540         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32541         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32552         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32554         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32555         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32556         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32559 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32561         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32562         scaling.
32563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32565 2012-03-15  Andreas Jaeger  <aj@suse.de>
32567         [BZ #13852]
32568         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32569         ieee754/flt-32 implementation for sin, cos and sincos.
32570         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32571         * sysdeps/i386/fpu/s_cosf.S: Likewise.
32572         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32573         * sysdeps/i386/fpu/s_sinf.S: Likewise.
32574         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32575         ieee754/flt-32 implementation for tan.
32577         * math/libm-test.inc (cos_test): Enable some large input tests for
32578         float as well
32579         (sin_test): Likewise.
32580         (sincos_test): Likewise.
32581         (tan_test): Add tests for large input.
32583         * sysdeps/i386/fpu/libm-test-ulps: Update.
32585 2012-03-15  Andreas Jaeger  <aj@suse.de>
32587         [BZ #13658]
32588         * math/libm-test.inc (cos_test): Add more test cases.
32589         (sin_test): Likewise.
32590         (sincos_test): Likewise.
32592 2012-03-15  Andreas Jaeger  <aj@suse.de>
32594         [BZ #13837]
32595         * math/libm-test.inc (cos_test): Add a test case for large input
32596         value.
32597         (sin_test): Likewise.
32598         (sincos_test): Likewise.
32600 2012-03-15  Andreas Jaeger  <aj@suse.de>,
32601         Joseph Myers  <joseph@codesourcery.com>
32603         [BZ #13658]
32604         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32605         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32606         * sysdeps/i386/fpu/branred.c: Likewise.
32607         * sysdeps/i386/fpu/dosincos.c: Likewise.
32608         * sysdeps/i386/fpu/mpa.c: Likewise.
32609         * sysdeps/i386/fpu/s_cos.S: Likewise.
32610         * sysdeps/i386/fpu/s_sin.S: Likewise.
32611         * sysdeps/i386/fpu/s_sincos.S: Likewise.
32612         * sysdeps/i386/fpu/sincos32.c: Likewise.
32614         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32615         Define.
32616         (libc_feupdateenv_53bit): Define.
32617         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32618         Define.
32619         (libc_feupdateenv_53bit): Define.
32621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32622         53 bit (without extend i386 double precision).
32624         * math/libm-test.inc (sincos_test): Add tests for large input.
32625         (sin): Likewise.
32626         (cos): Likewise.
32628         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32630 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32634 2012-03-15  David S. Miller  <davem@davemloft.net>
32636         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32637         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32638         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32639         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32652         file.
32653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32655         file.
32656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32658         file.
32659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32661         file.
32662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32663         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32664         fmin/fmax sysdep routines.
32665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32667 2012-03-14  David S. Miller  <davem@davemloft.net>
32669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32673         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32674         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32675         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32676         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32689         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32690         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32693         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32695         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32697         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32698         routines.
32699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32700         file.
32701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32703         file.
32704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32706         file.
32707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32709         file.
32710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32712         file.
32713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32715         file.
32716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32717         file.
32718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32719         file.
32720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32721         file.
32722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32723         New file.
32724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32725         file.
32726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32727         file.
32728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32730         file.
32731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32733         file.
32734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32736         file.
32737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32739         VIS3 routines.
32741         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32742         New file.
32744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32746         * sysdeps/sparc/configure.in: New file.
32747         * sysdeps/sparc/configure: Generate.
32748         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32749         * configure: Regenerate.
32750         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32751         * config.make.in (have-as-vis3): New.
32752         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32753         available use -Av9d instead of -Av9a.
32754         * sysdeps/sparc/sparc64/Makefile: Likewise.
32755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32757         New file.
32758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32759         file.
32760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32761         New file.
32762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32763         file.
32764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32765         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32766         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32767         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32770         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32771         fzeros/fnegs to load 0x80000000 into a float register instead of
32772         using the stack.
32773         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32775 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32778         bits/syscall.h.
32779         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32780         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32781         ($(inst_includedir)/bits/syscall.h): Remove rule.
32782         ($(objpfx)bits/syscall.d): Include instead of
32783         $(objpfx)syscall-list.d.
32784         (generated): Change syscall-list.h and syscall-list.d to
32785         bits/syscall.h and bits/syscall.d.
32787 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32789         [BZ #13846]
32790         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32792 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32794         [BZ #13841]
32795         * math/s_csqrt.c: Include <float.h>.
32796         (__csqrt): Scale large or subnormal inputs.
32797         * math/s_csqrtf.c: Likewise.
32798         * math/s_csqrtl.c: Likewise.
32799         * math/libm-test.inc (csqrt_test): Add more tests.
32800         * sysdeps/i386/fpu/libm-test-ulps: Update.
32801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32803         [BZ #13840]
32804         * math/libm-test.inc (hypot_test): Add more tests.
32806 2012-03-13  David S. Miller  <davem@davemloft.net>
32808         [BZ #13840]
32809         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32810         double-precision for the calculation instead of scaling.
32812 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32814         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32815         manipulate bits before adding and subtracting TWO52[sx].
32816         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32817         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32818         Likewise.
32819         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32821 2012-03-13  David S. Miller  <davem@davemloft.net>
32823         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32824         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32825         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32826         rtld-global-offsets.h
32827         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32829         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32830         large parameters.
32832         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32834         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32835         'err' in the ifdef scope in which it is actually used.
32837         * nss/nss_db/db-init.c: Include string.h
32839 2012-03-12  David S. Miller  <davem@davemloft.net>
32841         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32842         masking out of the most significant byte of random value used.
32843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32844         Fix coding style in previous change.
32846         * sysdeps/unix/sysv/linux/kernel-features.h
32847         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32848         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32849         expression.
32850         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32851         later.
32853 2012-03-11  David S. Miller  <davem@davemloft.net>
32855         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32856         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32857         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32858         for 'resultvar' otherwise things get truncated on 64-bit.
32860         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32861         Fix masking out of the most significant byte of random value used.
32863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32865 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32869 2012-03-09  David S. Miller  <davem@davemloft.net>
32871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32872         variables with appropriate CPP guards.
32873         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32874         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32875         on resulting framesize and the management of the outregs buffer for pltexit.
32876         Preserve floating point return values across _dl_call_pltexit call.
32877         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32878         framesize and the management of the outregs buffer for pltexit.
32879         Preserve floating point return values across _dl_call_pltexit
32880         call.
32881         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32882         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32883         (print_exit): Fix format string for return register value.
32885 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32887         * sunrpc/Makefile (others): Add rpcgen.
32888         ($(objpfx)rpcgen): Remove special build rule and dependency on
32889         libc.
32890         * sunrpc/rpcgen.c: New file.
32892 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32894         [BZ #13673]
32895         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32896         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32897         * sysdeps/i386/crti.S: Likewise.
32898         * sysdeps/i386/crtn.S: Likewise.
32899         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32900         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32901         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32902         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32903         * sysdeps/sh/crti.S: Likewise.
32904         * sysdeps/sh/crtn.S: Likewise.
32905         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32907         [BZ #13673]
32908         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32909         with URL.
32910         * locale/programs/locfile-kw.gperf: Likewise.
32911         * locale/programs/charmap-kw.h: Regenerated.
32912         * locale/programs/locfile-kw.h: Likewise.
32914         [BZ #13673]
32915         * intl/plural.y: Replace FSF snail mail address with URL.
32916         * intl/plural.c: Regenerated.
32918 2012-03-09  Richard Henderson  <rth@twiddle.net>
32920         * include/math_private.h: Remove file.
32921         * math/math_private.h: Move file ...
32922         * sysdeps/generic/math_private.h: ... here.
32924         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32925         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32926         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32928         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32929         and <math_private.h>.
32930         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32931         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32932         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32933         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32934         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32935         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32936         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32938         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32939         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32941         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32942         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32943         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32944         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32945         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32946         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32947         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32948         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32949         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32951         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32952         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32953         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32954         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32955         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32956         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32957         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32958         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32959         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32960         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32961         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32962         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32963         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32964         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32965         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32966         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32967         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32968         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32969         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32970         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32971         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32972         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32973         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32974         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32977         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32982         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32983         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32984         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32985         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32986         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32987         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32988         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32989         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32990         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32991         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32992         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32993         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32994         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32995         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32996         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32997         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32998         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32999         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33000         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33001         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33002         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33003         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33004         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33005         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33008         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33009         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33010         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33011         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33012         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33013         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33014         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33015         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33016         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33017         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33018         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33019         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33020         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33021         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33022         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33023         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33024         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33025         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33026         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33027         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33028         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33029         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33030         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33031         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33032         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33033         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33034         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33035         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33036         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33037         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33038         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33039         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33040         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33041         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33042         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33043         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33044         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33045         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33046         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33047         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33048         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33049         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33050         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33051         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33052         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33053         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33054         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33055         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33056         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33057         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33058         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33059         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33060         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33061         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33062         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33063         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33064         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33065         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33066         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33067         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33068         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33069         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33070         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33071         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33072         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33073         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33074         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33075         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33076         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33077         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33078         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33079         * sysdeps/ieee754/k_standard.c: Likewise.
33080         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33081         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33082         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33083         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33084         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33085         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33086         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33087         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33088         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33089         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33090         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33092         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33093         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33094         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33095         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33096         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33097         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33098         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33099         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33100         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33101         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33102         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33103         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33104         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33105         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33106         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33107         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33108         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33109         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33110         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33111         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33112         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33113         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33114         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33115         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33116         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33117         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33118         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33119         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33120         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33121         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33122         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33123         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33124         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33125         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33126         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33127         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33128         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33129         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33130         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33131         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33132         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33133         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33134         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33135         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33136         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33137         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33138         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33139         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33140         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33141         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33142         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33143         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33144         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33146         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33147         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33148         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33150         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33152         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33153         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33154         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33155         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33156         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33157         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33158         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33159         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33160         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33161         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33162         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33163         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33164         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33165         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33166         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33167         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33168         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33169         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33170         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33171         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33172         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33173         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33175         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33176         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33177         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33178         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33179         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33180         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33181         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33182         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33183         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33184         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33185         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33186         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33187         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33188         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33189         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33190         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33191         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33192         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33193         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33194         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33195         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33196         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33197         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33198         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33199         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33200         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33201         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33202         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33203         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33204         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33205         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33206         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33207         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33208         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33209         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33210         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33211         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33212         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33213         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33214         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33215         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33216         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33217         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33218         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33219         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33220         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33221         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33222         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33223         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33224         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33225         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33226         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33227         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33228         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33229         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33230         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33231         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33232         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33233         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33234         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33235         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33236         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33237         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33238         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33239         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33240         * sysdeps/ieee754/s_lib_version.c: Likewise.
33241         * sysdeps/ieee754/s_matherr.c: Likewise.
33242         * sysdeps/ieee754/s_signgam.c: Likewise.
33243         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33244         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33245         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33246         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33247         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33248         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33249         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33250         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33251         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33252         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33253         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33254         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33255         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33256         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33257         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33258         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33259         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33260         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33261         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33263         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33265 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33267         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33268         * sunrpc/rpc_main.c: Likewise.
33269         * sunrpc/rpc_svcout.c: Likewise.
33271 2012-03-09  David S. Miller  <davem@davemloft.net>
33273         * include/math_private.h: New file.
33275 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33277         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33278         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33279         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33280         from <bits/socket_type.h>.
33281         (enum __socket_type): Don't define here.
33282         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33284         bits/socket_type.h.
33286         [BZ #13566]
33287         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33288         checking __USE_GNU.
33290         * Makerules ($(inst_includedir)/%.h): New rule.
33291         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33292         (install-others): Remove variable setting.
33293         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33295 2012-03-08  Richard Henderson  <rth@twiddle.net>
33297         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33298         from macro to inline function; merge with the
33299         !__LIBC_INTERNAL_MATH_INLINES version.
33300         (__ieee754_sqrtf): Likewise.
33302         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33303         to inline function.
33304         (__rintf, __floor, __floorf): Likewise.
33306         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33307         macro to inline function.
33308         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33310         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33311         not <math/math_private.h>.
33313 2012-03-08  David S. Miller  <davem@davemloft.net>
33315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33316         copyright year.
33317         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33319 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33321         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33322         normalization.
33323         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33324         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33326 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33328         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33329         be defined individually, they must be defined as a block.  Define
33330         S for printing a string instead of hidint the different by using a
33331         macro for adding the 'l'.
33332         * stdio-common/tst-fphex-wide.c: Adjust.
33334 2012-03-07  Marek Polacek  <polacek@redhat.com>
33336         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33338 2012-03-08  Marek Polacek  <polacek@redhat.com>
33340         [BZ #13806]
33341         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33342         * stdio-common/tst-fphex.c: Define a few macros to make the
33343         test reusable.  Use them.
33344         * stdio-common/tst-fphex-wide.c: New file.
33346 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33348         [BZ #6911]
33349         * manual/macros.texi (gnusystems): New macro.
33350         (nongnusystems): Likewise.
33351         (gnulinuxhurdsystems): Likewise.
33352         (gnuhurdsystems): Likewise..
33353         (gnulinuxsystems): Likewise.
33354         * manual/charset.texi: Use new macros or @theglibc{} to refer to
33355         variants of the GNU system, not "GNU system".
33356         * manual/conf.texi: Likewise.
33357         * manual/errno.texi: Likewise.  Update example of errno macro
33358         expansion.
33359         * manual/filesys.texi: Likewise.
33360         (getumask): Document as specific to GNU/Hurd.
33361         * manual/install.texi: Likewise.  Reword some references to
33362         GNU/Linux.
33363         * manual/intro.texi: Likewise.
33364         * manual/io.texi: Likewise.
33365         (File Name Portability): Detail which constraints are inapplicable
33366         to all GNU systems and which are only inapplicable to GNU/Hurd.
33367         * manual/job.texi: Likewise.
33368         * manual/llio.texi: Likewise.
33369         (O_NOCTTY): Document as present on GNU/Linux.
33370         * manual/maint.texi: Likewise.
33371         * manual/memory.texi: Likewise.
33372         * manual/pattern.texi: Likewise.
33373         * manual/pipe.texi: Likewise.
33374         * manual/process.texi: Likewise.
33375         * manual/resource.texi: Likewise.
33376         (RUSAGE_CHILDREN): Remove statement about specifying a particular
33377         child on GNU/Hurd.
33378         * manual/setjmp.texi: Likewise.
33379         * manual/signal.texi: Likewise.
33380         * manual/startup.texi: Likewise.
33381         * manual/stdio.texi: Likewise.
33382         * manual/terminal.texi: Likewise.
33383         (ONLCR): Document as POSIX.
33384         (OXTABS): Document availability on GNU/Linux as XTABS.
33385         (ONOEOT): Document availability separately from other bits.
33386         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33387         * manual/time.texi: Likewise.
33388         * manual/users.texi: Likewise.
33389         * INSTALL: Regenerated.
33390         * sysdeps/gnu/errlist.c: Regenerated.
33392         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33393         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33394         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
33395         puts.
33396         * configure: Regenerated.
33398 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33400         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33401         default includes instead of AC_HEADER_CHECK.
33402         * sysdeps/i386/configure: Regenerated.
33404         [BZ #10716]
33405         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33406         * math/s_cacoshf.c (__cacoshf): Likewise.
33407         * math/s_cacoshl.c (__cacoshl): Likewise.
33408         * math/s_casinh.c (__casinh): Set signs of result from argument.
33409         * math/s_casinhf.c (__casinhf): Likewise.
33410         * math/s_casinhl.c (__casinhl): Likewise.
33411         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33412         (casinh_test): Add more tests.
33413         * sysdeps/i386/fpu/libm-test-ulps: Update.
33414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33416 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33418         * po/zh_TW.po: Update from translation team.
33420         * login/Makefile (distribute): Remove variable.
33421         * catgets/Makefile: Likewise.
33422         * mach/Makefile: Likewise.
33423         * malloc/Makefile: Likewise.
33424         * misc/Makefile: Likewise.
33425         * iconv/Makefile: Likewise.
33426         * nscd/Makefile: Likewise.
33427         * hurd/Makefile: Likewise.
33428         * manual/Makefile: Likewise.
33429         * locale/Makefile: Likewise.
33430         * intl/Makefile: Likewise.
33431         * conform/Makefile: Likewise.
33432         * nss/Makefile: Likewise.
33433         * time/Makefile: Likewise.
33434         * soft-fp/Makefile: Likewise.
33435         * dirent/Makefile: Likewise.
33436         * gmon/Makefile: Likewise.
33437         * po/Makefile: Likewise.
33438         * rt/Makefile: Likewise.
33439         * socket/Makefile: Likewise.
33440         * math/Makefile: Likewise.
33441         * signal/Makefile: Likewise.
33442         * debug/Makefile: Likewise.
33443         * elf/Makefile: Likewise.
33444         * timezone/Makefile: Likewise.
33445         * stdlib/Makefile: Likewise.
33446         * iconvdata/Makefile: Likewise.
33447         * sunrpc/Makefile: Likewise.
33448         * io/Makefile: Likewise.
33449         * argp/Makefile: Likewise.
33450         * inet/Makefile: Likewise.
33451         * hesiod/Makefile: Likewise.
33452         * grp/Makefile: Likewise.
33453         * csu/Makefile: Likewise.
33454         * wctype/Makefile: Likewise.
33455         * crypt/Makefile: Likewise.
33456         * libio/Makefile: Likewise.
33457         * string/Makefile: Likewise.
33458         * nis/Makefile: Likewise.
33459         * resolv/Makefile: Likewise.
33460         * stdio-common/Makefile: Likewise.
33461         * wcsmbs/Makefile: Likewise.
33462         * dlfcn/Makefile: Likewise.
33463         * posix/Makefile: Likewise.
33465         [BZ #6959]
33466         * timezone/Makefile: Don't install timezone files, just the programs
33467         and scripts.
33469 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
33471         * nss/databases.def: Add missing gshadow entry.
33473         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
33475 2012-03-06  Marek Polacek  <polacek@redhat.com>
33477         [BZ #13726]
33478         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33479         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33480         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33481         * stdio-common/tst-long-dbl-fphex.c: New file.
33483 2012-03-06  David S. Miller  <davem@davemloft.net>
33485         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33486         (set_obp_int): New function.
33487         (get_obp_int): New function.
33488         (__get_clockfreq_via_dev_openprom): Likewise.
33489         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33490         Avoid unused variable warnings on 'val' and use builtin_expect.
33491         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33492         __builtin_expect.
33493         (INLINE_CLONE_SYSCALL): Likewise.
33495 2012-03-05  David S. Miller  <davem@davemloft.net>
33497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33499 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
33501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33503         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33504         only for |x| >= 40.
33505         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33507 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33509         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33510         Replace gettimeofday with __vdso_gettimeofday.
33512         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33513         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33514         __vdso_clock_gettime and __vdso_getcpu.
33516         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33517         time with __vdso_time.
33519 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33521         * manual/lang.texi (size_t): Note types to which size_t may be
33522         equivalent with the GNU C Library, but do not describe when
33523         differences between them are significant.
33525 2012-03-05  Andreas Jaeger  <aj@suse.de>
33527         * sysdeps/i386/fpu/libm-test-ulps: Update.
33529 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33531         [BZ #3976]
33532         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33533         (__ieee754_pow): Save and restore rounding mode and use
33534         round-to-nearest for main computations.
33535         * math/libm-test.inc (pow_test_tonearest): New function.
33536         (pow_test_towardzero): Likewise.
33537         (pow_test_downward): Likewise.
33538         (pow_test_upward): Likewise.
33539         (main): Call the new functions.
33540         * sysdeps/i386/fpu/libm-test-ulps: Update.
33541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33543         [BZ #3976]
33544         * math/libm-test.inc (cosh_test_tonearest): New function.
33545         (cosh_test_towardzero): Likewise.
33546         (cosh_test_downward): Likewise.
33547         (cosh_test_upward): Likewise.
33548         (sinh_test_tonearest): Likewise.
33549         (sinh_test_towardzero): Likewise.
33550         (sinh_test_downward): Likewise.
33551         (sinh_test_upward): Likewise.
33552         (main): Call the new functions.
33553         * sysdeps/i386/fpu/libm-test-ulps: Update.
33554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33556 2012-03-05  Tom de Vries  <tom@codesourcery.com>
33558         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33559         default stack guard is set in last bytes.
33560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33562 2012-03-05  Kees Cook  <keescook@chromium.org>
33564         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33566         [BZ #13656]
33567         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33568         possibly allocate from heap instead of stack.
33569         * stdio-common/bug-vfprintf-nargs.c: New file.
33570         * stdio-common/Makefile (tests): Add nargs overflow test.
33572 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
33574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33576 2012-03-03  Marek Polacek  <polacek@redhat.com>
33578         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33579         * math/math_private.h: Likewise.
33580         * stdlib/tst-strtod.c: Likewise.
33581         * sysdeps/i386/i486/bits/atomic.h: Likewise.
33582         * sysdeps/x86_64/bits/atomic.h: Likewise.
33584 2012-03-02  David S. Miller  <davem@davemloft.net>
33586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33590         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33591         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33592         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33593         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33595 2012-03-02  Roland McGrath  <roland@hack.frob.com>
33597         [BZ #13792]
33598         * manual/examples/README: New file, says the example source files
33599         can be used under GPL>=2.
33600         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33601         line containing just "*/".
33602         * manual/examples/add.c: Add copyright header (GPL>=2).
33603         * manual/examples/argp-ex1.c: Likewise.
33604         * manual/examples/argp-ex2.c: Likewise.
33605         * manual/examples/argp-ex3.c: Likewise.
33606         * manual/examples/argp-ex4.c: Likewise.
33607         * manual/examples/atexit.c: Likewise.
33608         * manual/examples/db.c: Likewise.
33609         * manual/examples/dir.c: Likewise.
33610         * manual/examples/dir2.c: Likewise.
33611         * manual/examples/execinfo.c: Likewise.
33612         * manual/examples/filecli.c: Likewise.
33613         * manual/examples/filesrv.c: Likewise.
33614         * manual/examples/fmtmsgexpl.c: Likewise.
33615         * manual/examples/genpass.c: Likewise.
33616         * manual/examples/inetcli.c: Likewise.
33617         * manual/examples/inetsrv.c: Likewise.
33618         * manual/examples/isockad.c: Likewise.
33619         * manual/examples/longopt.c: Likewise.
33620         * manual/examples/memopen.c: Likewise.
33621         * manual/examples/memstrm.c: Likewise.
33622         * manual/examples/mkfsock.c: Likewise.
33623         * manual/examples/mkisock.c: Likewise.
33624         * manual/examples/mygetpass.c: Likewise.
33625         * manual/examples/pipe.c: Likewise.
33626         * manual/examples/popen.c: Likewise.
33627         * manual/examples/rprintf.c: Likewise.
33628         * manual/examples/search.c: Likewise.
33629         * manual/examples/select.c: Likewise.
33630         * manual/examples/setjmp.c: Likewise.
33631         * manual/examples/sigh1.c: Likewise.
33632         * manual/examples/sigusr.c: Likewise.
33633         * manual/examples/stpcpy.c: Likewise.
33634         * manual/examples/strdupa.c: Likewise.
33635         * manual/examples/strftim.c: Likewise.
33636         * manual/examples/strncat.c: Likewise.
33637         * manual/examples/subopt.c: Likewise.
33638         * manual/examples/swapcontext.c: Likewise.
33639         * manual/examples/termios.c: Likewise.
33640         * manual/examples/testopt.c: Likewise.
33641         * manual/examples/testpass.c: Likewise.
33642         * manual/examples/timeval_subtract.c: Likewise.
33644         [BZ #13792]
33645         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33646         function to ...
33647         * manual/timeval_subtract.c.texi: ... here, new file.
33649 2012-03-02  David S. Miller  <davem@davemloft.net>
33651         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33653 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33655         [BZ #3976]
33656         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33657         (__sin): Save and restore rounding mode and use round-to-nearest
33658         for all computations.
33659         (__cos): Save and restore rounding mode and use round-to-nearest
33660         for all computations.
33661         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33662         <fenv.h>.
33663         (tan): Save and restore rounding mode and use round-to-nearest for
33664         all computations.
33665         * math/libm-test.inc (cos_test_tonearest): New function.
33666         (cos_test_towardzero): Likewise.
33667         (cos_test_downward): Likewise.
33668         (cos_test_upward): Likewise.
33669         (sin_test_tonearest): Likewise.
33670         (sin_test_towardzero): Likewise.
33671         (sin_test_downward): Likewise.
33672         (sin_test_upward): Likewise.
33673         (tan_test_tonearest): Likewise.
33674         (tan_test_towardzero): Likewise.
33675         (tan_test_downward): Likewise.
33676         (tan_test_upward): Likewise.
33677         (main): Call the new functions.
33678         * sysdeps/i386/fpu/libm-test-ulps: Update.
33679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33681         [BZ #10135]
33682         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33683         small n, then large n, before computing and testing k+n.
33684         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33686         Likewise.
33687         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33688         Likewise.
33689         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33690         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33692         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33693         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33694         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33695         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33696         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33697         * math/libm-test.inc (scalbn_test): Add more tests.
33698         (scalbln_test): Likewise.
33700         * manual/filesys.texi (mode_t): Describe constraints on size and
33701         signedness, not exact equivalence to a particular type.
33702         (ino_t): Likewise.
33703         (ino64_t): Likewise.
33704         (dev_t): Likewise.
33705         (nlink_t): Likewise.
33706         (blkcnt_t): Likewise.
33707         (blkcnt64_t): Likewise.
33708         * manual/llio.texi (off_t): Likewise.
33710         [BZ #3976]
33711         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33712         (__ieee754_exp): Save and restore rounding mode and use
33713         round-to-nearest for all computations.
33714         * math/libm-test.inc (exp_test_tonearest): New function.
33715         (exp_test_towardzero): Likewise.
33716         (exp_test_downward): Likewise.
33717         (exp_test_upward): Likewise.
33718         (main): Call the new functions.
33719         * sysdeps/i386/fpu/libm-test-ulps: Update.
33720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33722 2012-03-01  Chris Demetriou  <cgd@google.com>
33724         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33725         have predictable order.
33727 2012-03-01  David S. Miller  <davem@davemloft.net>
33729         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33731         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33732         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33733         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33734         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33736         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33737         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33738         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33740         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33741         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33742         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33743         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33744         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33748         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33749         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33750         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33752         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33753         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33754         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33755         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33756         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33757         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33758         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33759         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33760         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33761         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33762         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33763         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33765         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33766         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33768         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33769         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33770         * sysdeps/sparc/elf/configure: Regenerated.
33772 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33774         * configure.in (AS, LD): Require binutils 2.20 or later.
33775         * configure: Regenerated.
33776         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33777         as required minimum version.
33778         * INSTALL: Regenerated.
33780         [BZ #2541]
33781         [BZ #4108]
33782         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33783         before squaring exponent.
33784         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33785         bottom long double and 27 bits of top long double before squaring
33786         exponent.
33787         * math/libm-test.inc (erfc_test): Add more tests.
33788         * sysdeps/i386/fpu/libm-test-ulps: Update.
33789         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33792 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33794         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33795         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33796         containing bit-fields.
33797         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33798         * soft-fp/single.h (_FP_UNION_S): Likewise.
33799         * soft-fp/double.h (_FP_UNION_D): Likewise.
33801 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33803         [BZ #13786]
33804         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33805         not include ../strcmp.S.
33806         [USE_AS_STRNCASECMP_L]: Likewise.
33807         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33808         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33809         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33810         (__strncasecmp_l_ia32): Define as alias to
33811         __strncasecmp_l_nonascii.
33813         [BZ #5794]
33814         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33815         * sysdeps/i386/fpu/libm-test-ulps: Update.
33816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33818         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33821 2012-02-29  Jeff Law  <law@redhat.com>
33823         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33824         out of bounds read.
33826 2012-02-29  Marek Polacek  <polacek@redhat.com>
33828         [BZ #13706]
33829         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33830         * elf/Makefile: Add rules to run tst-unused-dep.out.
33832 2012-02-28  David S. Miller  <davem@davemloft.net>
33834         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33835         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33836         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33837         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33838         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33839         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33841 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33843         * math/libm-test.inc (llround_test): Move one test from
33844         lround_test.  Use TEST_f_L in moved test.
33845         (lround_test): Move misplaced test to llround_test.  Add testcase
33846         from bug 2561.
33848 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33850         * sysdeps/x86_64/fpu/e_expf.S: New file.
33851         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33853 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33855         [BZ #13637]
33856         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33857         of remain_len that may cause incomplete multi-byte character and
33858         false match.
33859         * posix/bug-regex33.c: New file.
33860         * posix/Makefile (tests): Add bug-regex33.
33862 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33864         * manual/macros.texi: New file.
33865         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33866         * manual/libc.texinfo: Include macros.texi.
33867         * manual/creatute.texi: Likewise.
33868         * manual/install.texi: Likewise.
33869         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33870         @glibcadj{} in references to the GNU C Library.
33871         * manual/charset.texi: Likewise.
33872         * manual/conf.texi: Likewise.
33873         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33874         when not using those macros.
33875         * manual/creature.texi: Likewise.
33876         * manual/crypt.texi: Likewise.
33877         * manual/errno.texi: Likewise.
33878         * manual/filesys.texi: Likewise.
33879         * manual/header.texi: Likewise.
33880         * manual/install.texi: Likewise.
33881         * manual/intro.texi: Likewise.
33882         * manual/io.texi: Likewise.
33883         * manual/job.texi: Likewise.
33884         * manual/lang.texi: Likewise.
33885         * manual/libc.texiinfo: Likewise.
33886         * manual/llio.texi: Likewise.
33887         * manual/locale.texi: Likewise.
33888         * manual/maint.texi: Likewise.
33889         * manual/math.texi: Likewise.
33890         * manual/memory.texi: Likewise.
33891         * manual/message.texi: Likewise.
33892         * manual/nss.texi: Likewise.
33893         * manual/pattern.texi: Likewise.
33894         * manual/process.texi: Likewise.
33895         * manual/resource.texi: Likewise.
33896         * manual/search.texi: Likewise.
33897         * manual/setjmp.texi: Likewise.
33898         * manual/signal.texi: Likewise.
33899         * manual/socket.texi: Likewise.
33900         * manual/startup.texi: Likewise.
33901         * manual/stdio.texi: Likewise.
33902         * manual/string.texi: Likewise.
33903         * manual/sysinfo.texi: Likewise.
33904         * manual/syslog.texi: Likewise.
33905         * manual/terminal.texi: Likewise.
33906         * manual/time.texi: Likewise.
33907         * manual/users.texi: Likewise.
33908         * INSTALL: Regenerated.
33909         * NOTES: Regenerated.
33910         * sysdeps/gnu/errlist.c: Regenerated.
33912 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33914         * include/dirent.h: Include <dirstream.h> before
33915         <dirent/dirent.h>.
33917 2012-02-28  David S. Miller  <davem@davemloft.net>
33919         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33920         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33921         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33922         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33924 2012-02-27  David S. Miller  <davem@davemloft.net>
33926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33928         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33929         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33932         frame pointer instead of stack pointer relative arg slot.
33933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33934         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33935         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33937 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33939         [BZ #3992]
33940         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33942 2012-02-27  David S. Miller  <davem@davemloft.net>
33944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33948         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33949         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33950         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33951         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33953 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33955         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33956         later.  Allow versions 5-9.
33957         * configure: Regenerated.
33958         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33959         required minimum version and 4.6 as recommended version.  Do not
33960         mention bugs in GCC 2.7 and 2.8.
33961         * INSTALL: Regenerated.
33963 2012-02-27  David S. Miller  <davem@davemloft.net>
33965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33969         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33970         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33971         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33972         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33974         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33975         manipulate bits before adding and subtracting TWO112[sx].
33976         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33978 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33980         [BZ #13775]
33981         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33982         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33983         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33984         being in POSIX, because they are in 1003.1-2008.
33986         * rt/tst-aio.c: Include <fcntl.h>.
33987         * rt/tst-aio7.c: Likewise.
33988         * rt/tst-aio64.c: Likewise.
33990         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33992 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33994         * manual/install.texi (--with-headers): Describe headers as
33995         interface headers, not private headers.
33996         (Specific advice for GNU/Linux systems): Describe use of headers
33997         from "make headers_install", not private headers from older
33998         kernels.
33999         * INSTALL: Regenerated.
34000         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34001         Change to 2.6.19.
34002         * sysdeps/unix/sysv/linux/configure: Regenerated.
34004         * manual/llio.texi (fclean): Remove documentation.
34006         * manual/Makefile (libc-texi-generated): New variable.  Include
34007         version.texi.
34008         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34009         $(libc-texi-generated), not duplicated list of files.
34010         (version.texi, stamp-version): New rules.
34011         (realclean): Remove $(libc-texi-generated), not individual files
34012         from that list.  Do not remove dir-add.texinfo.
34013         * manual/libc.texinfo: Comment out uses of edition numbers and
34014         references to printed manual.  Remove last-updated dates.
34015         (EDITION): Comment out.
34016         (ISBN): Likewise.
34017         (VERSION, UPDATED): Remove.
34018         (version.texi): Include.
34020 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34022         * sysdeps/posix/spawni.c: Include <signal.h>.
34023         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34024         * sysdeps/pthread/aio_fsync.c: Likewise.
34026 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34028         * conform/Makefile (tests): Run only when not cross-compiling and
34029         when fast-check is not defined.
34031         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34032         * conform/data/limits.h-data: Fixes for POSIX2008.
34033         * conform/run-conformtest.sh: Run all tests.
34034         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34035         headers.
34036         * include/bits/dlfcn.h: Likewise.
34037         * include/langinfo.h: Likewise.
34038         * include/monetary.h: Likewise.
34039         * include/sys/poll.h: Likewise.
34041         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34042         for __USE_GNU.
34043         * posix/spawn.h: Define __need_sigset_t.
34044         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34045         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34046         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34047         to get sigevent_t only.
34048         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34049         only for __USE_GNU.
34050         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34051         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34052         process_vm_writev only for __USE_GNU.
34053         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34055         * conform/Makefile: For now ignore errors from run-conformtest.
34056         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34057         POSIX to avoid namespace pollution.  Don't prepend headers.
34058         * conform/data/aio.h-data: Fixes for POSIX testing.
34059         * conform/data/fcntl.h-data: Likewise.
34060         * conform/data/glob.h-data: Likewise.
34061         * conform/data/grp.h-data: Likewise.
34062         * conform/data/pthread.h-data: Likewise.
34063         * conform/data/pwd.h-data: Likewise.
34064         * conform/data/signal.h-data: Likewise.
34065         * conform/data/spawn.h-data: Likewise.
34066         * conform/data/stdio.h-data: Likewise.
34067         * conform/data/stdlib.h-data: Likewise.
34068         * conform/data/stropts.h-data: Likewise.
34069         * conform/data/sys/mman.h-data: Likewise.
34070         * conform/data/sys/stat.h-data: Likewise.
34071         * conform/data/sys/types.h-data: Likewise.
34072         * conform/data/sys/wait.h-data: Likewise.
34073         * conform/data/time.h-data: Likewise.
34074         * conform/data/unistd.h-data: Likewise.
34075         * conform/data/utime.h-data: Likewise.
34077         * io/sys/stat.h: fchmod was always in POSIX.
34078         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34079         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34080         * rt/aio.h: Define __need_timespec before including <time.h>.
34081         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34082         struct.  Add forward declaration of pthread_attr_t and use it in
34083         sigevent.
34084         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34085         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34086         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34087         always remove CLK_TCK definition.
34089 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34091         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34093 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34095         * conform/run-conformtest.sh: New file.
34096         * conform/Makefile: Run run-conformtest for tests.
34097         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34098         support.
34100         * conform/data/uchar.h-data: New file.
34101         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34102         * conform/data/arpa/inet.h-data: Likewise.
34103         * conform/data/assert.h-data: Likewise.
34104         * conform/data/complex.h-data: Likewise.
34105         * conform/data/cpio.h-data: Likewise.
34106         * conform/data/ctype.h-data: Likewise.
34107         * conform/data/dirent.h-data: Likewise.
34108         * conform/data/dlfcn.h-data: Likewise.
34109         * conform/data/errno.h-data: Likewise.
34110         * conform/data/fcntl.h-data: Likewise.
34111         * conform/data/float.h-data: Likewise.
34112         * conform/data/fmtmsg.h-data: Likewise.
34113         * conform/data/fnmatch.h-data: Likewise.
34114         * conform/data/ftw.h-data: Likewise.
34115         * conform/data/glob.h-data: Likewise.
34116         * conform/data/grp.h-data: Likewise.
34117         * conform/data/iconv.h-data: Likewise.
34118         * conform/data/inttypes.h-data: Likewise.
34119         * conform/data/langinfo.h-data: Likewise.
34120         * conform/data/libgen.h-data: Likewise.
34121         * conform/data/limits.h-data: Likewise.
34122         * conform/data/locale.h-data: Likewise.
34123         * conform/data/math.h-data: Likewise.
34124         * conform/data/monetary.h-data: Likewise.
34125         * conform/data/mqueue.h-data: Likewise.
34126         * conform/data/ndbm.h-data: Likewise.
34127         * conform/data/net/if.h-data: Likewise.
34128         * conform/data/netdb.h-data: Likewise.
34129         * conform/data/netinet/in.h-data: Likewise.
34130         * conform/data/nl_types.h-data: Likewise.
34131         * conform/data/poll.h-data: Likewise.
34132         * conform/data/pthread.h-data: Likewise.
34133         * conform/data/pwd.h-data: Likewise.
34134         * conform/data/regex.h-data: Likewise.
34135         * conform/data/sched.h-data: Likewise.
34136         * conform/data/search.h-data: Likewise.
34137         * conform/data/semaphore.h-data: Likewise.
34138         * conform/data/setjmp.h-data: Likewise.
34139         * conform/data/signal.h-data: Likewise.
34140         * conform/data/spawn.h-data: Likewise.
34141         * conform/data/stdarg.h-data: Likewise.
34142         * conform/data/stdio.h-data: Likewise.
34143         * conform/data/stdlib.h-data: Likewise.
34144         * conform/data/string.h-data: Likewise.
34145         * conform/data/strings.h-data: Likewise.
34146         * conform/data/stropts.h-data: Likewise.
34147         * conform/data/sys/ipc.h-data: Likewise.
34148         * conform/data/sys/mman.h-data: Likewise.
34149         * conform/data/sys/msg.h-data: Likewise.
34150         * conform/data/sys/resource.h-data: Likewise.
34151         * conform/data/sys/select.h-data: Likewise.
34152         * conform/data/sys/sem.h-data: Likewise.
34153         * conform/data/sys/shm.h-data: Likewise.
34154         * conform/data/sys/socket.h-data: Likewise.
34155         * conform/data/sys/stat.h-data: Likewise.
34156         * conform/data/sys/statvfs.h-data: Likewise.
34157         * conform/data/sys/time.h-data: Likewise.
34158         * conform/data/sys/timeb.h-data: Likewise.
34159         * conform/data/sys/times.h-data: Likewise.
34160         * conform/data/sys/types.h-data: Likewise.
34161         * conform/data/sys/uio.h-data: Likewise.
34162         * conform/data/sys/un.h-data: Likewise.
34163         * conform/data/sys/utsname.h-data: Likewise.
34164         * conform/data/sys/wait.h-data: Likewise.
34165         * conform/data/syslog.h-data: Likewise.
34166         * conform/data/tar.h-data: Likewise.
34167         * conform/data/termios.h-data: Likewise.
34168         * conform/data/utime.h-data: Likewise.
34169         * conform/data/utmpx.h-data: Likewise.
34170         * conform/data/varargs.h-data: Likewise.
34171         * conform/data/wchar.h-data: Likewise.
34172         * conform/data/wctype.h-data: Likewise.
34173         * conform/data/wordexp.h-data: Likewise.
34175         * include/stropts.h: New file.
34176         * include/uchar.h: New file.
34177         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34178         * include/assert.h: Likewise.
34179         * include/ctype.h: Likewise.
34180         * include/dirent.h: Likewise.
34181         * include/dlfcn.h: Likewise.
34182         * include/fcntl.h: Likewise.
34183         * include/fnmatch.h: Likewise.
34184         * include/glob.h: Likewise.
34185         * include/grp.h: Likewise.
34186         * include/libio.h: Likewise.
34187         * include/locale.h: Likewise.
34188         * include/math.h: Likewise.
34189         * include/net/if.h: Likewise.
34190         * include/netdb.h: Likewise.
34191         * include/netinet/in.h: Likewise.
34192         * include/pthread.h: Likewise.
34193         * include/pwd.h: Likewise.
34194         * include/regex.h: Likewise.
34195         * include/sched.h: Likewise.
34196         * include/search.h: Likewise.
34197         * include/setjmp.h: Likewise.
34198         * include/signal.h: Likewise.
34199         * include/stdio.h: Likewise.
34200         * include/stdlib.h: Likewise.
34201         * include/string.h: Likewise.
34202         * include/sys/cdefs.h: Likewise.
34203         * include/sys/mman.h: Likewise.
34204         * include/sys/msg.h: Likewise.
34205         * include/sys/resource.h: Likewise.
34206         * include/sys/select.h: Likewise.
34207         * include/sys/socket.h: Likewise.
34208         * include/sys/stat.h: Likewise.
34209         * include/sys/statvfs.h: Likewise.
34210         * include/sys/time.h: Likewise.
34211         * include/sys/times.h: Likewise.
34212         * include/sys/uio.h: Likewise.
34213         * include/sys/utsname.h: Likewise.
34214         * include/sys/wait.h: Likewise.
34215         * include/termios.h: Likewise.
34216         * include/time.h: Likewise.
34217         * include/ulimit.h: Likewise.
34218         * include/unistd.h: Likewise.
34219         * include/utime.h: Likewise.
34220         * include/wchar.h: Likewise.
34221         * include/wctype.h: Likewise.
34222         * include/wordexp.h: Likewise.
34224         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34226         * time/time.h: TIME_UTC must be a macro.
34227         Make timespec_get available for ISO C11 only as well.
34229 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34231         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34232         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34234 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34236         * configure.in: Use -o not -a in test for unsupported multi-arch.
34238 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34240         * manual/texinfo.tex: Update to version 2012-01-19.16.
34242 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34244         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34246 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34248         [BZ #13738]
34249         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34250         * manual/fdl-1.3.texi: New file.
34251         * manual/fdl-1.1.texi: File removed.
34253         [BZ #13738]
34254         * manual/libc.texinfo (FDL_VERSION): New @set.
34255         Use it for mention of FDL in cover text.
34256         (Documentation License): Use it in @include file name.
34258 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34259             Roland McGrath  <roland@hack.frob.com>
34261         [BZ #5461]
34262         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34263         not LONG_LONG_MAX and LONG_LONG_MIN.
34264         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34265         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34266         name.
34267         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34269 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34271         [BZ #2547]
34272         [BZ #11365]
34273         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34274         manipulate bits before adding and subtracting TWO23[sx].
34275         * math/libm-test.inc (nearbyint_test): Add more tests.
34277 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34279         [BZ #2548]
34280         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34281         bits before adding and subtracting TWO23[sx].
34282         * math/libm-test.inc (rint_test): Add more tests.
34283         (rint_test_tonearest): Likewise.
34284         (rint_test_towardzero): Likewise.
34285         (rint_test_downward): Likewise.
34286         (rint_test_upward: Likewise.
34288 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34290         [BZ #10110]
34291         * include/stdc-predef.h: New file.  Extracted from features.h.
34292         * include/features.h: Include stdc-predef.h.
34293         * Makefile (headers): Add stdc-predef.h.
34294         * CONFORMANCE (Compiler limitations): Update.
34296 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34298         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34300 2012-02-21  David S. Miller  <davem@davemloft.net>
34302         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34303         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34305 2012-02-20  David S. Miller  <davem@davemloft.net>
34307         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34308         using a normal save/restore sequence, rather than allocating a
34309         dummy stack frame just to store a frame pointer and restore.
34310         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34312 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34314         * manual/install.texi: Fix stray word in line-wrapped comment.
34316 2012-02-20  David S. Miller  <davem@davemloft.net>
34318         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34319         both binutils and gcc support GOTDATA.
34321         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34322         "rd %pc" in the PIC register setup sequences.
34324         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34325         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34326         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34327         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34328         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34329         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34330         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34331         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34333         (SYSCALL_ERROR_HANDLER): Likewise.
34334         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34335         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34336         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34337         (SYSCALL_ERROR_HANDLER): Likewise.
34339         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34340         (HAVE_GCC_GOTDATA): New.
34341         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34342         relocation support in both binutils and gcc.
34343         * sysdeps/sparc/elf/configure: Regenerate.
34345         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34346         * sysdeps/sparc/sparc32/elf/configure: Delete.
34347         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34348         * sysdeps/sparc/sparc64/elf/configure: Delete.
34349         * sysdeps/sparc/elf/configure.in: New file.
34350         * sysdeps/sparc/elf/configure: Generate.
34352         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34353         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34354         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34355         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34356         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34358 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34360         * manual/install.texi: Do not mention specific glibc version
34361         numbers.
34362         * manual/libc.texinfo (VERSION, UPDATED): Update.
34363         (@copying): Use @copyright{} and range of years.
34365 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34367         [BZ #13695]
34368         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34369         [crti.S not in sysdirs] (generated): Do not append.
34370         [crti.S not in sysdirs] (omit-deps): Likewise.
34371         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34372         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34373         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34374         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34375         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34376         Likewise.
34377         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34378         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34379         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34380         * csu/defs.awk: Remove file.
34381         * sysdeps/generic/initfini.c: Likewise.
34382         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34383         variable.
34384         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34385         Likewise.
34387 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34389         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34390         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34391         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34392         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34393         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34394         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34395         <bits/epoll.h>.
34396         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34397         (__EPOLL_PACKED): Define to empty if not defined by
34398         <bits/epoll.h>.
34399         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34401         bits/epoll.h.
34403 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34405         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34406         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34407         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34408         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34409         <bits/timerfd.h>.
34410         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34412         bits/timerfd.h.
34414 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34416         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34417         in C locale.
34418         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34419         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34420         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34423 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34425         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34426         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34428 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34430         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34431         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34432         defined.
34433         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34434         Likewise.
34435         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34436         entry for 2.16.
34438 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34440         * math/w_acos.c: Use non-signaling floating-point comparisons.
34441         * math/w_acosf.c: Likewise.
34442         * math/w_acosh.c: Likewise.
34443         * math/w_acoshf.c: Likewise.
34444         * math/w_acoshl.c: Likewise.
34445         * math/w_acosl.c: Likewise.
34446         * math/w_asin.c: Likewise.
34447         * math/w_asinf.c: Likewise.
34448         * math/w_asinl.c: Likewise.
34449         * math/w_atanh.c: Likewise.
34450         * math/w_atanhf.c: Likewise.
34451         * math/w_atanhl.c: Likewise.
34452         * math/w_exp2.c: Likewise.
34453         * math/w_exp2f.c: Likewise.
34454         * math/w_exp2l.c: Likewise.
34455         * math/w_j0.c: Likewise.
34456         * math/w_j0f.c: Likewise.
34457         * math/w_j0l.c: Likewise.
34458         * math/w_j1.c: Likewise.
34459         * math/w_j1f.c: Likewise.
34460         * math/w_j1l.c: Likewise.
34461         * math/w_jn.c: Likewise.
34462         * math/w_jnf.c: Likewise.
34463         * math/w_log.c: Likewise.
34464         * math/w_log10.c: Likewise.
34465         * math/w_log10f.c: Likewise.
34466         * math/w_log10l.c: Likewise.
34467         * math/w_log2.c: Likewise.
34468         * math/w_log2f.c: Likewise.
34469         * math/w_log2l.c: Likewise.
34470         * math/w_logf.c: Likewise.
34471         * math/w_logl.c: Likewise.
34472         * math/w_sqrt.c: Likewise.
34473         * math/w_sqrtf.c: Likewise.
34474         * math/w_sqrtl.c: Likewise.
34475         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34476         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34477         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34479         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34481 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34483         [BZ #9739]
34484         * manual/string.texi (strnlen): Use correct parameter name in
34485         equivalent expression.
34487 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34489         [BZ #11174]
34490         * manual/users.texi (seteuid): Consistently use neweuid for
34491         argument name.
34493 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34495         [BZ #13704]
34496         * manual/nss.texi (Services in the NSS configuration): Correct
34497         list of services in example configuration file.
34499 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
34501         [BZ #11322]
34502         * manual/arith.texi: Remove statements about negative zero
34503         behaving identically to zero.
34505 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34507         [BZ #5993]
34508         * manual/install.texi: Do not document upgrading from libc5.
34510 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34512         [BZ #4596]
34513         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34515 2012-02-18  David S. Miller  <davem@davemloft.net>
34517         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34518         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34519         %o7 across the call.
34520         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34521         instead.
34522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34523         SETUP_PIC_REG_LEAF.
34524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34525         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34526         * sysdeps/sparc/crtn.S: Likewise.
34528 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
34530         * aout/Makefile: Remove.
34532 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
34534         [BZ #13058]
34535         * manual/examples/argp-ex1.c (main): Format definition in GNU
34536         style.
34537         * manual/examples/argp-ex2.c (main): Likewise.
34538         * manual/examples/argp-ex3.c (main): Likewise.
34539         * manual/examples/argp-ex4.c (main): Likewise.
34540         * manual/examples/longopt.c (main): Use new-style prototype
34541         definition.
34542         * manual/examples/strncat.c (main): Specify return type and use
34543         (void) for arguments.
34544         * manual/examples/subopt.c (main): Use char **argv argument.
34546 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34548         [BZ #5077]
34549         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34550         rounding modes.
34552 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
34554         [BZ #6907]
34555         * manual/string.texi (strchr): Change when strchrnul is
34556         recommended.
34558 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
34560         [BZ #174]
34561         * manual/locale.texi (setlocale): Document LOCPATH.
34563 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34565         [BZ #10210]
34566         * manual/process.texi (execle): Move @dots{} before last argument.
34568 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
34570         [BZ #12047]
34571         * manual/charset.texi (Generic Charset Conversion): Fix typo
34572         (LC_TYPE -> LC_CTYPE).
34574 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
34576         [BZ #5805]
34577         * manual/arith.texi (scalbn): Use @var{} on parameter names.
34578         (scalbnf): Likewise.
34579         (scalbnl): Likewise.
34580         (scalbln): Likewise.
34581         (scalblnf): Likewise.
34582         (scalblnl): Likewise.
34583         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34584         (vwarnx): Likewise.
34585         (verr): Likewise.
34586         (verrx): Likewise.
34587         * manual/filesys.texi (telldir): Use braces around return type.
34588         * manual/llio.texi (mmap): Add space after comma.
34589         (mmap64): Likewise.
34590         * manual/math.texi (jn): Use @var{} on parameter names.
34591         (jnf): Likewise.
34592         (jnl): Likewise.
34593         (yn): Likewise.
34594         (ynf): Likewise.
34595         (ynl): Likewise.
34596         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34597         line.
34598         * manual/resource.texi (ulimit): Use @dots{} instead of literal
34599         "...".
34600         (sched_get_priority_min): Remove semicolon on @deftypefun line.
34601         (sched_get_priority_max): Likewise.
34602         * manual/signal.texi (sigvec): Add space after comma.
34603         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34604         names.
34605         (if_indextoname): Likewise.
34606         (if_freenameindex): Likewise.
34607         (sendto): Use ',' instead of '.' in prototype.
34608         * manual/startup.texi (syscall): Use @dots{} instead of literal
34609         "...".
34610         * manual/stdio.texi (__fpending): Separate initial words of
34611         paragraph from @deftypefun line.
34612         * manual/syslog.texi (syslog): Use @dots{} instead of literal
34613         "...".
34614         (vsyslog): Use @var{} on parameter names.
34615         * manual/terminal.texi (stty): Use @var{} on parameter names.
34616         * manual/users.texi (getutmp): Use @var{} on parameter names.
34617         (getutmpx): Likewise.
34619 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34621         [BZ #6884]
34622         * manual/stdio.texi (fopen): Fix typos in description of
34623         ",ccs=STRING".
34625 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
34627         [BZ #4026]
34628         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34629         get clock_id definition.
34631 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
34633         [BZ #4822]
34634         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34635         (madvise): Cast every argument to void on its own.
34637 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34639         [BZ #9902]
34640         * manual/startup.texi (Exit Status): Fix typo.
34642 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34644         [BZ #10140]
34645         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34646         * manual/examples/argp-ex2.c: Likewise.
34647         * manual/examples/argp-ex3.c: Likewise.
34649 2012-02-16  Richard Henderson  <rth@redhat.com>
34651         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34652         * sysdeps/s390/s390-32/initfini.c: Remove.
34653         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34654         * sysdeps/s390/s390-64/initfini.c: Remove.
34656 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34658         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34659         compiler output for sysdeps/generic/initfini.c.
34660         * sysdeps/sh/elf/initfini.c: Remove file.
34662 2012-02-16  David S. Miller  <davem@davemloft.net>
34664         [BZ #11494]
34665         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34667         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34668         * sysdeps/sparc/crti.S: New file.
34669         * sysdeps/sparc/crtn.S: New file.
34670         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34671         * sysdeps/sparc/sparc64/Makefile: Likewise.
34673 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34675         [BZ #3335]
34676         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34678 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34680         [BZ #4822]
34681         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34683         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34684         (write, read, close): Likewise.
34685         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34687 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34689         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34690         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34691         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34692         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34693         <bits/signalfd.h>.
34694         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34696         bits/signalfd.h.
34698 2012-02-14  Marek Polacek  <polacek@redhat.com>
34700         * sysdeps/x86_64/crti.S: New file.
34701         * sysdeps/x86_64/crtn.S: New file.
34702         * sysdeps/x86_64/elf/initfini.c: Remove file.
34704 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34706         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34707         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34708         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34709         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34710         <bits/inotify.h>.
34711         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34713         bits/inotify.h.
34715 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34717         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34718         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34719         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34720         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34721         <bits/eventfd.h>.
34722         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34724         bits/eventfd.h.
34726 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34728         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34729         __feraiseexcept instead of feraiseexcept.
34731         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34732         nanosleep invocations.
34733         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34734         strings, and add error checking for a nanosleep invocations.
34736 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34738         Replace FSF snail mail address with URLs, as per GNU coding standards.
34739         Most of the snail mail addresses were wrong anyway, and omitting
34740         them makes the source code easier to maintain.  Almost all of the
34741         changes are to license notices and to locale LC_IDENTIFICATION
34742         addresses, except for this one:
34743         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34744         not its snail mail address.
34746 2012-02-09  Richard Henderson  <rth@twiddle.net>
34748         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34749         of kernel-features.h.
34751         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34753 2012-02-08  Marek Polacek  <polacek@redhat.com>
34755         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34756         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34757         * sysdeps/gnu/_G_config.h: Likewise.
34758         * sysdeps/generic/_G_config.h: Likewise.
34760 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34762         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34763         tests.
34764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34766         * sysdeps/powerpc/powerpc32/crti.S: New file.
34767         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34768         * sysdeps/powerpc/powerpc64/crti.S: New file.
34769         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34771         * Makeconfig (have-initfini): Don't set.
34772         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34773         * configure.in (nopic_initfini): Don't substitute.
34774         * config.h.in (HAVE_INITFINI): Don't #undef.
34775         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34776         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34778 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34780         Support crti.S and crtn.S provided directly by architectures.
34781         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34782         [crti.S in sysdirs] (omit-deps): Likewise.
34783         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34784         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34785         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34786         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34787         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34788         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34789         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34790         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34791         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34792         compiler output for sysdeps/generic/initfini.c.
34793         * sysdeps/i386/elf/Makefile: Remove file.
34794         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34796 2012-02-07  Marek Polacek  <polacek@redhat.com>
34798         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34799         * sysdeps/gnu/_G_config.h: Likewise.
34800         * sysdeps/mach/hurd/_G_config.h: Likewise.
34802 2012-02-07  Marek Polacek  <polacek@redhat.com>
34804         * math/Makefile (tests): Add tst-CMPLX2.
34805         * math/tst-CMPLX2.c: New file.
34807 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34809         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34811         * math/libm-test.inc (jn_test): Add missing L suffix.
34813 2012-02-06  Marek Polacek  <polacek@redhat.com>
34815         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34816         * sysdeps/i386/fpu/e_powf.S: Likewise.
34817         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34818         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34819         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34820         * sysdeps/i386/fpu/e_pow.S: Likewise.
34821         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34822         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34823         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34824         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34825         * sysdeps/i386/fpu/e_log2.S: Likewise.
34826         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34827         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34828         * sysdeps/i386/fpu/e_powl.S: Likewise.
34829         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34830         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34831         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34832         * sysdeps/i386/fpu/e_logl.S: Likewise.
34833         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34834         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34835         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34836         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34837         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34838         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34839         * sysdeps/i386/fpu/e_log.S: Likewise.
34840         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34841         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34842         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34843         * sysdeps/i386/fpu/e_logf.S: Likewise.
34844         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34845         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34846         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34847         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34848         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34849         * sysdeps/i386/fpu/e_log10.S: Likewise.
34850         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34851         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34852         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34853         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34854         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34855         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34856         * sysdeps/i386/asm-syntax.h: Likewise.
34857         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34858         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34859         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34860         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34861         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34862         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34863         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34864         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34865         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34866         * sysdeps/powerpc/sysdep.h: Likewise.
34867         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34868         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34870 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34872         [BZ #411]
34873         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34875 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34877         * sysdeps/i386/sysdep.h: Include <features.h>.
34878         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34879         version.
34881 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34883         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34884         Define.
34885         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34886         LOAD_PIC_REG_STR.
34888 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34890         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34891         (SETUP_PIC_REG): Use GET_PC_THUNK.
34892         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34893         macro.
34895 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34897         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34898         for non-PIC compilation.
34899         (SETUP_PIC_REG): Add .p2align directive.
34900         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34901         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34902         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34903         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34904         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34905         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34906         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34908         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34909         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34910         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34911         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34912         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34914         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34915         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34916         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34917         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34918         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34919         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34920         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34921         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34922         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34923         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34924         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34925         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34926         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34927         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34928         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34929         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34930         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34931         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34932         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34933         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34934         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34935         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34936         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34937         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34938         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34939         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34940         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34942 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34944         * math/tst-CMPLX.c: Include <stdio.h>.
34946 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34948         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34949         float.
34950         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34951         * sysdeps/sparc/bits/mathdef.h: Likewise.
34953 2012-01-31  Marek Polacek  <polacek@redhat.com>
34955         * libio/libio.h: Don't define _PARAMS.
34956         * locale/programs/config.h: Don't define PARAMS.
34957         * stdlib/strtol_l.c: Likewise.
34958         (__strtol_l): Remove PARAMS from the prototype.
34960 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34962         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34963         names.  Just use the correct names.  Remove unnecessary wrapper
34964         functions.
34965         * malloc/arena.c: Likewise.
34966         * malloc/hooks.c: Likewise.
34968         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34969         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34970         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34972 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34974         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34975         into tail calls.
34976         (update_get_addr): New function.
34977         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34978         GET_ADDR_MODULE parameter.
34980 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34982         * crypt/cert.c: Remove __STDC__ conditionals.
34983         * crypt/crypt-entry.c: Likewise.
34984         * crypt/crypt_util.c: Likewise.
34985         * libio/filedoalloc.c: Likewise.
34986         * libio/fileops.c: Likewise.
34987         * libio/genops.c: Likewise.
34988         * libio/iofclose.c: Likewise.
34989         * libio/iofdopen.c: Likewise.
34990         * libio/iofopen.c: Likewise.
34991         * libio/iofopen64.c: Likewise.
34992         * libio/iogetdelim.c: Likewise.
34993         * libio/iopopen.c: Likewise.
34994         * libio/obprintf.c: Likewise.
34995         * libio/oldfileops.c: Likewise.
34996         * libio/oldiofclose.c: Likewise.
34997         * libio/oldiofdopen.c: Likewise.
34998         * libio/oldiofopen.c: Likewise.
34999         * libio/oldiopopen.c: Likewise.
35000         * libio/wfiledoalloc.c: Likewise.
35001         * libio/wgenops.c: Likewise.
35002         * locale/programs/xmalloc.c: Likewise.
35003         * misc/syslog.c: Likewise.
35004         * stdio-common/xbug.c: Likewise.
35005         * string/memchr.c: Likewise.
35006         * string/memcmp.c: Likewise.
35007         * string/memrchr.c: Likewise.
35008         * string/rawmemchr.c: Likewise.
35009         * sysdeps/posix/getcwd.c: Likewise.
35010         * time/strftime_l.c: Likewise.
35012 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35014         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35015         * config.make.in (config-cflags-sse2avx): Define.
35016         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35017         Fix typo.
35019 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35021         * scripts/config.guess: Update from upstream config git repository.
35022         * scripts/config.sub: Likewise.
35024 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35026         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35027         (EM_NUM): Update.
35028         (R_TILEPRO_*, R_TILEGX_*): New macros.
35030         * scripts/firstversions.awk: Fix bug in version range handling.
35032         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35034         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35036         * include/sys/epoll.h: New file.
35037         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35038         libc_hidden_def.
35040 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35042         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35043         Avoid unnecessary __WORDSIZE == 64 test.
35044         (fmaxf): Use VEX format if possible.
35045         (fmax): Likewise.
35046         (fminf): Likewise.
35047         (fmin): Likewise.
35049         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35050         * math/math_private.h: Remove libc_fegetround* and
35051         libc_fesetround*.
35052         * sysdeps/i386/configure.in: Check for -msse2avx.
35053         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35054         also if SSE2AVX is defined.
35055         Remove libc_fegetround* and libc_fesetround*.
35056         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35057         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35058         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35059         of HAS_YMM_USABLE.
35060         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35061         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35062         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35063         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35064         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35066         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35068 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35070         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35071         size is not set.
35072         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35074 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35076         [BZ #13618]
35077         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35078         relocation.
35079         * Makeconfig (libm): Define.
35080         * elf/Makefile: Add rules to build and run tst-relsort1.
35081         * elf/tst-relsort1.c: New file.
35082         * elf/tst-relsort1mod1.c: New file.
35083         * elf/tst-relsort1mod2.c: New file.
35085 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35087         * math/s_ldexp.c: Remove __STDC__ conditionals.
35088         * math/s_ldexpf.c: Likewise.
35089         * math/s_ldexpl.c: Likewise.
35090         * math/s_nextafter.c: Likewise.
35091         * math/s_nexttowardf.c: Likewise.
35092         * math/s_significand.c: Likewise.
35093         * math/s_significandf.c: Likewise.
35094         * math/s_significandl.c: Likewise.
35095         * math/w_jnl.c: Likewise.
35096         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35097         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35098         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35099         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35100         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35101         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35102         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35103         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35104         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35105         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35106         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35107         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35108         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35109         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35110         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35111         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35112         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35113         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35114         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35115         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35116         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35117         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35118         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35119         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35120         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35121         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35122         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35123         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35124         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35125         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35126         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35127         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35128         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35129         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35130         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35131         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35132         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35133         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35134         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35135         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35136         * sysdeps/ieee754/k_standard.c: Likewise.
35137         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35138         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35139         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35140         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35141         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35142         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35143         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35144         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35145         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35146         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35147         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35148         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35149         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35150         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35151         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35152         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35153         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35154         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35156         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35157         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35158         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35159         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35160         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35161         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35162         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35164         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35166         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35167         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35168         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35169         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35170         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35171         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35172         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35173         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35175         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35176         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35177         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35178         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35179         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35180         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35181         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35182         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35183         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35184         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35185         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35186         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35187         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35188         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35189         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35190         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35191         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35192         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35193         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35194         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35195         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35196         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35197         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35198         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35200         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35201         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35202         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35203         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35204         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35205         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35206         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35207         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35208         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35209         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35210         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35211         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35212         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35213         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35214         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35215         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35216         * sysdeps/ieee754/s_matherr.c: Likewise.
35217         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35218         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35219         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35220         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35222 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35224         * crypt/md5.h: Remove __STDC__ conditionals.
35225         * libio/libioP.h: Likewise.
35226         * locale/programs/config.h: Likewise.
35227         * sysdeps/generic/sysdep.h: Likewise.
35228         * sysdeps/i386/asm-syntax.h: Likewise.
35229         * sysdeps/s390/asm-syntax.h: Likewise.
35230         * sysdeps/unix/sysdep.h: Likewise.
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35234 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35236         * libio/libio.h: Remove __STDC__ conditionals.
35237         * malloc/obstack.h: Likewise.
35238         * math/complex.h: Likewise.
35239         * math/math.h: Likewise.
35240         * sysdeps/generic/_G_config.h: Likewise.
35241         * sysdeps/gnu/_G_config.h: Likewise.
35242         * sysdeps/mach/hurd/_G_config.h: Likewise.
35243         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35244         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35245         * sysdeps/sparc/bits/mathdef.h: Likewise.
35247 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35249         [BZ #13583]
35250         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35251         Clean up HAS_* macros.
35252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35253         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35254         possible.
35255         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35256         HAS_AVX.
35257         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35258         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35259         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35260         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35261         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35263 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35265         * elf/tst-unique3.cc (gets): Remove declaration.
35266         * elf/tst-unique3lib.cc (gets): Likewise.
35267         * elf/tst-unique3lib2.cc (gets): Likewise.
35268         * elf/tst-unique4.cc (gets): Likewise.
35270 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35272         * include/stdio.h: Add C++ protection.  Add gets declarations and
35273         definitions.
35274         * debug/tst-chk1.c: Don't declare gets here.
35275         * stdio-common/tst-gets.c: Likewise.
35277 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35279         * posix/glob: Remove directory.
35281 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35283         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35285 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35287         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35288         of the non-standard EPFNOSUPPORT.
35290 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35292         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35293         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35294         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35296 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35298         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35300 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35302         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35303         transient errors.
35304         * nscd/grpcache.c (cache_addgr): Likewise.
35305         * nscd/hstcache.c (cache_addhst): Likewise.
35306         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35307         * nscd/pwdcache.c (cache_addpw): Likewise.
35308         * nscd/servicescache.c (cache_addserv): Likewise.
35310 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35312         * malloc/malloc.c: Various cleanups.
35313         * malloc/hooks.c: Likewise.
35315         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35316         * stdlib/bug-fmtmsg1.c: New file.
35318         * stdlib/fmtmsg.c (init): Add missing unlock.
35319         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35321 2012-01-12  Marek Polacek  <polacek@redhat.com>
35323         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35324         and _GNU_SOURCE.
35326 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35328         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35329         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35330         macro to ensure uniqueness of label name.
35331         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35332         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35334 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35336         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35338         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35339         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35340         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35341         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35343 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35345         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35347         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35348         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35349         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35351         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35353         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35354         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35355         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35358         * math/bits/math-finite.h: Add ldexp support.
35360 2012-01-10  Marek Polacek  <polacek@redhat.com>
35362         * locale/programs/localedef.h (show_archive_content): Add noreturn
35363         attribute.
35365 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
35367         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35369 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35371         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35373         * io/Makefile (headers): Add bits/poll2.h.
35375 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
35377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35378         typo #include statement.
35380 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35382         * include/sys/cdefs.h: Define __attribute_alloc_size.
35383         * catgets/gencat.c: Add alloc_size attribute and apply consistently
35384         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35385         * elf/pldd.c: Likewise.
35386         * iconv/iconv_charmap.c: Likewise.
35387         * iconv/iconvconfig.c: Likewise.
35388         * iconv/strtab.c: Likewise.
35389         * locale/programs/locale.c: Likewise.
35390         * locale/programs/localedef.h: Likewise.
35391         * locale/programs/simple-hash.c: Likewise.
35392         * nscd/nscd.h: Likewise.
35393         * nss/makedb.c: Likewise.
35394         * sysdeps/generic/ldconfig.h: Likewise.
35395         * locale/programs/localedef.c: Remove xmalloc prototype.
35396         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35398 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35400         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35401         appropriate.
35403 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35405         * math/Makefile (tests): Add tst-CMPLX.
35406         * math/tst-CMPLX.c: New file.
35408         * math/complex.h (CMPLXL): Fix typo.
35410         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35411         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35412         GLIBC_2.16.
35413         * debug/tst-chk1.c: Add poll and ppoll tests.
35414         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35415         * include/sys/poll.h: Add hidden proto for ppoll.
35416         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35417         * sysdeps/mach/hurd/ppoll.c: Likewise.
35418         * io/ppoll.c: Likewise.
35419         * debug/poll_chk.c: New file.
35420         * debug/ppoll_chk.c: New file.
35421         * include/bits/poll2.h: New file.
35422         * io/bits/poll2.h: New file.
35424         [BZ #1350]
35425         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35427         * configure.in: static is always set to yes.  Remove.
35428         * config.make.in: Don't set build-static.
35429         * Makeconfig: Remove use of build-static.
35430         * dlfcn/Makefile: Likewise.
35431         * elf/Makefile: Likewise.
35432         * math/Makefile: Likewise.
35433         * misc/Makefile: Likewise.
35434         * nptl/Makefile: Likewise.
35435         * sysdeps/mach/hurd/Makefile: Likewise.
35437         * configure.in: PWD_P is not used anymore.
35438         * config.make.in: Remove PWD_P entry.
35440         * configure.in: Remove last remnants of RANLIB.
35441         No need to check for signed size_t anymore.
35442         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35443         and IA-64.
35444         Remove __builtin_expect test because we require at least gcc 3.4.
35445         * aclocal.m4: Likewise.
35447         * wcsmbs/mbrtoc16.c: Implement using towc function.
35448         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35449         * wcsmbs/wcsmbsload.c: Likewise.
35450         * iconv/gconv_simple.c: Likewise.
35451         * iconv/gconv_int.h: Likewise.
35452         * iconv/gconv_builtin.h: Likewise.
35453         * iconv/iconv_prog.c: Remove CHAR16 handling.
35455         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35457         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35459         * configure.in: Remove --with-elf and --enable-bounded options.
35460         Dont set base_machine for ia64.  More non-ELF conditions removed.
35461         Remove testing and setting of leading underscore information.
35462         * config.make.in (build-bounded): Set to no.
35463         * config.h.in: Remove NO_UNDERSCORES entry.
35464         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
35465         them.
35466         * csu/start.c: Remove !NO_UNDERSCORE code.
35467         * locale/localeinfo.h: Likewise.
35468         * sysdeps/generic/machine-gmon.h: Likewise.
35469         * sysdeps/generic/sysdep.h: Likewise.
35470         * sysdeps/i386/sysdep.h: Likewise.
35471         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35472         * sysdeps/mach/sysdep.h: Likewise.
35473         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35475         * sysdeps/sh/sysdep.h: Likewise.
35476         * sysdeps/sparc/sparc32/alloca.S: Likewise.
35477         * sysdeps/unix/i386/sysdep.S: Likewise.
35478         * sysdeps/unix/sparc/start.c: Likewise.
35479         * sysdeps/unix/sparc/sysdep.S: Likewise.
35480         * sysdeps/unix/sparc/sysdep.h: Likewise.
35481         * sysdeps/unix/start.c: Likewise.
35482         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35483         * sysdeps/x86_64/sysdep.h: Likewise.
35485 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
35487         [BZ #13553]
35488         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35489         for non-gcc.
35490         * argp/argp-fmtstream.h: Use const instead __const.
35491         * argp/argp.h: Likewise.
35492         * assert/assert.h: Likewise.
35493         * bits/fenv.h: Likewise.
35494         * bits/sched.h: Likewise.
35495         * bits/sigset.h: Likewise.
35496         * bits/sigthread.h: Likewise.
35497         * catgets/nl_types.h: Likewise.
35498         * conform/data/pthread.h-data: Likewise.
35499         * crypt/crypt-private.h: Likewise.
35500         * crypt/crypt.h: Likewise.
35501         * crypt/crypt_util.c: Likewise.
35502         * ctype/ctype.h: Likewise.
35503         * debug/execinfo.h: Likewise.
35504         * debug/mbsnrtowcs_chk.c: Likewise.
35505         * debug/mbsrtowcs_chk.c: Likewise.
35506         * debug/wcsnrtombs_chk.c: Likewise.
35507         * debug/wcsrtombs_chk.c: Likewise.
35508         * debug/wcstombs_chk.c: Likewise.
35509         * dirent/dirent.h: Likewise.
35510         * dlfcn/dlfcn.h: Likewise.
35511         * elf/neededtest4.c: Likewise.
35512         * grp/grp.h: Likewise.
35513         * gshadow/gshadow.h: Likewise.
35514         * iconv/gconv.h: Likewise.
35515         * iconv/gconv_int.h: Likewise.
35516         * iconv/gconv_simple.c: Likewise.
35517         * iconv/iconv.h: Likewise.
35518         * iconv/loop.c: Likewise.
35519         * iconv/skeleton.c: Likewise.
35520         * include/aio.h: Likewise.
35521         * include/aliases.h: Likewise.
35522         * include/argz.h: Likewise.
35523         * include/arpa/inet.h: Likewise.
35524         * include/assert.h: Likewise.
35525         * include/dirent.h: Likewise.
35526         * include/dlfcn.h: Likewise.
35527         * include/execinfo.h: Likewise.
35528         * include/fcntl.h: Likewise.
35529         * include/fenv.h: Likewise.
35530         * include/glob.h: Likewise.
35531         * include/grp.h: Likewise.
35532         * include/libintl.h: Likewise.
35533         * include/mntent.h: Likewise.
35534         * include/netdb.h: Likewise.
35535         * include/pwd.h: Likewise.
35536         * include/rpc/netdb.h: Likewise.
35537         * include/sched.h: Likewise.
35538         * include/search.h: Likewise.
35539         * include/shadow.h: Likewise.
35540         * include/signal.h: Likewise.
35541         * include/stdio.h: Likewise.
35542         * include/stdlib.h: Likewise.
35543         * include/string.h: Likewise.
35544         * include/sys/socket.h: Likewise.
35545         * include/sys/stat.h: Likewise.
35546         * include/sys/statfs.h: Likewise.
35547         * include/sys/statvfs.h: Likewise.
35548         * include/sys/syslog.h: Likewise.
35549         * include/sys/time.h: Likewise.
35550         * include/sys/uio.h: Likewise.
35551         * include/time.h: Likewise.
35552         * include/unistd.h: Likewise.
35553         * include/utmp.h: Likewise.
35554         * include/wchar.h: Likewise.
35555         * include/wctype.h: Likewise.
35556         * inet/aliases.h: Likewise.
35557         * inet/arpa/inet.h: Likewise.
35558         * inet/netinet/ether.h: Likewise.
35559         * inet/netinet/in.h: Likewise.
35560         * intl/libintl.h: Likewise.
35561         * io/bits/fcntl2.h: Likewise.
35562         * io/fcntl.h: Likewise.
35563         * io/ftw.h: Likewise.
35564         * io/sys/poll.h: Likewise.
35565         * io/sys/stat.h: Likewise.
35566         * io/sys/statfs.h: Likewise.
35567         * io/sys/statvfs.h: Likewise.
35568         * io/utime.h: Likewise.
35569         * libio/bits/stdio.h: Likewise.
35570         * libio/bits/stdio2.h: Likewise.
35571         * libio/libio.h: Likewise.
35572         * libio/libioP.h: Likewise.
35573         * libio/stdio.h: Likewise.
35574         * locale/lc-ctype.c: Likewise.
35575         * locale/locale.h: Likewise.
35576         * login/utmp.h: Likewise.
35577         * malloc/arena.c: Likewise.
35578         * malloc/malloc.c: Likewise.
35579         * malloc/malloc.h: Likewise.
35580         * malloc/mcheck.c: Likewise.
35581         * malloc/mtrace.c: Likewise.
35582         * math/bits/mathcalls.h: Likewise.
35583         * math/fenv.h: Likewise.
35584         * math/math_private.h: Likewise.
35585         * misc/bits/error.h: Likewise.
35586         * misc/bits/syslog.h: Likewise.
35587         * misc/err.h: Likewise.
35588         * misc/error.h: Likewise.
35589         * misc/fstab.h: Likewise.
35590         * misc/mntent.h: Likewise.
35591         * misc/regexp.h: Likewise.
35592         * misc/search.h: Likewise.
35593         * misc/sgtty.h: Likewise.
35594         * misc/sys/mman.h: Likewise.
35595         * misc/sys/syslog.h: Likewise.
35596         * misc/sys/uio.h: Likewise.
35597         * misc/sys/xattr.h: Likewise.
35598         * misc/ttyent.h: Likewise.
35599         * nis/rpcsvc/ypclnt.h: Likewise.
35600         * nss/nss.h: Likewise.
35601         * posix/bits/unistd.h: Likewise.
35602         * posix/fnmatch.h: Likewise.
35603         * posix/glob.h: Likewise.
35604         * posix/sched.h: Likewise.
35605         * posix/spawn.h: Likewise.
35606         * posix/sys/wait.h: Likewise.
35607         * posix/unistd.h: Likewise.
35608         * posix/wordexp.h: Likewise.
35609         * pwd/pwd.h: Likewise.
35610         * resolv/netdb.h: Likewise.
35611         * resource/sys/resource.h: Likewise.
35612         * rt/aio.h: Likewise.
35613         * rt/bits/mqueue2.h: Likewise.
35614         * rt/mqueue.h: Likewise.
35615         * shadow/shadow.h: Likewise.
35616         * signal/signal.h: Likewise.
35617         * socket/send.c: Likewise.
35618         * socket/sendto.c: Likewise.
35619         * socket/sys/socket.h: Likewise.
35620         * stdio-common/printf.h: Likewise.
35621         * stdlib/bits/stdlib.h: Likewise.
35622         * stdlib/fmtmsg.h: Likewise.
35623         * stdlib/monetary.h: Likewise.
35624         * stdlib/stdlib.h: Likewise.
35625         * stdlib/ucontext.h: Likewise.
35626         * streams/stropts.h: Likewise.
35627         * string/argz.h: Likewise.
35628         * string/bits/string2.h: Likewise.
35629         * string/string.h: Likewise.
35630         * string/strings.h: Likewise.
35631         * sunrpc/rpc/auth.h: Likewise.
35632         * sunrpc/rpc/auth_des.h: Likewise.
35633         * sunrpc/rpc/clnt.h: Likewise.
35634         * sunrpc/rpc/netdb.h: Likewise.
35635         * sunrpc/rpc/pmap_clnt.h: Likewise.
35636         * sunrpc/rpc/xdr.h: Likewise.
35637         * sysdeps/generic/inttypes.h: Likewise.
35638         * sysdeps/generic/net/if.h: Likewise.
35639         * sysdeps/generic/sys/swap.h: Likewise.
35640         * sysdeps/gnu/net/if.h: Likewise.
35641         * sysdeps/gnu/utmpx.h: Likewise.
35642         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35643         * sysdeps/i386/i486/bits/string.h: Likewise.
35644         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35645         * sysdeps/s390/bits/string.h: Likewise.
35646         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35647         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35648         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35649         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35650         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35651         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35652         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35653         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35654         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35655         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35656         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35657         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35658         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35659         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35660         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35661         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35662         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35663         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35664         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35665         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35666         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35667         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35668         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35669         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35670         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35671         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35672         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35673         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35674         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35675         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35676         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35677         * sysvipc/sys/ipc.h: Likewise.
35678         * sysvipc/sys/msg.h: Likewise.
35679         * sysvipc/sys/sem.h: Likewise.
35680         * sysvipc/sys/shm.h: Likewise.
35681         * termios/termios.h: Likewise.
35682         * time/sys/time.h: Likewise.
35683         * time/time.h: Likewise.
35684         * wcsmbs/bits/wchar2.h: Likewise.
35685         * wcsmbs/uchar.h: Likewise.
35686         * wcsmbs/wchar.h: Likewise.
35687         * wctype/wctype.h: Likewise.
35689         [BZ #13551]
35690         * Makeconfig: Remove all but ELF support including AIX support.
35691         * Makerules: Likewise.
35692         * config.h.in: Likewise.
35693         * config.make.in: Likewise.
35694         * configure: Likewise.
35695         * configure.in: Likewise.
35696         * csu/Makefile: Likewise.
35697         * csu/version.c: Likewise.
35698         * debug/Makefile: Likewise.
35699         * dlfcn/Makefile: Likewise.
35700         * elf/Makefile: Likewise.
35701         * extra-lib.mk: Likewise.
35702         * iconv/Makefile: Likewise.
35703         * include/libc-symbols.h: Likewise.
35704         * include/shlib-compat.h: Likewise.
35705         * resolv/Makefile: Likewise.
35706         * resolv/res_libc.c: Likewise.
35707         * rt/Makefile: Likewise.
35708         * sysdeps/i386/asm-syntax.h: Likewise.
35709         * sysdeps/i386/sysdep.h: Likewise.
35710         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35711         * sysdeps/mach/sysdep.h: Likewise.
35712         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35713         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35714         * sysdeps/s390/asm-syntax.h: Likewise.
35715         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35716         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35717         * sysdeps/sh/sysdep.h: Likewise.
35718         * sysdeps/unix/sparc/sysdep.h: Likewise.
35719         * sysdeps/wordsize-32/divdi3.c: Likewise.
35720         * sysdeps/x86_64/sysdep.h: Likewise.
35722         * argp/Versions: Remove _argp_unlock_xxx.
35724         [BZ #13559]
35725         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35726         * abilist/libBrokenLocale.abilist: Likewise.
35727         * abilist/libanl.abilist: Likewise.
35728         * abilist/libc.abilist: Likewise.
35729         * abilist/libcrypt.abilist: Likewise.
35730         * abilist/libdl.abilist: Likewise.
35731         * abilist/libm.abilist: Likewise.
35732         * abilist/libnsl.abilist: Likewise.
35733         * abilist/libpthread.abilist: Likewise.
35734         * abilist/libresolv.abilist: Likewise.
35735         * abilist/librt.abilist: Likewise.
35736         * abilist/libthread_db.abilist: Likewise.
35737         * abilist/libutil.abilist: Likewise.
35738         * abilist/libnss_db.abilist: New file.
35740         * scripts/abilist.awk: Add support for indirect functions.
35742         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35744         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35746         * shlib-versions: Remove entries for ports architectures.
35748         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35749         files in ports.
35750         * elf/stackguard-macros.h: Remove support for IA-64.
35751         * elf/tst-auditmod1.c: Likewise.
35752         * sysdeps/generic/ldsodefs.h: Likewise.
35754         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35755         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35756         configure files.
35758         [BZ #13552]
35759         * configure.in: Remove --enable-omitfp support.
35760         * FAQ.in: Adjust.
35761         * config.make.in: Likewise.
35762         * Makeconfig: Likewise.
35763         * manual/install.texi: Likewise.
35765         In case anyone cares, the IA-64 architecture could move to ports.
35766         * sysdeps/ia64/*: Removed.
35767         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35768         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35770         [BZ #13555]
35771         * configure.in: Remove entries for unsupported architectures.
35773         [BZ #13533]
35774         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35775         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35776         routines.
35777         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35778         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35779         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35780         fall back to using wcrtomb.
35781         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35782         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35783         renaming.
35784         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35785         * wcsmbs/tst-c16c32-1.c: New file.
35787         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35788         local variable.
35790         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35792         * elf/tst-unique3.cc: Add explicit declaration of gets.
35793         * elf/tst-unique3lib.cc: Likewise.
35794         * elf/tst-unique3lib2.cc: Likewise.
35795         * elf/tst-unique4.cc: Likewise.
35797         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35799 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35801         [BZ #13566]
35802         * assert/assert.h (static_assert): Don't define for C++.
35803         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35804         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35806 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35808         * iconv/loop.c (single loop): Fix assertion in storing of
35809         remaining bytes.
35811         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35813 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35815         * posix/getconf.c: Update copyright year.
35816         * nss/getent.c: Likewise.
35817         * nss/makedb.c: Likewise.
35818         * iconv/iconvconfig.c: Likewise.
35819         * iconv/iconv_prog.c: Likewise.
35820         * elf/ldconfig.c: Likewise.
35821         * elf/pldd.c: Likewise.
35822         * elf/sotruss.ksh: Likewise.
35823         * catgets/gencat.c: Likewise.
35824         * csu/version.c: Likewise.
35825         * elf/ldd.bash.in: Likewise.
35826         * elf/sprof.c (print_version): Likewise.
35827         * locale/programs/locale.c: Likewise.
35828         * locale/programs/localedef.c: Likewise.
35829         * login/programs/pt_chown.c: Likewise.
35830         * nscd/nscd.c (print_version): Likewise.
35831         * debug/xtrace.sh: Likewise.
35832         * malloc/memusage.sh: Likewise.
35833         * malloc/mtrace.pl: Likewise.
35834         * debug/catchsegv.sh: Likewise.
35836 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35838         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35839         pure attribute.
35841 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35843         [BZ #13533]
35844         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35845         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35846         transformations.
35847         * iconv/gconv_int.h: Likewise.
35848         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35849         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35850         from libc for GLIBC_2.16.
35851         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35852         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35853         * wcsmbs/uchar.h: Really define mbstate_t.
35854         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35855         * wcsmbs/c16rtomb.c: New file.
35856         * wcsmbs/mbrtoc16.c: New file.
35857         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35858         for C/POSIX locale.
35859         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35860         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35862         * wcsmbs/wchar.h: Add missing __restrict.
35864 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35866         [BZ #13532]
35867         * time/Makefile (routines): Add timespec_get.
35868         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35869         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35870         timespec for ISO C11.
35871         * time/timespec_get.c: New file.
35872         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35873         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35875         [BZ #13531]
35876         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35877         * stdlib/stdlib.h: Declare aligned_alloc.
35878         * Versions.def: Add GLIBC_2.16 for libc.
35879         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35881         [BZ 13527]
35882         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35883         ISO C11.
35885         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35886         code.
35888         [BZ #13528]
35889         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35891         [BZ #13529]
35892         * assert/assert.h (static_assert): Define.
35894         * version.h: Update for 2.16 development version.
35896         [BZ #13526]
35897         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35898         _ISOC11_SOURCE.
35900         * version.h (RELEASE): Bump for 2.15 release.
35901         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35903         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35904         Patch by Marek Polacek <mpolacek@redhat.com>.
35906         * bits/byteswap.h: Protect long long constants with __extension__.
35907         * sysdeps/i386/bits/byteswap.h: Likewise.
35908         * sysdeps/ia64/bits/byteswap.h: Likewise.
35909         * sysdeps/s390/bits/byteswap.h: Likewise.
35910         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35912 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35914         [BZ #13540]
35915         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35916         destination buffer.
35917         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35919 2011-12-23  Marek Polacek  <polacek@redhat.com>
35921         * elf/dl-addr.c (determine_info): Add inline keyword.
35922         * elf/tst-auditmod4b.c (check_avx): Likewise.
35923         * elf/tst-auditmod6b.c (check_avx): Likewise.
35924         * elf/tst-auditmod6c.c (check_avx): Likewise.
35925         * elf/tst-auditmod7b.c (check_avx): Likewise.
35927 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35929         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35930         !__SSE_MATH__.
35932 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35934         [BZ #13540]
35935         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35936         processing for last bytes.
35938 2011-08-06  Bruno Haible  <bruno@clisp.org>
35940         [BZ #13061]
35941         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35942         U+0385, not to U+1FEE.
35944         [BZ #13062]
35945         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35946         entry for U+00A5 U+0301.
35948 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35950         [BZ #13166]
35951         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35952         buffer for the output is too small.
35954         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35955         optimization.
35957         [BZ #13185]
35958         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35959         SSE flags if possible.
35961 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35963         [BZ #13540]
35964         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35965         processing for last bytes.
35967 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35969         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35970         (syscall-list-default-options, syscall-list-default-condition)
35971         (syscall-list-includes): Define.
35972         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35973         list of ABIs and options and #if conditions for each ABI.  Do not
35974         handle common syscalls between ABIs specially.
35975         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35976         Remove.
35977         (syscall-list-variants, syscall-list-32bit-options)
35978         (syscall-list-32bit-condition, syscall-list-64bit-options)
35979         (syscall-list-64bit-condition): Define.
35980         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35981         (syscall-list-variants, syscall-list-32bit-options)
35982         (syscall-list-32bit-condition, syscall-list-64bit-options)
35983         (syscall-list-64bit-condition): Define.
35984         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35985         Remove.
35986         (syscall-list-variants, syscall-list-32bit-options)
35987         (syscall-list-32bit-condition, syscall-list-64bit-options)
35988         (syscall-list-64bit-condition): Define.
35989         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35990         Remove.
35991         (syscall-list-variants, syscall-list-32bit-options)
35992         (syscall-list-32bit-condition, syscall-list-64bit-options)
35993         (syscall-list-64bit-condition): Define.
35995 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35997         * locale/iso-639.def: Add brx entry.
35999         [BZ #13328]
36000         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36001         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36003         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36004         __feraiseexcept_renamed.
36006 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36008         [BZ #13538]
36009         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36010         EPOLLET with unsigned values.
36011         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36012         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36014         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36015         to large cancellation.
36016         * math/s_cacoshf.c: Likewise.
36017         * math/s_cacoshl.c: Likewise.
36019 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36021         [BZ #13305]
36022         [BZ #12786]
36023         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36024         * math/s_cacoshf.c: Likewise.
36025         * math/s_cacoshl.c: Likewise.
36027 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36029         [BZ #13439]
36030         * iconv/gconv.h: Define __GCONV_SWAP.
36031         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36032         * iconvdata/utf-16.c: Likewise.
36033         * iconvdata/utf-32.c: Likewise.
36035 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36037         [BZ #13524]
36038         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36039         numerator after shifting it by one limb.
36041 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36043         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36044         under [__USE_EXTERN_INLINES].
36046 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36048         [BZ #13446]
36049         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36051 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36053         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36054         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36055         optimized code.
36056         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36057         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36058         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36059         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36060         for strncasecmp/strncasecmp_l compilation.
36061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36062         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36064 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36066         [BZ #13484]
36067         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36068         of __asm__.
36070 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36072         [BZ #13506]
36073         * time/tzfile.c (__tzfile_read): Check values from file header.
36075 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36077         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36078         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36079         * powerpc/powerpc32/dl-start.S: Likewise.
36080         * powerpc/powerpc32/elf/start.S: Likewise.
36081         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36082         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36083         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36084         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36085         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36086         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36087         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36088         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36089         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36090         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36091         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36092         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36093         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36094         * powerpc/powerpc32/memset.S: Likewise.
36095         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36096         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36097         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36098         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36099         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36100         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36101         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36102         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36103         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36104         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36105         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36106         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36107         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36109 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36111         * math/libm-test.inc: Added more nearbyint tests.
36112         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36113         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36115         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36117 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36119         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36120         FD_CLOEXEC.
36122 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36124         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36125         Add wcscpy-ssse3 wcscpy-c.
36126         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36127         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36128         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36129         * sysdeps/x86_64/wcschr.S: New file.
36130         * sysdeps/x86_64/wcsrchr.S: New file.
36131         * string/test-strcmp.c: Remove checking of wcscmp function for
36132         wrong alignments.
36133         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36134         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36135         wcsrchr-sse2 wcsrchr-c.
36136         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36137         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36138         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36139         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36140         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36141         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36142         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36143         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36144         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36145         * wcsmbc/wcschr.c (WCSCHR): New macro.
36147 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36149         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36150         * wcsmbs/test-wcsrchr.c: New file.
36151         * string/test-strrchr.c: Add wcsrchr support.
36152         (WIDE): New macro.
36153         * wcsmbs/test-wcscpy.c: New file.
36154         * string/test-strcpy.c: Add wcscpy support.
36155         (WIDE): New macro.
36157 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36159         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36160         the inner loop.
36162 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36164         [BZ #13472]
36165         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36167 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36169         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36170         Minor optimizations.
36172         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36173         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36174         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36176 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36178         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36179         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36180         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36181         for gcc to avoid warnings.
36182         * inet/Makefile (tests): Add tst-checks.
36183         * inet/tst-checks.c: New file.
36185         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36186         warning.
36188         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36189         __wmemcmp_sse2.
36191         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36192         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36194         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36196 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36198         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36199         problem.
36201         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36203 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36205         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36206         conditional on GCC version.
36207         (__arch_compare_and_exchange_val_8_acq)
36208         (__arch_compare_and_exchange_val_16_acq)
36209         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36210         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36211         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36213 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36215         * sysdeps/sh/backtrace.c: New file.
36217 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36219         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36220         parenthesis.
36222 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36224         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36225         falling back to utime.
36227 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36229         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36230         expectations for float.
36232 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36234         * locale/weight.h (findidx): Add parameter len.
36235         * locale/weightwc.h (findidx): Likewise.
36236         * posix/fnmatch_loop.c (FCT): Adjust caller.
36237         * posix/regcomp.c (build_equiv_class): Likewise.
36238         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36239         * posix/regexec.c (check_node_accept_bytes): Likewise.
36240         * string/strcoll_l.c (STRCOLL): Likewise.
36241         * string/strxfrm_l.c (STRXFRM): Likewise.
36243 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36245         * Makefile.in: Remove CVSOPT handling.
36246         * configure.in: Remove use of AC_REVISION.
36247         * iconvdata/Makefile (distribute): No need to filter out CVS.
36248         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36249         handling.
36251 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36253         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36254         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36255         [USE_AS_STRNCASECMP_L]: Likewise.
36256         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36257         NO_TLS_DIRECT_SEG_REFS.
36258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36259         Fix argument offsets for non-PIC.
36260         [USE_AS_STRNCASECMP_L]: Likewise.
36261         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36262         NO_TLS_DIRECT_SEG_REFS.
36264 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36266         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36267         O_CLOEXEC.
36268         * locale/loadlocale.c (_nl_load_locale): Likewise.
36270 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36272         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36273         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36274         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36275         (SYSCALL_GETTIME): Set errno on error.
36277         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36278         count references to noai6ai_cached.
36280 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36282         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36284         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36285         FD_CLOEXEC for /proc/self/maps.
36287         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36288         FD_CLOEXEC for /proc/meminfo.
36290         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36291         gai.conf.
36293         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36294         FD_CLOEXEC for given file.
36296         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36298         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36299         FD_CLOEXEC for /etc/hosts.
36300         (_gethtent): Likewise.
36302         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36304         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36305         cancellation and set FD_CLOEXEC for /etc/netgroup.
36307         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36308         reading /etc/publickey.
36310         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36311         allow cancellation when reading /etc/group.
36313         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36314         cancellation.
36315         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36317         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36318         when using data file.
36320         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36322         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36323         (write_nis_obj): Use "c" and "e" in fopen.
36325         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36327         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36329         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36331         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36333         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36334         locale.alias.
36336         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36338         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36340         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36342         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36343         file parsing and set FD_CLOEXEC.
36345 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36347         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36349 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36351         * malloc/arena.c (arena_get2): Don't call reused_arena when
36352         _int_new_arena failed.
36354 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36356         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36357         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36358         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36359         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36360         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36361         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36362         to compile strcasecmp and strncasecmp.
36363         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36364         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36366         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36368 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
36370         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36371         locale-defines.sym to gen-as-const-headers.
36372         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36373         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36374         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36375         to compile strcasecmp and strncasecmp.
36376         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36377         strcasecmp_l and strncasecmp_l.
36378         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36379         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36380         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36381         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36382         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36383         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36384         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36385         * sysdeps/i386/i686/multiarch/strncase.S: New file.
36386         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36387         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36388         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36390 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
36392         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36393         result of SYSDEP_GETTIME_CPU to retval.
36394         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36395         parameter list to macro.  Remove trailing semicolon.  Adjust users.
36397         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36398         variable.
36400         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36401         mantissa words.
36402         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36404         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36405         from unused variable.
36407         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36408         DWARF definitions.
36409         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36410         for assembling.
36412         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36413         over namespaces.
36415         * sunrpc/rpc_prot.c (rejected): Fix case value.
36417         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36418         unsigned long long int to avoid warnings in shift.
36420         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36421         of use of trans.
36422         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36423         variable tmp.
36425         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36426         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36427         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36429         * nis/nis_table.c (nis_list): Use variable of correct type for
36430         result of __follow_path call.
36432 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36434         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36435         of math functions ceil, trunc, floor, round, and sqrt, when
36436         avaliable on the platform.
36437         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36438         name clash.
36439         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36440         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36441         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36443 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36445         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36446         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36448 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36450         * include/unistd.h: Fix __readlink return type.
36451         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36453 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36455         * stdlib/ucontext.h: Undo last change for makecontext.
36457 2011-11-11  Andreas Schwab  <schwab@redhat.com>
36459         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36461         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36462         * setjmp/setjmp.h: Mark functions as non-leaf.
36463         * setjmp/bits/setjmp2.h: Likewise.
36464         * stdlib/ucontext.h: Likewise.
36466 2011-11-10  Andreas Schwab  <schwab@redhat.com>
36468         * malloc/arena.c (_int_new_arena): Don't increment narenas.
36469         (reused_arena): Don't check arena limit.
36470         (arena_get2): Atomically check arena limit.
36472 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
36474         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36475         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36478         instructions.
36480 2011-11-07  Andreas Schwab  <schwab@redhat.com>
36482         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36483         handler when locking.
36485         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36486         Fix size of allocated buffer.
36488 2011-11-04  Andreas Schwab  <schwab@redhat.com>
36490         [BZ #10103]
36491         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36492         declarations for long double functions.
36493         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36495         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36497 2011-11-03  Andreas Schwab  <schwab@redhat.com>
36499         * nscd/nscd.c (main): Don't start AVC thread until credentials are
36500         installed.
36502         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36503         is disabled.
36505 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36507         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36509 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36511         * include/alloca.h (stackinfo_alloca_round): Define.
36512         (extend_alloca): Use it.
36513         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36514         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36515         here.
36517         * scripts/check-local-headers.sh: Ignore libaudit.h.
36519         * nscd/Makefile (extra-objs): Make recursively expanded.
36521 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
36523         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36524         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36526         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36527         * posix/tst-rfc3484-2.c: Likewise.
36528         * posix/tst-rfc3484-3.c: Likewise.
36530         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36531         process_vm_writev.
36532         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36533         process_vm_writev.
36534         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36535         process_vm_writev from libc using GLIBC_2.15 version.
36537         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36539 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
36541         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36542         stack usage.
36544 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
36546         [BZ #13367]
36547         * nss/getent.c (initgroups_keys): Show error message in case no group
36548         names are given.
36550         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36551         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36552         __bump_nl_timestamp.
36553         * nscd/connections (nscd_init): When host database is served open
36554         netlink socket and request notification about configuration changes.
36555         (main_loop_poll): Track netlink file descriptor and bump timestamp
36556         in case data becomes available.
36557         (main_loop_epoll): Likewise.
36558         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36559         (database_pers_head): Add extra_data fileds.
36560         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36561         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36562         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36563         Adjust caller.
36564         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36565         in6ai data, call __free_in6ai.
36566         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36567         Add -DHAVE_NETLINK.
36568         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
36569         interface information.  Reuse previous data if netlink timestamp
36570         is not changed.
36571         (__bump_nl_timestamp): New function.
36572         (__free_in6ai): New function.
36574 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
36576         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36577         close_not_cancel_no_status here.
36578         (__check_pf): Reorganize code a bit to not call close twice if OOM.
36580 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36582         [BZ #13276]
36583         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36584         return value.
36586         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36587         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36588         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36590 2011-07-03  Andreas Jaeger  <aj@suse.de>
36592         [BZ #10709]
36593         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36594         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36595         * math/libm-test.inc (sin_test): Add test case.
36597 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36599         [BZ #13337]
36600         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36601         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36603         * elf/chroot_canon.c (chroot_canon): Cleanups.
36605         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36607         [BZ #13335]
36608         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36609         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36611         * string/test-strchr.c: Make usable for strchrnul testing.
36612         * string/test-strchrnul.c: New file.
36613         * string/Makefile (strop-tests): Add strchrnul.
36615         * po/it.po: Update from translation team.
36616         * po/es.po: Likewise.
36618 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
36620         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36621         the three constants needed as parameters.  Drop the others.
36622         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36623         __m128i_strloadu_tolower.
36624         Create and initialize variable zero and use it in all the places
36625         where _mm_setzero_si128 was used.
36627         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36628         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36629         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36630         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36631         anymore.
36632         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36633         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36634         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36635         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36636         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36637         __mpranred, __mptan.
36638         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36639         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36640         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36641         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36642         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36643         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36644         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36645         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36646         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36648 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36650         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36651         redefine if SHARED.
36652         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36655         wide char related routines to wcsmbs subdir.
36657 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36659         [BZ #13344]
36660         * misc/sys/cdefs.h (__THROWNL): Define.
36661         * posix/unistd.h: Use __THREADNL instead of __THREAD
36662         for memory synchronization functions.
36664 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36666         [BZ #13349]
36667         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36668         doesn't exist.
36669         * manual/stdio.texi (Obstack Streams): Node removed.
36671 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36673         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36674         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36675         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36677         * math/math_private.h (math_force_eval): Allow non-addressable
36678         arguments.
36679         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36681 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36683         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36684         file is not needed.
36686         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36687         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36688         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36689         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36690         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36691         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36692         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36693         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36694         Add AVX variants.
36695         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36696         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36697         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36698         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36699         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36700         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36701         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36702         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36703         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36704         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36705         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36706         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36707         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36708         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36709         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36710         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36711         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36712         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36713         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36715         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36716         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36718         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36719         place.  Use VEX encoding when compiling for AVX.
36721 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36723         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36724         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36726         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36728 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36730         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36731         useless if() expression.
36732         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36736         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36737         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36738         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36739         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36740         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36741         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36742         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36743         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36744         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36745         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36746         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36747         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36748         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36749         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36750         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36752         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36754 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36756         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36757         condition.
36758         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36760 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36762         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36763         .text section.  Avoid duplicate constants.
36764         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36771         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36772         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36773         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36774         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36775         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36776         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36777         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36778         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36779         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36780         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36781         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36782         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36784         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36785         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36786         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36787         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36788         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36789         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36790         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36791         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36792         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36793         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36794         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36795         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36796         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36797         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36798         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36799         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36800         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36801         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36802         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36803         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36804         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36805         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36806         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36807         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36808         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36810 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36812         * sysdeps/x86_64/dla.h: Move to ...
36813         * sysdeps/x86_64/fpu/dla.h: ...here.
36814         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36815         situations.  Use __builtin_fma only for gcc 4.6 and up.
36817         * config.make.in: Add have-mfma4 entry.
36818         * configure.in: Substitute libc_cv_cc_fma4.
36819         * math/Makefile (dbl-only-routines): Add sincostab.
36820         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36821         Use __sincostab not sincos.
36822         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36823         name is a macro.
36824         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36826         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36828         using __copysign.
36829         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36830         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36831         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36832         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36833         and __inv.
36834         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36835         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36836         __copysign.
36837         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36838         define aliases when function name is a macro.
36839         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36840         sysdeps/ieee754/dbl-64/sincos.tbl.
36841         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36842         fma4-enabled routines.
36843         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36844         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36845         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36846         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36847         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36848         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36849         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36850         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36851         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36852         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36853         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36854         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36855         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36856         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36857         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36858         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36859         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36860         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36861         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36862         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36863         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36864         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36865         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36866         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36867         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36868         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36869         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36870         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36871         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36872         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36874         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36875         rename.
36876         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36877         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36879         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36880         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36881         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36882         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36885 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36887         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36889 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36891         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36893         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36894         prediction.
36895         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36897         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36898         Remove unused variable magic_bits.
36899         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36901         * string/strnlen.c: Define and use STRNLEN macro.
36902         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36903         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36905         * wcsmbs/wcslen.c: Define and use WCSLEN.
36906         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36907         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36908         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36909         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36910         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36911         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36912         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36914 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36917         strnlen-sse2-no-bsf.
36918         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36919         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36920         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36921         Add strnlen support.
36922         (USE_AS_STRNLEN): New macro.
36923         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36924         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36925         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36926         * sysdeps/x86_64/wcslen.S: New file.
36928 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36930         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36931         XMM-moves are used for copying on small sizes.
36933 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36935         * wcsmbs/Makefile (strop-tests): Add wcschr.
36936         * wcsmbs/test-wcschr.c: New file.
36937         * string/test-strchr.c: Update.
36938         Add wcschr support.
36939         (WIDE): New macro.
36941 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36943         * wcsmbs/Makefile (strop-tests): Add wcslen.
36944         * wcsmbs/test-wcslen.c: New file.
36945         * string/test-strlen.c: Update.
36946         Add wcslen support.
36947         (WIDE): New macro.
36949 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36951         * po/it.po: Update from translation team.
36953 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36955         * sysdeps/x86_64/wcscmp.S: Update.
36956         Fix wrong comparison semantics.
36957         wcscmp shall use signed comparison not unsigned.
36958         Don't use substraction to avoid overflow bug.
36959         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36960         * wcsmbc/wcscmp.c: Likewise.
36961         * string/test-strcmp.c: Likewise.
36962         Add new tests to check cases with negative values.
36964 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36966         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36967         * sysdeps/x86_64/dla.h: ...here.  New file.
36968         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36969         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36973         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36976         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36978 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36980         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36981         __ynl_finite aliases.
36983 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36987         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36988         define DLA_FMA.
36989         [DLA_FMA] (EMULV): Use DLA_FMA.
36990         [DLA_FMA] (MUL12): Use EMULV.
36991         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36992         that are not needed.
36993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36995         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36996         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36997         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36998         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36999         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37001 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37003         * math/s_nan.c: Undef __nan.
37004         * math/s_nanf.c: Undef __nanf.
37005         * math/s_nanl.c: Undef __nanl.
37006         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37007         "math_private.h".
37009 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37011         * math/s_catan.c: Add branch predictions.
37012         * math/s_catanf.c: Likewise.
37013         * math/s_catanh.c: Likewise.
37014         * math/s_catanhf.c: Likewise.
37015         * math/s_catanhl.c: Likewise.
37016         * math/s_catanl.c: Likewise.
37017         * math/s_cexp.c: Likewise.
37018         * math/s_cexpf.c: Likewise.
37019         * math/s_cexpl.c: Likewise.
37020         * math/s_clog.c: Likewise.
37021         * math/s_clog10.c: Likewise.
37022         * math/s_clog10f.c: Likewise.
37023         * math/s_clog10l.c: Likewise.
37024         * math/s_clogf.c: Likewise.
37025         * math/s_clogl.c: Likewise.
37026         * math/s_csqrt.c: Likewise.
37027         * math/s_csqrtf.c: Likewise.
37028         * math/s_csqrtl.c: Likewise.
37029         * math/s_ctanf.c: Likewise.
37030         * math/s_ctanh.c: Likewise.
37031         * math/s_ctanhf.c: Likewise.
37032         * math/s_ctanhl.c: Likewise.
37033         * math/s_ctanl.c: Likewise.
37035         * math/math_private.h: Define __nan, __nanf, __nanl.
37036         * math/s_cacosh.c: Include <math_private.h>.
37037         * math/s_cacoshl.c: Likewise.
37038         * math/s_casinh.c: Likewise.
37039         * math/s_casinhf.c: Likewise.
37040         * math/s_casinhl.c: Likewise.
37041         * math/s_ccos.c: Rely entire on ccosh.
37042         * math/s_ccosf.c: Rely entire on ccoshf.
37043         * math/s_ccosl.c: Rely entirely on ccoshl.
37044         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37045         Remove tests for FE_INVALID.
37046         * math/s_ccoshf.c: Likewise.
37047         * math/s_ccoshl.c: Likewise.
37048         * math/s_csin.c: Likewise.
37049         * math/s_csinf.c: Likewise.
37050         * math/s_csinh.c Likewise.
37051         * math/s_csinhf.c: Likewise.
37052         * math/s_csinhl.c: Likewise.
37053         * math/s_csinl.c: Likewise.
37054         * math/s_ctan.c: Likewise.
37055         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37056         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37057         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37059 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37062         compilation problems.
37064         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37065         __builtin_expect.
37067 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37069         * sysdeps/i386/configure.in: Test for -mfma4 option.
37070         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37071         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37072         COMMON_CPUID_INDEX_80000001.
37073         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37074         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37075         use it if FMA3 is not supported.
37076         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37078         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37079         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37081 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37083         [BZ #12892]
37084         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37085         it would create a cycle with a link time dependency.
37087 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37089         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37090         instruction.
37091         * string/Makefile (strop-tests): Add rawmemchr.
37092         * string/test-rawmemchr.c: New file.
37094         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37095         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37096         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37097         when compiling str{,n}casecmp and when AVX is available.  Hook up
37098         new optimized code in initializers.
37100 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37102         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37103         __feraiseexcept instead of feraiseexcept.
37105 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37107         * math/math_private.h: Define defaults for libc_fetestexcept and
37108         libc_feupdateenv.
37109         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37110         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37111         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37112         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37113         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37114         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37115         libc_fetestexcept and libc_feupdateenv.
37117         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37118         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37119         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37120         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37121         libc_feholdexcept_setround.
37123         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37124         Add s_nearbyint-c and s_nearbyintf-c.
37125         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37126         nearbyintf inlines.
37127         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37128         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37129         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37130         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37132         * math/math_private.h: Define defaults for libc_fegetround,
37133         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37134         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37135         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37136         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37137         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37138         standard functions.
37139         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37140         Remove comments and hacks for old compiler versions.
37141         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37142         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37143         libc_feholdexceptl.
37145 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37147         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37148         (__feraiseexcept_renamed): Add __NTH.
37149         (feraiseexcept): Add __NTH.  Rename local variables to fix
37150         namespace violations.
37152 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37156         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37158         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37159         recently added interfaces.
37160         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37162         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37163         about macro parameter expansion.
37165         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37166         __NO_MATH_INLINES is defined.  Cleanups.
37168         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37169         and __floorf is target has SSE4.1.
37170         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37171         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37172         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37173         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37175         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37176         name.
37177         (floorf): Likewise.
37179         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37181 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37183         * misc/sys/cdefs.h: Fix last change.
37185         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37186         database lookup.
37188 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37190         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37192         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37193         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37194         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37195         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37196         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37197         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37198         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37199         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37200         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37201         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37202         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37203         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37204         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37205         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37206         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37207         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37208         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37209         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37210         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37211         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37212         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37213         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37215         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37216         ceil, ceilf, floor, floorf.
37218         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37219         Perform IRELATIVE relocations last.
37221         * elf/do-rel.h: Add another parameter nrelative, replacing the
37222         local variable with the same name.  Change name of the function
37223         to end in Rel or Rela (uppercase).
37224         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37225         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37226         elf_dynamic_do_##reloc function.
37228 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37230         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37231         is sufficient, at least on modern CPUs.
37233         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37235         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37236         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37238         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37239         __expl_finite.
37240         * math/bits/math-finite.h: Add entries for exp.
37241         * math/e_expl.c: Add __*_finite alias.
37242         * sysdeps/i386/fpu/e_exp.S: Likewise.
37243         * sysdeps/i386/fpu/e_expf.S: Likewise.
37244         * sysdeps/i386/fpu/e_expl.c: Likewise.
37245         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37246         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37247         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37248         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37249         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37250         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37251         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37253         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37254         is sufficient, at least on modern CPUs.
37256         * ctype/ctype-info.c (__ctype_init): Define.
37257         * include/ctype.h (__ctype_init): Declare.
37258         (__ctype_b_loc): The variable is always initialized.
37259         (__ctype_toupper_loc): Likewise.
37260         (__ctype_tolower_loc): Likewise.
37261         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37262         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37264 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37266         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37268         * configure.in: Also look in $cxxmachine/include for C++ system
37269         headers.
37271 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37273         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37274         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37275         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37276         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37277         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37278         (USE_AS_WMEMCMP): New macro.
37279         Fixing indents.
37280         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37281         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37282         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37283         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37285         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37286         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37287         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37288         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37289         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37290         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37291         (USE_AS_WMEMCMP): New macro.
37292         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37293         * sysdeps/string/test-memcmp.c: Update.
37294         Fix simple_wmemcmp.
37295         Add new tests.
37296         * wcsmbs/wmemcmp.c: Update.
37297         (WMEMCMP): New macro.
37298         Fix overflow bug.
37300 2011-10-12  Andreas Jaeger  <aj@suse.de>
37302         [BZ #13268]
37303         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37305 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37307         * libio/iofwide.c (do_length): Avoid warning.
37309         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37311 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37313         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37315         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37316         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37317         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37318         * sysdeps/i386/i686/fpu/e_log.S: New file.
37319         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37320         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37322         * ctype/ctype.h: Add support for inlined isXXX functions when
37323         compiling C++ code.
37325 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37327         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37329         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37331 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37333         [BZ #13291]
37334         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37336 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37338         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37339         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37340         feraiseexcept.
37342         * sysdeps/x86_64/memrchr.S: Check for zero size.
37344         * string/stratcliff.c: Add memrchr tests.
37346 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37349         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37350         rawmemchr-sse2 rawmemchr-sse2-bsf.
37351         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37352         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37353         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37354         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37355         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37356         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37357         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37358         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37359         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37360         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37361         * string/memrchr.c (MEMRCHR): New macro.
37363 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
37365         Add integration with gcc's -ffinite-math-only and optimize wrapper
37366         functions in libm.
37367         * Versions.def: Define GLIBC_2.15 version for libm.
37368         * math/Makefile (headers): Add bits/math-finite.h.
37369         * math/bits/math-finite.h: New file.
37370         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37371         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37372         * math/e_acoshl.c: Add __*_finite alias.
37373         * math/e_acosl.c: Likewise.
37374         * math/e_asinl.c: Likewise.
37375         * math/e_atan2l.c: Likewise.
37376         * math/e_atanhl.c: Likewise.
37377         * math/e_coshl.c: Likewise.
37378         * math/e_exp10.c: Likewise.
37379         * math/e_exp10f.c: Likewise.
37380         * math/e_exp10l.c: Likewise.
37381         * math/e_exp2l.c: Likewise.
37382         * math/e_fmodl.c: Likewise.
37383         * math/e_gammal_r.c: Likewise.
37384         * math/e_hypotl.c: Likewise.
37385         * math/e_j0l.c: Likewise.
37386         * math/e_j1l.c: Likewise.
37387         * math/e_jnl.c: Likewise.
37388         * math/e_lgammal_r.c: Likewise.
37389         * math/e_log10l.c: Likewise.
37390         * math/e_log2l.c: Likewise.
37391         * math/e_logl.c: Likewise.
37392         * math/e_powl.c: Likewise.
37393         * math/e_sinhl.c: Likewise.
37394         * math/e_sqrtl.c: Likewise.
37395         * math/e_scalb.c: Completely rewritten and optimized.
37396         * math/e_scalbf.c: Likewise.
37397         * math/e_scalbl.c: Likewise.
37398         * math/w_acos.c: Likewise.
37399         * math/w_acosf.c: Likewise.
37400         * math/w_acosl.c: Likewise.
37401         * math/w_acosh.c: Likewise.
37402         * math/w_acoshf.c: Likewise.
37403         * math/w_acoshl.c: Likewise.
37404         * math/w_asin.c: Likewise.
37405         * math/w_asinf.c: Likewise.
37406         * math/w_asinl.c: Likewise.
37407         * math/w_atan2.c: Likewise.
37408         * math/w_atan2f.c: Likewise.
37409         * math/w_atan2l.c: Likewise.
37410         * math/w_atanh.c: Likewise.
37411         * math/w_atanhf.c: Likewise.
37412         * math/w_atanhl.c: Likewise.
37413         * math/w_exp10.c: Likewise.
37414         * math/w_exp10f.c: Likewise.
37415         * math/w_exp10l.c: Likewise.
37416         * math/w_fmod.c: Likewise.
37417         * math/w_fmodf.c: Likewise.
37418         * math/w_fmodl.c: Likewise.
37419         * math/w_j0.c: Likewise.
37420         * math/w_j0f.c: Likewise.
37421         * math/w_j0l.c: Likewise.
37422         * math/w_j1.c: Likewise.
37423         * math/w_j1f.c: Likewise.
37424         * math/w_j1l.c: Likewise.
37425         * math/w_jn.c: Likewise.
37426         * math/w_jnf.c: Likewise.
37427         * math/w_log.c: Likewise.
37428         * math/w_logf.c: Likewise.
37429         * math/w_logl.c: Likewise.
37430         * math/w_log10.c: Likewise.
37431         * math/w_log10f.c: Likewise.
37432         * math/w_log10l.c: Likewise.
37433         * math/w_log2.c: Likewise.
37434         * math/w_log2f.c: Likewise.
37435         * math/w_log2l.c: Likewise.
37436         * math/w_pow.c: Likewise.
37437         * math/w_powf.c: Likewise.
37438         * math/w_powl.c: Likewise.
37439         * math/w_remainder.c: Likewise.
37440         * math/w_remainderf.c: Likewise.
37441         * math/w_remainderl.c: Likewise.
37442         * math/w_scalb.c: Likewise.
37443         * math/w_scalbf.c: Likewise.
37444         * math/w_scalbl.c: Likewise.
37445         * math/w_sqrt.c: Likewise.
37446         * math/w_sqrtf.c: Likewise.
37447         * math/w_sqrtl.c: Likewise.
37448         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37449         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37450         used.
37451         * math/math_private.h: Declare __kernel_standard_f.
37452         * math/w_cosh.c: Remove cruft and optimize a bit.
37453         * math/w_coshf.c: Likewise.
37454         * math/w_coshl.c: Likewise.
37455         * math/w_exp2.c: Likewise.
37456         * math/w_exp2f.c: Likewise.
37457         * math/w_exp2l.c: Likewise.
37458         * math/w_hypot.c: Likewise.
37459         * math/w_hypotf.c: Likewise.
37460         * math/w_hypotl.c: Likewise.
37461         * math/w_lgamma.c: Likewise.
37462         * math/w_lgamma_r.c: Likewise.
37463         * math/w_lgammaf.c: Likewise.
37464         * math/w_lgammaf_r.c: Likewise.
37465         * math/w_lgammal.c: Likewise.
37466         * math/w_lgammal_r.c: Likewise.
37467         * math/w_sinh.c: Likewise.
37468         * math/w_sinhf.c: Likewise.
37469         * math/w_sinhl.c: Likewise.
37470         * math/w_tgamma.c: Likewise.
37471         * math/w_tgammaf.c: Likewise.
37472         * math/w_tgammal.c: Likewise.
37473         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37474         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37475         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37476         Minor optimizations.  Pretty printing.  Remove cruft.
37477         * sysdeps/i386/fpu/e_acosf.S: Likewise.
37478         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37479         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37480         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37481         * sysdeps/i386/fpu/e_acosl.c: Likewise.
37482         * sysdeps/i386/fpu/e_asin.S: Likewise.
37483         * sysdeps/i386/fpu/e_asinf.S: Likewise.
37484         * sysdeps/i386/fpu/e_atan2.S: Likewise.
37485         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37486         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37487         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37488         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37489         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37490         * sysdeps/i386/fpu/e_exp10.S: Likewise.
37491         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37492         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37493         * sysdeps/i386/fpu/e_exp2.S: Likewise.
37494         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37495         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37496         * sysdeps/i386/fpu/e_fmod.S: Likewise.
37497         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37498         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37499         * sysdeps/i386/fpu/e_hypot.S: Likewise.
37500         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37501         * sysdeps/i386/fpu/e_log.S: Likewise.
37502         * sysdeps/i386/fpu/e_log10.S: Likewise.
37503         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37504         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37505         * sysdeps/i386/fpu/e_log2.S: Likewise.
37506         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37507         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37508         * sysdeps/i386/fpu/e_logf.S: Likewise.
37509         * sysdeps/i386/fpu/e_logl.S: Likewise.
37510         * sysdeps/i386/fpu/e_pow.S: Likewise.
37511         * sysdeps/i386/fpu/e_powf.S: Likewise.
37512         * sysdeps/i386/fpu/e_powl.S: Likewise.
37513         * sysdeps/i386/fpu/e_remainder.S: Likewise.
37514         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37515         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37516         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37517         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37518         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37519         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37520         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37521         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37522         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37523         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37524         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37525         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37526         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37527         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37528         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37529         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37530         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37531         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37532         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37533         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37535         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37536         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37537         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37538         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37539         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37540         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37541         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37542         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37543         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37544         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37545         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37546         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37547         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37548         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37549         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37550         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37551         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37552         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37553         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37554         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37555         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37556         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37557         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37558         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37559         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37560         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37561         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37562         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37563         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37564         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37565         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37566         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37567         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37568         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37569         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37570         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37571         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37572         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37573         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37574         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37575         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37576         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37577         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37578         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37579         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37580         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37581         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37582         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37583         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37584         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37585         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37586         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37587         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37588         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37589         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37590         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37591         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37592         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37593         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37594         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37595         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37596         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37597         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37598         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37599         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37600         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37601         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37602         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37603         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37604         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37605         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37606         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37607         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37608         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37609         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37610         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37611         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37612         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37613         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37614         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37615         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37616         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37617         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37618         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37619         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37620         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37621         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37622         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37623         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37624         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37625         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37626         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37627         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37628         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37629         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37630         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37631         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37632         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
37633         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37634         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37635         (__isnanf): Likewise.
37636         (__isinf_ns): Likewise.
37637         (__isinf_nsf): Likewise.
37638         (__finite): Likewise.
37639         (__finitef): Likewise.
37640         (__ieee754_sqrt): Define as macro.
37641         (__ieee754_sqrtf): Define as macro.
37642         (__ieee754_sqrtl): Define as macro.
37643         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37644         inlined copy.
37645         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37646         __FINITE_MATH_ONLY__ consistent.
37647         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37649 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37651         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37652         of rawmemchr.
37654         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37656 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37658         * po/ja.po: Update from translation team.
37660 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37662         * locale/programs/locarchive.c (prepare_address_space): New function.
37663         (create_archive, enlarge_archive, open_archive): Use it.
37665         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37666         inside [SHARED], where it is used.
37668         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37670         * nss/getent.c (netgroup_keys): Remove unused variable.
37671         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37673 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37675         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37676         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37677         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37678         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37679         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37680         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37681         * math/Makefile (libm-calls): Add s_isinf_ns.
37682         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37683         * math/multc3.c: Likewise.
37684         * math/s_casin.c: Likewise.
37685         * math/s_casinf.c: Likewise.
37686         * math/s_casinl.c: Likewise.
37687         * math/s_ccos.c: Likewise.
37688         * math/s_ccosf.c: Likewise.
37689         * math/s_ccosl.c: Likewise.
37690         * math/s_ctan.c: Likewise.
37691         * math/s_ctanf.c: Likewise.
37692         * math/s_ctanh.c: Likewise.
37693         * math/s_ctanhf.c: Likewise.
37694         * math/s_ctanhl.c: Likewise.
37695         * math/s_ctanl.c: Likewise.
37696         * math/w_fmod.c: Likewise.
37697         * math/w_fmodf.c: Likewise.
37698         * math/w_fmodl.c: Likewise.
37699         * math/w_remainder.c: Likewise.
37700         * math/w_remainderf.c: Likewise.
37701         * math/w_remainderl.c: Likewise.
37702         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37703         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37704         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37706         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37707         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37708         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37709         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37711         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37712         of the number.
37713         * stdio-common/printf_fphex.c: Likewise.
37714         * stdio-common/printf_size.c: Likewise.
37716         * math/e_exp10.c: Include math_private.h using <...> not "...".
37717         * math/e_exp10f.c: Likewise.
37718         * math/e_exp10l.c: Likewise.
37719         * math/e_exp2l.c: Likewise.
37720         * math/e_j0l.c: Likewise.
37721         * math/e_j1l.c: Likewise.
37722         * math/e_jnl.c: Likewise.
37723         * math/e_lgammal_r.c: Likewise.
37724         * math/e_rem_pio2l.c: Likewise.
37725         * math/e_scalb.c: Likewise.
37726         * math/e_scalbf.c: Likewise.
37727         * math/e_scalbl.c: Likewise.
37728         * math/k_cosl.c: Likewise.
37729         * math/k_sinl.c: Likewise.
37730         * math/k_tanl.c: Likewise.
37731         * math/s_cacoshf.c: Likewise.
37732         * math/s_catan.c: Likewise.
37733         * math/s_catanf.c: Likewise.
37734         * math/s_catanh.c: Likewise.
37735         * math/s_catanhf.c: Likewise.
37736         * math/s_catanhl.c: Likewise.
37737         * math/s_catanl.c: Likewise.
37738         * math/s_ccosh.c: Likewise.
37739         * math/s_ccoshf.c: Likewise.
37740         * math/s_ccoshl.c: Likewise.
37741         * math/s_cexp.c: Likewise.
37742         * math/s_cexpf.c: Likewise.
37743         * math/s_cexpl.c: Likewise.
37744         * math/s_clog.c: Likewise.
37745         * math/s_clog10.c: Likewise.
37746         * math/s_clog10f.c: Likewise.
37747         * math/s_clog10l.c: Likewise.
37748         * math/s_clogf.c: Likewise.
37749         * math/s_clogl.c: Likewise.
37750         * math/s_csin.c: Likewise.
37751         * math/s_csinf.c: Likewise.
37752         * math/s_csinh.c: Likewise.
37753         * math/s_csinhf.c: Likewise.
37754         * math/s_csinhl.c: Likewise.
37755         * math/s_csinl.c: Likewise.
37756         * math/s_csqrt.c: Likewise.
37757         * math/s_csqrtf.c: Likewise.
37758         * math/s_csqrtl.c: Likewise.
37759         * math/s_ctan.c: Likewise.
37760         * math/s_ctanf.c: Likewise.
37761         * math/s_ctanh.c: Likewise.
37762         * math/s_ctanhf.c: Likewise.
37763         * math/s_ctanhl.c: Likewise.
37764         * math/s_ctanl.c: Likewise.
37765         * math/s_ldexp.c: Likewise.
37766         * math/s_ldexpf.c: Likewise.
37767         * math/s_ldexpl.c: Likewise.
37768         * math/s_significand.c: Likewise.
37769         * math/s_significandf.c: Likewise.
37770         * math/s_significandl.c: Likewise.
37771         * math/w_acos.c: Likewise.
37772         * math/w_acosf.c: Likewise.
37773         * math/w_acosh.c: Likewise.
37774         * math/w_acoshf.c: Likewise.
37775         * math/w_acoshl.c: Likewise.
37776         * math/w_acosl.c: Likewise.
37777         * math/w_asin.c: Likewise.
37778         * math/w_asinf.c: Likewise.
37779         * math/w_asinl.c: Likewise.
37780         * math/w_atan2.c: Likewise.
37781         * math/w_atan2f.c: Likewise.
37782         * math/w_atan2l.c: Likewise.
37783         * math/w_atanh.c: Likewise.
37784         * math/w_atanhf.c: Likewise.
37785         * math/w_atanhl.c: Likewise.
37786         * math/w_cosh.c: Likewise.
37787         * math/w_coshf.c: Likewise.
37788         * math/w_coshl.c: Likewise.
37789         * math/w_dremf.c: Likewise.
37790         * math/w_exp10.c: Likewise.
37791         * math/w_exp10f.c: Likewise.
37792         * math/w_exp10l.c: Likewise.
37793         * math/w_exp2.c: Likewise.
37794         * math/w_exp2f.c: Likewise.
37795         * math/w_fmod.c: Likewise.
37796         * math/w_fmodf.c: Likewise.
37797         * math/w_fmodl.c: Likewise.
37798         * math/w_hypot.c: Likewise.
37799         * math/w_hypotf.c: Likewise.
37800         * math/w_hypotl.c: Likewise.
37801         * math/w_j0.c: Likewise.
37802         * math/w_j0f.c: Likewise.
37803         * math/w_j0l.c: Likewise.
37804         * math/w_j1.c: Likewise.
37805         * math/w_j1f.c: Likewise.
37806         * math/w_j1l.c: Likewise.
37807         * math/w_jn.c: Likewise.
37808         * math/w_jnf.c: Likewise.
37809         * math/w_jnl.c: Likewise.
37810         * math/w_lgamma.c: Likewise.
37811         * math/w_lgamma_r.c: Likewise.
37812         * math/w_lgammaf.c: Likewise.
37813         * math/w_lgammaf_r.c: Likewise.
37814         * math/w_lgammal.c: Likewise.
37815         * math/w_lgammal_r.c: Likewise.
37816         * math/w_log.c: Likewise.
37817         * math/w_log10.c: Likewise.
37818         * math/w_log10f.c: Likewise.
37819         * math/w_log10l.c: Likewise.
37820         * math/w_log2.c: Likewise.
37821         * math/w_log2f.c: Likewise.
37822         * math/w_log2l.c: Likewise.
37823         * math/w_logf.c: Likewise.
37824         * math/w_logl.c: Likewise.
37825         * math/w_pow.c: Likewise.
37826         * math/w_powf.c: Likewise.
37827         * math/w_powl.c: Likewise.
37828         * math/w_remainder.c: Likewise.
37829         * math/w_remainderf.c: Likewise.
37830         * math/w_remainderl.c: Likewise.
37831         * math/w_scalb.c: Likewise.
37832         * math/w_scalbf.c: Likewise.
37833         * math/w_scalbl.c: Likewise.
37834         * math/w_sinh.c: Likewise.
37835         * math/w_sinhf.c: Likewise.
37836         * math/w_sinhl.c: Likewise.
37837         * math/w_sqrt.c: Likewise.
37838         * math/w_sqrtf.c: Likewise.
37839         * math/w_sqrtl.c: Likewise.
37840         * math/w_tgamma.c: Likewise.
37841         * math/w_tgammaf.c: Likewise.
37842         * math/w_tgammal.c: Likewise.
37844         * po/ja.po: Update from translation team.
37846 2011-09-29  Andreas Jaeger  <aj@suse.de>
37848         [BZ #13179]
37849         * sunrpc/netname.c (netname2host): Fix logic.
37851         [BZ #6779]
37852         [BZ #6783]
37853         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37854         correctly.
37855         * math/w_remainder.c (__remainder): Likewise.
37856         * math/w_remainderf.c (__remainderf): Likewise.
37857         * math/libm-test.inc (remainder_test): Add test cases.
37859 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37861         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37862         sdiv_qrnnd.
37864 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37866         * string/test-memcmp.c: Avoid unncessary #defines.
37867         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37869 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37871         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37872         Use new sse2 version for core i3 - i7 as it's faster
37873         than sse42 version.
37874         (bit_Prefer_PMINUB_for_stringop): New.
37875         * sysdeps/x86_64/rawmemchr.S: Update.
37876         Replace with faster SSE2 version.
37877         * sysdeps/x86_64/memrchr.S: New file.
37878         * sysdeps/x86_64/memchr.S: Update.
37879         Replace with faster SSE2 version.
37881 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37883         * elf/dl-load.c (lose): Add cast to avoid warning.
37885 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37887         * po/ca.po: Update from translation team.
37889         * inet/getnetgrent_r.c: Hook up nscd.
37890         * nscd/Makefile (routines): Add nscd_netgroup.
37891         (nscd-modules): Add netgroupcache.
37892         (CFLAGS-netgroupcache.c): Define.
37893         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37894         (cache_search): Add const to second parameter.
37895         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37896         INNETGR.
37897         (dbs): Add netgrdb entry.
37898         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37899         (verify_persistent_db): Handle netgrdb.
37900         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37901         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37902         GETFDNETGR.
37903         (netgroup_response_header): Define.
37904         (innetgroup_response_header): Define.
37905         (datahead): Add netgroup_response_header and innetgroup_response_header
37906         elements.
37907         * nscd/nscd.conf: Add entries for netgroup cache.
37908         * nscd/nscd.h (dbtype): Add netgrdb.
37909         (_PATH_NSCD_NETGROUP_DB): Define.
37910         (netgroup_iov_disabled): Declare.
37911         (xmalloc, xcalloc, xrealloc): Move declarations here.
37912         (cache_search): Adjust prototype.
37913         Add netgroup-related prototypes.
37914         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37915         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37916         (__nscd_innetgr): Declare.
37917         * nscd/selinux.c (perms): Use access_vector_t as element type and
37918         add netgroup-related initializers.
37919         * nscd/netgroupcache.c: New file.
37920         * nscd/nscd_netgroup.c: New file.
37921         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37922         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37923         For four parameters use innetgr.
37924         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37925         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37926         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37927         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37929         * nscd/connections.c (register_traced_file): Don't register file
37930         for disabled databases.
37932 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37934         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37936         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37937         from tree and freeing node.
37939 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37941         * nss/nsswitch.c (__nss_database_lookup): Handle
37942         nss_parse_service_list out of memory case.
37944 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37946         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37947         out of memory case.
37949 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37951         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37952         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37953         pass it down.
37954         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37955         elf_machine_rela, elf_machine_lazy_rel.
37956         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37957         (ELF_DYNAMIC_DO_REL): Likewise.
37958         (ELF_DYNAMIC_DO_RELA): Likewise.
37959         (ELF_DYNAMIC_RELOCATE): Likewise.
37960         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37961         to ELF_DYNAMIC_DO_REL.
37962         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37963         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37964         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37965         elf_machine_rela.
37966         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37967         skip_ifunc, don't call ifunc function if non-zero.
37968         (elf_machine_rela): Likewise.
37969         (elf_machine_lazy_rel): Likewise.
37970         (elf_machine_lazy_rela): Likewise.
37971         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37972         (elf_machine_lazy_rel): Likewise.
37973         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37974         Likewise.
37975         (elf_machine_lazy_rel): Likewise.
37976         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37977         Likewise.
37978         (elf_machine_lazy_rel): Likewise.
37979         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37980         (elf_machine_lazy_rel): Likewise.
37981         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37982         (elf_machine_lazy_rel): Likewise.
37983         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37984         (elf_machine_lazy_rel): Likewise.
37985         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37986         (elf_machine_lazy_rel): Likewise.
37987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37988         (elf_machine_lazy_rel): Likewise.
37989         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37990         (elf_machine_lazy_rel): Likewise.
37992 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37994         * nss/nss_files/files-init.c (_nss_files_init): Use static
37995         initialization for all the *_traced_file variables.
37997 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37999         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38001 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38003         [BZ #13226]
38004         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38006 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38008         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38009         Reread the line before reparsing it.
38011 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38013         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38015 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38016             Maxim Kuvyrkov  <maxim@codesourcery.com>
38017             Joseph Myers  <joseph@codesourcery.com>
38019         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38020         if needed for __stack_chk_guard.
38022 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38024         * sysdeps/posix/spawni.c (script_execute): Always define it.
38025         It will be optimized away if unused.
38026         (maybe_script_execute): New function.
38027         (__spawni): Call it.
38029         * Makerules: Don't include tls.make.
38030         (config-tls): Always set to thread.
38031         * tls.make.c: File removed.
38033 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38035         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38036         * config.make.in (CPPFLAGS-config): New substituted variable.
38038 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38040         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38042         [BZ #13192]
38043         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38044         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38046 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38048         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38049         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38050         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38051         (CALL_FAIL): Likewise.
38052         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38053         (CALL_FAIL): Macro removed.
38054         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38056 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38058         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38059         for __FINITE_MATH_ONLY__ == 1.
38061 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38063         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38064         __ieee754_sqrt instead of sqrt.
38065         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38066         __ieee754_sqrtf instead of sqrtf.
38067         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38068         __floorf instead of floorf.
38069         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38070         __floorf, __truncf instead of floorf, truncf.
38072 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38074         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38076         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38077         __extern_always_inline.
38078         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38079         32-bit.
38081 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38083         * elf/rtld.c (dl_main): Also relocate in dependency order when
38084         doing symbol dependency testing.
38086 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38088         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38089         Always define `refsym'.
38091 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38093         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38094         (__FD_ELT): Renamed from __FDELT.
38095         * misc/bits/select2.h (__FD_ELT): Likewise.
38096         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38097         __FD_MASK instead of __FDELT, __FDMASK.
38098         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38099         Likewise.
38100         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38101         Likewise.
38103         * elf/Makefile (gen-ldd): Fix pattern.
38105         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38106         (init_tls): Likewise.
38108 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38110         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38112 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38114         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38115         `struct cmsghdr *' instead of `void *'.
38116         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38117         Likewise.
38119 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38121         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38122         if non-absolute.
38123         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38124         ldd_rewrite_script.
38126 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38128         * configure.in: Remove --with-tls option.
38129         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38130         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38131         out in case it is missing.
38132         * sysdeps/ia64/elf/configure.in: Likewise.
38133         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38134         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38135         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38136         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38137         * sysdeps/sh/elf/configure.in: Likewise.
38138         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38139         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38140         * sysdeps/x86_64/elf/configure.in: Likewise.
38141         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38142         * sysdeps/mach/hurd/tls.h: Likewise.
38144         [BZ #13067]
38145         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38147         [BZ #13090]
38148         * configure.in: Fix use of AC_INIT.
38150         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38152 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38154         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38155         __set_errno.
38156         * malloc/hooks.c: Likewise.
38158         [BZ #11929]
38159         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38160         variables statically.
38161         (narenas): Initialize.
38162         (list_lock): Initialize.
38163         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38164         initializtion of main_arena and list_lock.  Small cleanups.
38165         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38166         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38167         Add initializers to main_arena and mp_.
38168         (malloc_state): Remove pagesize member.  Change all users to use
38169         GLRO(dl_pagesize).
38171         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38172         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38173         is always initialized.
38175         * malloc/malloc.c: Removed unused configurations and dead code.
38176         * malloc/arena.c: Likewise.
38177         * malloc/hooks.c: Likewise.
38178         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38180         * include/tls.h: Removed.  USE___THREAD must always be defined.
38181         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38182         * elf/dl-libc.c: Likewise.
38183         * elf/dl-tsd.c: Likewise.
38184         * include/errno.h: Likewise.
38185         * include/netdb.h: Likewise.
38186         * include/resolv.h: Likewise.
38187         * inet/herrno-loc.c: Likewise.
38188         * inet/herrno.c: Likewise.
38189         * malloc/arena.c: Likewise.
38190         * malloc/hooks.c: Likewise.
38191         * malloc/malloc.c: Likewise.
38192         * resolv/res-state.c: Likewise.
38193         * resolv/res_libc.c: Likewise.
38194         * sysdeps/i386/dl-machine.h: Likewise.
38195         * sysdeps/ia64/dl-machine.h: Likewise.
38196         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38197         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38198         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38199         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38200         * sysdeps/sh/dl-machine.h: Likewise.
38201         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38202         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38203         * sysdeps/unix/i386/sysdep.S: Likewise.
38204         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38205         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38207         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38210         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38214         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38215         * sysdeps/x86_64/dl-machine.h: Likewise.
38216         * tls.make.c: Likewise.
38218         * configure.in: Remove --with-__thread option.  Make tests for
38219         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38220         tls_model attribute fail if no support is available.  Remove
38221         USE_IN_LIBIO.
38222         * Makeconfig: Adjust for dropped configure option.  All features are
38223         now mandatory.
38224         * Makerules: Likewise.
38225         * Versions.def: Likewise.
38226         * argp/argp-fmtstream.c: Likewise.
38227         * argp/argp-fmtstream.h: Likewise.
38228         * argp/argp-help.c: Likewise.
38229         * assert/assert.c: Likewise.
38230         * config.h.in: Likewise.
38231         * config.make.in: Likewise.
38232         * configure: Likewise.
38233         * configure.in: Likewise.
38234         * csu/Versions: Likewise.
38235         * csu/init.c: Likewise.
38236         * elf/tst-audit2.c: Likewise.
38237         * elf/tst-tls10.c: Likewise.
38238         * elf/tst-tls10.h: Likewise.
38239         * elf/tst-tls11.c: Likewise.
38240         * elf/tst-tls12.c: Likewise.
38241         * elf/tst-tls14.c: Likewise.
38242         * elf/tst-tlsmod11.c: Likewise.
38243         * elf/tst-tlsmod12.c: Likewise.
38244         * elf/tst-tlsmod13.c: Likewise.
38245         * elf/tst-tlsmod13a.c: Likewise.
38246         * elf/tst-tlsmod14a.c: Likewise.
38247         * elf/tst-tlsmod15b.c: Likewise.
38248         * elf/tst-tlsmod16a.c: Likewise.
38249         * elf/tst-tlsmod16b.c: Likewise.
38250         * elf/tst-tlsmod7.c: Likewise.
38251         * elf/tst-tlsmod8.c: Likewise.
38252         * elf/tst-tlsmod9.c: Likewise.
38253         * gmon/gmon.c: Likewise.
38254         * grp/fgetgrent_r.c: Likewise.
38255         * grp/putgrent.c: Likewise.
38256         * hurd/fopenport.c: Likewise.
38257         * include/libc-symbols.h: Likewise.
38258         * include/tls.h: Likewise.
38259         * intl/gettextP.h: Likewise.
38260         * intl/loadinfo.h: Likewise.
38261         * locale/global-locale.c: Likewise.
38262         * locale/localeinfo.h: Likewise.
38263         * mach/devstream.c: Likewise.
38264         * malloc/arena.c: Likewise.
38265         * malloc/set-freeres.c: Likewise.
38266         * misc/err.c: Likewise.
38267         * misc/getttyent.c: Likewise.
38268         * misc/mntent_r.c: Likewise.
38269         * posix/getopt.c: Likewise.
38270         * posix/wordexp.c: Likewise.
38271         * pwd/fgetpwent_r.c: Likewise.
38272         * resolv/Versions: Likewise.
38273         * resolv/res_hconf.c: Likewise.
38274         * shadow/fgetspent_r.c: Likewise.
38275         * shadow/putspent.c: Likewise.
38276         * stdio-common/printf_fphex.c: Likewise.
38277         * stdio-common/tmpfile.c: Likewise.
38278         * stdlib/abort.c: Likewise.
38279         * stdlib/fmtmsg.c: Likewise.
38280         * sunrpc/auth_unix.c: Likewise.
38281         * sunrpc/clnt_perr.c: Likewise.
38282         * sunrpc/clnt_tcp.c: Likewise.
38283         * sunrpc/clnt_udp.c: Likewise.
38284         * sunrpc/clnt_unix.c: Likewise.
38285         * sunrpc/openchild.c: Likewise.
38286         * sunrpc/svc_simple.c: Likewise.
38287         * sunrpc/svc_tcp.c: Likewise.
38288         * sunrpc/svc_udp.c: Likewise.
38289         * sunrpc/svc_unix.c: Likewise.
38290         * sunrpc/xdr.c: Likewise.
38291         * sunrpc/xdr_array.c: Likewise.
38292         * sunrpc/xdr_rec.c: Likewise.
38293         * sunrpc/xdr_ref.c: Likewise.
38294         * sunrpc/xdr_stdio.c: Likewise.
38296 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38298         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38300 2011-07-03  Andreas Jaeger  <aj@suse.de>
38302         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38303         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38304         regenerate with gen-libm-tests.pl.
38306 2010-05-12  Petr Baudis  <pasky@suse.cz>
38308         [BZ #11589]
38309         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38310         around j0() zero points by switching to j1().
38311         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38312         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38314         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38316 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38318         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38319         instead of 0.
38320         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38321         instead of 0.
38322         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38323         Patch in part by Pavel Roskin <proski@gnu.org>.
38325         [BZ #13138]
38326         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38327         realloc.
38328         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38329         Free memory block if necessary.
38331         [BZ #12847]
38332         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38333         be NULL.  Don't lock in this case.
38335 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38337         * elf/elf.h (ELFOSABI_GNU): New macro.
38338         (ELFOSABI_LINUX): Define to that.
38340 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38342         * string/strncat.c (strncat): Undef the symbol in case it has been
38343         defined in bits/string.h.
38345 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38347         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38349         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38350         link map.
38352 2011-08-17  Andreas Jaeger  <aj@suse.de>
38354         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38356 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38357             Ian Lance Taylor  <iant@google.com>
38359         * math/libm-test.inc (lround_test): New testcase.
38360         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38362 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
38364         * Makefile: Remove support for automatic cvs check-ins.
38365         * Makerules: Likewise.
38366         * config.make.in: Likewise.
38367         * configure.in: Likewise.
38368         * intl/Makefile: Likewise.
38369         * locale/Makefile: Likewise.
38370         * po/Makefile: Likewise.
38371         * posix/Makefile: Likewise.
38372         * sysdeps/gnu/Makefile: Likewise.
38373         * sysdeps/mach/hurd/Makefile: Likewise.
38374         * sysdeps/sparc/sparc32/Makefile: Likewise.
38376         [BZ #13118]
38377         * posix/Makefile (bug-regex32-ENV): Define.
38378         Patch by John Stanley <jpsinthemix@verizon.net>.
38380         * misc/Makefile (headers): Add bits/select2.h.
38381         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38382         * misc/bits/select2.h: New file.
38383         * include/bits/select2.h: New file.
38384         * debug/Makefile (routines): Add fdelt_chk.
38385         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38386         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38387         FD_ISSET.
38388         * debug/fdelt_chk.c: New file.
38390         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
38391         * wcsmbs/test-wmemcmp.c: Likewise.
38392         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38393         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38395 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38397         * string/Makefile (strop-tests): Add memcmp.
38398         * string/test-wmemcmp.c: New file.
38399         * string/test-memcmp.c: Add wmemcmp support.
38401 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38403         [BZ #13153]
38404         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38405         2011-07-19 change.
38407         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38408         garbage value in a __mach_port_mod_refs call in the cases of the
38409         task-self and thread-self ports.
38411 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38413         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38415 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38417         * elf/dl-load.c (lose): Check for non-null L.
38419 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38421         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38423         * elf/dl-libc.c (dlerror_run): Pass back error code from
38424         dl_catch_error.
38426         [BZ #13123]
38427         * elf/dl-load.c (lose): Free l_origin if it is valid.
38429         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38430         names.
38431         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38432         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38434         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38435         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38436         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38438 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38440         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38441         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38442         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38443         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38444         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38445         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38446         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38447         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38448         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38449         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38451 2011-08-15  Alan Modra  <amodra@gmail.com>
38453         [BZ #13092]
38454         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38455         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38456         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
38457         ppc_mcount to static-only-routines.
38458         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38459         __mcount_internal.
38460         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38461         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
38463 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
38465         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38466         for finite and infinity parameters.
38468 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38470         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38471         and add nop instructions for throughput optimization.
38472         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38474 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
38476         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38477         aligned copy for power7 with vector-scalar instructions.
38478         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38480 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
38482         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38483         AVX check.
38485 2011-09-07  Andreas Schwab  <schwab@redhat.com>
38487         [BZ #13144]
38488         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38489         last change.
38491 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38493         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38494         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38495         syscall wrapper around clock_gettime in __vdso_clock_gettime.
38496         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38497         clock_gettime.
38499 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38501         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38502         Forgot to demangle the pointer.
38504         * sysdeps/i386/sysdep.h: Define atom_text_section.
38505         * sysdeps/x86_64/sysdep.h: Likewise.
38506         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38507         section with atom_text_section.
38508         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38509         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38510         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38512         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38514         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38515         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38516         already be defined.  Change to take two parameters and don't assign
38517         result to variable.  Adjust all users.
38518         Define INTERNAL_GETTIME if not already defined.
38519         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38520         call.
38521         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38522         HAVE_CLOCK_GETTIME_VSYSCALL.
38523         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38525         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38526         gettimeofday vsyscall, just use time.
38528 2011-09-06  Andreas Schwab  <schwab@redhat.com>
38530         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38531         <errno.h>.
38533 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38535         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38536         syscall on x86-64.
38537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38538         syscall.
38539         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38540         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38541         syscall if possible.
38543 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38545         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38546         e_ident.  Don't pass to find_mapsXX.
38547         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38549 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38552         strchr-sse2-no-bsf strrchr-sse2-no-bsf
38553         * sysdeps/x86_64/multiarch/strchr.S: Update.
38554         Check bit_slow_BSF bit.
38555         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38556         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38557         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38559 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38561         [BZ #13134]
38562         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38563         before glibc 2.15.
38564         (tryshell): Define.
38565         (__spawni): Change last parameter to be flag.  Test
38566         SPAWN_XFLAGS_USE_PATH flag to use path or not.
38567         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38568         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38569         * posix/spawni.c: Likewise.
38570         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38571         * posix/spawnp.c: Likewise.  Change normal version to use
38572         SPAWN_XFLAGS_USE_PATH.
38573         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38574         SPAWN_XFLAGS_TRY_SHELL.
38576         [BZ #13150]
38577         * posix/glob.h: Remove gcc 1.x support.
38579         [BZ #13068]
38580         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38582 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38585         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38586         strrchr-sse2-bsf
38587         * sysdeps/i386/i686/multiarch/strchr.S: New file.
38588         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38589         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38590         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38591         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38592         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38594 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38596         * sysdeps/x86_64/wcscmp.S: New file.
38598         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38599         wcscmp-c wcscmp-sse2
38600         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38601         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38602         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38603         * wcsmbs/wcscmp.c: Allow renaming.
38605 2011-09-05  David S. Miller  <davem@davemloft.net>
38607         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38608         stack slot, rather than the struct return pointer slot.
38609         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38610         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38612         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38614 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38616         * po/ja.po: Update from translation team.
38618         [BZ #13144]
38619         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38620         kernel in 64-bit binaries.
38622 2011-09-01  David S. Miller  <davem@davemloft.net>
38624         * elf/elf.h (HWCAP_SPARC_*): Move to..
38625         * sysdeps/sparc/sysdep.h: this new file and add new values.
38626         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38627         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38628         _DL_HWCAP_COUNT to 24.
38629         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38630         entries.
38631         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38632         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38633         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38634         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38635         instead of magic constants.
38636         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38638 2011-08-31  David S. Miller  <davem@davemloft.net>
38640         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38642         Reimplement to do errno handling inline.
38643         (SYSCALL_ERROR_HANDLER): New macro.
38644         (__SYSCALL_STRING): Do not do errno handling in asm.
38645         (__CLONE_SYSCALL_STRING): Delete.
38646         (__INTERNAL_SYSCALL_STRING): Delete.
38647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38648         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38649         (PSEUDO): Reimplement to do errno handling inline.
38650         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38651         (SYSCALL_ERROR_HANDLER): New macro.
38652         (__SYSCALL_STRING): Do not do errno handling in asm.
38653         (__CLONE_SYSCALL_STRING): Delete.
38654         (__INTERNAL_SYSCALL_STRING): Delete.
38655         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38656         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38657         i386.
38658         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38659         (inline_syscall*): Add 'err' argument.
38660         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38661         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38662         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38663         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38665         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38666         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38668 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38670         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38672 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38674         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38675         directive.
38677 2011-08-24  David S. Miller  <davem@davemloft.net>
38679         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38681 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38683         * elf/Makefile: Add rules to build and run unload8 test.
38684         * elf/unload8.c: New file.
38685         * elf/unload8mod1.c: New file.
38686         * elf/unload8mod1x.c: New file.
38687         * elf/unload8mod2.c: New file.
38688         * elf/unload8mod3.c: New file.
38690         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38691         it wasn't used.
38693 2011-08-23  David S. Miller  <davem@davemloft.net>
38695         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38696         subtract stack bias.
38697         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38698         %sp not %fp in calculations.
38699         (_JMPBUF_UNWINDS_ADJ): Likewise.
38701         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38702         (aio_suspend): Call it to force an exception region around the
38703         AIO_MISC_WAIT() invocation.
38705 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38707         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38708         backslash.
38710 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38712         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38713         protection macro.
38714         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38715         and <dl-machine.h>.
38716         (Elf64_FuncDesc): Remove.
38718 2011-08-22  David S. Miller  <davem@davemloft.net>
38720         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38721         sigaltstack check, add missing cfi directives.
38722         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38723         missing cfi directives, and sigaltstack handling.
38725 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38727         [BZ #11724]
38728         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38729         object is seen twice.
38730         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38732         * elf/Makefile (distribute): Add tst-initorder2.c.
38733         (tests): Add tst-initorder2.
38734         (modules-names): Add tst-initorder2a tst-initorder2b
38735         tst-initorder2c tst-initorder2d.  Add rules to build them.
38736         ($(objpfx)tst-initorder2.out): New rule.
38737         * elf/tst-initorder2.c: New file.
38738         * elf/tst-initorder2.exp: New file.
38740 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38742         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38744         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38745         dependencies back to end of function.
38747         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38748         $(elfobjdir)/ld.so.
38750 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38752         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38753         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38755         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38756         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38757         of __vdso_gettimeofday.
38758         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38759         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38760         attribute_hidden.
38761         (_libc_vdso_platform_setup): Remove initialization of
38762         __vdso_gettimeofday and __vdso_time.
38764 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38766         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38767         and fgetc_unlocked.
38768         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38769         getc_unlocked.
38771         * elf/dl-open.c (add_to_global): Report additions to the global scope
38772         for LD_DEBUG=scopes.
38773         (dl_open_worker): Also print scope of newly loaded dependencies.
38774         (_dl_show_scope): Indicate if there is no scope.
38776         [BZ #13114]
38777         * stdio-common/Makefile (tests): Add bug24.
38778         * stdio-common/bug24.c: New file.
38780 2011-08-19  Andreas Jaeger  <aj@suse.de>
38782         [BZ #13114]
38783         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38784         non-existant file when using close-on-exec mode.
38786 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38789         the very first instruction.
38791         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38792         the CFI state in the end.
38793         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38794         inclusion of dl-trampoline.h.
38795         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38797 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38799         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38800         expectations for long double.
38802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38803         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38805 2011-08-14  David S. Miller  <davem@davemloft.net>
38807         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38808         artificual limit depends upon the system page size.
38810 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38812         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38813         * resolv/Makefile: Define CFLAGS-libresolv.
38815 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38817         * nss/makedb.c (compute_tables): Make variables used in nested
38818         function static.
38820 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38822         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38823         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38824         if buffer was too small.
38826         * elf/pldd.c (main): Attach to all threads in the process.
38827         Rewrite /proc handling to use *at functions.
38829 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38831         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38832         specifies first scope to show.
38833         (dl_open_worker): Update callers.  Move printing scope of new
38834         object to before the relocation.
38835         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38836         * sysdeps/generic/ldsodefs.h: Update declaration.
38838         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38839         string for the scope number.
38841 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38843         * nscd/servicescache.c (cache_addserv): Make sure written is always
38844         initialized.
38846 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38848         * sysdeps/i386/i486/bits/atomic.h
38849         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38850         statement expression, so as to suppress "set but not used" warning.
38851         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38853         * string/strncat.c (STRNCAT): Use prototype definition.
38855         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38856         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38857         -Iprograms here.
38858         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38859         (localedef-modules): Add localedef.
38860         (locale-modules): Add locale.
38862         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38863         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38864         to avoid a warning.
38866 2011-08-14  David S. Miller  <davem@davemloft.net>
38868         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38869         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38871 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38873         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38874         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38875         * elf/rtld.c (dl_main): Set l_name of vDSO.
38876         Call _dl_show_scope when DL_DEBUG_SCOPES.
38877         (process_dl_debug): Recognize scopes flag and also set it for all.
38878         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38879         Declare _dl_show_scope.
38881         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38882         (do_dlopen): Pass caller_dlopen to dl_open.
38883         (__libc_dlopen_mode): Initialize caller_dlopen.
38885         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38886         of libc.  Make tolower call locale-independent.  Optimize a bit by
38887         using isdigit instead of isalnum.
38888         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38890 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38892         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38893         was a dependency or dynamically loaded.
38895 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38897         * intl/l10nflist.c: Allow architecture-specific pop function.
38898         * sysdeps/x86_64/l10nflist.c: New file.
38900         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38901         classification.
38903 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38905         * include/dirent.h: Add libc_hidden_proto for scandirat and
38906         scandirat64.  Don't declare __scandirat64.
38907         * dirent/scandirat.c: Add libc_hidden_def.
38908         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38909         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38911 2011-08-10  David S. Miller  <davem@davemloft.net>
38913         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38914         enum.
38915         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38916         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38917         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38919 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38921         * Versions.def [libc]: Add GLIBC_2.15.
38922         * dirent/Makefile (routines): Add scandirat and scandirat64.
38923         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38924         GLIBC_2.15.
38925         * dirent/dirent.h: Declare scandirat and scandirat64.
38926         * dirent/scandirat.c: New file.
38927         * dirent/scandirat64.c: New file.
38928         * sysdeps/wordsize-64/scandirat.c: New file.
38929         * sysdeps/wordsize-64/scandirat64.c: New file.
38930         * dirent/opendir.c: Define opendirat.
38931         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38932         using scandirat.
38933         * dirent/scandir64.c: Adjust for scandir.c change.
38934         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38935         __scandirat64, and __scandir_cancel_handler.
38936         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38937         additional parameter and use openat instead of open (outside of ld.so).
38938         Add new __opendir as wrapper around __opendirat.
38939         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38940         here without requiring old scandirat implementation.
38942 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38944         * dirent/scandir.c (cancel_handler): Renamed to
38945         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38946         defined.  Adjust users.
38947         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38948         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38950 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38952         * string/test-string.h (IMPL): Use __STRING to expand name and then
38953         stringify it.
38955         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38956         of cleanups.
38958 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38960         * string/Makefile: Update.
38961         (strop-tests): Append strncat.
38962         * string/test-wcscmp.c: New file.
38963         New comprehensive test for wcscmp.
38964         * string/test-strcmp.c: Update.
38965         (WIDE): New define.
38967 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38969         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38970         line.
38972 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38975         encoding to ACE if AI_IDN.
38977 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38980         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38982 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38984         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38985         Fix overflow bug in strncat.
38986         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38988         * string/test-strncat.c: Update.
38989         Add new tests for checking overflow bugs.
38991 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38994         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38995         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38996         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38997         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38998         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38999         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39000         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39001         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39003         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39004         (USE_AS_STRCAT): Define.
39005         Add strcat and strncat support.
39006         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39008 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39010         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39011         __n bigger than INT_MAX+1.
39012         (__strncmp_g): Likewise.
39014 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39016         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39017         * libio/stido.h: Likewise.
39019         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39020         (AF_NFC): Define.
39021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39022         (AF_NFC): Define.
39024         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39025         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39026         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39027         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39028         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39030         [BZ #13021]
39031         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39032         installed.
39034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39035         typo.
39036         (_dl_x86_64_save_sse): Likewise.
39038 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39041         OSXSAVE.
39042         (_dl_x86_64_save_sse): Likewise.
39044         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39046         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39048 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39051         change.
39052         (_dl_x86_64_save_sse): Use correct AVX check.
39054 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39056         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39057         bug in strncpy/strncat.
39058         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39060 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39062         * string/tester.c (test_strcat): Add tests for different alignments
39063         of source and destination.
39064         (test_strncat): Likewise.
39066 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39068         [BZ #12852]
39069         * posix/glob.c (glob): Check passed in values before using them in
39070         expressions to avoid some overflows.
39071         (glob_in_dir): Likewise.
39073         [BZ #13007]
39074         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39075         check for AVX enablement so that we don't crash with old kernels and
39076         new hardware.
39077         * elf/tst-audit4.c: Add same checks here.
39078         * elf/tst-audit6.c: Likewise.
39080         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39082 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39084         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39086 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39088         * po/cs.po: Update from translation team.
39089         * po/bg.po: Likewise.
39091 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39093         * misc/sys/cdefs.h: Add support for const attribute.
39094         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39095         to gnu_dev_{major,minor,makedev} functions.
39097 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39099         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39101 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39103         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39104         strlen results.
39106 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39108         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39109         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39110         register in order to avoid conflicts with the soft frame pointer
39111         being held in r11 when necessary.
39112         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39113         (INTERNAL_VSYSCALL_NCS): Likewise.
39115 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39117         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39118         * elf/dl-fini.c (_dl_fini): Adjust caller.
39119         * elf/dl-close.c (_dl_close_worker): Likewise.
39120         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39122 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39124         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39125         "aux_cache->nlibs < 0".
39127         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39128         in the reload-count case.
39130 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39133         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39134         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39135         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39136         * sysdeps/x86_64/multiarch/strcat.S: New file.
39137         * sysdeps/x86_64/multiarch/strncat.S: New file.
39138         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39139         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39140         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39141         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39142         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39143         (USE_AS_STRCAT): Define.
39144         Add strcat and strncat support.
39145         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39147         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39148         * string/strncat.c: Update.
39149         (USE_AS_STRNCAT): Define.
39150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39151         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39152         and i7.
39153         * sysdeps/x86_64/multiarch/init-arch.h
39154         (bit_Prefer_PMINUB_for_stringop): New.
39155         (index_Prefer_PMINUB_for_stringop): Likewise.
39156         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39157         bit_Prefer_PMINUB_for_stringop.
39159 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39161         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39162         buffer64.
39163         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39164         of casting of buffer.
39165         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39166         buffer32 and buffer64.
39167         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39168         writes instead of casting of buffer.
39169         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39170         buffer32.
39171         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39172         casting of buffer.
39174 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39176         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39178 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39180         * nscd/nscd.c (termination_handler): Don't do anything for a database
39181         if it has not yet been initialized.
39183 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39185         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39187 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39189         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39191 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39193         * po/nl.po: Update from translation team.
39194         * po/sv.po: Likewise.
39196 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39198         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39199         now disallowed by GCC.
39201         * configure.in (use-default-link): Default to yes if a test -shared
39202         link meets our qualifications.
39203         * configure: Regenerated.
39205         * config.make.in (output-format): New variable.
39206         * configure.in: Check for ld --print-output-format support.
39207         * configure: Regenerated.
39208         * Makerules ($(common-objpfx)format.lds)
39209         [$(output-format) != unknown]: Just use $(output-format),
39210         instead of the linker-script munging.
39212 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39214         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39215         of $(common-objpfx)shlib.lds.
39216         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39218         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39219         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39221         * configure.in (-z relro check): Adjust test code to add a large
39222         writable data section after it.
39223         * configure: Regenerated.
39225 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39227         * configure.in (-z relro check): Fix test code to make the variable
39228         truly const.
39229         * configure: Regenerated.
39231 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39233         * nscd/nscd.h (struct traced_file): Define.
39234         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39235         elements.  Add traced_files.
39236         (inotify_fd): Declare.
39237         (register_traced_file): Declare.
39238         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39239         (inotify_fd): Export.
39240         (resolv_conf_descr): Remove.
39241         (nscd_init): Move inotify descriptor creation to main.
39242         Don't register files for notification here.
39243         (register_traced_file): New function.
39244         (invalidate_cache): Don't use reset_res to determine whether to call
39245         res_init, go through the list of registered files.
39246         (main_loop_poll): The inotify descriptors are now stored in the
39247         structures for the traced files.
39248         (main_loop_epoll): Likewise
39249         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39250         to __nss_disable_nscd.
39251         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39252         for a database anymore.  Check the records for all the registered
39253         files instead.
39254         * nss/Makefile (libnss_files-routines): Add files-init.
39255         (libnss_db-routines): Add db-init.
39256         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39257         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39258         * nss/nss_db/db-init.c: New file.
39259         * nss/nss_files/files-init.c: New file.
39260         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39261         __nss_lookup_function.
39262         (__nss_lookup_function): Call nss_load_library.
39263         (nss_load_all_libraries): New function.
39264         (__nss_disable_nscd): Take parameter with callback function for files
39265         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39266         used for the cached services.
39267         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39268         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39269         options for features to all the files in nscd.
39271         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39273 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39275         * csu/elf-init.c (__libc_csu_init): Comment typo.
39277 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39279         * po/pl.po: Update from translation team.
39280         * po/ja.po: Likewise.
39281         * po/ru.po: Likewise.
39282         * po/ko.po: Likewise.
39283         * po/fr.po: Likewise.
39285 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39287         * configure.in (.ctors/.dtors header and trailer check):
39288         Use an empirical test on a built program.
39289         * configure: Regenerated.
39291         * configure.in (-z relro check): Use an empirical test on a built DSO.
39292         Detect, but do not require, on ia64.
39293         * configure: Regenerated.
39295         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39296         Update tests that use readelf to use $READELF instead.
39297         * configure: Regenerated.
39299 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39301         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39302         if the result is not used.
39304 2011-07-05  Andreas Jaeger  <aj@suse.de>
39306         [BZ#9696]
39307         * stdlib/tst-strtod.c: Add testcase.
39309 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39311         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39312         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39313         The latter has a higher limit.  Take additional parameter to pass to
39314         the new function.
39315         (__pathconf): Pass file to __statfs_link_max.
39316         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39317         __statfs_link_max.
39318         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39319         __statfs_link_max.
39321         [BZ #12868]
39322         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39323         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39324         Handle Lustre.
39325         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39326         (__statfs_filesize_max): Likewise.
39327         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39329 2011-07-05  Andreas Jaeger  <aj@suse.de>
39331         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39333 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39335         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39336         `status' variable.
39337         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39338         Likewise.
39340 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39342         * Makefile (strop-tests): Add strncat.
39343         * string/test-strncat.c: New file.
39345 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39347         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39349 2011-06-21  Andreas Jaeger  <aj@suse.de>
39351         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39352         Copy rule from iconvdata/Makefile.
39354 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39356         [BZ #12922]
39357         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39358         but no long options are defined, just return 'W'.
39360 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
39362         [BZ #9696]
39363         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39365 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39367         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39368         netgroups to read.
39369         (innetgr): Likewise.
39371 2011-07-05  Roland McGrath  <roland@hack.frob.com>
39373         * config.make.in (install_root): Default to $(DESTDIR).
39375 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
39377         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39379 2011-07-02  Roland McGrath  <roland@hack.frob.com>
39381         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39383         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39384         containing directory rather than embedding absolute directory names.
39386         * scripts/check-local-headers.sh: Rewritten using awk.
39387         Match by word, not by line.  Print error messages for matches.
39388         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39390         * Makerules [shlib-lds-flags empty]:
39391         ($(common-objpfx)libc_pic.opts): New target.
39392         ($(common-objpfx)libc_pic.os.clean): New target.
39393         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39395         * config.make.in (OBJCOPY): New variable.
39396         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39397         * configure: Regenerated.
39399         * config.make.in (use-default-link): New variable.
39400         * configure.in (use_default_link): Grok --with-default-link to set it.
39401         * configure: Regenerated.
39402         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39403         (shlib-lds, shlib-lds-flags): Define to empty.
39405         * Makerules (shlib-lds): New variable.
39406         (shlib-lds-flags): New variable.
39407         (build-shlib, build-moduile, build-module-asneeded): Use it.
39408         ($(common-objpfx)libc.so): Use $(shlib-lds).
39409         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39410         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39412         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39413         DT_FLAGS/DT_FLAGS_1 with zero flags.
39415         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39416         linker script munging.
39418 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39420         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39421         as 128-bit value.
39422         * crypt/sha512.c (sha512_process_block): Perform total addition using
39423         128-bit if possible.
39424         (__sha512_finish_ctx): Likewise.
39425         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39426         as 64-bit value.
39427         * crypt/sha256.c (SWAP64): Define.
39428         (sha256_process_block): Perform total addition using 64-bit if
39429         possible.
39430         (__sha256_finish_ctx): Likewise.
39432 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39434         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39435         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39436         * nscd/hstcache.c (cache_addhst): Likewise.
39437         * nscd/grpcache.c (cache_addgr): Likewise.
39438         * nscd/aicache.c (addhstaiX): Likewise
39439         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39441 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39443         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39444         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39445         * nscd/hstcache.c (cache_addhst): Likewise.
39446         * nscd/grpcache.c (cache_addgr): Likewise.
39447         * nscd/aicache.c (addhstaiX): Likewise
39449 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39451         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39452         domain only when needed.
39454 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39457         is always restored.
39459 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
39461         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39462         are re-adding the entry.
39463         * nscd/servicescache.c (cache_addserv): Likewise.
39465 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
39467         * sysdeps/generic/dl-irel.h: fix protection against multiple
39468         inclusions.
39469         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39471 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
39473         [BZ #12935]
39474         * malloc/memusage.sh: Fix quoting in message.
39475         * debug/xtrace.sh: Likewise.
39477         * configure.in: Remove support for --experimental-malloc option, make
39478         it the default.
39479         * config.make.in: Likewise.
39480         * malloc/Makefile: Likewise.
39482 2011-06-27  Andreas Schwab  <schwab@redhat.com>
39484         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39485         two-byte characters.
39487 2011-06-27  Roland McGrath  <roland@hack.frob.com>
39489         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39490         AC_CACHE_CHECK invocation.
39491         * configure: Regenerated.
39493         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39495 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
39497         [BZ #12350]
39498         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
39499         bit from old_res_options.
39501         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39503         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39504         value type for setfct.
39506 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
39508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39509         __gettimeofday instead of gettimeofday.
39511 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
39513         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39515 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
39517         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39519         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39520         info.
39522 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39525         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39526         strcpy-sse2-unaligned strncpy-sse2-unaligned
39527         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39528         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39529         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39530         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39531         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39532         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39533         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39534         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39535         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39536         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39537         (STRCPY): Support SSE2 and SSSE3 versions.
39539 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
39541         [BZ #12874]
39542         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39543         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39544         kernels which artificially limit size of requests.
39546 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39549         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39550         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39551         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39552         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39553         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39554         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39555         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39556         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39557         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39558         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39559         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39560         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39561         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39562         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39564         Enable unaligned load optimization for Intel Core i3, i5 and i7
39565         processors.
39566         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39567         Define.
39568         (index_Fast_Unaligned_Load): Define.
39569         (HAS_FAST_UNALIGNED_LOAD): Define.
39571 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
39573         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39575 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39577         [BZ #12907]
39578         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39579         until it is clear that the information is realy needed.
39580         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39582 2011-06-22  Andreas Schwab  <schwab@redhat.com>
39584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39586 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39588         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39589         /sys/devices/system/cpu/online if it is usable.
39591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39592         reading the information from the /proc filesystem to once a second.
39594 2011-06-21  Andreas Jaeger  <aj@suse.de>
39596         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39597         NULL after inclusion of kernel headers.
39599 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
39601         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39602         calls to internal_setent.
39604         [BZ #12885]
39605         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39606         addresses using gethostbyname4_r ignore IPv4 addresses.
39608         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39609         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
39611         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39613 2011-06-20  David S. Miller  <davem@davemloft.net>
39615         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39616         inclusions.
39617         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39619         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39620         (elf_irel): Use it.
39621         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39622         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39623         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39624         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39625         * sysdeps/x86_64/dl-irel.h: Likewise.
39627         * elf/dl-runtime.c: Use elf_ifunc_invoke.
39628         * elf/dl-sym.c: Likewise.
39630 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39632         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
39633         need to dereference resplen2.
39635 2011-06-14  Andreas Schwab  <schwab@redhat.com>
39637         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39639 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39641         * Makeconfig: Define vardbdir and inst_vardbdir.
39642         * nss/Makefile: Add rules to install db-Makefile.
39644         * nss/nss_db/db-XXX.c: Cleanup.
39646         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39647         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39648         GLIBC_PRIVATE.
39649         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39650         * nss/makedb.c: Implement -g option to specify that value strings
39651         are generated and should not be added to table iterated over for
39652         get*ent calls.
39653         * nss/nss_db/db-initgroups.c: New file.
39655         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39656         interface.
39658         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39659         (internal_getgrouplist): Adjust to name change.
39660         Update use_initgroups_entry if this is not the first call.
39661         * nss/databases.def: Add initgroups entry.
39663         * nss/makedb.c (compute_tables): Check result of multiple hash table
39664         sizes to minimize maximum chain length.
39666 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39668         * Versions.def: Add entry for libnss_db.
39669         * shlib-versions: Likewise.
39670         * nss/Makefile: Add rules to build libnss_db.
39671         * nss/Versions: Add libnss_db information.  Organize libnss_files
39672         entries better.
39673         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39674         makedb progra.  Some minor improvements to generate smaller files.
39675         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39676         here from...
39677         * nss/makedb.c: ...here.
39678         Improve database format to be smaller and require less memory at
39679         runtime.
39680         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39681         db anymore.
39682         * nss/nss_db/db-netgrp.c: Likewise.
39683         * nss/nss_db/db-open.c: Likewise.
39684         * nss/nss_files/flies-XXX.x: Adjust comments.
39685         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39686         * nss/nss_files/files-grp.c: Likewise.
39687         * nss/nss_files/files-hosts.c: Likewise.
39688         * nss/nss_files/files-network.c: Likewise.
39689         * nss/nss_files/files-proto.c: Likewise.
39690         * nss/nss_files/files-pwd.c: Likewise.
39691         * nss/nss_files/files-rpc.c: Likewise.
39692         * nss/nss_files/files-service.c: Likewise.
39693         * nss/nss_files/files-sgrp.c: Likewise.
39694         * nss/nss_files/files-spwd.c: Likewise.
39695         * nss/nss_db/db-alias.c: Removed.
39696         * nss/nss_db/dummy-db.h: Removed.
39698 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39700         * nss/makedb.c: Rewritten to not use database library.
39701         * nss/Makefile: Update to build new makedb program.
39703 2011-06-14  Andreas Jaeger  <aj@suse.de>
39705         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39706         memset declaration.
39708 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39711         tmpbuf.
39713 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39715         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39716         * elf/Makefile ($(objpfx)ld.so): Likewise.
39718         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39719         Don't list ld.so twice in dependencies.
39721         * posix/bug-regex31.c: Include <stdlib.h>.
39723         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39725         * nis/nss_compat/compat-spwd.c
39726         (getspent_next_nss_netgr): Remove unused variable.
39727         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39729         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39730         nonmembers" output to use the right array.
39732         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39734         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39736         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39737         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39738         * catgets/gencat.c (read_input_file): Likewise.
39739         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39741         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39742         variable definition inside #if's controlling its use.
39744         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39746         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39748         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39750         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39751         unreachable code.
39753         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39755         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39756         * configure: Regenerated.
39758         * Makerules: Revert last change.
39759         * elf/Makefile: Likewise.
39761 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39763         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39764         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39765         (reloc-link): Likewise.
39767 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39769         * elf/Makefile: Add rules to build pldd.
39770         * elf/pldd.c: New file.
39771         * elf/pldd-xx.c: New file.
39773 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39775         * version.h: Update for 2.15 development version.
39777 2011-06-07  David S. Miller  <davem@davemloft.net>
39779         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39780         ifuncs.
39781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39782         elf_machine_lazy_rel): Likewise.
39783         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39785         elf_machine_lazy_rel): Likewise.
39786         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39787         dl_hwcap via passed in argument.
39788         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39789         Likewise.
39791 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39793         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39795 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39797         [BZ #12849]
39798         * manual/fdl-1.1.texi: New file, verbatim from:
39799         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39800         * manual/lgpl-2.1.texi: New file, verbatim from:
39801         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39802         * manual/Makefile (licenses): New variable, list those new file names.
39803         (texis): Use it.
39804         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39806         * manual/fdl.texi: File removed.
39807         * manual/lesser.texi: File removed.
39808         * manual/libc.texinfo (Copying, Documentation License):
39809         Use new @include file names, put @appendix directive before @include.
39811 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39813         [BZ #12841]
39814         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39815         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39816         (mq_open): Add __NTH.
39818 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39821         Assume Intel Core i3/i5/i7 processor if AVX is available.
39823 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39825         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39826         typo.
39828 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39830         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39831         memory.  Use alloca_account.  Fix memory leak when retrying.
39833 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39835         * version.h (RELEASE): Bump for 2.14 release.
39836         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39838         * config.make.in (RANLIB): Remove entry.
39840 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39842         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39843         (libc.pot): Work around missing support for .ksh extension in xgettext.
39845         [BZ #12684]
39846         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39847         if both request failed.
39848         (send_dg): In case of server errors clear resplen or *resplen2.
39850         [BZ #12454]
39851         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39852         when there are multiple maps.
39853         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39854         (_dl_fini): Remove test here.
39856         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39858 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39860         [BZ #12350]
39861         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39862         bit from old_res_options.
39863         (gaih_inet): Likewise.
39865         [BZ #11099]
39866         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39867         as signed.
39869         * resolv/res_init.c (res_setoptions): Make the code more compact.
39871         [BZ #11558]
39872         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39873         set RES_USEVC.
39875         [BZ #11634]
39876         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39878         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39880         [BZ #11781]
39881         * malloc/malloc.h: Declare malloc hook variables as volatile.
39883         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39884         in last patch.
39886         [BZ #11799]
39887         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39888         raise in the comment.
39889         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39890         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39891         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39893 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39895         [BZ #12811]
39896         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39897         grow the buffers more if it already has to be sufficient.
39898         (build_wcs_upper_buffer): Likewise.
39899         * posix/regexec.c (check_matching): Likewise.
39900         (clean_state_log_if_needed): Likewise.
39901         (extend_buffers): Don't enlarge buffers beyond size of the input
39902         buffer.
39903         Patches mostly by Emil Wojak <emil@wojak.eu>.
39904         * posix/bug-regex32.c: New file.
39905         * posix/Makefile (tests): Add bug-regex32.
39907         * locale/findlocale.c (_nl_find_locale): Return right away if
39908         _nl_explode_name failed.
39909         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39911         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39913         * debug/xtrace.sh: Unify messages.
39914         * malloc/memusage.sh: Likewise.
39916         [BZ #12813]
39917         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39918         time symbol from vDSO.  Substitute with vsyscall if not available.
39919         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39920         __vdso_time.
39922         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39923         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39924         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39925         Add sendmmsg and internal_sendmmsg.
39926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39927         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39928         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39930         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39931         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39932         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39934 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39936         [BZ #12813]
39937         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39938         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39939         available.
39940         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39941         __vdso_getcpu.
39943         [BZ #12814]
39944         * iconvdata/Makefile (tests): Add bug-iconv9.
39945         * iconvdata/bug-iconv9.c: New file.
39947 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39949         [BZ #12814]
39950         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39952 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39954         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39955         (struct user_regs_struct): Change intcs field back to cs.
39957 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39959         * po/ja.po: Update from translation team.
39961 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39963         [BZ #12795]
39964         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39965         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39967 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39969         * stdlib/longlong.h: Update from GCC.
39971 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39973         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39974         parameter name.
39975         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39976         Add parameter name.
39977         (__sysconf): Pass it down.
39979 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39981         [BZ #12671]
39982         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39983         some situations.
39984         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39985         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39986         add in in __libc_use_alloca calls.  Adjust callers.
39987         (glob): Use malloc in some situations.
39989         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39990         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39991         pltexit.
39993 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39995         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39996         and CLOCK_BOOTTIME_ALARM.
39998         [BZ #12782]
39999         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40000         is returned.
40002         * string/_strerror.c (__strerror_r): Print negative errors as signed
40003         numbers.
40005         [BZ #12777]
40006         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40007         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40008         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40010         * configure.in: Fix typo in redirection and correct removal of test
40011         files in two cases.
40013         [BZ #12788]
40014         * locale/setlocale.c (new_composite_name): Fix test to check for
40015         identical name of all categories.
40017         [BZ #12792]
40018         * libio/filedoalloc.c (local_isatty): New function.
40019         (_IO_file_doallocate): Use local_isatty.
40020         * stdio-common/perror.c (perror): In case a new stream is used
40021         forward the stream error.
40022         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40023         error flag.
40025 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40027         [BZ #11869]
40028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40029         alloca.
40030         * include/alloca.h (extend_alloca_account): Define.
40032         [BZ #11857]
40033         * posix/regex.h: Fix comments with documentation of user-accessible
40034         fields after compilation and describe correct free'ing of pattern
40035         after re_compile_pattern.
40036         Patch by Reuben Thomas <rrt@sc3d.org>.
40038 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40040         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40041         and -mno-altivec to prevent the compiler from using Altivec and/or
40042         VSX instructions when the corresponding registers are not available.
40044 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40046         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40048 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40050         * libio/freopen.c (freopen): Use __dup2, not dup2.
40051         * libio/freopen64.c (freopen64): Likewise.
40053 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40055         [BZ #12775]
40056         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40057         * math/Makefile (tests): Add test-powl.
40058         (CFLAGS-test-powl.c): Define.
40059         * math/test-powl.c: New file.
40061 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40063         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40065 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40067         [BZ #11837]
40068         * iconvdata/gb18030.c: Update to GB18020-2005.
40070 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40072         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40073         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40074         Patch by Aharon Robbins <arnold@skeeve.com>.
40076         [BZ #11892]
40077         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40078         on the stack.
40080         [BZ #11895]
40081         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40082         through underflows.
40084         [BZ #12766]
40085         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40086         point to strings before performing equality test for error_one_per_line
40087         mode.
40089         [BZ #11697]
40090         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40092         [BZ #11820]
40093         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40094         (struct user_fpregs_struct): Avoid __uint*_t types.
40096         [BZ #6420]
40097         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40098         symbol info.  Use it instead of calling _dl_addr locally.
40099         (lock_and_info): New function.
40100         (tr_freehook): Call lock_and_info and pass symbol info as additional
40101         parameter to tr_where.
40102         (tr_mallochook): Likewise.
40103         (tr_reallochook): Likewise.
40104         (tr_memalignhook): Likewise.
40106         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40107         used and couldn't be at all thread-safe.
40109 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40111         * libio/freopen.c (freopen): Don't close old file descriptor
40112         before the new one is opened.  Instead dup the new file descriptor
40113         to the old one after the new stream is created.
40114         * libio/freopen64.c (freopen64): Likewise.
40115         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40116         * libio/fileops.c (_IO_new_file_close_it): Handle new
40117         _IO_FLAGS2_NOCLOSE flag.
40118         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40119         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40120         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40121         _IO_FLAGS2_NOCLOSE flag.
40122         * include/unistd.h: Add hidden_proto for dup3.
40123         Define __have_dup3.
40124         * io/dup3.c: Define hidden symbol.
40125         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40127         [BZ #7101]
40128         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40129         when an incomplete long option is used.
40130         * posix/tst-getopt_long1.c: New file.
40131         * posix/Makefile (tests): Add tst-getopt_long1.
40133         [BZ #10138]
40134         * scripts/config.guess: Update from autoconf-2.68.
40135         * scripts/config.sub: Likewise.
40137         [BZ #10157]
40138         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40139         tests into ...
40140         (has_cpuclock): ...this.  New function.
40141         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40142         macro here based on has_cpuclock code.
40144         [BZ #10149]
40145         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40146         First byte (not low byte) is now always NUL.
40147         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40149         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40150         Use non-cancelable interfaces.
40152         [BZ #9809]
40153         * locale/iso-639.def: Add entry for Sorani.
40155         [BZ #11901]
40156         * include/stdlib.h: Move include protection to the right place.
40157         Define abort_msg_s.  Declare __abort_msg with it.
40158         * stdlib/abort.c (__abort_msg): Adjust type.
40159         * assert/assert.c (__assert_fail_base): New function.  Majority
40160         of code from __assert_fail.  Allocate memory for __abort_msg with
40161         mmap.
40162         (__assert_fail): Now call __assert_fail_base.
40163         * assert/assert-perr.c: Remove bulk of implementation.  Use
40164         __assert_fail_base.
40165         * include/assert.hL Declare __assert_fail_base.
40166         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40167         mmap.
40168         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40170 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40172         [BZ #11952]
40173         [BZ #12453]
40174         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40175         until all modules are registered in the DTV.
40176         * elf/Makefile: Add rules to build and run tst-tls19.
40177         * elf/tst-tls19.c: New file.
40178         * elf/tst-tls19mod1.c: New file.
40179         * elf/tst-tls19mod2.c: New file.
40180         * elf/tst-tls19mod3.c: New file.
40181         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40183         [BZ #12083]
40184         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40185         correctly.
40187         [BZ #12601]
40188         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40189         two-byte sequence errors.
40190         * iconvdata/Makefile (tests): Add bug-iconv8.
40191         * iconvdata/bug-iconv8.c: New file.
40193         [BZ #12626]
40194         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40195         buf2 definition.
40197         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40199         [BZ #12432]
40200         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40201         (dummy_getcfa): New function.
40202         (init): Get _Unwind_GetCFA address, use dummy if not found.
40203         (backtrace_helper): In recursion check, also check whether CFA changes.
40204         (__backtrace): Completely initialize arg.
40206         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40207         storing incomplete byte sequence in state object.  Avoid testing for
40208         guaranteed too small input if we know there is enough data available.
40210 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40212         * Makeconfig (+link-pie): Indent.
40213         * Rules (binaries-pie): Define if $(have-fpie) and
40214         $(build-shared).
40215         (binaries-shared): Also filter out $(binaries-pie).
40216         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40217         * nscd/Makefile (others-pie): Add nscd.
40218         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40219         ($(objpfx)nscd): Remove command override.
40220         * login/Makefile (others-pie): Add pt_chown.
40221         ($(objpfx)pt_chown): Remove command override.
40222         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40223         remove command overrides.
40225 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40227         * libio/tst_putwc.c: Fix error messages.
40229         [BZ #12724]
40230         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40231         currently writing and seek to current position when not.
40232         * libio/Makefile (tests): Add bug-fclose1.
40233         * libio/bug-fclose1.c: New file.
40235 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40237         [BZ #12511]
40238         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40239         don't set DF_1_NODELETE here.
40240         (do_lookup_x): When entering new entry test for copy relocation
40241         and if necessary set DF_1_NODELETE flag.
40242         * elf/tst-unique4.cc: New file.
40243         * elf/tst-unique4.h: New file.
40244         * elf/tst-unique4lib.cc: New file.
40245         * elf/Makefile: Add rules to build and run tst-unique4.
40246         Patch by Piotr Bury <pbury@goahead.com>.
40248 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40250         [BZ #12052]
40251         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40253         [BZ #12625]
40254         * misc/mntent_r.c (addmntent): Flush the stream after the output
40256         [BZ #12393]
40257         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40258         (is_trusted_path_normalize): Skip initial colon.  Append slash
40259         to empty buffer.  Duplicate is_trusted_path code but allow
40260         constructed patch to be prefix.
40261         (is_dst): Allow $ORIGIN followed by /.
40262         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40263         Correct testing of result of is_trusted_path_normalize
40264         (decompose_rpath): Fix warning.
40266 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40268         [BZ #11257]
40269         * grp/initgroups.c (internal_getgrouplist): When we found the service
40270         list through the initgroups entry in nsswitch.conf do not always
40271         continue on a successful lookup.  Don't always use the
40272         __nss_group_database value if it is set.
40273         * nss/nsswitch.conf (initgroups): Change action for successful db
40274         lookup to continue for compatibility.
40276 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40278         [BZ #11532]
40279         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40280         and CP774 modules.
40281         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40282         and CP774 modules.
40283         * iconvdata/tst-tables.sh: Likewise.
40284         * iconvdata/cp770.c: New file.
40285         * iconvdata/cp771.c: New file.
40286         * iconvdata/cp772.c: New file.
40287         * iconvdata/cp773.c: New file.
40288         * iconvdata/cp774.c: New file.
40289         * iconvdata/testdata/CP770: New file.
40290         * iconvdata/testdata/CP770..UTF8: New file.
40291         * iconvdata/testdata/CP771: New file.
40292         * iconvdata/testdata/CP771..UTF8: New file.
40293         * iconvdata/testdata/CP772: New file.
40294         * iconvdata/testdata/CP772..UTF8: New file.
40295         * iconvdata/testdata/CP773: New file.
40296         * iconvdata/testdata/CP773..UTF8: New file.
40297         * iconvdata/testdata/CP774: New file.
40298         * iconvdata/testdata/CP774..UTF8: New file.
40300         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40301         END CHARMAP line.
40302         * iconvdata/gen-8bit-gap.sh: Likewise.
40303         * iconvdata/gen-8bit.sh: Likewise.
40305         * locale/iso-639.def: Add ary entry.
40307         [BZ #11258]
40308         * locale/C-translit.h.in: Add U20A1 transliteration.
40310         [BZ #12178]
40311         * locale/iso-639.def: Add wae entry.
40312         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40314         [BZ #12545]
40315         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40316         for n.
40318         [BZ #12711]
40319         * locale/C-translit.h.in: Add entry for U20B9.
40320         Patch by pravin.d.s@gmail.com.
40322 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40324         [BZ #12713]
40325         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40326         ENAMETOOLONG use generic getcwd.
40327         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40328         in rtld.  Use *stat64.
40329         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40330         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40331         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40332         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40333         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40334         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40335         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40336         __fstatat64 macros.
40337         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40338         * dirent/rewinddir.c: Add libc_hidden_def.
40339         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40340         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40342         * include/dirent.h (__alloc_dir): Add flags parameter.
40343         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40344         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40345         __alloc_dir.
40346         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40347         from fdopendir if O_CLOEXEC is already set.
40349 2011-03-15  Alan Modra  <amodra@gmail.com>
40351         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40352         l_tls_firstbyte_offset non-zero.  Save padding offset in
40353         l_tls_firstbyte_offset for later use.
40354         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40355         freeing static tls block.
40357 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
40359         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40360         where #ifdef was intended.  The intent is to prevent ARG_MAX from
40361         being defined by the kernel headers.
40363 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
40365         [BZ #12734]
40366         * resolv/resolv.h: Define RES_NOTLDQUERY.
40367         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40368         no-tld-query and set RES_NOTLDQUERY.
40369         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40370         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40371         modern BIND to search name as TLD unless forbidden.
40373 2011-05-07  Petr Baudis  <pasky@suse.cz>
40374             Ulrich Drepper  <drepper@gmail.com>
40376         [BZ #12393]
40377         * elf/dl-load.c (fillin_rpath): Move trusted path check...
40378         (is_trusted_path): ...to here.
40379         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40380         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40381         using is_trusted_path_normalize() in setuid scripts.
40383 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40385         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40386         __BEGIN/__END_DECLS.
40388 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
40390         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40391         NSS_STATUS_NOTFOUND if no record was found.
40393 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40395         * sunrpc/Makefile (headers): Add rpc/netdb.h.
40396         (headers-not-in-tirpc): Remove rpc/netdb.h
40397         * resolv/netdb.h: Revert last change.
40399 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40401         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40402         circular dependency between libgcc.a and libc.a.
40404 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40406         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40407         * nis/Makefile: Don't install rpcsvc/*.
40408         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40409         instead of <rpc/types.h>.
40410         (MAXHOSTNAMELEN): Define.
40412 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40414         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40416 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40418         [BZ #12714]
40419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40420         gethostbyname4_r when IPv6 results are possible.
40422 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40424         [BZ #12723]
40425         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40426         _PC_PIPE_BUF handling.
40428 2011-04-30  Bruno Haible  <bruno@clisp.org>
40430         [BZ #12717]
40431         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40432         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40433         to 'int'.
40434         * inet/getnameinfo.c (getnameinfo): Likewise.
40436 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40438         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40439         to groups setting in database lookup.
40440         * nss/nsswitch.conf: Add initgroups entry.
40442 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40444         [BZ #12685]
40445         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40446         mode string.
40447         Patch by Eric Blake <eblake@redhat.com>.
40449 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40451         * sunrpc/Makefile (need-export-routines): Add svc_run.
40452         (routines): Remove svc_run.
40453         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40454         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40455         * sunrpc/svc_run.c (svc_run): Likewise.
40456         * sunrpc/svc_udp.c (svcudp_create): Likewise.
40458 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
40460         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40461         problem in reallocation in last patch.
40463 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
40465         * sunrpc/Makefile: Move inclusion of Rules.
40467 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40469         * nss/nss_files/files-initgroups.c: New file.
40470         * nss/Makefile (libnss_files-routines): Add files-initgroups.
40471         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40472         _nss_files_initgroups_dyn.
40474 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
40476         * elf/elf.h (R_ARM_IRELATIVE): Define.
40478 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40480         * po/ru.po: Update from translation team.
40482 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40484         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40485         dependencies.
40487 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
40489         [BZ #12653]
40490         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40491         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40492         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40493         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40494         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40496 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
40498         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40499         differing bytes.
40500         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40501         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40502         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40504 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40506         [BZ #12420]
40507         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40508         storing it.
40509         * stdlib/bug-getcontext.c: New file.
40510         * stdlib/Makefile: Add rules to build and run bug-getcontext.
40512 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40514         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40515         instructions into .machine "z9-109".
40516         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40517         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40519 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40521         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40522         between environment variables and auxiliary vector.
40524 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
40526         * Makefile: Add rules to build linkobj/libc.so.
40527         * include/libc-symbols.h: Define libc_hidden_nolink.
40528         * include/rpc/auth.h: Mark functions which are to be hidden.
40529         * include/rpc/auth_des.h: Likewise.
40530         * include/rpc/auth_unix.h: Likewise.
40531         * include/rpc/clnt.h: Likewise.
40532         * include/rpc/des_crypt.h: Likewise.
40533         * include/rpc/key_prot.h: Likewise.
40534         * include/rpc/pmap_clnt.h: Likewise.
40535         * include/rpc/pmap_prot.h: Likewise.
40536         * include/rpc/pmap_rmt.h: Likewise.
40537         * include/rpc/rpc_msg.h: Likewise.
40538         * include/rpc/svc.h: Likewise.
40539         * include/rpc/svc_auth.h: Likewise.
40540         * include/rpc/xdr.h: Likewise.
40541         * nis/Makefile: Link all DSOs against linkobj/libc.so.
40542         * nss/Makefile: Likewise.
40543         * sunrpc/Makefile: Don't install headers.  Build library with normal
40544         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
40545         * sunrpc/auth_des.c: Hide exported symbols by default, export some
40546         for the compat linking library.  Remove use of INTDEF/INTUSE.
40547         * sunrpc/auth_none.c: Likewise.
40548         * sunrpc/auth_unix.c: Likewise.
40549         * sunrpc/authdes_prot.c: Likewise.
40550         * sunrpc/authuxprot.c: Likewise.
40551         * sunrpc/clnt_gen.c: Likewise.
40552         * sunrpc/clnt_perr.c: Likewise.
40553         * sunrpc/clnt_raw.c: Likewise.
40554         * sunrpc/clnt_simp.c: Likewise.
40555         * sunrpc/clnt_tcp.c: Likewise.
40556         * sunrpc/clnt_udp.c: Likewise.
40557         * sunrpc/clnt_unix.c: Likewise.
40558         * sunrpc/des_crypt.c: Likewise.
40559         * sunrpc/des_soft.c: Likewise.
40560         * sunrpc/get_myaddr.c: Likewise.
40561         * sunrpc/key_call.c: Likewise.
40562         * sunrpc/key_prot.c: Likewise.
40563         * sunrpc/netname.c: Likewise.
40564         * sunrpc/pm_getmaps.c: Likewise.
40565         * sunrpc/pm_getport.c: Likewise.
40566         * sunrpc/pmap_clnt.c: Likewise.
40567         * sunrpc/pmap_prot.c: Likewise.
40568         * sunrpc/pmap_prot2.c: Likewise.
40569         * sunrpc/pmap_rmt.c: Likewise.
40570         * sunrpc/publickey.c: Likewise.
40571         * sunrpc/rpc_cmsg.c: Likewise.
40572         * sunrpc/rpc_common.c: Likewise.
40573         * sunrpc/rpc_dtable.c: Likewise.
40574         * sunrpc/rpc_prot.c: Likewise.
40575         * sunrpc/rpc_thread.c: Likewise.
40576         * sunrpc/rtime.c: Likewise.
40577         * sunrpc/svc.c: Likewise.
40578         * sunrpc/svc_auth.c: Likewise.
40579         * sunrpc/svc_authux.c: Likewise.
40580         * sunrpc/svc_raw.c: Likewise.
40581         * sunrpc/svc_run.c: Likewise.
40582         * sunrpc/svc_simple.c: Likewise.
40583         * sunrpc/svc_tcp.c: Likewise.
40584         * sunrpc/svc_udp.c: Likewise.
40585         * sunrpc/svc_unix.c: Likewise.
40586         * sunrpc/svcauth_des.c: Likewise.
40587         * sunrpc/xcrypt.c: Likewise.
40588         * sunrpc/xdr.c: Likewise.
40589         * sunrpc/xdr_array.c: Likewise.
40590         * sunrpc/xdr_float.c: Likewise.
40591         * sunrpc/xdr_intXX_t.c: Likewise.
40592         * sunrpc/xdr_mem.c: Likewise.
40593         * sunrpc/xdr_rec.c: Likewise.
40594         * sunrpc/xdr_ref.c: Likewise.
40595         * sunrpc/xdr_sizeof.c: Likewise.
40596         * sunrpc/xdr_stdio.c: Likewise.
40598 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
40600         [BZ #12650]
40601         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40602         * sysdeps/ia64/dl-tls.h: Likewise.
40603         * sysdeps/powerpc/dl-tls.h: Likewise.
40604         * sysdeps/s390/dl-tls.h: Likewise.
40605         * sysdeps/sh/dl-tls.h: Likewise.
40606         * sysdeps/sparc/dl-tls.h: Likewise.
40607         * sysdeps/x86_64/dl-tls.h: Likewise.
40608         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40610 2011-03-14  Andreas Schwab  <schwab@redhat.com>
40612         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40613         rpath element also skip the following colon.
40614         (expand_dynamic_string_token): Add is_path parameter and pass
40615         down to DL_DST_REQUIRED and _dl_dst_substitute.
40616         (decompose_rpath): Call expand_dynamic_string_token with
40617         non-zero is_path.  Ignore empty rpaths.
40618         (_dl_map_object_from_fd): Call expand_dynamic_string_token
40619         with zero is_path.
40621 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40624         Make cancelable.
40626 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
40628         [BZ #12655]
40629         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40630         Patch by Filipe David Manana <fdmanana@apache.org>.
40632 2011-04-07  Andreas Schwab  <schwab@redhat.com>
40634         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40635         Maintain aligned stack.
40636         (CHECK_RSP): Remove unused macro.
40638 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
40640         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40641         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40643 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40645         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40647         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40649 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40651         [BZ #12518]
40652         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40653         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40654         * sysdeps/x86_64/memmove.c: New file.
40655         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40656         (memcpy): Renamed to ...
40657         (__new_memcpy): This.
40658         (memcpy): Provide GLIBC_2_14 memcpy.
40659         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40660         (memcpy): Provide GLIBC_2_2_5 memcpy.
40662 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40664         [BZ #12631]
40665         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40667 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40669         * misc/syncfs.c: New file.
40670         * misc/Makefile (routines): Add syncfs.
40671         * posix/unistd.h: Declare syncfs.
40672         * sysdeps/unix/syscalls.list: Add syncfs.
40674 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40676         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40677         open_by_handle_at.
40678         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40679         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40681         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40682         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40683         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40684         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40686 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40688         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40689         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40690         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40692         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40694         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40696         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40697         sync_file_range.c with -fexceptions.
40698         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40699         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40700         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40701         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40702         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40703         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40705         sync_file_range as cancellation point
40706         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40707         now a wrapper around __call_sync_file_range with cancellation handling.
40708         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40709         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40710         function name to __call_sync_file_range.
40711         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40712         Add call_sync_file_range.
40714 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40717         bits/timex.h.
40719 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40721         * iconv/iconv.h: Fix typo in comment.
40722         * io/fcntl.h: Likewise.
40723         * libio/stdio.h: Likewise.
40724         * posix/spawn.h: Likewise.
40725         * posix/unistd.h: Likewise.
40726         * stdlib/stdlib.h: Likewise.
40727         * time/time.h: Likewise.
40728         * wcsmbs/wchar.h: Likewise.
40730         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40731         open_by_handle): Add.
40732         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40733         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40734         Augment a few comments.
40735         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40736         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40737         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40738         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40739         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40740         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40741         open_by_handle.
40743         * io/fcntl.h (AT_EMPTY_PATH): Define.
40745 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40747         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40748         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40749         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40750         to...
40751         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40752         * Versions.def: Add GLIBC_2.14.
40753         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40754         Export.
40756 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40758         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40759         round counter.
40760         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40762 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40764         [BZ #12597]
40765         * string/test-strncmp.c (do_page_test): New function.
40766         (check2): Likewise.
40767         (test_main): Call check2.
40768         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40770 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40772         [BZ #12587]
40773         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40774         Handle cache information in CPU leaf 4.
40775         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40777 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40779         [BZ #12583]
40780         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40781         character representation.
40782         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40784 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40786         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40787         END(__isnan) to END(__isnanf) to match function entry point/label
40788         EALIGN(__isnanf,...).
40790 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40792         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40794 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40796         [BZ #12510]
40797         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40798         copy from the symbol referenced in the relocation to initialize the
40799         used variable.
40800         Patch by Piotr Bury <pbury@goahead.com>.
40801         * elf/Makefile: Add rules to build and tst-unique3.
40802         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40803         * elf/tst-unique3.cc: New file.
40804         * elf/tst-unique3.h: New file.
40805         * elf/tst-unique3lib.cc: New file.
40806         * elf/tst-unique3lib2.cc: New file.
40808         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40810 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40812         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40813         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40814         to _start.
40816 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40818         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40819         to-be-loaded object along a path to loader is ld.so.
40821 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40822             Ulrich Drepper  <drepper@gmail.com>
40824         * sysdeps/x86_64/memset.S: After aligning destination, code
40825         branches to different locations depending on the value of
40826         misalignment, when multiarch is enabled. Fix this.
40828 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40830         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40831         Set _x86_64_preferred_memory_instruction for AMD processsors.
40832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40833         Set bit_Prefer_SSE_for_memop for AMD processors.
40835 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40837         * libio/fmemopen.c (fmemopen): Optimize a bit.
40839 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40841         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40843 2011-03-03  Roland McGrath  <roland@redhat.com>
40845         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40847 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40849         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40850         __bzero_ultra1 instead of __memset_ultra1.
40852 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40853             Ulrich Drepper  <drepper@gmail.com>
40855         [BZ #12509]
40856         * include/link.h (struct link_map): Add l_orig_initfini.
40857         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40858         returning unsuccessfully.
40859         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40860         close of a file loaded at startup, restore the original l_initfini
40861         list.
40862         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40863         list, store the pointer.
40864         * elf/Makefile ($(objpfx)noload-mem): New rule.
40865         (noload-ENV): Define.
40866         (tests): Add $(objpfx)noload-mem.
40867         * elf/noload.c: Include <memcheck.h>.
40868         (main): Call mtrace.  Close all opened handles.
40870 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40872         [BZ #12454]
40873         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40874         dependencies are missing.
40876 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40878         Fix __if_freereq crash: Unlike the generic version which uses free,
40879         Hurd needs munmap.
40880         * sysdeps/mach/hurd/ifreq.h: New file.
40882 2011-01-27  Petr Baudis  <pasky@suse.cz>
40883             Ulrich Drepper  <drepper@gmail.com>
40885         [BZ 12445]#
40886         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40887         to extend_alloca().
40888         * stdio-common/bug23.c: New file.
40889         * stdio-common/Makefile (tests): Add bug23.
40891 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40892             Ulrich Drepper  <drepper@gmail.com>
40894         [BZ #12489]
40895         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40896         before performing relro protection.  At old place add assertion
40897         to make sure nothing changed.
40899 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40900             Glauber de Oliveira Costa  <glommer@gmail.com>
40902         * elf/elf.h: Add new ARM TLS relocs.
40904 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40907         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40908         cast from r3.
40909         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40910         'tests' variable.
40911         * sysdeps/wordsize-64/tst-writev.c: New file.
40913 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40915         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40916         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40917         insns in _dl_start to prevent a TOC reference before relocs are
40918         resolved.
40920 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40922         [BZ #12469]
40923         * Makeconfig: Remove RANLIB definition.
40924         * Makerules: Don't use RANLIB.
40925         * aclocal.m4: Remove ranlib test.
40926         * configure.in: No need to check for ranlib.
40927         * elf/rtld-Rules: Don't use RANLIB.
40929 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40931         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40932         protection macro.
40933         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40934         inclusion protection macro.
40936         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40937         SIGRTMIN and SIGRTMAX and print information in that case only when
40938         SIGRTMIN is defined.
40940 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40942         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40943         arginfo fn returning -1.
40945         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40946         and thousands string is zero terminated.
40948 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40950         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40951         sysdeps/unix/sysv/linux/bits/socket.h.
40953 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40955         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40956         (__CPU_COUNT): Remove old macros.
40957         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40958         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40959         (__CPU_ALLOC, __CPU_FREE): Add macros.
40960         (__sched_cpualloc, __sched_cpufree): Add declarations.
40962 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40964         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40965         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40966         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40967         (readdhstai): Return value of addhstaiX call.
40968         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40969         (addgrbyX): Return value returned by cache_addgr.
40970         (readdgrbyname): Return value returned by addgrbyX.
40971         (readdgrbygid): Likewise.
40972         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40973         (addpwbyX): Return value returned by cache_addpw.
40974         (readdpwbyname): Return value returned by addhstbyX.
40975         (readdpwbyuid): Likewise.
40976         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40977         (addservbyX): Return value returned by cache_addserv.
40978         (readdservbyname): Return value returned by addservbyX:
40979         (readdservbyport): Likewise.
40980         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40981         (addhstbyX): Return value returned by cache_addhst.
40982         (readdhstbyname): Return value returned by addhstbyX.
40983         (readdhstbyaddr): Likewise.
40984         (readdhstbynamev6): Likewise.
40985         (readdhstbyaddrv6): Likewise.
40986         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40987         (readdinitgroups): Return value returned by addinitgroupsX.
40988         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40989         (prune_cache): Keep track of timeout value of re-added entries.
40990         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40991         * nscd/nscd.h: Adjust prototypes of readd* functions.
40993 2011-02-04  Roland McGrath  <roland@redhat.com>
40995         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40996         (nis_stats): Likewise.
40997         * nis/nis_modify.c (nis_modify): Likewise.
40998         * nis/nis_remove.c (nis_remove): Likewise.
40999         * nis/nis_add.c (nis_add): Likewise.
41001         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41003         * posix/fnmatch_loop.c: Add some consts.
41005         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41007 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41009         [BZ #12460]
41010         * config.make.in (config-cflags-novzeroupper): Define.
41011         * configure.in: Substitute libc_cv_cc_novzeroupper.
41012         * elf/Makefile (AVX-CFLAGS): Define.
41013         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41014         (CFLAGS-tst-auditmod4a.c): Likewise.
41015         (CFLAGS-tst-auditmod4b.c): Likewise.
41016         (CFLAGS-tst-auditmod6b.c): Likewise.
41017         (CFLAGS-tst-auditmod6c.c): Likewise.
41018         (CFLAGS-tst-auditmod7b.c): Likewise.
41019         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41021 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41023         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41024         function to the callback.
41025         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41027 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41029         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41030         of errno.
41032 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41034         [BZ #11724]
41035         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41036         of constructors.
41037         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41038         of destructors.
41039         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41041         [BZ #11724]
41042         * elf/Makefile: Add rules to build and run new test.
41043         * elf/tst-initorder.c: New file.
41044         * elf/tst-initorder.exp: New file.
41045         * elf/tst-initordera1.c: New file.
41046         * elf/tst-initordera2.c: New file.
41047         * elf/tst-initordera3.c: New file.
41048         * elf/tst-initordera4.c: New file.
41049         * elf/tst-initorderb1.c: New file.
41050         * elf/tst-initorderb2.c: New file.
41051         * elf/tst-order-a1.c: New file.
41052         * elf/tst-order-a2.c: New file.
41053         * elf/tst-order-a3.c: New file.
41054         * elf/tst-order-a4.c: New file.
41055         * elf/tst-order-b1.c: New file.
41056         * elf/tst-order-b2.c: New file.
41057         * elf/tst-order-main.c: New file.
41058         New test case by George Gensure <werkt0@gmail.com>.
41060 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41063         decoding ACE if AI_CANONIDN.
41065 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41067         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41069 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41071         * version.h (RELEASE): Bump for 2.13 release.
41072         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41074         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41076         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41077         MADV_NOHUGEPAGE.
41078         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41079         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41080         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41081         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41082         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41083         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41085         * posix/getconf.c: Update copyright year.
41086         * catgets/gencat.c: Likewise.
41087         * csu/version.c: Likewise.
41088         * debug/catchsegv.sh: Likewise.
41089         * debug/xtrace.sh: Likewise.
41090         * elf/ldconfig.c: Likewise.
41091         * elf/ldd.bash.in: Likewise.
41092         * elf/sprof.c (print_version): Likewise.
41093         * iconv/iconv_prog.c: Likewise.
41094         * iconv/iconvconfig.c: Likewise.
41095         * locale/programs/locale.c: Likewise.
41096         * locale/programs/localedef.c: Likewise.
41097         * malloc/memusage.sh: Likewise.
41098         * malloc/mtrace.pl: Likewise.
41099         * nscd/nscd.c (print_version): Likewise.
41100         * nss/getent.c: Likewise.
41102         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41103         PF_CAIF, and PF_ALG.
41104         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41106 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41108         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41109         (modules-names): Use them.
41110         (ifunc-test-modules, ifunc-pie-tests): Define.
41111         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41112         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41113         (test-extras): Likewise.
41114         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41115         $(compile-command.c).
41116         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41117         (all-built-dso): Define.
41118         (check-textrel.out, check-execstack.out): Depend on it.
41120         * configure.in: Don't override --enable-multi-arch.
41122 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41124         [BZ #6812]
41125         * nscd/hstcache.c (tryagain): Define.
41126         (cache_addhst): Return tryagain not notfound for temporary errors.
41127         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41128         failed.
41130 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41132         [BZ #10563]
41133         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41134         to make the syscall.
41135         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41137         [BZ #12378]
41138         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41139         and fall back to matching as normal character if the string ends before
41140         the matching ']' is found.  This is what POSIX requires.
41141         * posix/testfnm.c: Adjust test result.
41142         * posix/globtest.sh: Adjust test result.  Add new test.
41143         * posix/tst-fnmatch.input: Likewise.
41144         * posix/tst-fnmatch2.c: Add new test.
41146 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41148         * elf/Makefile (check-execstack): Revert last change.  Depend on
41149         check-execstack.h.
41150         (check-execstack.h): New target.
41151         (generated): Add check-execstack.h.
41152         * elf/check-execstack.c: Include "check-execstack.h".
41153         (main): Revert last change.
41154         (handle_file): Return zero if GNU_STACK is absent and
41155         DEFAULT_STACK_PERMS doesn't include PF_X.
41157 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41159         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41160         in child fails because the descriptor is already closed.
41161         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41162         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41163         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41165         [BZ #12397]
41166         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41167         syscall.
41169         [BZ #10484]
41170         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41171         temporary buffer used to handle multi lookups locally.
41172         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41174 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41176         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41177         loader is ld.so.
41179 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41181         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41182         alignment for SSE2.
41184 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41186         [BZ #12394]
41187         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41188         characters.  When rounding increased number of integer digits recompute
41189         number of groups.
41190         * stdio-common/tst-grouping.c: New file.
41191         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41193 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41195         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41196         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41198         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41199         void.
41200         * bits/select.h: Likewise.
41202 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41204         * po/ja.po: Update from translation team.
41206 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41208         [BZ #11155]
41209         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41210         implementation just like for lxstat, fxstatat, et al.
41212 2010-12-27  Jim Meyering  <meyering@redhat.com>
41214         [BZ #12348]
41215         * posix/regexec.c (build_trtable): Return failure indication upon
41216         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41218 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41220         [BZ #12201]
41221         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41222         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41223         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41224         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41226         [BZ #12207]
41227         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41229         [BZ #12204]
41230         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41231         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41233 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41235         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41236         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41237         script has SORT_BY_INIT_PRIORITY.
41238         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41239         NO_CTORS_DTORS_SECTIONS is defined.
41240         * elf/soinit.c: Likewise.
41241         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41242         NO_CTORS_DTORS_SECTIONS is defined.
41243         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41244         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41245         * sysdeps/sh/init-first.c: Likewise.
41246         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41248 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41250         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41251         always use the slow path.
41253 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41255         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41256         similar rule which adds the sysdep directories to the header search in
41257         order to pick up the correct platform stackinfo.h.
41258         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41259         perform test if it is, otherwise return successfully without testing.
41260         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41261         DEFAULT_STACK_PERMS define in stackinfo.h.
41262         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41263         defined in stackinfo.h.
41264         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41265         DEFAULT_STACK_PERMS defined in stackinfo.h.
41266         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41267         * sysdeps/ia64/stackinfo.h: Likewise.
41268         * sysdeps/s390/stackinfo.h: Likewise.
41269         * sysdeps/sh/stackinfo.h: Likewise.
41270         * sysdeps/sparc/stackinfo.h: Likewise.
41271         * sysdeps/x86_64/stackinfo.h: Likewise.
41272         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41273         PF_X for powerpc64.  Retain PF_X for powerpc32.
41275 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41277         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41278         accurately.
41279         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41280         GETDENTS_64BIT_ALIGNED.
41282 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41284         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41286 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41288         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41289         _GNU_SOURCE.
41291         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41292         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41293         Remove __restrict.
41294         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41295         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41297 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41299         [BZ #11655]
41300         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41301         are initialized.
41303 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41305         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41307 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41309         * po/it.po: Update from translation team.
41311 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41314         unused codes.
41316 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41318         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41320 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41322         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41323         specially.
41324         (gaih_getanswer_slice): Likewise.
41326 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41330 2010-05-31  Petr Baudis  <pasky@suse.cz>
41332         [BZ #11149]
41333         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41334         silently even in the chroot mode.
41336 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41338         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41339         last patch a bit.  Pretty printing
41341 2010-05-31  Petr Baudis <pasky@suse.cz>
41343         [BZ #10085]
41344         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41345         initialization of skip_initgroups_dyn.
41347 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41349         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41350         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41352 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
41354         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41356 2010-11-11  Andreas Schwab  <schwab@redhat.com>
41358         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41359         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41360         (tst-fnmatch-ENV): Set MALLOC_TRACE.
41361         ($(objpfx)tst-fnmatch-mem): New rule.
41362         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41363         * posix/tst-fnmatch.c (main): Call mtrace.
41365 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
41367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41368         Support Intel processor model 6 and model 0x2c.
41370 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
41372         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41373           signed comparison.
41375 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
41377         [BZ #12205]
41378         * string/test-strncasecmp.c (check_result): New function.
41379         (do_one_test): Use it.
41380         (check1): New function.
41381         (test_main): Use it.
41382         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41383         Support strcasecmp and strncasecmp.
41385 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
41387         [BZ #12194]
41388         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41389         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41391 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41393         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41394         IFUNC support.
41395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41396         memset-x86-64.
41397         * sysdeps/x86_64/multiarch/bzero.S: New file.
41398         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41399         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41400         * sysdeps/x86_64/multiarch/memset.S: New file.
41401         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41403         Set bit_Prefer_SSE_for_memop for Intel processors.
41404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41405         Define.
41406         (index_Prefer_SSE_for_memop): Define.
41407         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41409 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41411         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41412         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41414 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41416         [BZ #12191]
41417         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41418         (__x86_64_raw_data_cache_size_half): Likewise.
41419         (__x86_64_raw_shared_cache_size): Likewise.
41420         (__x86_64_raw_shared_cache_size_half): Likewise.
41422         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41423         (__x86_64_raw_data_cache_size_half): Likewise.
41424         (__x86_64_raw_shared_cache_size): Likewise.
41425         (__x86_64_raw_shared_cache_size_half): Likewise.
41426         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41427         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41428         and __x86_64_raw_shared_cache_size_half.  Round
41429         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41430         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41431         to multiple of 256 bytes.
41433 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41435         [BZ #12167]
41436         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41437         of inacessible symlinks.  Verify result of symlink before returning it.
41438         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41439         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41441 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41443         * math/math.h (isinf): Fix typo in comment.
41445 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41447         * po/da.po: Update from translation team.
41449 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41451         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41452         is added to the list.
41454 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41455             Ulrich Drepper  <drepper@gmail.com>
41457         * elf/dl-object.c (_dl_new_object): Don't append the new object to
41458         the global list here.  Move code to...
41459         (_dl_add_to_namespace_list): ...here.  New function.
41460         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41461         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41462         * elf/dl-load.c (lose): Don't remove the element from the list.
41463         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41464         (_dl_map_object): Likewise.
41466 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
41468         [BZ #12159]
41469         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41470         into all bytes of SSE register.
41471         Patch by Richard Li <richardpku@gmail.com>.
41473 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
41475         [BZ #12140]
41476         * malloc/malloc.c (_int_free): Fill correct number of bytes when
41477         perturbing.
41479 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
41481         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41482         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41483         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41484         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41486         submachine.
41487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41489 2010-10-22  Andreas Schwab  <schwab@redhat.com>
41491         * include/dlfcn.h (__RTLD_SECURE): Define.
41492         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
41493         mode & __RTLD_SECURE instead.
41494         (open_path): Rename preloaded parameter to secure.
41495         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41496         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41497         * elf/dl-deps.c (openaux): Likewise.
41498         * elf/rtld.c (struct map_args): Remove is_preloaded.
41499         (map_doit): Don't use it.
41500         (dl_main): Likewise.
41501         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41502         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41504 2010-09-09  Andreas Schwab  <schwab@redhat.com>
41506         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41507         (sysd-rules-targets): Remove duplicates.
41508         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41509         rtld-%.$o dependency.
41511 2010-10-18  Andreas Schwab  <schwab@redhat.com>
41513         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41514         _dl_map_object do it.
41516 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
41518         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41519         fast fma builtins, define the macros in the C99 standard.
41520         (FP_FAST_FMAF): Likewise.
41521         (FP_FAST_FMAL): Likewise.
41522         * sysdeps/x86_64/bits/mathdef.h: Likewise.
41524         * bits/mathdef.h: Update copyright year.
41525         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41527 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
41529         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41530         builtins, define the macros in the C99 standard.
41531         (FP_FAST_FMAF): Likewise.
41532         (FP_FAST_FMAL): Likewise.
41533         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41534         multiply/add.
41535         (FP_FAST_FMAF): Likewise.
41537 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
41539         [BZ #3268]
41540         * math/libm-test.inc (fma_test): Some new testcases.
41541         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41542         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41543         y and infinite z.  Do multiplication by C already in long double.
41544         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41546         y and infinite z.  Do bitwise or of inexact bit into u.d.
41547         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41548         * sysdeps/i386/fpu/s_fmaf.S: Removed.
41549         * sysdeps/i386/fpu/s_fma.S: Removed.
41550         * sysdeps/i386/fpu/s_fmal.S: Removed.
41552 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
41554         [BZ #3268]
41555         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41557         computation is not scheduled after fetestexcept.  Fix value
41558         of minimum denormal long double.
41560 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
41562         [BZ #3268]
41563         * math/libm-test.inc (fma_test): Add some more tests.
41564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41565         correctly.
41567 2010-10-15  Andreas Schwab  <schwab@redhat.com>
41569         * scripts/data/localplt-s390-linux-gnu.data: New file.
41570         * scripts/data/localplt-s390x-linux-gnu.data: New file.
41572 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
41574         [BZ #3268]
41575         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41576         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41577         instead of dbl-64.
41578         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41579         inlines.
41580         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41582         if one of x and y is very large and the other is subnormal.
41583         * sysdeps/s390/fpu/s_fmaf.c: New file.
41584         * sysdeps/s390/fpu/s_fma.c: New file.
41585         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41586         * sysdeps/powerpc/fpu/s_fma.S: New file.
41587         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41588         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41589         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41591 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
41593         [BZ #3268]
41594         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41595         fma tests.
41596         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41597         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41598         * sysdeps/i386/i686/multiarch/s_fma.c: Include
41599         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41600         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41601         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41602         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41604 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
41606         [BZ #12078]
41607         * posix/regcomp.c (parse_branch): One more memory leak plugged.
41608         * posix/bug-regex31.input: Add test case.
41610 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41612         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41613         * posix/bug-regex31.input: New file.
41615         [BZ #12078]
41616         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41617         (parse_sub_exp): Fix last change, use postorder.
41619         * posix/bug-regex31.c: New file.
41620         * posix/Makefile: Add rules to build and run bug-regex31.
41622         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41624         [BZ #12078]
41625         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41627         [BZ #12108]
41628         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41629         to have entries in sys_siglist.
41631         [BZ #12093]
41632         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41633         be NULL.
41635 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
41637         [BZ #3268]
41638         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41639         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41640         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41641         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41642         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41643         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41644         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41645         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41646         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41647         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41648         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41649         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41650         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41651         * math/ftestexcept.c (fetestexcept): Likewise.
41652         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41653         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41654         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41655         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41656         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41657         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41658         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41660 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41662         [BZ #12107]
41663         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41664         newline.
41666 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41668         * string/bug-strstr1.c: New file.
41669         * string/Makefile: Add rules to build and run bug-strstr1.
41671 2010-10-05  Eric Blake  <eblake@redhat.com>
41673         [BZ #12092]
41674         * string/str-two-way.h (two_way_long_needle): Always clear memory
41675         when skipping input due to the shift table.
41677 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41679         [BZ #12005]
41680         * malloc/mcheck.c: Handle large requests.
41682         [BZ #12077]
41683         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41684         for strncmp and strncasecmp.
41685         * string/stratcliff.c: Add tests for strcmp and strncmp.
41686         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41688 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41690         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41691         __set_fpscr.
41693 2010-09-30  Andreas Jaeger  <aj@suse.de>
41695         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41696         (CGROUP_SUPER_MAGIC): Define.
41697         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41698         Handle btrfs and cgroup file systems.
41699         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41700         Likewise.
41702 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41704         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41705         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41707 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41709         [BZ #12067]
41710         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41711         trying to locate the ELF header.
41713 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41715         [BZ #11611]
41716         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41717         Mask out sign-bit copies when constructing f_fsid.
41719 2010-09-24  Petr Baudis <pasky@suse.cz>
41721         * debug/stack_chk_fail_local.c: Add missing licence exception.
41722         * debug/warning-nop.c: Likewise.
41724 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41726         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41727         implementing getdents64 using getdents syscall, set d_type if
41728         __ASSUME_GETDENTS32_D_TYPE.
41730 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41732         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41733         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41735 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41737         [BZ #12037]
41738         * posix/unistd.h: Undo change of feature selection for ftruncate from
41739         2010-01-11.
41741 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41743         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41744         detection.
41746 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41748         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41749         fanotify_mark.
41750         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41752 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41754         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41755         variables after CHECK_SP call.
41756         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41758 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41759             Ulrich Drepper  <drepper@redhat.com>
41761         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41762         re-relocationg ld.so.
41763         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41764         _dl_init_paths call.
41765         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41766         here anymore.
41768 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41770         * resolv/res_init.c (__res_vinit): Count the default server we added.
41772 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41773             Ulrich Drepper  <drepper@redhat.com>
41775         [BZ #11968]
41776         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41777         (____longjmp_chk): Use %ebx for saving value across system call.
41778         Add unwind info.
41780 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41782         * manual/Makefile: Don't mix pattern rules with normal rules.
41784 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41786         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41787         operation.
41788         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41789         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41790         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41791         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41793         Likewise.
41795 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41797         [BZ #11979]
41798         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41799         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41801 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41803         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41804         * sysdeps/x86_64/addmul_1.S: Likewise.
41805         * sysdeps/x86_64/lshift.S: Likewise.
41806         * sysdeps/x86_64/mul_1.S: Likewise.
41807         * sysdeps/x86_64/rshift.S: Likewise.
41808         * sysdeps/x86_64/sub_n.S: Likewise.
41809         * sysdeps/x86_64/submul_1.S: Likewise.
41811 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41813         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41814         Define __sched_param instead of SCHED_* and sched_param when
41815         <bits/sched.h> is included with __need_schedparam defined.
41816         * bits/sched.h [__need_schedparam]
41817         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41818         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41819         (__defined_schedparam): Define to 1.
41820         (__sched_param): New structure, identical to sched_param.
41821         (__need_schedparam): Undefine.
41823 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41825         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41826         (epoll_create1): Declare.
41828         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41830 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41832         [BZ #7066]
41833         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41834         shifting retval into place.
41836 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41838         * nis/rpcsvc/nis.h: Update copyright notice.
41839         * nis/rpcsvc/nis.x: Likewise.
41840         * nis/rpcsvc/nis_callback.h: Likewise.
41841         * nis/rpcsvc/nis_callback.x: Likewise.
41842         * nis/rpcsvc/nis_object.x: Likewise.
41843         * nis/rpcsvc/nis_tags.h: Likewise.
41844         * nis/rpcsvc/yp.h: Likewise.
41845         * nis/rpcsvc/yp.x: Likewise.
41846         * nis/rpcsvc/ypupd.h: Likewise.
41847         * nis/yp_xdr.c: Likewise.
41848         * nis/ypupdate_xdr.c: Likewise.
41850         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41851         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41852         (pmap_getport): Use __libc_rpc_getport.
41853         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41854         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41855         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41857 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41860         fanotify_mark.
41862 2010-08-27  Roland McGrath  <roland@redhat.com>
41864         * sysdeps/i386/i686/multiarch/Makefile
41865         (CFLAGS-varshift.c): New variable.
41867 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41869         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41870         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41872         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41874         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41876 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41878         * sysdeps/x86_64/strlen.S: Unroll the loop.
41879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41880         strlen-sse2 strlen-sse2-bsf.
41881         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41882         __strlen_no_bsf if bit_Slow_BSF is set.
41883         (__strlen_sse42): Removed.
41884         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41885         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41887 2010-08-25  Roland McGrath  <roland@redhat.com>
41889         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41890         * sysdeps/x86_64/multiarch/varshift.c: New file.
41891         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41892         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41893         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41894         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41896 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41899         strlen-sse2 strlen-sse2-bsf.
41900         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41901         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41902         (__strlen_sse2): Removed.
41903         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41906         bit_Slow_BSF for Atom.
41907         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41908         (index_Slow_BSF): Define.
41909         (HAS_SLOW_BSF): Define.
41911 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41913         [BZ #10851]
41914         * resolv/res_init.c (__res_vinit): When no server address at all
41915         is given default to loopback.
41917 2010-08-24  Roland McGrath  <roland@redhat.com>
41919         * configure.in: Remove config-name.h generation.
41920         * configure: Regenerated.
41921         * config-name.in: File removed.
41922         * scripts/config-uname.sh: New file.
41923         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41924         ($(objdir)config-name.h): New target.
41926         * sunrpc/rpc_parse.h: Avoid nested comment.
41928 2010-08-24  Richard Henderson  <rth@redhat.com>
41929             Ulrich Drepper  <drepper@redhat.com>
41930             H.J. Lu  <hongjiu.lu@intel.com>
41932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41934         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41935         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41936         _mm_alignr_epi8 with _mm_loadu_si128.
41937         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41938         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41939         (__m128i_shift_right): Removed.
41940         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41941         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41942         * sysdeps/x86_64/multiarch/varshift.h: New file.
41943         * sysdeps/x86_64/multiarch/varshift.S: New file.
41945 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41947         * configure.in: Move assembler checks to before sysdep dir checking.
41949 2010-08-20  Petr Baudis  <pasky@suse.cz>
41951         * LICENSES: Sync the sunrpc license.
41953 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41955         * sunrpc/auth_des.c: Update copyright notice once again.
41956         * sunrpc/auth_none.c: Likewise.
41957         * sunrpc/auth_unix.c: Likewise.
41958         * sunrpc/authdes_prot.c: Likewise.
41959         * sunrpc/authuxprot.c: Likewise.
41960         * sunrpc/bindrsvprt.c: Likewise.
41961         * sunrpc/clnt_gen.c: Likewise.
41962         * sunrpc/clnt_perr.c: Likewise.
41963         * sunrpc/clnt_raw.c: Likewise.
41964         * sunrpc/clnt_simp.c: Likewise.
41965         * sunrpc/clnt_tcp.c: Likewise.
41966         * sunrpc/clnt_udp.c: Likewise.
41967         * sunrpc/clnt_unix.c: Likewise.
41968         * sunrpc/des_crypt.c: Likewise.
41969         * sunrpc/des_soft.c: Likewise.
41970         * sunrpc/get_myaddr.c: Likewise.
41971         * sunrpc/getrpcport.c: Likewise.
41972         * sunrpc/key_call.c: Likewise.
41973         * sunrpc/key_prot.c: Likewise.
41974         * sunrpc/openchild.c: Likewise.
41975         * sunrpc/pm_getmaps.c: Likewise.
41976         * sunrpc/pm_getport.c: Likewise.
41977         * sunrpc/pmap_clnt.c: Likewise.
41978         * sunrpc/pmap_prot.c: Likewise.
41979         * sunrpc/pmap_prot2.c: Likewise.
41980         * sunrpc/pmap_rmt.c: Likewise.
41981         * sunrpc/rpc/auth.h: Likewise.
41982         * sunrpc/rpc/auth_unix.h: Likewise.
41983         * sunrpc/rpc/clnt.h: Likewise.
41984         * sunrpc/rpc/des_crypt.h: Likewise.
41985         * sunrpc/rpc/key_prot.h: Likewise.
41986         * sunrpc/rpc/netdb.h: Likewise.
41987         * sunrpc/rpc/pmap_clnt.h: Likewise.
41988         * sunrpc/rpc/pmap_prot.h: Likewise.
41989         * sunrpc/rpc/pmap_rmt.h: Likewise.
41990         * sunrpc/rpc/rpc.h: Likewise.
41991         * sunrpc/rpc/rpc_des.h: Likewise.
41992         * sunrpc/rpc/rpc_msg.h: Likewise.
41993         * sunrpc/rpc/svc.h: Likewise.
41994         * sunrpc/rpc/svc_auth.h: Likewise.
41995         * sunrpc/rpc/types.h: Likewise.
41996         * sunrpc/rpc/xdr.h: Likewise.
41997         * sunrpc/rpc_clntout.c: Likewise.
41998         * sunrpc/rpc_cmsg.c: Likewise.
41999         * sunrpc/rpc_common.c: Likewise.
42000         * sunrpc/rpc_cout.c: Likewise.
42001         * sunrpc/rpc_dtable.c: Likewise.
42002         * sunrpc/rpc_hout.c: Likewise.
42003         * sunrpc/rpc_main.c: Likewise.
42004         * sunrpc/rpc_parse.c: Likewise.
42005         * sunrpc/rpc_parse.h: Likewise.
42006         * sunrpc/rpc_prot.c: Likewise.
42007         * sunrpc/rpc_sample.c: Likewise.
42008         * sunrpc/rpc_scan.c: Likewise.
42009         * sunrpc/rpc_scan.h: Likewise.
42010         * sunrpc/rpc_svcout.c: Likewise.
42011         * sunrpc/rpc_tblout.c: Likewise.
42012         * sunrpc/rpc_util.c: Likewise.
42013         * sunrpc/rpc_util.h: Likewise.
42014         * sunrpc/rpcinfo.c: Likewise.
42015         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42016         * sunrpc/rpcsvc/key_prot.x: Likewise.
42017         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42018         * sunrpc/rpcsvc/mount.x: Likewise.
42019         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42020         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42021         * sunrpc/rpcsvc/rex.x: Likewise.
42022         * sunrpc/rpcsvc/rstat.x: Likewise.
42023         * sunrpc/rpcsvc/rusers.x: Likewise.
42024         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42025         * sunrpc/rpcsvc/spray.x: Likewise.
42026         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42027         * sunrpc/rtime.c: Likewise.
42028         * sunrpc/svc.c: Likewise.
42029         * sunrpc/svc_auth.c: Likewise.
42030         * sunrpc/svc_authux.c: Likewise.
42031         * sunrpc/svc_raw.c: Likewise.
42032         * sunrpc/svc_run.c: Likewise.
42033         * sunrpc/svc_simple.c: Likewise.
42034         * sunrpc/svc_tcp.c: Likewise.
42035         * sunrpc/svc_udp.c: Likewise.
42036         * sunrpc/svc_unix.c: Likewise.
42037         * sunrpc/svcauth_des.c: Likewise.
42038         * sunrpc/xcrypt.c: Likewise.
42039         * sunrpc/xdr.c: Likewise.
42040         * sunrpc/xdr_array.c: Likewise.
42041         * sunrpc/xdr_float.c: Likewise.
42042         * sunrpc/xdr_mem.c: Likewise.
42043         * sunrpc/xdr_rec.c: Likewise.
42044         * sunrpc/xdr_ref.c: Likewise.
42045         * sunrpc/xdr_sizeof.c: Likewise.
42046         * sunrpc/xdr_stdio.c: Likewise.
42048         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42049         handling.
42051 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42053         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42055 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42057         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42058         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42059         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42060         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42061         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42062         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42063         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42064         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42065         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42066         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42067         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42068         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42069         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42070         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42072 2010-07-26  Anton Blanchard  <anton@samba.org>
42074         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42075         * malloc/arena.c (heap_trim): Likewise.
42077 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42079         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42080         here.  Not...
42081         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42082         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42084 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42086         * sysdeps/i386/elf/Makefile: New file.
42088 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42090         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42091         from fanotify_init.
42092         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42095 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42097         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42098         of strncasecmp_l.
42099         * sysdeps/multiarch/strcmp.S: Likewise.
42101 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42103         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42104         strncase_l-nonascii.
42105         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42106         Add strncase_l-ssse3.
42107         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42108         * sysdeps/x86_64/strcmp.S: Likewise.
42109         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42110         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42111         * sysdeps/x86_64/strncase.S: New file.
42112         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42113         * sysdeps/x86_64/strncase_l.S: New file.
42114         * string/Makefile (strop-tests): Add strncasecmp.
42115         * string/test-strncasecmp.c: New file.
42117         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42118         warning.
42120         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42121         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42123 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42125         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42127 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42129         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42130         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42131         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42133 2010-05-01  Alan Modra  <amodra@gmail.com>
42135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42136         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42137         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42138         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42139         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42140         tidying.  Don't tail-call __sigjmp_save for static lib.
42141         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42142         save location.
42143         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42144         (CALL_MCOUNT): Add eh info, and nop after bl.
42145         (TAIL_CALL_SYSCALL_ERROR): New macro.
42146         (PSEUDO_RET): Use it.
42147         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42148         Correct save location of integer regs and cr.
42149         (_dl_profile_resolve): Correct cr save location.  Delete nops
42150         after bl when SHARED.  Reduce cfi size a little by better
42151         placement of cfi directives.
42152         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42153         make a stack frame.  Instead use parm save area as a temp.
42154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42155         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42157         Don't make a stack frame for parent, use parm save area.
42158         Increase child stack frame to 112 bytes.  Don't save unused reg,
42159         and adjust reg usage.  Set up cfi on error recovery and
42160         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42162         (__makecontext): Add dummy nop after jump to exit.
42163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42164         Use correct parm save area and cr save, reduce stack frame.
42165         Correct cfi for possible PSEUDO_RET frame setup.
42166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42167         Branch to local label emitted by PSEUDO_RET rather than
42168         __syscall_error.
42170 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42172         [BZ #11904]
42173         * locale/programs/locale.c (print_assignment): New function.
42174         (show_locale_vars): Use it.
42176 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42178         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42179         field.
42180         (struct statfs64): Likewise.
42181         (_STATFS_F_FLAGS): Define.
42182         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42183         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42184         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42185         (ST_VALID): Define locally.
42186         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42187         __statvfs_getflags, use the provided value.
42188         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42189         __ASSUME_STATFS_F_FLAGS.
42191         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42193         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42194         Add sys/fanotify.h.
42195         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42196         fanotify_mask for GLIBC_2.13.
42197         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42198         fanotify_init and fanotify_mark.
42199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42200         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42202         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42203         Add prlimit.
42204         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42205         prlimit64 for GLIBC_2.13.
42206         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42207         prlimit64.
42208         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42209         syscall.
42210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42211         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42212         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42213         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42214         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42215         add prlimit alias.
42216         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42218         [BZ #11903]
42219         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42220         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42222         * nss/Makefile: Add rules to build and run tst-nss-test1.
42223         * shlib-versions: Add entry for libnss_test1.
42224         * nss/nss_test1.c: New file.
42225         * nss/tst-nss-test1.c: New file.
42227         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42228         (__nss_configure_lookup): Set appropriate entry in
42229         __nss_configure_lookup to true.
42230         * nss/nsswitch.h: Define enum with indeces of databases in
42231         databases and __nss_database_custom arrays.  Declare
42232         __nss_database_custom.
42233         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42234         to avoid using nscd when custom rules are installed.
42235         * nss/getXXbyYY_r.c: Likewise.
42236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42238         * nss/nss_files/files-parse.c: Whitespace fixes.
42240 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42242         [BZ #11883]
42243         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42244         * posix/fnmatch_loop.c: Likewise.
42246 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42248         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42249         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42250         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42251         * Versions.def [GLIBC_2.13]: Add.
42253 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42255         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42256         Also fail if tpwd after pwuid call is NULL.
42258 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42260         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42261         when converting to ms.
42263 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42265         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42266         EOPNOTSUPP errors with ENOTTY.
42267         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42268         EOPNOTSUPP errors with ENOTTY.
42270 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42272         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42273         Add strcasecmp_l-ssse3.
42274         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42275         strcasecmp.
42276         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42277         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42278         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42280 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42282         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42284         * string/Makefile (strop-tests): Add strcasecmp.
42285         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42286         strcasecmp_l-nonascii.
42287         (gen-as-const-headers): Add locale-defines.sym.
42288         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42289         * sysdeps/x86_64/strcasecmp.S: New file.
42290         * sysdeps/x86_64/strcasecmp_l.S: New file.
42291         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42292         * sysdeps/x86_64/locale-defines.sym: New file.
42293         * string/test-strcasecmp.c: New file.
42295         * string/test-strcasestr.c: Test both ends of the range of characters.
42296         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42298 2010-07-29  Roland McGrath  <roland@redhat.com>
42300         [BZ #11856]
42301         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42303 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42305         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42306         for ld.so.
42308 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42310         * manual/memory.texi (Malloc Tunable Parameters): Document
42311         M_PERTURB.
42313 2010-07-26  Roland McGrath  <roland@redhat.com>
42315         [BZ #11840]
42316         * configure.in (-fgnu89-inline check): Set and substitute
42317         gnu89_inline, not libc_cv_gnu89_inline.
42318         * configure: Regenerated.
42319         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42321 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42323         * string/test-strnlen.c: New file.
42324         * string/Makefile (strop-tests): Add strnlen.
42325         * string/tester.c (test_strnlen): Add a few more test cases.
42326         * string/tst-strlen.c: Better error reporting.
42328         * sysdeps/x86_64/strnlen.S: New file.
42330 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42332         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42333         lower-latency instructions.
42335 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42337         * string/test-strcasestr.c: New file.
42338         * string/test-strstr.c: New file.
42339         * string/Makefile (strop-tests): Add strstr and strcasestr.
42340         * string/str-two-way.h: Don't undefine MAX.
42341         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42343 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42346         strcasestr-nonascii.
42347         (CFLAGS-strcasestr-nonascii.c): Define.
42348         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42349         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42350         Remove unused attribute.
42352 2010-07-20  Roland McGrath  <roland@redhat.com>
42354         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42355         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
42356         ld.so.cache was broken.  With it, there is no way to disable dsocaps
42357         like LD_HWCAP_MASK can disable hwcaps.
42359 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42361         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42363 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
42365         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42366         call in strcasestr.
42367         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42368         __strcasestr_sse42_nonascii.
42369         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42370         strcasestr-nonascii.c.
42371         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42373 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
42375         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42376         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42377         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42378         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42380 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
42382         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42383         fcntl.
42385 2010-07-06  Andreas Schwab  <schwab@redhat.com>
42387         [BZ #11577]
42388         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42389         dl_signal_cerror.
42391 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
42393         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42394         _PC_PIPE_BUF using F_GETPIPE_SZ.
42396 2010-07-05  Roland McGrath  <roland@redhat.com>
42398         * manual/arith.texi (Rounding Functions): Fix rint description
42399         implicit in round description.
42401 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42403         * elf/Makefile: Fix linking for a few tests to make recent linker
42404         happy.
42406 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42408         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42409         $(common-objpfx)libc_nonshared.a.
42411 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42413         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42414         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42415         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42416         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42417         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42418         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42419         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42420         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42435         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42436         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42437         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42438         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42439         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42440         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42441         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42442         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42443         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42444         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42445         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42446         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42462 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
42464         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42465         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
42466         * string/memmove.c (memmove): Renamed to ...
42467         (MEMMOVE): ...this.  Default to memmove.
42468         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42469         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42470         (END_CHK): Define.
42471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42472         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42473         mempcpy-ssse3-back memmove-ssse3-back.
42474         * sysdeps/x86_64/multiarch/bcopy.S: New file .
42475         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42476         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42477         * sysdeps/x86_64/multiarch/memcpy.S: New file.
42478         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42479         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42480         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42481         * sysdeps/x86_64/multiarch/memmove.c: New file.
42482         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42483         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42484         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42485         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42486         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42487         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42488         Define.
42489         (index_Fast_Copy_Backward): Define.
42490         (HAS_ARCH_FEATURE): Define.
42491         (HAS_FAST_REP_STRING): Define.
42492         (HAS_FAST_COPY_BACKWARD): Define.
42494 2010-06-21  Andreas Schwab  <schwab@redhat.com>
42496         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42497         Restore proper fallback handling.
42499 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
42501         [BZ #11701]
42502         * posix/group_member.c (__group_member): Correct checking loop.
42504         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42505         OOM in getpwuid_r correctly.  Return error number when the caller
42506         should return, otherwise -1.
42507         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42508         call returning > 0 value.
42509         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42511 2010-06-07  Andreas Schwab  <schwab@redhat.com>
42513         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42514         libc_nonshared.a from targets in modules-names.
42516 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
42518         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42519         requires it.
42521 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
42523         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42524         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42525         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42526         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42528 2010-06-02  Andreas Schwab  <schwab@redhat.com>
42530         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42532 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
42534         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42535         and F_GETPIPE_SZ.
42536         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42537         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42538         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42540         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42541         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42543 2010-06-14  Roland McGrath  <roland@redhat.com>
42545         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42547 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
42549         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42550         __REDIRECT followed by __THROW.
42551         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42552         * posix/getopt.h (getopt): Likewise.
42554 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42556         * hurd/lookup-at.c (__file_name_lookup_at): Accept
42557         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
42558         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42559         in AT_FLAGS.
42560         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42561         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42563 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
42565         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42567 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
42569         [BZ #11640]
42570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42571         Properly check family and model.
42573 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
42575         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42577 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
42579         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42581 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
42583         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42584         symbol reference.
42586 2010-05-19  Andreas Schwab  <schwab@redhat.com>
42588         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42589         symbol reference.
42591 2010-05-21  Andreas Schwab  <schwab@redhat.com>
42593         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42594         and internal_recvmmsg.
42595         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42596         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42597         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42598         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42600         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42601         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42602         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42604 2010-05-20  Andreas Schwab  <schwab@redhat.com>
42606         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42608 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
42610         POWER7 optimizations.
42611         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42612         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42614 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
42616         * version.h: Update for 2.13 development version.
42618 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
42620         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42621         exceptions.  Return 0.
42623 2010-05-07  Roland McGrath  <roland@redhat.com>
42625         * elf/ldconfig.c (main): Add a const.
42627 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
42629         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42630         (args_options): Add no-idn option.
42631         (ahosts_keys_int): Add idn_flags to ai_flags.
42632         (parse_option): Handle 'i' option to clear idn_flags.
42634         * malloc/malloc.c (_int_free): Possible race in the most recently
42635         added check.  Only act on the data if no current modification
42636         happened.
42638 See ChangeLog.17 for earlier changes.